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 wx_top_builddir 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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_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
1815 wx_top_builddir
="`pwd`"
1828 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1834 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1842 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1844 DEFAULT_wxUSE_COCOA
=0
1848 DEFAULT_wxUSE_MICROWIN
=0
1849 DEFAULT_wxUSE_MOTIF
=0
1855 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1856 DEFAULT_DEFAULT_wxUSE_GTK
=0
1857 DEFAULT_DEFAULT_wxUSE_MAC
=0
1858 DEFAULT_DEFAULT_wxUSE_MGL
=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1861 DEFAULT_DEFAULT_wxUSE_MSW
=0
1862 DEFAULT_DEFAULT_wxUSE_PM
=0
1863 DEFAULT_DEFAULT_wxUSE_X11
=0
1864 DEFAULT_DEFAULT_wxUSE_DFB
=0
1869 SAMPLES_RPATH_POSTLINK
=
1871 DEFAULT_STD_FLAG
=yes
1876 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1879 cat >>confdefs.h
<<\_ACEOF
1884 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1888 cat >>confdefs.h
<<\_ACEOF
1893 if test "x$TMP" = "xalpha"; then
1895 cat >>confdefs.h
<<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_GTK
=1
1902 *-*-gnu* | *-*-k*bsd
*-gnu )
1905 if test "x$TMP" = "xalpha"; then
1907 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_GTK
=1
1914 *-*-irix5* | *-*-irix6* )
1917 cat >>confdefs.h
<<\_ACEOF
1921 cat >>confdefs.h
<<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1936 #define __SOLARIS__ 1
1939 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1950 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1958 cat >>confdefs.h
<<\_ACEOF
1962 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1967 cat >>confdefs.h
<<\_ACEOF
1968 #define __FREEBSD__ 1
1971 cat >>confdefs.h
<<\_ACEOF
1975 DEFAULT_DEFAULT_wxUSE_GTK
=1
1977 *-*-openbsd*|*-*-mirbsd*)
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __OPENBSD__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1988 DEFAULT_DEFAULT_wxUSE_GTK
=1
1993 cat >>confdefs.h
<<\_ACEOF
1994 #define __NETBSD__ 1
1997 cat >>confdefs.h
<<\_ACEOF
2001 DEFAULT_DEFAULT_wxUSE_GTK
=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2004 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2009 cat >>confdefs.h
<<\_ACEOF
2013 cat >>confdefs.h
<<\_ACEOF
2017 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2023 cat >>confdefs.h
<<\_ACEOF
2027 cat >>confdefs.h
<<\_ACEOF
2031 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2036 cat >>confdefs.h
<<\_ACEOF
2040 cat >>confdefs.h
<<\_ACEOF
2044 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2051 cat >>confdefs.h
<<\_ACEOF
2055 cat >>confdefs.h
<<\_ACEOF
2059 cat >>confdefs.h
<<\_ACEOF
2063 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2070 cat >>confdefs.h
<<\_ACEOF
2071 #define __UNIXWARE__ 1
2076 *-*-cygwin* | *-*-mingw32* )
2079 DEFAULT_DEFAULT_wxUSE_MSW
=1
2085 cat >>confdefs.h
<<\_ACEOF
2090 DEFAULT_DEFAULT_wxUSE_MGL
=1
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h
<<\_ACEOF
2099 cat >>confdefs.h
<<\_ACEOF
2104 DEFAULT_DEFAULT_wxUSE_PM
=1
2106 LDFLAGS
="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions
=".exe"
2108 export ac_executable_extensions
2112 for ac_dir
in $PATH; do
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH
="$ac_dir"
2117 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2120 export PATH
="$ac_TEMP_PATH"
2129 cat >>confdefs.h
<<\_ACEOF
2133 cat >>confdefs.h
<<\_ACEOF
2134 #define __DARWIN__ 1
2137 cat >>confdefs.h
<<\_ACEOF
2138 #define TARGET_CARBON 1
2141 DEFAULT_DEFAULT_wxUSE_MAC
=1
2144 powerpc
-apple-macos* )
2146 ac_cv_c_bigendian
=yes
2148 DEFAULT_DEFAULT_wxUSE_MAC
=1
2154 cat >>confdefs.h
<<\_ACEOF
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2166 DEFAULT_DEFAULT_wxUSE_X11
=1
2167 DEFAULT_wxUSE_SHARED
=no
2173 wx_arg_cache_file
="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL
=no
2183 DEFAULT_wxUSE_STL
=no
2185 DEFAULT_wxUSE_NANOX
=no
2187 DEFAULT_wxUSE_THREADS
=yes
2189 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE
=no
2191 DEFAULT_wxUSE_PROFILE
=no
2192 DEFAULT_wxUSE_NO_DEPS
=no
2193 DEFAULT_wxUSE_NO_RTTI
=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2196 DEFAULT_wxUSE_RPATH
=yes
2197 DEFAULT_wxUSE_PERMISSIVE
=no
2198 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2199 DEFAULT_wxUSE_DEBUG_INFO
=yes
2200 DEFAULT_wxUSE_DEBUG_GDB
=yes
2201 DEFAULT_wxUSE_MEM_TRACING
=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2203 DEFAULT_wxUSE_DMALLOC
=no
2204 DEFAULT_wxUSE_APPLE_IEEE
=no
2206 DEFAULT_wxUSE_EXCEPTIONS
=no
2207 DEFAULT_wxUSE_LOG
=yes
2208 DEFAULT_wxUSE_LOGWINDOW
=no
2209 DEFAULT_wxUSE_LOGGUI
=no
2210 DEFAULT_wxUSE_LOGDIALOG
=no
2212 DEFAULT_wxUSE_GUI
=yes
2213 DEFAULT_wxUSE_CONTROLS
=no
2215 DEFAULT_wxUSE_REGEX
=no
2216 DEFAULT_wxUSE_XML
=no
2217 DEFAULT_wxUSE_EXPAT
=no
2218 DEFAULT_wxUSE_ZLIB
=no
2219 DEFAULT_wxUSE_LIBPNG
=no
2220 DEFAULT_wxUSE_LIBJPEG
=no
2221 DEFAULT_wxUSE_LIBTIFF
=no
2222 DEFAULT_wxUSE_LIBXPM
=no
2223 DEFAULT_wxUSE_LIBMSPACK
=no
2224 DEFAULT_wxUSE_LIBSDL
=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2227 DEFAULT_wxUSE_LIBHILDON
=no
2228 DEFAULT_wxUSE_ODBC
=no
2229 DEFAULT_wxUSE_OPENGL
=no
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2232 DEFAULT_wxUSE_STACKWALKER
=no
2233 DEFAULT_wxUSE_DEBUGREPORT
=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2235 DEFAULT_wxUSE_STD_IOSTREAM
=no
2236 DEFAULT_wxUSE_STD_STRING
=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2238 DEFAULT_wxUSE_DATETIME
=no
2239 DEFAULT_wxUSE_TIMER
=no
2240 DEFAULT_wxUSE_STOPWATCH
=no
2241 DEFAULT_wxUSE_FILE
=no
2242 DEFAULT_wxUSE_FFILE
=no
2243 DEFAULT_wxUSE_STDPATHS
=no
2244 DEFAULT_wxUSE_TEXTBUFFER
=no
2245 DEFAULT_wxUSE_TEXTFILE
=no
2246 DEFAULT_wxUSE_SOUND
=no
2247 DEFAULT_wxUSE_MEDIACTRL
=no
2248 DEFAULT_wxUSE_GSTREAMER8
=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2250 DEFAULT_wxUSE_INTL
=no
2251 DEFAULT_wxUSE_CONFIG
=no
2252 DEFAULT_wxUSE_FONTMAP
=no
2253 DEFAULT_wxUSE_STREAMS
=no
2254 DEFAULT_wxUSE_SOCKETS
=no
2255 DEFAULT_wxUSE_OLE
=no
2256 DEFAULT_wxUSE_DATAOBJ
=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2258 DEFAULT_wxUSE_JOYSTICK
=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2261 DEFAULT_wxUSE_LONGLONG
=no
2262 DEFAULT_wxUSE_GEOMETRY
=no
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2266 DEFAULT_wxUSE_POSTSCRIPT
=no
2268 DEFAULT_wxUSE_CLIPBOARD
=no
2269 DEFAULT_wxUSE_TOOLTIPS
=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2271 DEFAULT_wxUSE_DRAGIMAGE
=no
2272 DEFAULT_wxUSE_SPLINES
=no
2273 DEFAULT_wxUSE_MOUSEWHEEL
=no
2275 DEFAULT_wxUSE_MDI
=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2280 DEFAULT_wxUSE_RESOURCES
=no
2281 DEFAULT_wxUSE_CONSTRAINTS
=no
2282 DEFAULT_wxUSE_IPC
=no
2283 DEFAULT_wxUSE_HELP
=no
2284 DEFAULT_wxUSE_MS_HTML_HELP
=no
2285 DEFAULT_wxUSE_WXHTML_HELP
=no
2286 DEFAULT_wxUSE_TREELAYOUT
=no
2287 DEFAULT_wxUSE_METAFILE
=no
2288 DEFAULT_wxUSE_MIMETYPE
=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2290 DEFAULT_wxUSE_PROTOCOL
=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2294 DEFAULT_wxUSE_URL
=no
2295 DEFAULT_wxUSE_VARIANT
=no
2297 DEFAULT_wxUSE_ABOUTDLG
=no
2298 DEFAULT_wxUSE_COMMONDLGS
=no
2299 DEFAULT_wxUSE_CHOICEDLG
=no
2300 DEFAULT_wxUSE_COLOURDLG
=no
2301 DEFAULT_wxUSE_DIRDLG
=no
2302 DEFAULT_wxUSE_FILEDLG
=no
2303 DEFAULT_wxUSE_FINDREPLDLG
=no
2304 DEFAULT_wxUSE_FONTDLG
=no
2305 DEFAULT_wxUSE_MSGDLG
=no
2306 DEFAULT_wxUSE_NUMBERDLG
=no
2307 DEFAULT_wxUSE_TEXTDLG
=no
2308 DEFAULT_wxUSE_SPLASH
=no
2309 DEFAULT_wxUSE_STARTUP_TIPS
=no
2310 DEFAULT_wxUSE_PROGRESSDLG
=no
2311 DEFAULT_wxUSE_WIZARDDLG
=no
2313 DEFAULT_wxUSE_MENUS
=no
2314 DEFAULT_wxUSE_MINIFRAME
=no
2315 DEFAULT_wxUSE_HTML
=no
2316 DEFAULT_wxUSE_RICHTEXT
=no
2317 DEFAULT_wxUSE_XRC
=no
2318 DEFAULT_wxUSE_AUI
=no
2319 DEFAULT_wxUSE_WEBKIT
=no
2320 DEFAULT_wxUSE_FILESYSTEM
=no
2321 DEFAULT_wxUSE_FS_INET
=no
2322 DEFAULT_wxUSE_FS_ZIP
=no
2323 DEFAULT_wxUSE_FS_ARCHIVE
=no
2324 DEFAULT_wxUSE_BUSYINFO
=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2326 DEFAULT_wxUSE_ZIPSTREAM
=no
2327 DEFAULT_wxUSE_TARSTREAM
=no
2328 DEFAULT_wxUSE_VALIDATORS
=no
2330 DEFAULT_wxUSE_ACCEL
=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2332 DEFAULT_wxUSE_BUTTON
=no
2333 DEFAULT_wxUSE_BMPBUTTON
=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2335 DEFAULT_wxUSE_CALCTRL
=no
2336 DEFAULT_wxUSE_CARET
=no
2337 DEFAULT_wxUSE_CHECKBOX
=no
2338 DEFAULT_wxUSE_CHECKLST
=no
2339 DEFAULT_wxUSE_CHOICE
=no
2340 DEFAULT_wxUSE_CHOICEBOOK
=no
2341 DEFAULT_wxUSE_COLLPANE
=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2343 DEFAULT_wxUSE_COMBOBOX
=no
2344 DEFAULT_wxUSE_COMBOCTRL
=no
2345 DEFAULT_wxUSE_DATEPICKCTRL
=no
2346 DEFAULT_wxUSE_DISPLAY
=no
2347 DEFAULT_wxUSE_DETECT_SM
=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2351 DEFAULT_wxUSE_GAUGE
=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2353 DEFAULT_wxUSE_GRID
=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2356 DEFAULT_wxUSE_IMAGLIST
=no
2357 DEFAULT_wxUSE_LISTBOOK
=no
2358 DEFAULT_wxUSE_LISTBOX
=no
2359 DEFAULT_wxUSE_LISTCTRL
=no
2360 DEFAULT_wxUSE_NOTEBOOK
=no
2361 DEFAULT_wxUSE_ODCOMBOBOX
=no
2362 DEFAULT_wxUSE_RADIOBOX
=no
2363 DEFAULT_wxUSE_RADIOBTN
=no
2364 DEFAULT_wxUSE_SASH
=no
2365 DEFAULT_wxUSE_SCROLLBAR
=no
2366 DEFAULT_wxUSE_SLIDER
=no
2367 DEFAULT_wxUSE_SPINBTN
=no
2368 DEFAULT_wxUSE_SPINCTRL
=no
2369 DEFAULT_wxUSE_SPLITTER
=no
2370 DEFAULT_wxUSE_STATBMP
=no
2371 DEFAULT_wxUSE_STATBOX
=no
2372 DEFAULT_wxUSE_STATLINE
=no
2373 DEFAULT_wxUSE_STATTEXT
=no
2374 DEFAULT_wxUSE_STATUSBAR
=yes
2375 DEFAULT_wxUSE_TAB_DIALOG
=no
2376 DEFAULT_wxUSE_TEXTCTRL
=no
2377 DEFAULT_wxUSE_TOGGLEBTN
=no
2378 DEFAULT_wxUSE_TOOLBAR
=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2380 DEFAULT_wxUSE_TREEBOOK
=no
2381 DEFAULT_wxUSE_TOOLBOOK
=no
2382 DEFAULT_wxUSE_TREECTRL
=no
2383 DEFAULT_wxUSE_POPUPWIN
=no
2384 DEFAULT_wxUSE_TIPWINDOW
=no
2386 DEFAULT_wxUSE_UNICODE
=no
2387 DEFAULT_wxUSE_UNICODE_MSLU
=no
2388 DEFAULT_wxUSE_WCSRTOMBS
=no
2390 DEFAULT_wxUSE_PALETTE
=no
2391 DEFAULT_wxUSE_IMAGE
=no
2392 DEFAULT_wxUSE_GIF
=no
2393 DEFAULT_wxUSE_PCX
=no
2394 DEFAULT_wxUSE_TGA
=no
2395 DEFAULT_wxUSE_PNM
=no
2396 DEFAULT_wxUSE_IFF
=no
2397 DEFAULT_wxUSE_XPM
=no
2398 DEFAULT_wxUSE_ICO_CUR
=no
2399 DEFAULT_wxUSE_ACCESSIBILITY
=no
2401 DEFAULT_wxUSE_MONOLITHIC
=no
2402 DEFAULT_wxUSE_PLUGINS
=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2405 DEFAULT_wxUSE_UNIVERSAL
=no
2406 DEFAULT_wxUSE_STL
=no
2408 DEFAULT_wxUSE_NANOX
=no
2410 DEFAULT_wxUSE_THREADS
=yes
2412 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE
=yes
2414 DEFAULT_wxUSE_PROFILE
=no
2415 DEFAULT_wxUSE_NO_DEPS
=no
2416 DEFAULT_wxUSE_NO_RTTI
=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2419 DEFAULT_wxUSE_RPATH
=yes
2420 DEFAULT_wxUSE_PERMISSIVE
=no
2421 DEFAULT_wxUSE_DEBUG_FLAG
=no
2422 DEFAULT_wxUSE_DEBUG_INFO
=no
2423 DEFAULT_wxUSE_DEBUG_GDB
=no
2424 DEFAULT_wxUSE_MEM_TRACING
=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2426 DEFAULT_wxUSE_DMALLOC
=no
2427 DEFAULT_wxUSE_APPLE_IEEE
=yes
2429 DEFAULT_wxUSE_EXCEPTIONS
=yes
2430 DEFAULT_wxUSE_LOG
=yes
2431 DEFAULT_wxUSE_LOGWINDOW
=yes
2432 DEFAULT_wxUSE_LOGGUI
=yes
2433 DEFAULT_wxUSE_LOGDIALOG
=yes
2435 DEFAULT_wxUSE_GUI
=yes
2437 DEFAULT_wxUSE_REGEX
=yes
2438 DEFAULT_wxUSE_XML
=yes
2439 DEFAULT_wxUSE_EXPAT
=yes
2440 DEFAULT_wxUSE_ZLIB
=yes
2441 DEFAULT_wxUSE_LIBPNG
=yes
2442 DEFAULT_wxUSE_LIBJPEG
=yes
2443 DEFAULT_wxUSE_LIBTIFF
=yes
2444 DEFAULT_wxUSE_LIBXPM
=yes
2445 DEFAULT_wxUSE_LIBMSPACK
=yes
2446 DEFAULT_wxUSE_LIBSDL
=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2449 DEFAULT_wxUSE_LIBHILDON
=no
2450 DEFAULT_wxUSE_ODBC
=no
2451 DEFAULT_wxUSE_OPENGL
=no
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2454 DEFAULT_wxUSE_STACKWALKER
=yes
2455 DEFAULT_wxUSE_DEBUGREPORT
=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2460 DEFAULT_wxUSE_DATETIME
=yes
2461 DEFAULT_wxUSE_TIMER
=yes
2462 DEFAULT_wxUSE_STOPWATCH
=yes
2463 DEFAULT_wxUSE_FILE
=yes
2464 DEFAULT_wxUSE_FFILE
=yes
2465 DEFAULT_wxUSE_STDPATHS
=yes
2466 DEFAULT_wxUSE_TEXTBUFFER
=yes
2467 DEFAULT_wxUSE_TEXTFILE
=yes
2468 DEFAULT_wxUSE_SOUND
=yes
2469 DEFAULT_wxUSE_MEDIACTRL
=no
2470 DEFAULT_wxUSE_GSTREAMER8
=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2472 DEFAULT_wxUSE_INTL
=yes
2473 DEFAULT_wxUSE_CONFIG
=yes
2474 DEFAULT_wxUSE_FONTMAP
=yes
2475 DEFAULT_wxUSE_STREAMS
=yes
2476 DEFAULT_wxUSE_SOCKETS
=yes
2477 DEFAULT_wxUSE_OLE
=yes
2478 DEFAULT_wxUSE_DATAOBJ
=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2480 DEFAULT_wxUSE_JOYSTICK
=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2483 DEFAULT_wxUSE_LONGLONG
=yes
2484 DEFAULT_wxUSE_GEOMETRY
=yes
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2488 DEFAULT_wxUSE_POSTSCRIPT
=yes
2490 DEFAULT_wxUSE_CLIPBOARD
=yes
2491 DEFAULT_wxUSE_TOOLTIPS
=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2493 DEFAULT_wxUSE_DRAGIMAGE
=yes
2494 DEFAULT_wxUSE_SPLINES
=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2497 DEFAULT_wxUSE_MDI
=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2502 DEFAULT_wxUSE_RESOURCES
=no
2503 DEFAULT_wxUSE_CONSTRAINTS
=yes
2504 DEFAULT_wxUSE_IPC
=yes
2505 DEFAULT_wxUSE_HELP
=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2507 DEFAULT_wxUSE_WXHTML_HELP
=yes
2508 DEFAULT_wxUSE_TREELAYOUT
=yes
2509 DEFAULT_wxUSE_METAFILE
=yes
2510 DEFAULT_wxUSE_MIMETYPE
=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2512 DEFAULT_wxUSE_PROTOCOL
=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2516 DEFAULT_wxUSE_URL
=yes
2517 DEFAULT_wxUSE_VARIANT
=yes
2519 DEFAULT_wxUSE_ABOUTDLG
=yes
2520 DEFAULT_wxUSE_COMMONDLGS
=yes
2521 DEFAULT_wxUSE_CHOICEDLG
=yes
2522 DEFAULT_wxUSE_COLOURDLG
=yes
2523 DEFAULT_wxUSE_DIRDLG
=yes
2524 DEFAULT_wxUSE_FILEDLG
=yes
2525 DEFAULT_wxUSE_FINDREPLDLG
=yes
2526 DEFAULT_wxUSE_FONTDLG
=yes
2527 DEFAULT_wxUSE_MSGDLG
=yes
2528 DEFAULT_wxUSE_NUMBERDLG
=yes
2529 DEFAULT_wxUSE_TEXTDLG
=yes
2530 DEFAULT_wxUSE_SPLASH
=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2532 DEFAULT_wxUSE_PROGRESSDLG
=yes
2533 DEFAULT_wxUSE_WIZARDDLG
=yes
2535 DEFAULT_wxUSE_MENUS
=yes
2536 DEFAULT_wxUSE_MINIFRAME
=yes
2537 DEFAULT_wxUSE_HTML
=yes
2538 DEFAULT_wxUSE_RICHTEXT
=yes
2539 DEFAULT_wxUSE_XRC
=yes
2540 DEFAULT_wxUSE_AUI
=yes
2541 DEFAULT_wxUSE_WEBKIT
=yes
2542 DEFAULT_wxUSE_FILESYSTEM
=yes
2543 DEFAULT_wxUSE_FS_INET
=yes
2544 DEFAULT_wxUSE_FS_ZIP
=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2546 DEFAULT_wxUSE_BUSYINFO
=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2548 DEFAULT_wxUSE_ZIPSTREAM
=yes
2549 DEFAULT_wxUSE_TARSTREAM
=yes
2550 DEFAULT_wxUSE_VALIDATORS
=yes
2552 DEFAULT_wxUSE_ACCEL
=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2554 DEFAULT_wxUSE_BUTTON
=yes
2555 DEFAULT_wxUSE_BMPBUTTON
=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2557 DEFAULT_wxUSE_CALCTRL
=yes
2558 DEFAULT_wxUSE_CARET
=yes
2559 DEFAULT_wxUSE_CHECKBOX
=yes
2560 DEFAULT_wxUSE_CHECKLST
=yes
2561 DEFAULT_wxUSE_CHOICE
=yes
2562 DEFAULT_wxUSE_CHOICEBOOK
=yes
2563 DEFAULT_wxUSE_COLLPANE
=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2565 DEFAULT_wxUSE_COMBOBOX
=yes
2566 DEFAULT_wxUSE_COMBOCTRL
=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2568 DEFAULT_wxUSE_DISPLAY
=yes
2569 DEFAULT_wxUSE_DETECT_SM
=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2573 DEFAULT_wxUSE_GAUGE
=yes
2574 DEFAULT_wxUSE_GRID
=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2578 DEFAULT_wxUSE_IMAGLIST
=yes
2579 DEFAULT_wxUSE_LISTBOOK
=yes
2580 DEFAULT_wxUSE_LISTBOX
=yes
2581 DEFAULT_wxUSE_LISTCTRL
=yes
2582 DEFAULT_wxUSE_NOTEBOOK
=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2584 DEFAULT_wxUSE_RADIOBOX
=yes
2585 DEFAULT_wxUSE_RADIOBTN
=yes
2586 DEFAULT_wxUSE_SASH
=yes
2587 DEFAULT_wxUSE_SCROLLBAR
=yes
2588 DEFAULT_wxUSE_SLIDER
=yes
2589 DEFAULT_wxUSE_SPINBTN
=yes
2590 DEFAULT_wxUSE_SPINCTRL
=yes
2591 DEFAULT_wxUSE_SPLITTER
=yes
2592 DEFAULT_wxUSE_STATBMP
=yes
2593 DEFAULT_wxUSE_STATBOX
=yes
2594 DEFAULT_wxUSE_STATLINE
=yes
2595 DEFAULT_wxUSE_STATTEXT
=yes
2596 DEFAULT_wxUSE_STATUSBAR
=yes
2597 DEFAULT_wxUSE_TAB_DIALOG
=no
2598 DEFAULT_wxUSE_TEXTCTRL
=yes
2599 DEFAULT_wxUSE_TOGGLEBTN
=yes
2600 DEFAULT_wxUSE_TOOLBAR
=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2602 DEFAULT_wxUSE_TREEBOOK
=yes
2603 DEFAULT_wxUSE_TOOLBOOK
=yes
2604 DEFAULT_wxUSE_TREECTRL
=yes
2605 DEFAULT_wxUSE_POPUPWIN
=yes
2606 DEFAULT_wxUSE_TIPWINDOW
=yes
2608 DEFAULT_wxUSE_UNICODE
=no
2609 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2610 DEFAULT_wxUSE_WCSRTOMBS
=no
2612 DEFAULT_wxUSE_PALETTE
=yes
2613 DEFAULT_wxUSE_IMAGE
=yes
2614 DEFAULT_wxUSE_GIF
=yes
2615 DEFAULT_wxUSE_PCX
=yes
2616 DEFAULT_wxUSE_TGA
=yes
2617 DEFAULT_wxUSE_IFF
=no DEFAULT_wxUSE_PNM
=yes
2618 DEFAULT_wxUSE_XPM
=yes
2619 DEFAULT_wxUSE_ICO_CUR
=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY
=no
2622 DEFAULT_wxUSE_MONOLITHIC
=no
2623 DEFAULT_wxUSE_PLUGINS
=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2626 DEFAULT_wxUSE_GTK2
=yes
2632 for toolkit
in `echo $ALL_TOOLKITS`; do
2633 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache
=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2639 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval
="$enable_gui"
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui
='wxUSE_GUI=yes'
2659 ac_cv_use_gui
='wxUSE_GUI=no'
2664 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x
; then
2666 eval "DEFAULT_$LINE"
2671 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval
="$enable_monolithic"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2700 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2705 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval
="$enable_plugins"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2741 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2746 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval
="$with_subdirs"
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2783 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2788 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2813 if test "$wxUSE_GUI" = "yes"; then
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval
="$enable_universal"
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2827 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2832 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2860 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval
="$with_motif"
2866 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2872 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval
="$with_cocoa"
2878 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval
="$with_wine"
2884 wxUSE_WINE
="$withval" CACHE_WINE
=1
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2890 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2896 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2902 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval
="$with_directfb"
2908 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval
="$with_microwin"
2914 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2920 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval
="$enable_nanox"
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2934 ac_cv_use_nanox
='wxUSE_NANOX=no'
2939 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x
; then
2941 eval "DEFAULT_$LINE"
2946 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval
="$enable_gtk2"
2967 wxUSE_GTK2
="$enableval"
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval
="$enable_gpe"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe
='wxUSE_GPE=yes'
2981 ac_cv_use_gpe
='wxUSE_GPE=no'
2986 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval
="$with_libpng"
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no
; then
3023 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys
; then
3025 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3036 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no
; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys
; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval
="$with_libjpeg"
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no
; then
3082 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys
; then
3084 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3095 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no
; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys
; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval
="$with_libtiff"
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no
; then
3141 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys
; then
3143 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3154 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x
; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no
; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys
; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval
="$with_libxpm"
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no
; then
3200 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys
; then
3202 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3213 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no
; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys
; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval
="$with_libmspack"
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3260 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3265 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3302 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3307 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval
="$with_gnomeprint"
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3344 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3349 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x
; then
3351 eval "DEFAULT_$LINE"
3356 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval
="$with_gnomevfs"
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3386 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3391 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x
; then
3393 eval "DEFAULT_$LINE"
3398 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval
="$with_hildon"
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3428 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3433 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x
; then
3435 eval "DEFAULT_$LINE"
3440 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval
="$with_opengl"
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3470 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3475 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval
="$with_themes"
3505 wxUNIV_THEMES
="$withval"
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval
="$with_dmalloc"
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3524 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3529 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval
="$with_regex"
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex
='wxUSE_REGEX=yes'
3564 elif test "$withval" = no
; then
3565 ac_cv_use_regex
='wxUSE_REGEX=no'
3566 elif test "$withval" = sys
; then
3567 ac_cv_use_regex
='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3578 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x
; then
3580 eval "DEFAULT_$LINE"
3585 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no
; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys
; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval
="$with_zlib"
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no
; then
3624 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys
; then
3626 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3637 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x
; then
3639 eval "DEFAULT_$LINE"
3644 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no
; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys
; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval
="$with_odbc"
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3682 elif test "$withval" = no
; then
3683 ac_cv_use_odbc
='wxUSE_ODBC=no'
3684 elif test "$withval" = sys
; then
3685 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3696 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no
; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys
; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval
="$with_expat"
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no
; then
3742 ac_cv_use_expat
='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys
; then
3744 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3755 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x
; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no
; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys
; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval
="$enable_shared"
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared
='wxUSE_SHARED=yes'
3803 ac_cv_use_shared
='wxUSE_SHARED=no'
3808 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x
; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval
="$enable_optimise"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3844 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3849 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x
; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval
="$enable_debug"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3885 ac_cv_use_debug
='wxUSE_DEBUG=no'
3890 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x
; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval
="$enable_stl"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl
='wxUSE_STL=yes'
3926 ac_cv_use_stl
='wxUSE_STL=no'
3931 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF
=no
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval
="$enable_omf"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf
='wxUSE_OMF=yes'
3969 ac_cv_use_omf
='wxUSE_OMF=no'
3974 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x
; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4002 DEFAULT_wxUSE_DEBUG_INFO
=yes
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG
=no
4006 DEFAULT_wxUSE_DEBUG_INFO
=no
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval
="$enable_debug_flag"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4022 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4027 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval
="$enable_debug_info"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4063 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4068 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval
="$enable_debug_gdb"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4104 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4109 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval
="$enable_debug_cntxt"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4145 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4150 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval
="$enable_mem_tracing"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4186 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4191 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval
="$enable_profile"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4227 ac_cv_use_profile
='wxUSE_PROFILE=no'
4232 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval
="$enable_no_rtti"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4268 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4273 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval
="$enable_no_exceptions"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4309 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4314 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval
="$enable_permissive"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4350 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4355 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval
="$enable_no_deps"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4391 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4396 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval
="$enable_universal_binary"
4429 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4433 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4439 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval
="$enable_compat24"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4465 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4470 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x
; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4495 enablestring
=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval
="$enable_compat26"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4506 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4511 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval
="$enable_rpath"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4548 ac_cv_use_rpath
='wxUSE_RPATH=no'
4553 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval
="$enable_intl"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl
='wxUSE_INTL=yes'
4592 ac_cv_use_intl
='wxUSE_INTL=no'
4597 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x
; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval
="$enable_config"
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config
='wxUSE_CONFIG=yes'
4633 ac_cv_use_config
='wxUSE_CONFIG=no'
4638 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x
; then
4640 eval "DEFAULT_$LINE"
4645 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval
="$enable_protocols"
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4675 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4680 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x
; then
4682 eval "DEFAULT_$LINE"
4687 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval
="$enable_ftp"
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4716 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4721 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x
; then
4723 eval "DEFAULT_$LINE"
4728 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval
="$enable_http"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4757 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4762 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval
="$enable_fileproto"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4798 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4803 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval
="$enable_sockets"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4839 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4844 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x
; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval
="$enable_ole"
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole
='wxUSE_OLE=yes'
4880 ac_cv_use_ole
='wxUSE_OLE=no'
4885 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x
; then
4887 eval "DEFAULT_$LINE"
4892 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval
="$enable_dataobj"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4921 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4926 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval
="$enable_ipc"
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc
='wxUSE_IPC=yes'
4963 ac_cv_use_ipc
='wxUSE_IPC=no'
4968 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x
; then
4970 eval "DEFAULT_$LINE"
4975 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval
="$enable_apple_ieee"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5005 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5010 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval
="$enable_arcstream"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5046 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5051 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval
="$enable_backtrace"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5087 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5092 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval
="$enable_catch_segvs"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5128 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5133 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval
="$enable_cmdline"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5169 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5174 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval
="$enable_datetime"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5210 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5215 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval
="$enable_debugreport"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5251 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5256 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval
="$enable_dialupman"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5292 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5297 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval
="$enable_dynlib"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5333 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5338 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval
="$enable_dynamicloader"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5374 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5379 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x
; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval
="$enable_exceptions"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5415 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5420 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval
="$enable_ffile"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5456 ac_cv_use_ffile
='wxUSE_FFILE=no'
5461 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval
="$enable_file"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file
='wxUSE_FILE=yes'
5497 ac_cv_use_file
='wxUSE_FILE=no'
5502 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval
="$enable_filesystem"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5538 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5543 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x
; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval
="$enable_fontmap"
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5579 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5584 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5591 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval
="$enable_fs_archive"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5620 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5625 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x
; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval
="$enable_fs_inet"
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5661 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5666 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x
; then
5668 eval "DEFAULT_$LINE"
5673 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval
="$enable_fs_zip"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5702 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5707 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval
="$enable_geometry"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5743 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5748 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval
="$enable_log"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log
='wxUSE_LOG=yes'
5784 ac_cv_use_log
='wxUSE_LOG=no'
5789 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval
="$enable_longlong"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5825 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5830 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x
; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval
="$enable_mimetype"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5866 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5871 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval
="$enable_mslu"
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5907 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5912 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x
; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval
="$enable_snglinst"
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5948 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5953 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x
; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval
="$enable_std_iostreams"
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5989 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5994 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x
; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval
="$enable_std_string"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6030 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6035 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x
; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval
="$enable_stdpaths"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6071 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6076 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x
; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval
="$enable_stopwatch"
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6112 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6117 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x
; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval
="$enable_streams"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6153 ac_cv_use_streams
='wxUSE_STREAMS=no'
6158 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x
; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval
="$enable_system_options"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6194 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6199 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval
="$enable_tarstream"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6235 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6240 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval
="$enable_textbuf"
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6276 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6281 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x
; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval
="$enable_textfile"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6317 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6322 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x
; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval
="$enable_timer"
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer
='wxUSE_TIMER=yes'
6358 ac_cv_use_timer
='wxUSE_TIMER=no'
6363 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x
; then
6365 eval "DEFAULT_$LINE"
6370 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval
="$enable_unicode"
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6399 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6404 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x
; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval
="$enable_sound"
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound
='wxUSE_SOUND=yes'
6440 ac_cv_use_sound
='wxUSE_SOUND=no'
6445 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x
; then
6447 eval "DEFAULT_$LINE"
6452 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval
="$enable_mediactrl"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6481 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6486 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x
; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval
="$enable_gstreamer8"
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6522 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6527 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x
; then
6529 eval "DEFAULT_$LINE"
6534 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval
="$enable_printfposparam"
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6563 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6568 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x
; then
6570 eval "DEFAULT_$LINE"
6575 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval
="$enable_zipstream"
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6604 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6609 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x
; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval
="$enable_url"
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url
='wxUSE_URL=yes'
6646 ac_cv_use_url
='wxUSE_URL=no'
6651 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x
; then
6653 eval "DEFAULT_$LINE"
6658 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval
="$enable_variant"
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6687 ac_cv_use_variant
='wxUSE_VARIANT=no'
6692 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x
; then
6694 eval "DEFAULT_$LINE"
6699 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval
="$enable_protocol"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6728 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6733 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval
="$enable_protocol_http"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6769 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6774 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval
="$enable_protocol_ftp"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6810 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6815 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval
="$enable_protocol_file"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6851 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6856 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval
="$enable_threads"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads
='wxUSE_THREADS=yes'
6895 ac_cv_use_threads
='wxUSE_THREADS=no'
6900 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x
; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6925 if test "$wxUSE_GUI" = "yes"; then
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval
="$enable_docview"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6940 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6945 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x
; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval
="$enable_help"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help
='wxUSE_HELP=yes'
6981 ac_cv_use_help
='wxUSE_HELP=no'
6986 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x
; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval
="$enable_mshtmlhelp"
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7022 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7027 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x
; then
7029 eval "DEFAULT_$LINE"
7034 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval
="$enable_html"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html
='wxUSE_HTML=yes'
7063 ac_cv_use_html
='wxUSE_HTML=no'
7068 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval
="$enable_htmlhelp"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7104 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7109 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval
="$enable_xrc"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc
='wxUSE_XRC=yes'
7145 ac_cv_use_xrc
='wxUSE_XRC=no'
7150 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x
; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval
="$enable_aui"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui
='wxUSE_AUI=yes'
7186 ac_cv_use_aui
='wxUSE_AUI=no'
7191 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval
="$enable_constraints"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7227 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7232 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval
="$enable_printarch"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7268 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7273 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x
; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval
="$enable_mdi"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi
='wxUSE_MDI=yes'
7309 ac_cv_use_mdi
='wxUSE_MDI=no'
7314 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x
; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval
="$enable_mdidoc"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7350 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7355 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x
; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval
="$enable_loggui"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7391 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7396 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x
; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval
="$enable_logwin"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7432 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7437 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval
="$enable_logdialog"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7473 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7478 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval
="$enable_webkit"
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7514 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7519 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x
; then
7521 eval "DEFAULT_$LINE"
7526 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval
="$enable_richtext"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext
='wxUSE_RICHTEXT=yes'
7555 ac_cv_use_richtext
='wxUSE_RICHTEXT=no'
7560 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x
; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_richtext
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval
="$enable_graphics_ctx"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7596 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7601 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x
; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval
="$enable_postscript"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7638 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7643 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval
="$enable_prologio"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7682 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7687 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval
="$enable_resources"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7723 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7728 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval
="$enable_clipboard"
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7766 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7771 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x
; then
7773 eval "DEFAULT_$LINE"
7778 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval
="$enable_dnd"
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7807 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7812 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x
; then
7814 eval "DEFAULT_$LINE"
7819 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval
="$enable_metafile"
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7848 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7853 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x
; then
7855 eval "DEFAULT_$LINE"
7860 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval
="$enable_controls"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7892 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7897 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL
=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7925 DEFAULT_wxUSE_BMPBUTTON
=yes
7926 DEFAULT_wxUSE_BUTTON
=yes
7927 DEFAULT_wxUSE_CALCTRL
=yes
7928 DEFAULT_wxUSE_CARET
=yes
7929 DEFAULT_wxUSE_COMBOBOX
=yes
7930 DEFAULT_wxUSE_CHECKBOX
=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7932 DEFAULT_wxUSE_CHOICE
=yes
7933 DEFAULT_wxUSE_CHOICEBOOK
=yes
7934 DEFAULT_wxUSE_COLLPANE
=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7936 DEFAULT_wxUSE_COMBOBOX
=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7938 DEFAULT_wxUSE_DISPLAY
=yes
7939 DEFAULT_wxUSE_DETECT_SM
=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7943 DEFAULT_wxUSE_GAUGE
=yes
7944 DEFAULT_wxUSE_GRID
=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7947 DEFAULT_wxUSE_IMAGLIST
=yes
7948 DEFAULT_wxUSE_LISTBOOK
=yes
7949 DEFAULT_wxUSE_LISTBOX
=yes
7950 DEFAULT_wxUSE_LISTCTRL
=yes
7951 DEFAULT_wxUSE_NOTEBOOK
=yes
7952 DEFAULT_wxUSE_RADIOBOX
=yes
7953 DEFAULT_wxUSE_RADIOBTN
=yes
7954 DEFAULT_wxUSE_SASH
=yes
7955 DEFAULT_wxUSE_SCROLLBAR
=yes
7956 DEFAULT_wxUSE_SLIDER
=yes
7957 DEFAULT_wxUSE_SPINBTN
=yes
7958 DEFAULT_wxUSE_SPINCTRL
=yes
7959 DEFAULT_wxUSE_SPLITTER
=yes
7960 DEFAULT_wxUSE_STATBMP
=yes
7961 DEFAULT_wxUSE_STATBOX
=yes
7962 DEFAULT_wxUSE_STATLINE
=yes
7963 DEFAULT_wxUSE_STATUSBAR
=yes
7964 DEFAULT_wxUSE_TAB_DIALOG
=yes
7965 DEFAULT_wxUSE_TOGGLEBTN
=yes
7966 DEFAULT_wxUSE_TOOLBAR
=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7968 DEFAULT_wxUSE_TOOLTIPS
=yes
7969 DEFAULT_wxUSE_TREEBOOK
=yes
7970 DEFAULT_wxUSE_TOOLBOOK
=yes
7971 DEFAULT_wxUSE_TREECTRL
=yes
7972 DEFAULT_wxUSE_POPUPWIN
=yes
7973 DEFAULT_wxUSE_TIPWINDOW
=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL
=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7977 DEFAULT_wxUSE_BMPBUTTON
=no
7978 DEFAULT_wxUSE_BUTTON
=no
7979 DEFAULT_wxUSE_CALCTRL
=no
7980 DEFAULT_wxUSE_CARET
=no
7981 DEFAULT_wxUSE_COLLPANE
=no
7982 DEFAULT_wxUSE_COMBOBOX
=no
7983 DEFAULT_wxUSE_CHECKBOX
=no
7984 DEFAULT_wxUSE_CHECKLISTBOX
=no
7985 DEFAULT_wxUSE_CHOICE
=no
7986 DEFAULT_wxUSE_CHOICEBOOK
=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7988 DEFAULT_wxUSE_COMBOBOX
=no
7989 DEFAULT_wxUSE_DATEPICKCTRL
=no
7990 DEFAULT_wxUSE_DISPLAY
=no
7991 DEFAULT_wxUSE_DETECT_SM
=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7995 DEFAULT_wxUSE_GAUGE
=no
7996 DEFAULT_wxUSE_GRID
=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7999 DEFAULT_wxUSE_IMAGLIST
=no
8000 DEFAULT_wxUSE_LISTBOOK
=no
8001 DEFAULT_wxUSE_LISTBOX
=no
8002 DEFAULT_wxUSE_LISTCTRL
=no
8003 DEFAULT_wxUSE_NOTEBOOK
=no
8004 DEFAULT_wxUSE_RADIOBOX
=no
8005 DEFAULT_wxUSE_RADIOBTN
=no
8006 DEFAULT_wxUSE_SASH
=no
8007 DEFAULT_wxUSE_SCROLLBAR
=no
8008 DEFAULT_wxUSE_SLIDER
=no
8009 DEFAULT_wxUSE_SPINBTN
=no
8010 DEFAULT_wxUSE_SPINCTRL
=no
8011 DEFAULT_wxUSE_SPLITTER
=no
8012 DEFAULT_wxUSE_STATBMP
=no
8013 DEFAULT_wxUSE_STATBOX
=no
8014 DEFAULT_wxUSE_STATLINE
=no
8015 DEFAULT_wxUSE_STATUSBAR
=no
8016 DEFAULT_wxUSE_TAB_DIALOG
=no
8017 DEFAULT_wxUSE_TOGGLEBTN
=no
8018 DEFAULT_wxUSE_TOOLBAR
=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8020 DEFAULT_wxUSE_TOOLTIPS
=no
8021 DEFAULT_wxUSE_TREEBOOK
=no
8022 DEFAULT_wxUSE_TOOLBOOK
=no
8023 DEFAULT_wxUSE_TREECTRL
=no
8024 DEFAULT_wxUSE_POPUPWIN
=no
8025 DEFAULT_wxUSE_TIPWINDOW
=no
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval
="$enable_accel"
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8040 ac_cv_use_accel
='wxUSE_ACCEL=no'
8045 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x
; then
8047 eval "DEFAULT_$LINE"
8052 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval
="$enable_animatectrl"
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8081 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8086 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x
; then
8088 eval "DEFAULT_$LINE"
8093 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval
="$enable_button"
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button
='wxUSE_BUTTON=yes'
8122 ac_cv_use_button
='wxUSE_BUTTON=no'
8127 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x
; then
8129 eval "DEFAULT_$LINE"
8134 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval
="$enable_bmpbutton"
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8163 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8168 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x
; then
8170 eval "DEFAULT_$LINE"
8175 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval
="$enable_bmpcombobox"
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8204 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8209 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x
; then
8211 eval "DEFAULT_$LINE"
8216 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval
="$enable_calendar"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8245 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8250 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval
="$enable_caret"
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret
='wxUSE_CARET=yes'
8286 ac_cv_use_caret
='wxUSE_CARET=no'
8291 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x
; then
8293 eval "DEFAULT_$LINE"
8298 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval
="$enable_checkbox"
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8327 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8332 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x
; then
8334 eval "DEFAULT_$LINE"
8339 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval
="$enable_checklst"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8368 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8373 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x
; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval
="$enable_choice"
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8409 ac_cv_use_choice
='wxUSE_CHOICE=no'
8414 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x
; then
8416 eval "DEFAULT_$LINE"
8421 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval
="$enable_choicebook"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8450 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8455 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x
; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval
="$enable_collpane"
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane
='wxUSE_COLLPANE=yes'
8491 ac_cv_use_collpane
='wxUSE_COLLPANE=no'
8496 LINE
=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x
; then
8498 eval "DEFAULT_$LINE"
8503 ac_cv_use_collpane
='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval
="$enable_colourpicker"
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8532 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8537 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x
; then
8539 eval "DEFAULT_$LINE"
8544 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval
="$enable_combobox"
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8573 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8578 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x
; then
8580 eval "DEFAULT_$LINE"
8585 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval
="$enable_comboctrl"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8614 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8619 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x
; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval
="$enable_datepick"
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8655 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8660 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x
; then
8662 eval "DEFAULT_$LINE"
8667 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval
="$enable_dirpicker"
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8696 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8701 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x
; then
8703 eval "DEFAULT_$LINE"
8708 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval
="$enable_display"
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8737 ac_cv_use_display
='wxUSE_DISPLAY=no'
8742 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x
; then
8744 eval "DEFAULT_$LINE"
8749 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval
="$enable_detect_sm"
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8778 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8783 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x
; then
8785 eval "DEFAULT_$LINE"
8790 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval
="$enable_filepicker"
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8819 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8824 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x
; then
8826 eval "DEFAULT_$LINE"
8831 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval
="$enable_fontpicker"
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8860 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8865 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x
; then
8867 eval "DEFAULT_$LINE"
8872 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval
="$enable_gauge"
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8901 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8906 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x
; then
8908 eval "DEFAULT_$LINE"
8913 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval
="$enable_grid"
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid
='wxUSE_GRID=yes'
8942 ac_cv_use_grid
='wxUSE_GRID=no'
8947 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x
; then
8949 eval "DEFAULT_$LINE"
8954 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval
="$enable_dataviewctrl"
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8983 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8988 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x
; then
8990 eval "DEFAULT_$LINE"
8995 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval
="$enable_hyperlink"
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9024 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9029 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x
; then
9031 eval "DEFAULT_$LINE"
9036 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval
="$enable_imaglist"
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9065 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9070 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x
; then
9072 eval "DEFAULT_$LINE"
9077 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval
="$enable_listbook"
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9106 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9111 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x
; then
9113 eval "DEFAULT_$LINE"
9118 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval
="$enable_listbox"
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9147 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9152 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x
; then
9154 eval "DEFAULT_$LINE"
9159 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval
="$enable_listctrl"
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9188 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9193 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x
; then
9195 eval "DEFAULT_$LINE"
9200 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval
="$enable_notebook"
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9229 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9234 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x
; then
9236 eval "DEFAULT_$LINE"
9241 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval
="$enable_odcombobox"
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9270 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9275 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x
; then
9277 eval "DEFAULT_$LINE"
9282 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval
="$enable_radiobox"
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9311 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9316 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x
; then
9318 eval "DEFAULT_$LINE"
9323 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval
="$enable_radiobtn"
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9352 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9357 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x
; then
9359 eval "DEFAULT_$LINE"
9364 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval
="$enable_sash"
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash
='wxUSE_SASH=yes'
9393 ac_cv_use_sash
='wxUSE_SASH=no'
9398 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x
; then
9400 eval "DEFAULT_$LINE"
9405 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval
="$enable_scrollbar"
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9434 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9439 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x
; then
9441 eval "DEFAULT_$LINE"
9446 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval
="$enable_slider"
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9475 ac_cv_use_slider
='wxUSE_SLIDER=no'
9480 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x
; then
9482 eval "DEFAULT_$LINE"
9487 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval
="$enable_spinbtn"
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9516 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9521 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x
; then
9523 eval "DEFAULT_$LINE"
9528 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval
="$enable_spinctrl"
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9557 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9562 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x
; then
9564 eval "DEFAULT_$LINE"
9569 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval
="$enable_splitter"
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9598 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9603 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x
; then
9605 eval "DEFAULT_$LINE"
9610 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval
="$enable_statbmp"
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9639 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9644 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x
; then
9646 eval "DEFAULT_$LINE"
9651 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval
="$enable_statbox"
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9680 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9685 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x
; then
9687 eval "DEFAULT_$LINE"
9692 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval
="$enable_statline"
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9721 ac_cv_use_statline
='wxUSE_STATLINE=no'
9726 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x
; then
9728 eval "DEFAULT_$LINE"
9733 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval
="$enable_stattext"
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9762 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9767 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x
; then
9769 eval "DEFAULT_$LINE"
9774 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval
="$enable_statusbar"
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9803 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9808 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x
; then
9810 eval "DEFAULT_$LINE"
9815 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval
="$enable_tabdialog"
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9844 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9849 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x
; then
9851 eval "DEFAULT_$LINE"
9856 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval
="$enable_textctrl"
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9885 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9890 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x
; then
9892 eval "DEFAULT_$LINE"
9897 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval
="$enable_togglebtn"
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9926 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9931 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x
; then
9933 eval "DEFAULT_$LINE"
9938 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval
="$enable_toolbar"
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9967 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9972 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x
; then
9974 eval "DEFAULT_$LINE"
9979 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval
="$enable_tbarnative"
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10008 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10013 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x
; then
10015 eval "DEFAULT_$LINE"
10020 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval
="$enable_treebook"
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10049 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10054 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x
; then
10056 eval "DEFAULT_$LINE"
10061 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval
="$enable_toolbook"
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10090 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10095 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x
; then
10097 eval "DEFAULT_$LINE"
10102 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval
="$enable_treectrl"
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10131 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10136 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x
; then
10138 eval "DEFAULT_$LINE"
10143 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval
="$enable_tipwindow"
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10172 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10177 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x
; then
10179 eval "DEFAULT_$LINE"
10184 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval
="$enable_popupwin"
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10213 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10218 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x
; then
10220 eval "DEFAULT_$LINE"
10225 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval
="$enable_commondlg"
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10256 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10261 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x
; then
10263 eval "DEFAULT_$LINE"
10268 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval
="$enable_aboutdlg"
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10297 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10302 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x
; then
10304 eval "DEFAULT_$LINE"
10309 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval
="$enable_choicedlg"
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10338 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10343 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x
; then
10345 eval "DEFAULT_$LINE"
10350 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval
="$enable_coldlg"
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10379 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10384 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x
; then
10386 eval "DEFAULT_$LINE"
10391 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval
="$enable_filedlg"
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10420 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10425 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x
; then
10427 eval "DEFAULT_$LINE"
10432 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval
="$enable_finddlg"
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10461 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10466 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x
; then
10468 eval "DEFAULT_$LINE"
10473 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval
="$enable_fontdlg"
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10502 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10507 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x
; then
10509 eval "DEFAULT_$LINE"
10514 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval
="$enable_dirdlg"
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10543 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10548 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x
; then
10550 eval "DEFAULT_$LINE"
10555 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval
="$enable_msgdlg"
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10584 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10589 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x
; then
10591 eval "DEFAULT_$LINE"
10596 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval
="$enable_numberdlg"
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10625 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10630 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x
; then
10632 eval "DEFAULT_$LINE"
10637 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval
="$enable_splash"
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10666 ac_cv_use_splash
='wxUSE_SPLASH=no'
10671 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x
; then
10673 eval "DEFAULT_$LINE"
10678 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval
="$enable_textdlg"
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10707 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10712 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x
; then
10714 eval "DEFAULT_$LINE"
10719 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval
="$enable_tipdlg"
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10748 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10753 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x
; then
10755 eval "DEFAULT_$LINE"
10760 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval
="$enable_progressdlg"
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10789 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10794 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x
; then
10796 eval "DEFAULT_$LINE"
10801 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval
="$enable_wizarddlg"
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10830 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10835 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x
; then
10837 eval "DEFAULT_$LINE"
10842 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval
="$enable_menus"
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus
='wxUSE_MENUS=yes'
10873 ac_cv_use_menus
='wxUSE_MENUS=no'
10878 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x
; then
10880 eval "DEFAULT_$LINE"
10885 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval
="$enable_miniframe"
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10914 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10919 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x
; then
10921 eval "DEFAULT_$LINE"
10926 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval
="$enable_tooltips"
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10955 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10960 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x
; then
10962 eval "DEFAULT_$LINE"
10967 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval
="$enable_splines"
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10996 ac_cv_use_splines
='wxUSE_SPLINES=no'
11001 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x
; then
11003 eval "DEFAULT_$LINE"
11008 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval
="$enable_mousewheel"
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11037 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11042 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x
; then
11044 eval "DEFAULT_$LINE"
11049 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval
="$enable_validators"
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11078 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11083 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x
; then
11085 eval "DEFAULT_$LINE"
11090 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval
="$enable_busyinfo"
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11119 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11124 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x
; then
11126 eval "DEFAULT_$LINE"
11131 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval
="$enable_joystick"
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11160 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11165 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x
; then
11167 eval "DEFAULT_$LINE"
11172 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval
="$enable_metafile"
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11201 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11206 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x
; then
11208 eval "DEFAULT_$LINE"
11213 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval
="$enable_dragimage"
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11242 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11247 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x
; then
11249 eval "DEFAULT_$LINE"
11254 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval
="$enable_accessibility"
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11283 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11288 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x
; then
11290 eval "DEFAULT_$LINE"
11295 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11313 if test "$wxUSE_MSW" = "1"; then
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval
="$enable_dccache"
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11326 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11331 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x
; then
11333 eval "DEFAULT_$LINE"
11338 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval
="$enable_palette"
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11370 ac_cv_use_palette
='wxUSE_PALETTE=no'
11375 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x
; then
11377 eval "DEFAULT_$LINE"
11382 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval
="$enable_image"
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image
='wxUSE_IMAGE=yes'
11411 ac_cv_use_image
='wxUSE_IMAGE=no'
11416 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x
; then
11418 eval "DEFAULT_$LINE"
11423 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval
="$enable_gif"
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif
='wxUSE_GIF=yes'
11452 ac_cv_use_gif
='wxUSE_GIF=no'
11457 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x
; then
11459 eval "DEFAULT_$LINE"
11464 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval
="$enable_pcx"
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx
='wxUSE_PCX=yes'
11493 ac_cv_use_pcx
='wxUSE_PCX=no'
11498 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x
; then
11500 eval "DEFAULT_$LINE"
11505 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval
="$enable_tga"
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga
='wxUSE_TGA=yes'
11534 ac_cv_use_tga
='wxUSE_TGA=no'
11539 LINE
=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x
; then
11541 eval "DEFAULT_$LINE"
11546 ac_cv_use_tga
='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval
="$enable_iff"
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff
='wxUSE_IFF=yes'
11575 ac_cv_use_iff
='wxUSE_IFF=no'
11580 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x
; then
11582 eval "DEFAULT_$LINE"
11587 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval
="$enable_pnm"
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm
='wxUSE_PNM=yes'
11616 ac_cv_use_pnm
='wxUSE_PNM=no'
11621 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x
; then
11623 eval "DEFAULT_$LINE"
11628 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval
="$enable_xpm"
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm
='wxUSE_XPM=yes'
11657 ac_cv_use_xpm
='wxUSE_XPM=no'
11662 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x
; then
11664 eval "DEFAULT_$LINE"
11669 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval
="$enable_ico_cur"
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11698 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11703 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x
; then
11705 eval "DEFAULT_$LINE"
11710 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval
="$with_flavour"
11735 WX_FLAVOUR
="$withval"
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval
="$enable_official_build"
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11751 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11756 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x
; then
11758 eval "DEFAULT_$LINE"
11763 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval
="$enable_vendor"
11783 VENDOR
="$enableval"
11785 if test "x$VENDOR" = "x"; then
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK
=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11804 DEFAULT_DEFAULT_wxUSE_MSW
=1
11809 if test "$wxUSE_GUI" = "yes"; then
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit
in `echo $ALL_TOOLKITS`; do
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11823 elif test "x$value" != "x"; then
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11832 for toolkit
in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11836 var
=DEFAULT_wxUSE_
$toolkit
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11843 eval "wxUSE_$toolkit=\$${var}"
11847 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11856 case "$NUM_TOOLKITS" in
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11877 for toolkit
in `echo $ALL_TOOLKITS`; do
11879 eval "value=\$${var}"
11880 if test "x$value" != x
; then
11881 cache_var
=CACHE_
$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11890 if test "$value" = 1; then
11891 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11908 cat >confcache
<<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11953 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache
>$cache_file
11958 echo "not updating unwritable cache $cache_file"
11968 ac_cpp
='$CPP $CPPFLAGS'
11969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC
="$CC" # Let the user override the test.
11983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11984 for as_dir
in $PATH
11987 test -z "$as_dir" && as_dir
=.
11988 for ac_exec_ext
in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12009 if test -z "$ac_cv_prog_CC"; then
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc
; ac_word
=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12022 for as_dir
in $PATH
12025 test -z "$as_dir" && as_dir
=.
12026 for ac_exec_ext
in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC
="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12037 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12048 CC
="$ac_cv_prog_CC"
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC
="$CC" # Let the user override the test.
12063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12064 for as_dir
in $PATH
12067 test -z "$as_dir" && as_dir
=.
12068 for ac_exec_ext
in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12089 if test -z "$ac_cv_prog_CC"; then
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc
; ac_word
=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12102 for as_dir
in $PATH
12105 test -z "$as_dir" && as_dir
=.
12106 for ac_exec_ext
in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC
="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12117 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12128 CC
="$ac_cv_prog_CC"
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc
; ac_word
=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC
="$CC" # Let the user override the test.
12143 ac_prog_rejected
=no
12144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12145 for as_dir
in $PATH
12148 test -z "$as_dir" && as_dir
=.
12149 for ac_exec_ext
in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected
=yes
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy
$ac_cv_prog_CC
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12171 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC
="$CC" # Let the user override the test.
12200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12201 for as_dir
in $PATH
12204 test -z "$as_dir" && as_dir
=.
12205 for ac_exec_ext
in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12225 test -n "$CC" && break
12228 if test -z "$CC"; then
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy
$ac_prog; ac_word
=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12243 for as_dir
in $PATH
12246 test -z "$as_dir" && as_dir
=.
12247 for ac_exec_ext
in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC
="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12267 test -n "$ac_ct_CC" && break
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler
=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12317 ac_clean_files_save
=$ac_clean_files
12318 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12337 # b.out is created by i960 compilers.
12338 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12340 test -f "$ac_file" || continue
12342 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12345 # This is the source file.
12348 # We found the default executable, but exeext='' is most
12352 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.
$ac_ext >&5
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12373 ac_exeext
=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try
='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12392 if test "$cross_compiling" = maybe
; then
12393 cross_compiling
=yes
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12408 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12409 ac_clean_files
=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12428 for ac_file
in conftest.exe conftest conftest.
*; do
12429 test -f "$ac_file" || continue
12431 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12432 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12446 rm -f conftest
$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12450 rm -f conftest.
$ac_ext
12451 EXEEXT
=$ac_cv_exeext
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 cat >conftest.
$ac_ext <<_ACEOF
12461 cat confdefs.h
>>conftest.
$ac_ext
12462 cat >>conftest.
$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12481 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12482 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12497 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT
=$ac_cv_objext
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 cat >conftest.
$ac_ext <<_ACEOF
12511 cat confdefs.h
>>conftest.
$ac_ext
12512 cat >>conftest.
$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu
=yes
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12555 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS
=${CFLAGS+set}
12562 ac_save_CFLAGS
=$CFLAGS
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12584 rm -f conftest.
$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1
>conftest.err
12590 cat conftest.err
>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try
='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g
=yes
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS
=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12625 if test "$GCC" = yes; then
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 ac_cv_prog_cc_stdc
=no
12638 cat >conftest.
$ac_ext <<_ACEOF
12641 cat confdefs.h
>>conftest.
$ac_ext
12642 cat >>conftest.
$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12662 s = g (p, va_arg (v,int));
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12699 CC
="$ac_save_CC $ac_arg"
12700 rm -f conftest.
$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12704 grep -v '^ *+' conftest.er1
>conftest.err
12706 cat conftest.err
>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try
='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc
=$ac_arg
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12728 rm -f conftest.err conftest.
$ac_objext
12730 rm -f conftest.
$ac_ext conftest.
$ac_objext
12735 case "x$ac_cv_prog_cc_stdc" in
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.
$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12754 rm -f conftest.
$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1
>conftest.err
12760 cat conftest.err
>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration
in \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12783 cat >conftest.
$ac_ext <<_ACEOF
12786 cat confdefs.h
>>conftest.
$ac_ext
12787 cat >>conftest.
$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12790 #include <stdlib.h>
12799 rm -f conftest.
$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12803 grep -v '^ *+' conftest.er1
>conftest.err
12805 cat conftest.err
>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try
='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.
$ac_ext >&5
12827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12828 cat >conftest.
$ac_ext <<_ACEOF
12831 cat confdefs.h
>>conftest.
$ac_ext
12832 cat >>conftest.
$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12843 rm -f conftest.
$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12847 grep -v '^ *+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try
='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.
$ac_ext >&5
12870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.
$ac_ext >&5
12884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12886 ac_cpp
='$CPP $CPPFLAGS'
12887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12894 ac_cpp
='$CPP $CPPFLAGS'
12895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 cat >conftest.
$ac_ext <<_ACEOF
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12915 #ifndef __INTEL_COMPILER
12923 rm -f conftest.
$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12927 grep -v '^ *+' conftest.er1
>conftest.err
12929 cat conftest.err
>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try
='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12959 ac_cpp
='$CPP $CPPFLAGS'
12960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 cat >conftest.
$ac_ext <<_ACEOF
12981 cat confdefs.h
>>conftest.
$ac_ext
12982 cat >>conftest.
$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12993 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13001 conftest.
$ac_ext.o
)
13002 bakefile_cv_c_exto
="-ext o"
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13017 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13026 if test "c" = "cxx"; then
13027 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS
=${CFLAGS+set}
13034 ac_save_CFLAGS
=$CFLAGS
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13056 rm -f conftest.
$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1
>conftest.err
13062 cat conftest.err
>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try
='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g
=yes
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.
$ac_ext >&5
13084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS
=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13097 if test "$GCC" = yes; then
13109 ac_cpp
='$CPP $CPPFLAGS'
13110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13137 rm -f conftest.
$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13141 grep -v '^ *+' conftest.er1
>conftest.err
13143 cat conftest.err
>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try
='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc
=yes
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.
$ac_ext >&5
13163 bakefile_compiler_xlc
=no
13165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13166 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13172 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13174 ac_cpp
='$CPP $CPPFLAGS'
13175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13184 ac_cpp
='$CPP $CPPFLAGS'
13185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks
=yes
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.
$ac_ext >&5
13238 bakefile_compiler_mwerks
=no
13240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13241 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13247 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13249 ac_cpp
='$CPP $CPPFLAGS'
13250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13256 ac_cpp
='$CPP $CPPFLAGS'
13257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13284 rm -f conftest.
$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1
>conftest.err
13290 cat conftest.err
>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try
='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc
=yes
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.
$ac_ext >&5
13310 bakefile_compiler_xlc
=no
13312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13313 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13319 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13321 ac_cpp
='$CPP $CPPFLAGS'
13322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13333 ac_cpp
='$CPP $CPPFLAGS'
13334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat >conftest.
$ac_ext <<_ACEOF
13346 cat confdefs.h
>>conftest.
$ac_ext
13347 cat >>conftest.
$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13354 #ifndef _SGI_COMPILER_VERSION
13362 rm -f conftest.
$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13366 grep -v '^ *+' conftest.er1
>conftest.err
13368 cat conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try
='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.
$ac_ext >&5
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13398 ac_cpp
='$CPP $CPPFLAGS'
13399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13416 ac_cpp
='$CPP $CPPFLAGS'
13417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13445 rm -f conftest.
$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13449 grep -v '^ *+' conftest.er1
>conftest.err
13451 cat conftest.err
>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc
=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.
$ac_ext >&5
13471 bakefile_cv_c_compiler___HP_cc
=no
13474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13481 ac_cpp
='$CPP $CPPFLAGS'
13482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13499 ac_cpp
='$CPP $CPPFLAGS'
13500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 cat >conftest.
$ac_ext <<_ACEOF
13512 cat confdefs.h
>>conftest.
$ac_ext
13513 cat >>conftest.
$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13528 rm -f conftest.
$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13532 grep -v '^ *+' conftest.er1
>conftest.err
13534 cat conftest.err
>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try
='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC
=yes
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 bakefile_cv_c_compiler___DECC
=no
13557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13564 ac_cpp
='$CPP $CPPFLAGS'
13565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13582 ac_cpp
='$CPP $CPPFLAGS'
13583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13592 cat >conftest.
$ac_ext <<_ACEOF
13595 cat confdefs.h
>>conftest.
$ac_ext
13596 cat >>conftest.
$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13611 rm -f conftest.
$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1
>conftest.err
13617 cat conftest.err
>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try
='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C
=yes
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.
$ac_ext >&5
13637 bakefile_cv_c_compiler___SUNPRO_C
=no
13640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13647 ac_cpp
='$CPP $CPPFLAGS'
13648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13666 ac_cpp
='$CPP $CPPFLAGS'
13667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 # Double quotes because CPP needs to be expanded
13681 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13683 ac_preproc_ok
=false
13684 for ac_c_preproc_warn_flag
in '' yes
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.
$ac_ext <<_ACEOF
13695 cat confdefs.h
>>conftest.
$ac_ext
13696 cat >>conftest.
$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13699 # include <limits.h>
13701 # include <assert.h>
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13708 grep -v '^ *+' conftest.er1
>conftest.err
13710 cat conftest.err
>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev
/null
; then
13713 if test -s conftest.err
; then
13714 ac_cpp_err
=$ac_c_preproc_warn_flag
13715 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13722 if test -z "$ac_cpp_err"; then
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.
$ac_ext >&5
13728 # Broken: fails on valid input.
13731 rm -f conftest.err conftest.
$ac_ext
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.
$ac_ext <<_ACEOF
13738 cat confdefs.h
>>conftest.
$ac_ext
13739 cat >>conftest.
$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13746 grep -v '^ *+' conftest.er1
>conftest.err
13748 cat conftest.err
>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev
/null
; then
13751 if test -s conftest.err
; then
13752 ac_cpp_err
=$ac_c_preproc_warn_flag
13753 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.
$ac_ext >&5
13767 # Passes both tests.
13771 rm -f conftest.err conftest.
$ac_ext
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.
$ac_ext
13776 if $ac_preproc_ok; then
13781 ac_cv_prog_CPP
=$CPP
13784 CPP
=$ac_cv_prog_CPP
13786 ac_cv_prog_CPP
=$CPP
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok
=false
13791 for ac_c_preproc_warn_flag
in '' yes
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.
$ac_ext <<_ACEOF
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13806 # include <limits.h>
13808 # include <assert.h>
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13815 grep -v '^ *+' conftest.er1
>conftest.err
13817 cat conftest.err
>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev
/null
; then
13820 if test -s conftest.err
; then
13821 ac_cpp_err
=$ac_c_preproc_warn_flag
13822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13829 if test -z "$ac_cpp_err"; then
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.
$ac_ext >&5
13835 # Broken: fails on valid input.
13838 rm -f conftest.err conftest.
$ac_ext
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.
$ac_ext <<_ACEOF
13845 cat confdefs.h
>>conftest.
$ac_ext
13846 cat >>conftest.
$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13853 grep -v '^ *+' conftest.er1
>conftest.err
13855 cat conftest.err
>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev
/null
; then
13858 if test -s conftest.err
; then
13859 ac_cpp_err
=$ac_c_preproc_warn_flag
13860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.
$ac_ext >&5
13874 # Passes both tests.
13878 rm -f conftest.err conftest.
$ac_ext
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.
$ac_ext
13883 if $ac_preproc_ok; then
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13894 ac_cpp
='$CPP $CPPFLAGS'
13895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13906 then ac_cv_prog_egrep
='grep -E'
13907 else ac_cv_prog_egrep
='egrep'
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP
=$ac_cv_prog_egrep
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 ac_pattern
="Autoconf.*'x'"
13922 cat >conftest.
$ac_ext <<_ACEOF
13925 cat confdefs.h
>>conftest.
$ac_ext
13926 cat >>conftest.
$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13933 ac_cv_prog_gcc_traditional
=yes
13935 ac_cv_prog_gcc_traditional
=no
13940 if test $ac_cv_prog_gcc_traditional = no
; then
13941 cat >conftest.
$ac_ext <<_ACEOF
13944 cat confdefs.h
>>conftest.
$ac_ext
13945 cat >>conftest.
$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13952 ac_cv_prog_gcc_traditional
=yes
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC
="$CC -traditional"
13967 ac_cpp
='$CXXCPP $CPPFLAGS'
13968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13973 CXXFLAGS
=${CXXFLAGS:=}
13978 ac_cpp
='$CXXCPP $CPPFLAGS'
13979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13982 if test -n "$ac_tool_prefix"; then
13983 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13987 echo "$as_me:$LINENO: checking for $ac_word" >&5
13988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13989 if test "${ac_cv_prog_CXX+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 if test -n "$CXX"; then
13993 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13996 for as_dir
in $PATH
13999 test -z "$as_dir" && as_dir
=.
14000 for ac_exec_ext
in '' $ac_executable_extensions; do
14001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14002 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011 CXX
=$ac_cv_prog_CXX
14012 if test -n "$CXX"; then
14013 echo "$as_me:$LINENO: result: $CXX" >&5
14014 echo "${ECHO_T}$CXX" >&6
14016 echo "$as_me:$LINENO: result: no" >&5
14017 echo "${ECHO_T}no" >&6
14020 test -n "$CXX" && break
14023 if test -z "$CXX"; then
14025 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy
$ac_prog; ac_word
=$2
14029 echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14031 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 if test -n "$ac_ct_CXX"; then
14035 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14038 for as_dir
in $PATH
14041 test -z "$as_dir" && as_dir
=.
14042 for ac_exec_ext
in '' $ac_executable_extensions; do
14043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14044 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14054 if test -n "$ac_ct_CXX"; then
14055 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14056 echo "${ECHO_T}$ac_ct_CXX" >&6
14058 echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6
14062 test -n "$ac_ct_CXX" && break
14064 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14070 # Provide some information about the compiler.
14071 echo "$as_me:$LINENO:" \
14072 "checking for C++ compiler version" >&5
14073 ac_compiler
=`set X $ac_compile; echo $2`
14074 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14075 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }
14079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14080 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }
14084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14085 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }
14090 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14091 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 cat >conftest.
$ac_ext <<_ACEOF
14098 cat confdefs.h
>>conftest.
$ac_ext
14099 cat >>conftest.
$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14113 rm -f conftest.
$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>conftest.er1
14117 grep -v '^ *+' conftest.er1
>conftest.err
14119 cat conftest.err
>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try
='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_compiler_gnu
=yes
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.
$ac_ext >&5
14141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14142 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14145 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14146 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14147 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14148 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14149 ac_save_CXXFLAGS
=$CXXFLAGS
14151 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14153 if test "${ac_cv_prog_cxx_g+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 cat >conftest.
$ac_ext <<_ACEOF
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14171 rm -f conftest.
$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14175 grep -v '^ *+' conftest.er1
>conftest.err
14177 cat conftest.err
>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try
='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_prog_cxx_g
=yes
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14197 ac_cv_prog_cxx_g
=no
14199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14201 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14202 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14203 if test "$ac_test_CXXFLAGS" = set; then
14204 CXXFLAGS
=$ac_save_CXXFLAGS
14205 elif test $ac_cv_prog_cxx_g = yes; then
14206 if test "$GXX" = yes; then
14212 if test "$GXX" = yes; then
14218 for ac_declaration
in \
14220 'extern "C" void std::exit (int) throw (); using std::exit;' \
14221 'extern "C" void std::exit (int); using std::exit;' \
14222 'extern "C" void exit (int) throw ();' \
14223 'extern "C" void exit (int);' \
14226 cat >conftest.
$ac_ext <<_ACEOF
14229 cat confdefs.h
>>conftest.
$ac_ext
14230 cat >>conftest.
$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14233 #include <stdlib.h>
14242 rm -f conftest.
$ac_objext
14243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14244 (eval $ac_compile) 2>conftest.er1
14246 grep -v '^ *+' conftest.er1
>conftest.err
14248 cat conftest.err
>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } &&
14251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; } &&
14257 { ac_try
='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14265 echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.
$ac_ext >&5
14270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 cat >conftest.
$ac_ext <<_ACEOF
14274 cat confdefs.h
>>conftest.
$ac_ext
14275 cat >>conftest.
$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14286 rm -f conftest.
$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>conftest.er1
14290 grep -v '^ *+' conftest.er1
>conftest.err
14292 cat conftest.err
>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try
='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.
$ac_ext >&5
14313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14316 if test -n "$ac_declaration"; then
14317 echo '#ifdef __cplusplus' >>confdefs.h
14318 echo $ac_declaration >>confdefs.h
14319 echo '#endif' >>confdefs.h
14323 ac_cpp
='$CXXCPP $CPPFLAGS'
14324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14331 ac_cpp
='$CXXCPP $CPPFLAGS'
14332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14336 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14337 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14338 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 cat >conftest.
$ac_ext <<_ACEOF
14344 cat confdefs.h
>>conftest.
$ac_ext
14345 cat >>conftest.
$ac_ext <<_ACEOF
14346 /* end confdefs.h. */
14352 #ifndef __INTEL_COMPILER
14360 rm -f conftest.
$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>conftest.er1
14364 grep -v '^ *+' conftest.er1
>conftest.err
14366 cat conftest.err
>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; } &&
14375 { ac_try
='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.
$ac_ext >&5
14386 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14396 ac_cpp
='$CXXCPP $CPPFLAGS'
14397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14401 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14408 if test "x$GCXX" != "xyes"; then
14409 if test "xCXX" = "xC"; then
14410 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14411 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14412 if test "${bakefile_cv_cxx_exto+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 cat >conftest.
$ac_ext <<_ACEOF
14418 cat confdefs.h
>>conftest.
$ac_ext
14419 cat >>conftest.
$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14430 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14432 (eval $ac_compile) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; then
14436 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14438 conftest.
$ac_ext.o
)
14439 bakefile_cv_cxx_exto
="-ext o"
14446 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14447 See \`config.log' for more details." >&5
14448 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14449 See \`config.log' for more details." >&2;}
14450 { (exit 1); exit 1; }; }
14454 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14457 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14458 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14459 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14460 if test "cxx" = "c"; then
14461 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14463 if test "cxx" = "cxx"; then
14464 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14468 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14469 unset ac_cv_prog_cc_g
14470 ac_test_CFLAGS
=${CFLAGS+set}
14471 ac_save_CFLAGS
=$CFLAGS
14473 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14474 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14475 if test "${ac_cv_prog_cc_g+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 cat >conftest.
$ac_ext <<_ACEOF
14481 cat confdefs.h
>>conftest.
$ac_ext
14482 cat >>conftest.
$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14493 rm -f conftest.
$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>conftest.er1
14497 grep -v '^ *+' conftest.er1
>conftest.err
14499 cat conftest.err
>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try
='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_prog_cc_g
=yes
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.
$ac_ext >&5
14521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14523 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14524 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14525 if test "$ac_test_CFLAGS" = set; then
14526 CFLAGS
=$ac_save_CFLAGS
14527 elif test $ac_cv_prog_cc_g = yes; then
14528 if test "$GCC" = yes; then
14534 if test "$GCC" = yes; then
14546 ac_cpp
='$CXXCPP $CPPFLAGS'
14547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14551 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14552 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14553 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 cat >conftest.
$ac_ext <<_ACEOF
14559 cat confdefs.h
>>conftest.
$ac_ext
14560 cat >>conftest.
$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14574 rm -f conftest.
$ac_objext
14575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14576 (eval $ac_compile) 2>conftest.er1
14578 grep -v '^ *+' conftest.er1
>conftest.err
14580 cat conftest.err
>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } &&
14583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try
='test -s conftest.$ac_objext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 bakefile_compiler_xlc
=yes
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14600 bakefile_compiler_xlc
=no
14602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14606 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14607 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14609 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14611 ac_cpp
='$CXXCPP $CPPFLAGS'
14612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14621 ac_cpp
='$CXXCPP $CPPFLAGS'
14622 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14626 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14627 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14628 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 cat >conftest.
$ac_ext <<_ACEOF
14634 cat confdefs.h
>>conftest.
$ac_ext
14635 cat >>conftest.
$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14649 rm -f conftest.
$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14653 grep -v '^ *+' conftest.er1
>conftest.err
14655 cat conftest.err
>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try
='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_compiler_mwerks
=yes
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.
$ac_ext >&5
14675 bakefile_compiler_mwerks
=no
14677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14678 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14681 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14682 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14684 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14686 ac_cpp
='$CXXCPP $CPPFLAGS'
14687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14693 ac_cpp
='$CXXCPP $CPPFLAGS'
14694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14698 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14700 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.
$ac_ext <<_ACEOF
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try
='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 bakefile_compiler_xlc
=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 bakefile_compiler_xlc
=no
14749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14750 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14753 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14754 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14756 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14758 ac_cpp
='$CXXCPP $CPPFLAGS'
14759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14770 ac_cpp
='$CXXCPP $CPPFLAGS'
14771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14775 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14776 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14777 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 cat >conftest.
$ac_ext <<_ACEOF
14783 cat confdefs.h
>>conftest.
$ac_ext
14784 cat >>conftest.
$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14791 #ifndef _SGI_COMPILER_VERSION
14799 rm -f conftest.
$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1
>conftest.err
14805 cat conftest.err
>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14832 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14833 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14835 ac_cpp
='$CXXCPP $CPPFLAGS'
14836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14840 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14853 ac_cpp
='$CXXCPP $CPPFLAGS'
14854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14858 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14859 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14860 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14863 cat >conftest.
$ac_ext <<_ACEOF
14866 cat confdefs.h
>>conftest.
$ac_ext
14867 cat >>conftest.
$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14882 rm -f conftest.
$ac_objext
14883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14884 (eval $ac_compile) 2>conftest.er1
14886 grep -v '^ *+' conftest.er1
>conftest.err
14888 cat conftest.err
>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; } &&
14897 { ac_try
='test -s conftest.$ac_objext'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; }; then
14903 bakefile_cv_cxx_compiler___HP_aCC
=yes
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.
$ac_ext >&5
14908 bakefile_cv_cxx_compiler___HP_aCC
=no
14911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14915 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14916 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14918 ac_cpp
='$CXXCPP $CPPFLAGS'
14919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14923 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14936 ac_cpp
='$CXXCPP $CPPFLAGS'
14937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14941 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14942 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14943 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14944 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14965 rm -f conftest.
$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>conftest.er1
14969 grep -v '^ *+' conftest.er1
>conftest.err
14971 cat conftest.err
>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; } &&
14980 { ac_try
='test -s conftest.$ac_objext'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14986 bakefile_cv_cxx_compiler___DECCXX
=yes
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.
$ac_ext >&5
14991 bakefile_cv_cxx_compiler___DECCXX
=no
14994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14998 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15001 ac_cpp
='$CXXCPP $CPPFLAGS'
15002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15019 ac_cpp
='$CXXCPP $CPPFLAGS'
15020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15024 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15025 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15026 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 cat >conftest.
$ac_ext <<_ACEOF
15032 cat confdefs.h
>>conftest.
$ac_ext
15033 cat >>conftest.
$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15040 #ifndef __SUNPRO_CC
15048 rm -f conftest.
$ac_objext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15050 (eval $ac_compile) 2>conftest.er1
15052 grep -v '^ *+' conftest.er1
>conftest.err
15054 cat conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; } &&
15063 { ac_try
='test -s conftest.$ac_objext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.
$ac_ext >&5
15074 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15081 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15084 ac_cpp
='$CXXCPP $CPPFLAGS'
15085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15102 if test -n "$ac_tool_prefix"; then
15103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15104 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15105 echo "$as_me:$LINENO: checking for $ac_word" >&5
15106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15107 if test "${ac_cv_prog_RANLIB+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 if test -n "$RANLIB"; then
15111 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15114 for as_dir
in $PATH
15117 test -z "$as_dir" && as_dir
=.
15118 for ac_exec_ext
in '' $ac_executable_extensions; do
15119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15120 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15129 RANLIB
=$ac_cv_prog_RANLIB
15130 if test -n "$RANLIB"; then
15131 echo "$as_me:$LINENO: result: $RANLIB" >&5
15132 echo "${ECHO_T}$RANLIB" >&6
15134 echo "$as_me:$LINENO: result: no" >&5
15135 echo "${ECHO_T}no" >&6
15139 if test -z "$ac_cv_prog_RANLIB"; then
15140 ac_ct_RANLIB
=$RANLIB
15141 # Extract the first word of "ranlib", so it can be a program name with args.
15142 set dummy ranlib
; ac_word
=$2
15143 echo "$as_me:$LINENO: checking for $ac_word" >&5
15144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 if test -n "$ac_ct_RANLIB"; then
15149 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15152 for as_dir
in $PATH
15155 test -z "$as_dir" && as_dir
=.
15156 for ac_exec_ext
in '' $ac_executable_extensions; do
15157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15168 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15169 if test -n "$ac_ct_RANLIB"; then
15170 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15177 RANLIB
=$ac_ct_RANLIB
15179 RANLIB
="$ac_cv_prog_RANLIB"
15183 if test -n "$ac_tool_prefix"; then
15184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15185 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15186 echo "$as_me:$LINENO: checking for $ac_word" >&5
15187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15188 if test "${ac_cv_prog_AR+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 if test -n "$AR"; then
15192 ac_cv_prog_AR
="$AR" # Let the user override the test.
15194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15195 for as_dir
in $PATH
15198 test -z "$as_dir" && as_dir
=.
15199 for ac_exec_ext
in '' $ac_executable_extensions; do
15200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15201 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15211 if test -n "$AR"; then
15212 echo "$as_me:$LINENO: result: $AR" >&5
15213 echo "${ECHO_T}$AR" >&6
15215 echo "$as_me:$LINENO: result: no" >&5
15216 echo "${ECHO_T}no" >&6
15220 if test -z "$ac_cv_prog_AR"; then
15222 # Extract the first word of "ar", so it can be a program name with args.
15223 set dummy
ar; ac_word
=$2
15224 echo "$as_me:$LINENO: checking for $ac_word" >&5
15225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15226 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 if test -n "$ac_ct_AR"; then
15230 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15233 for as_dir
in $PATH
15236 test -z "$as_dir" && as_dir
=.
15237 for ac_exec_ext
in '' $ac_executable_extensions; do
15238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15239 ac_cv_prog_ac_ct_AR
="ar"
15240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15248 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15249 if test -n "$ac_ct_AR"; then
15250 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15251 echo "${ECHO_T}$ac_ct_AR" >&6
15253 echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6
15259 AR
="$ac_cv_prog_AR"
15262 if test "x$AR" = "x" ; then
15263 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15264 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15265 { (exit 1); exit 1; }; }
15268 # Find a good install program. We prefer a C program (faster),
15269 # so one script is as good as another. But avoid the broken or
15270 # incompatible versions:
15271 # SysV /etc/install, /usr/sbin/install
15272 # SunOS /usr/etc/install
15273 # IRIX /sbin/install
15275 # AmigaOS /C/install, which installs bootblocks on floppy discs
15276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15279 # OS/2's system install, which has a completely different semantic
15280 # ./install, which can be erroneously created by make from ./install.sh.
15281 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15283 if test -z "$INSTALL"; then
15284 if test "${ac_cv_path_install+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15288 for as_dir
in $PATH
15291 test -z "$as_dir" && as_dir
=.
15292 # Account for people who put trailing slashes in PATH elements.
15294 .
/ | .
// | /cC
/* | \
15295 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15296 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15299 # OSF1 and SCO ODT 3.0 have their own names for install.
15300 # Don't use installbsd from OSF since it installs stuff as root
15302 for ac_prog
in ginstall scoinst
install; do
15303 for ac_exec_ext
in '' $ac_executable_extensions; do
15304 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15305 if test $ac_prog = install &&
15306 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15307 # AIX install. It has an incompatible calling convention.
15309 elif test $ac_prog = install &&
15310 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15311 # program-specific install script used by HP pwplus--don't use.
15314 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15326 if test "${ac_cv_path_install+set}" = set; then
15327 INSTALL
=$ac_cv_path_install
15329 # As a last resort, use the slow shell script. We don't cache a
15330 # path for INSTALL within a source directory, because that will
15331 # break other packages using the cache if that directory is
15332 # removed, or if the path is relative.
15333 INSTALL
=$ac_install_sh
15336 echo "$as_me:$LINENO: result: $INSTALL" >&5
15337 echo "${ECHO_T}$INSTALL" >&6
15339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15340 # It thinks the first close brace ends the variable substitution.
15341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15345 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15351 ?
:* ) # Drive letter, considered as absolute.
15354 INSTALL
=`pwd`/${INSTALL} ;;
15361 INSTALL_PROGRAM
="cp -fp"
15362 INSTALL_DATA
="cp -fp"
15368 if test -n "$ac_tool_prefix"; then
15369 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15370 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15371 echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15373 if test "${ac_cv_prog_STRIP+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 if test -n "$STRIP"; then
15377 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15380 for as_dir
in $PATH
15383 test -z "$as_dir" && as_dir
=.
15384 for ac_exec_ext
in '' $ac_executable_extensions; do
15385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15386 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15395 STRIP
=$ac_cv_prog_STRIP
15396 if test -n "$STRIP"; then
15397 echo "$as_me:$LINENO: result: $STRIP" >&5
15398 echo "${ECHO_T}$STRIP" >&6
15400 echo "$as_me:$LINENO: result: no" >&5
15401 echo "${ECHO_T}no" >&6
15405 if test -z "$ac_cv_prog_STRIP"; then
15407 # Extract the first word of "strip", so it can be a program name with args.
15408 set dummy strip
; ac_word
=$2
15409 echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15411 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 if test -n "$ac_ct_STRIP"; then
15415 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15418 for as_dir
in $PATH
15421 test -z "$as_dir" && as_dir
=.
15422 for ac_exec_ext
in '' $ac_executable_extensions; do
15423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_prog_ac_ct_STRIP
="strip"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15431 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15434 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15435 if test -n "$ac_ct_STRIP"; then
15436 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15437 echo "${ECHO_T}$ac_ct_STRIP" >&6
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15445 STRIP
="$ac_cv_prog_STRIP"
15449 if test "$wxUSE_WINE" = "yes"; then
15450 if test -n "$ac_tool_prefix"; then
15451 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15452 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15453 echo "$as_me:$LINENO: checking for $ac_word" >&5
15454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15455 if test "${ac_cv_prog_WINDRES+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 if test -n "$WINDRES"; then
15459 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15462 for as_dir
in $PATH
15465 test -z "$as_dir" && as_dir
=.
15466 for ac_exec_ext
in '' $ac_executable_extensions; do
15467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15468 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15477 WINDRES
=$ac_cv_prog_WINDRES
15478 if test -n "$WINDRES"; then
15479 echo "$as_me:$LINENO: result: $WINDRES" >&5
15480 echo "${ECHO_T}$WINDRES" >&6
15482 echo "$as_me:$LINENO: result: no" >&5
15483 echo "${ECHO_T}no" >&6
15487 if test -z "$ac_cv_prog_WINDRES"; then
15488 ac_ct_WINDRES
=$WINDRES
15489 # Extract the first word of "wrc", so it can be a program name with args.
15490 set dummy wrc
; ac_word
=$2
15491 echo "$as_me:$LINENO: checking for $ac_word" >&5
15492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15493 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 if test -n "$ac_ct_WINDRES"; then
15497 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15500 for as_dir
in $PATH
15503 test -z "$as_dir" && as_dir
=.
15504 for ac_exec_ext
in '' $ac_executable_extensions; do
15505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15506 ac_cv_prog_ac_ct_WINDRES
="wrc"
15507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15515 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15516 if test -n "$ac_ct_WINDRES"; then
15517 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15518 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15520 echo "$as_me:$LINENO: result: no" >&5
15521 echo "${ECHO_T}no" >&6
15524 WINDRES
=$ac_ct_WINDRES
15526 WINDRES
="$ac_cv_prog_WINDRES"
15532 *-*-cygwin* | *-*-mingw32* )
15533 if test -n "$ac_tool_prefix"; then
15534 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15535 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15536 echo "$as_me:$LINENO: checking for $ac_word" >&5
15537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15538 if test "${ac_cv_prog_WINDRES+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 if test -n "$WINDRES"; then
15542 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15545 for as_dir
in $PATH
15548 test -z "$as_dir" && as_dir
=.
15549 for ac_exec_ext
in '' $ac_executable_extensions; do
15550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15560 WINDRES
=$ac_cv_prog_WINDRES
15561 if test -n "$WINDRES"; then
15562 echo "$as_me:$LINENO: result: $WINDRES" >&5
15563 echo "${ECHO_T}$WINDRES" >&6
15565 echo "$as_me:$LINENO: result: no" >&5
15566 echo "${ECHO_T}no" >&6
15570 if test -z "$ac_cv_prog_WINDRES"; then
15571 ac_ct_WINDRES
=$WINDRES
15572 # Extract the first word of "windres", so it can be a program name with args.
15573 set dummy windres
; ac_word
=$2
15574 echo "$as_me:$LINENO: checking for $ac_word" >&5
15575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15576 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 if test -n "$ac_ct_WINDRES"; then
15580 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15583 for as_dir
in $PATH
15586 test -z "$as_dir" && as_dir
=.
15587 for ac_exec_ext
in '' $ac_executable_extensions; do
15588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15589 ac_cv_prog_ac_ct_WINDRES
="windres"
15590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15598 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15599 if test -n "$ac_ct_WINDRES"; then
15600 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15601 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15603 echo "$as_me:$LINENO: result: no" >&5
15604 echo "${ECHO_T}no" >&6
15607 WINDRES
=$ac_ct_WINDRES
15609 WINDRES
="$ac_cv_prog_WINDRES"
15613 if test -n "$ac_tool_prefix"; then
15614 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15615 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15616 echo "$as_me:$LINENO: checking for $ac_word" >&5
15617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15618 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 if test -n "$DLLTOOL"; then
15622 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15625 for as_dir
in $PATH
15628 test -z "$as_dir" && as_dir
=.
15629 for ac_exec_ext
in '' $ac_executable_extensions; do
15630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15631 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15640 DLLTOOL
=$ac_cv_prog_DLLTOOL
15641 if test -n "$DLLTOOL"; then
15642 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15643 echo "${ECHO_T}$DLLTOOL" >&6
15645 echo "$as_me:$LINENO: result: no" >&5
15646 echo "${ECHO_T}no" >&6
15650 if test -z "$ac_cv_prog_DLLTOOL"; then
15651 ac_ct_DLLTOOL
=$DLLTOOL
15652 # Extract the first word of "dlltool", so it can be a program name with args.
15653 set dummy dlltool
; ac_word
=$2
15654 echo "$as_me:$LINENO: checking for $ac_word" >&5
15655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15656 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15659 if test -n "$ac_ct_DLLTOOL"; then
15660 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15663 for as_dir
in $PATH
15666 test -z "$as_dir" && as_dir
=.
15667 for ac_exec_ext
in '' $ac_executable_extensions; do
15668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15669 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15678 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15679 if test -n "$ac_ct_DLLTOOL"; then
15680 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15681 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15683 echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6
15687 DLLTOOL
=$ac_ct_DLLTOOL
15689 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15696 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15697 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15698 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15703 egrep -s GNU
> /dev
/null
); then
15704 wx_cv_prog_makeisgnu
="yes"
15706 wx_cv_prog_makeisgnu
="no"
15710 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15711 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15713 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15721 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15722 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15723 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15724 if test "${wx_cv_prog_makevpath+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 cat - << EOF > confMake
15734 if test ! -d sub
; then
15737 echo dummy
> sub
/file
15738 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15740 rm -f sub
/file check final_file confMake
15742 if test "$RESULT" = 0; then
15743 wx_cv_prog_makevpath
="yes"
15745 wx_cv_prog_makevpath
="no"
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15752 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15753 { { echo "$as_me:$LINENO: error:
15754 You need a make-utility that is able to use the variable
15756 If your version of make does not support VPATH correctly,
15757 please install GNU-make (possibly as gmake), and start
15758 configure with the following command:
15759 export MAKE=gmake; ./configure for sh-type shells
15760 setenv MAKE gmake; ./configure for csh-type shells
15761 Also please do remember to use gmake in this case every time
15762 you are trying to compile.
15764 echo "$as_me: error:
15765 You need a make-utility that is able to use the variable
15767 If your version of make does not support VPATH correctly,
15768 please install GNU-make (possibly as gmake), and start
15769 configure with the following command:
15770 export MAKE=gmake; ./configure for sh-type shells
15771 setenv MAKE gmake; ./configure for csh-type shells
15772 Also please do remember to use gmake in this case every time
15773 you are trying to compile.
15775 { (exit 1); exit 1; }; }
15777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15780 if test "$LN_S" = "ln -s"; then
15781 echo "$as_me:$LINENO: result: yes" >&5
15782 echo "${ECHO_T}yes" >&6
15784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15785 echo "${ECHO_T}no, using $LN_S" >&6
15791 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15792 CXXFLAGS
="-qunique $CXXFLAGS"
15796 powerpc
-*-darwin* )
15797 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15798 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15809 #ifndef __POWERPC__
15810 choke me for lack of PowerPC
15817 rm -f conftest.
$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try
='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 echo "$as_me:$LINENO: result: yes" >&5
15839 echo "${ECHO_T}yes" >&6
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6
15846 cat >>confdefs.h
<<\_ACEOF
15847 #define __POWERPC__ 1
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15858 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15859 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 #include <CoreFoundation/CFBase.h>
15876 rm -f conftest.
$ac_objext
15877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15878 (eval $ac_compile) 2>conftest.er1
15880 grep -v '^ *+' conftest.er1
>conftest.err
15882 cat conftest.err
>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try
='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 echo "$as_me:$LINENO: result: yes" >&5
15898 echo "${ECHO_T}yes" >&6
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.
$ac_ext >&5
15903 echo "$as_me:$LINENO: result: no" >&5
15904 echo "${ECHO_T}no" >&6
15905 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15906 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 #define __CF_USE_FRAMEWORK_INCLUDES__
15914 #include <CoreFoundation/CFBase.h>
15924 rm -f conftest.
$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try
='test -s conftest.$ac_objext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 echo "$as_me:$LINENO: result: yes" >&5
15946 echo "${ECHO_T}yes" >&6
15947 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.
$ac_ext >&5
15952 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15953 See \`config.log' for more details." >&5
15954 echo "$as_me: error: no. CoreFoundation not available.
15955 See \`config.log' for more details." >&2;}
15956 { (exit 1); exit 1; }; }
15959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15968 doesnt_want_win32
=0
15971 if test "$wxUSE_MSW" = 1 ; then
15974 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15975 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15976 if test "${wx_cv_nocygwin+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 cat >conftest.
$ac_ext <<_ACEOF
15983 cat confdefs.h
>>conftest.
$ac_ext
15984 cat >>conftest.
$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15999 rm -f conftest.
$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16003 grep -v '^ *+' conftest.er1
>conftest.err
16005 cat conftest.err
>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try
='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16032 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16033 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16035 if test "$wx_cv_nocygwin" = "yes"; then
16038 doesnt_want_win32
=1
16041 if test "$wants_win32" = 1 ; then
16042 BAKEFILE_FORCE_PLATFORM
=win32
16050 if test "$wxUSE_WINE" = "yes"; then
16054 LDFLAGS_GUI
="-mwindows"
16057 if test "$wants_win32" = 1 ; then
16060 cat >>confdefs.h
<<\_ACEOF
16061 #define __WIN32__ 1
16064 cat >>confdefs.h
<<\_ACEOF
16065 #define __WIN95__ 1
16068 cat >>confdefs.h
<<\_ACEOF
16069 #define __WINDOWS__ 1
16072 cat >>confdefs.h
<<\_ACEOF
16073 #define __GNUWIN32__ 1
16076 cat >>confdefs.h
<<\_ACEOF
16081 if test "$doesnt_want_win32" = 1 ; then
16086 if test "$USE_UNIX" = 1 ; then
16088 cat >>confdefs.h
<<\_ACEOF
16095 *-pc-os2_emx | *-pc-os2-emx )
16097 ac_cpp
='$CPP $CPPFLAGS'
16098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16102 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16103 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16104 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16105 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 ac_check_lib_save_LIBS
=$LIBS
16109 LIBS
="-lcExt $LIBS"
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16117 /* Override any gcc2 internal prototype to avoid an error. */
16121 /* We use char because int might match the return type of a gcc2
16122 builtin and then its argument prototype would still apply. */
16132 rm -f conftest.
$ac_objext conftest
$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>conftest.er1
16136 grep -v '^ *+' conftest.er1
>conftest.err
16138 cat conftest.err
>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try
='test -s conftest$ac_exeext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_lib_cExt_drand48
=yes
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 ac_cv_lib_cExt_drand48
=no
16160 rm -f conftest.err conftest.
$ac_objext \
16161 conftest
$ac_exeext conftest.
$ac_ext
16162 LIBS
=$ac_check_lib_save_LIBS
16164 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16165 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16166 if test $ac_cv_lib_cExt_drand48 = yes; then
16167 LIBS
="$LIBS -lcExt"
16171 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16173 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16174 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16175 if test "${wx_cv_gccversion+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 if test "$cross_compiling" = yes; then
16180 wx_cv_gccversion
="EMX2"
16183 cat >conftest.
$ac_ext <<_ACEOF
16186 cat confdefs.h
>>conftest.
$ac_ext
16187 cat >>conftest.
$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16194 FILE *f=fopen("conftestval", "w");
16199 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16201 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16211 rm -f conftest
$ac_exeext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16213 (eval $ac_link) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 wx_cv_gccversion
=`cat conftestval`
16224 echo "$as_me: program exited with status $ac_status" >&5
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.
$ac_ext >&5
16228 ( exit $ac_status )
16229 wx_cv_gccversion
="EMX2"
16231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16235 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16236 echo "${ECHO_T}$wx_cv_gccversion" >&6
16238 ac_cpp
='$CXXCPP $CPPFLAGS'
16239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16243 if test "$wx_cv_gccversion" = "EMX2"; then
16244 LIBS
="$LIBS -lstdcpp"
16245 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16247 if test "$wx_cv_gccversion" = "EMX3"; then
16248 LIBS
="$LIBS -lstdcxx -lgcc"
16249 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16251 LIBS
="$LIBS -lstdc++"
16254 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16255 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16256 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16263 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16264 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16265 if test "${ac_cv_string_strcasecmp+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 cat >conftest.
$ac_ext <<_ACEOF
16272 cat confdefs.h
>>conftest.
$ac_ext
16273 cat >>conftest.
$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16276 #include <string.h>
16282 strcasecmp("foo", "bar");
16288 rm -f conftest.
$ac_objext conftest
$ac_exeext
16289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290 (eval $ac_link) 2>conftest.er1
16292 grep -v '^ *+' conftest.er1
>conftest.err
16294 cat conftest.err
>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } &&
16297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try
='test -s conftest$ac_exeext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_cv_string_strcasecmp
=yes
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.
$ac_ext >&5
16314 ac_cv_string_strcasecmp
=no
16317 rm -f conftest.err conftest.
$ac_objext \
16318 conftest
$ac_exeext conftest.
$ac_ext
16321 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16322 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16324 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16325 cat >>confdefs.h
<<\_ACEOF
16326 #define HAVE_STRCASECMP_IN_STRING_H 1
16330 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16331 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16332 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 cat >conftest.
$ac_ext <<_ACEOF
16339 cat confdefs.h
>>conftest.
$ac_ext
16340 cat >>conftest.
$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16343 #include <strings.h>
16349 strcasecmp("foo", "bar");
16355 rm -f conftest.
$ac_objext conftest
$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>conftest.er1
16359 grep -v '^ *+' conftest.er1
>conftest.err
16361 cat conftest.err
>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; } &&
16370 { ac_try
='test -s conftest$ac_exeext'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16376 ac_cv_strings_strcasecmp
=yes
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 ac_cv_strings_strcasecmp
=no
16384 rm -f conftest.err conftest.
$ac_objext \
16385 conftest
$ac_exeext conftest.
$ac_ext
16388 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16389 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16391 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16392 cat >>confdefs.h
<<\_ACEOF
16393 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16397 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16398 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16399 { (exit 1); exit 1; }; }
16408 ac_cpp
='$CXXCPP $CPPFLAGS'
16409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16412 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16413 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16414 if test -z "$CXXCPP"; then
16415 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 # Double quotes because CXXCPP needs to be expanded
16419 for CXXCPP
in "$CXX -E" "/lib/cpp"
16421 ac_preproc_ok
=false
16422 for ac_cxx_preproc_warn_flag
in '' yes
16424 # Use a header file that comes with gcc, so configuring glibc
16425 # with a fresh cross-compiler works.
16426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427 # <limits.h> exists even on freestanding compilers.
16428 # On the NeXT, cc -E runs the code through the compiler's parser,
16429 # not just through cpp. "Syntax error" is here to catch this case.
16430 cat >conftest.
$ac_ext <<_ACEOF
16433 cat confdefs.h
>>conftest.
$ac_ext
16434 cat >>conftest.
$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16437 # include <limits.h>
16439 # include <assert.h>
16443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16446 grep -v '^ *+' conftest.er1
>conftest.err
16448 cat conftest.err
>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } >/dev
/null
; then
16451 if test -s conftest.err
; then
16452 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16453 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16460 if test -z "$ac_cpp_err"; then
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.
$ac_ext >&5
16466 # Broken: fails on valid input.
16469 rm -f conftest.err conftest.
$ac_ext
16471 # OK, works on sane cases. Now check whether non-existent headers
16472 # can be detected and how.
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <ac_nonexistent.h>
16481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } >/dev
/null
; then
16489 if test -s conftest.err
; then
16490 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16491 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16498 if test -z "$ac_cpp_err"; then
16499 # Broken: success on invalid input.
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.
$ac_ext >&5
16505 # Passes both tests.
16509 rm -f conftest.err conftest.
$ac_ext
16512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16513 rm -f conftest.err conftest.
$ac_ext
16514 if $ac_preproc_ok; then
16519 ac_cv_prog_CXXCPP
=$CXXCPP
16522 CXXCPP
=$ac_cv_prog_CXXCPP
16524 ac_cv_prog_CXXCPP
=$CXXCPP
16526 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16527 echo "${ECHO_T}$CXXCPP" >&6
16528 ac_preproc_ok
=false
16529 for ac_cxx_preproc_warn_flag
in '' yes
16531 # Use a header file that comes with gcc, so configuring glibc
16532 # with a fresh cross-compiler works.
16533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16534 # <limits.h> exists even on freestanding compilers.
16535 # On the NeXT, cc -E runs the code through the compiler's parser,
16536 # not just through cpp. "Syntax error" is here to catch this case.
16537 cat >conftest.
$ac_ext <<_ACEOF
16540 cat confdefs.h
>>conftest.
$ac_ext
16541 cat >>conftest.
$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16544 # include <limits.h>
16546 # include <assert.h>
16550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16553 grep -v '^ *+' conftest.er1
>conftest.err
16555 cat conftest.err
>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } >/dev
/null
; then
16558 if test -s conftest.err
; then
16559 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16560 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16567 if test -z "$ac_cpp_err"; then
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.
$ac_ext >&5
16573 # Broken: fails on valid input.
16576 rm -f conftest.err conftest.
$ac_ext
16578 # OK, works on sane cases. Now check whether non-existent headers
16579 # can be detected and how.
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 #include <ac_nonexistent.h>
16588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16591 grep -v '^ *+' conftest.er1
>conftest.err
16593 cat conftest.err
>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } >/dev
/null
; then
16596 if test -s conftest.err
; then
16597 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16598 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16605 if test -z "$ac_cpp_err"; then
16606 # Broken: success on invalid input.
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.
$ac_ext >&5
16612 # Passes both tests.
16616 rm -f conftest.err conftest.
$ac_ext
16619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16620 rm -f conftest.err conftest.
$ac_ext
16621 if $ac_preproc_ok; then
16624 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16625 See \`config.log' for more details." >&5
16626 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16627 See \`config.log' for more details." >&2;}
16628 { (exit 1); exit 1; }; }
16632 ac_cpp
='$CXXCPP $CPPFLAGS'
16633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16638 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16639 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16640 if test "${ac_cv_header_stdc+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16643 cat >conftest.
$ac_ext <<_ACEOF
16646 cat confdefs.h
>>conftest.
$ac_ext
16647 cat >>conftest.
$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdlib.h>
16650 #include <stdarg.h>
16651 #include <string.h>
16662 rm -f conftest.
$ac_objext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16664 (eval $ac_compile) 2>conftest.er1
16666 grep -v '^ *+' conftest.er1
>conftest.err
16668 cat conftest.err
>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try
='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 ac_cv_header_stdc
=yes
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.
$ac_ext >&5
16688 ac_cv_header_stdc
=no
16690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16692 if test $ac_cv_header_stdc = yes; then
16693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #include <string.h>
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "memchr" >/dev
/null
2>&1; then
16707 ac_cv_header_stdc
=no
16713 if test $ac_cv_header_stdc = yes; then
16714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16715 cat >conftest.
$ac_ext <<_ACEOF
16718 cat confdefs.h
>>conftest.
$ac_ext
16719 cat >>conftest.
$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <stdlib.h>
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725 $EGREP "free" >/dev
/null
2>&1; then
16728 ac_cv_header_stdc
=no
16734 if test $ac_cv_header_stdc = yes; then
16735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16736 if test "$cross_compiling" = yes; then
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16746 #if ((' ' & 0x0FF) == 0x020)
16747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16750 # define ISLOWER(c) \
16751 (('a' <= (c) && (c) <= 'i') \
16752 || ('j' <= (c) && (c) <= 'r') \
16753 || ('s' <= (c) && (c) <= 'z'))
16754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16762 for (i = 0; i < 256; i++)
16763 if (XOR (islower (i), ISLOWER (i))
16764 || toupper (i) != TOUPPER (i))
16769 rm -f conftest
$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ( exit $ac_status )
16787 ac_cv_header_stdc
=no
16789 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16795 if test $ac_cv_header_stdc = yes; then
16797 cat >>confdefs.h
<<\_ACEOF
16798 #define STDC_HEADERS 1
16803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16814 inttypes.h stdint.h unistd.h
16816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16817 echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 cat >conftest.
$ac_ext <<_ACEOF
16825 cat confdefs.h
>>conftest.
$ac_ext
16826 cat >>conftest.
$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16830 #include <$ac_header>
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try
='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 eval "$as_ac_Header=yes"
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 eval "$as_ac_Header=no"
16860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h
<<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16875 for ac_header
in stdlib.h
16877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16879 echo "$as_me:$LINENO: checking for $ac_header" >&5
16880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16887 # Is the header compilable?
16888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16897 #include <$ac_header>
16899 rm -f conftest.
$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try
='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_header_compiler
=yes
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 ac_header_compiler
=no
16927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16929 echo "${ECHO_T}$ac_header_compiler" >&6
16931 # Is the header present?
16932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16934 cat >conftest.
$ac_ext <<_ACEOF
16937 cat confdefs.h
>>conftest.
$ac_ext
16938 cat >>conftest.
$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 #include <$ac_header>
16942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16945 grep -v '^ *+' conftest.er1
>conftest.err
16947 cat conftest.err
>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } >/dev
/null
; then
16950 if test -s conftest.err
; then
16951 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16952 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16959 if test -z "$ac_cpp_err"; then
16960 ac_header_preproc
=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_header_preproc
=no
16967 rm -f conftest.err conftest.
$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16969 echo "${ECHO_T}$ac_header_preproc" >&6
16971 # So? What about this header?
16972 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16978 ac_header_preproc
=yes
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16995 ## ----------------------------------------- ##
16996 ## Report this to wx-dev@lists.wxwidgets.org ##
16997 ## ----------------------------------------- ##
17000 sed "s/^/$as_me: WARNING: /" >&2
17003 echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 eval "$as_ac_Header=\$ac_header_preproc"
17010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17015 cat >>confdefs.h
<<_ACEOF
17016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17024 for ac_header
in malloc.h
17026 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17028 echo "$as_me:$LINENO: checking for $ac_header" >&5
17029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17036 # Is the header compilable?
17037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17039 cat >conftest.
$ac_ext <<_ACEOF
17042 cat confdefs.h
>>conftest.
$ac_ext
17043 cat >>conftest.
$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17046 #include <$ac_header>
17048 rm -f conftest.
$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try
='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_header_compiler
=yes
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17074 ac_header_compiler
=no
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17078 echo "${ECHO_T}$ac_header_compiler" >&6
17080 # Is the header present?
17081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev
/null
; then
17099 if test -s conftest.err
; then
17100 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17101 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17108 if test -z "$ac_cpp_err"; then
17109 ac_header_preproc
=yes
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 ac_header_preproc
=no
17116 rm -f conftest.err conftest.
$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17118 echo "${ECHO_T}$ac_header_preproc" >&6
17120 # So? What about this header?
17121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17127 ac_header_preproc
=yes
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17144 ## ----------------------------------------- ##
17145 ## Report this to wx-dev@lists.wxwidgets.org ##
17146 ## ----------------------------------------- ##
17149 sed "s/^/$as_me: WARNING: /" >&2
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 eval "$as_ac_Header=\$ac_header_preproc"
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h
<<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17173 for ac_header
in unistd.h
17175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo "$as_me:$LINENO: checking for $ac_header" >&5
17178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17185 # Is the header compilable?
17186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17195 #include <$ac_header>
17197 rm -f conftest.
$ac_objext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17199 (eval $ac_compile) 2>conftest.er1
17201 grep -v '^ *+' conftest.er1
>conftest.err
17203 cat conftest.err
>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; } &&
17212 { ac_try
='test -s conftest.$ac_objext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 ac_header_compiler
=yes
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.
$ac_ext >&5
17223 ac_header_compiler
=no
17225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17227 echo "${ECHO_T}$ac_header_compiler" >&6
17229 # Is the header present?
17230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 #include <$ac_header>
17240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17243 grep -v '^ *+' conftest.er1
>conftest.err
17245 cat conftest.err
>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } >/dev
/null
; then
17248 if test -s conftest.err
; then
17249 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17250 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17257 if test -z "$ac_cpp_err"; then
17258 ac_header_preproc
=yes
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.
$ac_ext >&5
17263 ac_header_preproc
=no
17265 rm -f conftest.err conftest.
$ac_ext
17266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17267 echo "${ECHO_T}$ac_header_preproc" >&6
17269 # So? What about this header?
17270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17276 ac_header_preproc
=yes
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17293 ## ----------------------------------------- ##
17294 ## Report this to wx-dev@lists.wxwidgets.org ##
17295 ## ----------------------------------------- ##
17298 sed "s/^/$as_me: WARNING: /" >&2
17301 echo "$as_me:$LINENO: checking for $ac_header" >&5
17302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 eval "$as_ac_Header=\$ac_header_preproc"
17308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17313 cat >>confdefs.h
<<_ACEOF
17314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17322 for ac_header
in wchar.h
17324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17326 echo "$as_me:$LINENO: checking for $ac_header" >&5
17327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17334 # Is the header compilable?
17335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 #include <$ac_header>
17346 rm -f conftest.
$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try
='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_header_compiler
=yes
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 ac_header_compiler
=no
17374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17376 echo "${ECHO_T}$ac_header_compiler" >&6
17378 # Is the header present?
17379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17381 cat >conftest.
$ac_ext <<_ACEOF
17384 cat confdefs.h
>>conftest.
$ac_ext
17385 cat >>conftest.
$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <$ac_header>
17389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17392 grep -v '^ *+' conftest.er1
>conftest.err
17394 cat conftest.err
>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } >/dev
/null
; then
17397 if test -s conftest.err
; then
17398 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17399 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17406 if test -z "$ac_cpp_err"; then
17407 ac_header_preproc
=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 ac_header_preproc
=no
17414 rm -f conftest.err conftest.
$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17416 echo "${ECHO_T}$ac_header_preproc" >&6
17418 # So? What about this header?
17419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17425 ac_header_preproc
=yes
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17442 ## ----------------------------------------- ##
17443 ## Report this to wx-dev@lists.wxwidgets.org ##
17444 ## ----------------------------------------- ##
17447 sed "s/^/$as_me: WARNING: /" >&2
17450 echo "$as_me:$LINENO: checking for $ac_header" >&5
17451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 eval "$as_ac_Header=\$ac_header_preproc"
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17462 cat >>confdefs.h
<<_ACEOF
17463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17471 if test "$ac_cv_header_wchar_h" != "yes"; then
17473 for ac_header
in wcstr.h
17475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17477 echo "$as_me:$LINENO: checking for $ac_header" >&5
17478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17485 # Is the header compilable?
17486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17495 #include <$ac_header>
17497 rm -f conftest.
$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17501 grep -v '^ *+' conftest.er1
>conftest.err
17503 cat conftest.err
>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try
='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518 ac_header_compiler
=yes
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.
$ac_ext >&5
17523 ac_header_compiler
=no
17525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17527 echo "${ECHO_T}$ac_header_compiler" >&6
17529 # Is the header present?
17530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17532 cat >conftest.
$ac_ext <<_ACEOF
17535 cat confdefs.h
>>conftest.
$ac_ext
17536 cat >>conftest.
$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <$ac_header>
17540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17543 grep -v '^ *+' conftest.er1
>conftest.err
17545 cat conftest.err
>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } >/dev
/null
; then
17548 if test -s conftest.err
; then
17549 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17550 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17557 if test -z "$ac_cpp_err"; then
17558 ac_header_preproc
=yes
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_header_preproc
=no
17565 rm -f conftest.err conftest.
$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17567 echo "${ECHO_T}$ac_header_preproc" >&6
17569 # So? What about this header?
17570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17576 ac_header_preproc
=yes
17579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17593 ## ----------------------------------------- ##
17594 ## Report this to wx-dev@lists.wxwidgets.org ##
17595 ## ----------------------------------------- ##
17598 sed "s/^/$as_me: WARNING: /" >&2
17601 echo "$as_me:$LINENO: checking for $ac_header" >&5
17602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 eval "$as_ac_Header=\$ac_header_preproc"
17608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17613 cat >>confdefs.h
<<_ACEOF
17614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17624 for ac_header
in fnmatch.h
17626 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17628 echo "$as_me:$LINENO: checking for $ac_header" >&5
17629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17636 # Is the header compilable?
17637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17639 cat >conftest.
$ac_ext <<_ACEOF
17642 cat confdefs.h
>>conftest.
$ac_ext
17643 cat >>conftest.
$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 #include <$ac_header>
17648 rm -f conftest.
$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>conftest.er1
17652 grep -v '^ *+' conftest.er1
>conftest.err
17654 cat conftest.err
>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try
='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 ac_header_compiler
=yes
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17674 ac_header_compiler
=no
17676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17678 echo "${ECHO_T}$ac_header_compiler" >&6
17680 # Is the header present?
17681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 #include <$ac_header>
17691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17694 grep -v '^ *+' conftest.er1
>conftest.err
17696 cat conftest.err
>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } >/dev
/null
; then
17699 if test -s conftest.err
; then
17700 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17701 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17708 if test -z "$ac_cpp_err"; then
17709 ac_header_preproc
=yes
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.
$ac_ext >&5
17714 ac_header_preproc
=no
17716 rm -f conftest.err conftest.
$ac_ext
17717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17718 echo "${ECHO_T}$ac_header_preproc" >&6
17720 # So? What about this header?
17721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17727 ac_header_preproc
=yes
17730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17744 ## ----------------------------------------- ##
17745 ## Report this to wx-dev@lists.wxwidgets.org ##
17746 ## ----------------------------------------- ##
17749 sed "s/^/$as_me: WARNING: /" >&2
17752 echo "$as_me:$LINENO: checking for $ac_header" >&5
17753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 eval "$as_ac_Header=\$ac_header_preproc"
17759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17774 for ac_header
in langinfo.h
17776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo "$as_me:$LINENO: checking for $ac_header" >&5
17779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17786 # Is the header compilable?
17787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 $ac_includes_default
17796 #include <$ac_header>
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try
='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17819 ac_header_compiler
=yes
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 ac_header_compiler
=no
17826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17828 echo "${ECHO_T}$ac_header_compiler" >&6
17830 # Is the header present?
17831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17833 cat >conftest.
$ac_ext <<_ACEOF
17836 cat confdefs.h
>>conftest.
$ac_ext
17837 cat >>conftest.
$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #include <$ac_header>
17841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } >/dev
/null
; then
17849 if test -s conftest.err
; then
17850 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17851 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17858 if test -z "$ac_cpp_err"; then
17859 ac_header_preproc
=yes
17861 echo "$as_me: failed program was:" >&5
17862 sed 's/^/| /' conftest.
$ac_ext >&5
17864 ac_header_preproc
=no
17866 rm -f conftest.err conftest.
$ac_ext
17867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17868 echo "${ECHO_T}$ac_header_preproc" >&6
17870 # So? What about this header?
17871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17877 ac_header_preproc
=yes
17880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17894 ## ----------------------------------------- ##
17895 ## Report this to wx-dev@lists.wxwidgets.org ##
17896 ## ----------------------------------------- ##
17899 sed "s/^/$as_me: WARNING: /" >&2
17902 echo "$as_me:$LINENO: checking for $ac_header" >&5
17903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 eval "$as_ac_Header=\$ac_header_preproc"
17909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17914 cat >>confdefs.h
<<_ACEOF
17915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17924 *-pc-os2_emx | *-pc-os2-emx )
17925 if test $ac_cv_header_langinfo_h = "yes" \
17926 -a \
( "$wx_cv_gccversion" = "EMX2" \
17927 -o "$wx_cv_gccversion" = "EMX3" \
17928 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17929 LIBS
="$LIBS -lintl"
17934 if test "$USE_UNIX" = 1 ; then
17936 for ac_header
in sys
/select.h
17938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo "$as_me:$LINENO: checking for $ac_header" >&5
17941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17948 # Is the header compilable?
17949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 #include <$ac_header>
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_header_compiler
=yes
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 ac_header_compiler
=no
17988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17990 echo "${ECHO_T}$ac_header_compiler" >&6
17992 # Is the header present?
17993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <$ac_header>
18003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } >/dev
/null
; then
18011 if test -s conftest.err
; then
18012 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18013 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18020 if test -z "$ac_cpp_err"; then
18021 ac_header_preproc
=yes
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ac_header_preproc
=no
18028 rm -f conftest.err conftest.
$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18030 echo "${ECHO_T}$ac_header_preproc" >&6
18032 # So? What about this header?
18033 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18039 ac_header_preproc
=yes
18042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18056 ## ----------------------------------------- ##
18057 ## Report this to wx-dev@lists.wxwidgets.org ##
18058 ## ----------------------------------------- ##
18061 sed "s/^/$as_me: WARNING: /" >&2
18064 echo "$as_me:$LINENO: checking for $ac_header" >&5
18065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18069 eval "$as_ac_Header=\$ac_header_preproc"
18071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18076 cat >>confdefs.h
<<_ACEOF
18077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18089 if test "${ac_cv_c_const+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18102 /* FIXME: Include the comments suggested by Paul. */
18103 #ifndef __cplusplus
18104 /* Ultrix mips cc rejects this. */
18105 typedef int charset[2];
18107 /* SunOS 4.1.1 cc rejects this. */
18108 char const *const *ccp;
18110 /* NEC SVR4.0.2 mips cc rejects this. */
18111 struct point {int x, y;};
18112 static struct point const zero = {0,0};
18113 /* AIX XL C 1.02.0.0 rejects this.
18114 It does not let you subtract one const X* pointer from another in
18115 an arm of an if-expression whose if-part is not a constant
18117 const char *g = "string";
18118 ccp = &g + (g ? g-g : 0);
18119 /* HPUX 7.0 cc rejects these. */
18122 ccp = (char const *const *) p;
18123 { /* SCO 3.2v4 cc rejects this. */
18125 char const *s = 0 ? (char *) 0 : (char const *) 0;
18129 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18130 int x[] = {25, 17};
18131 const int *foo = &x[0];
18134 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18135 typedef const int *iptr;
18139 { /* AIX XL C 1.02.0.0 rejects this saying
18140 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18141 struct s { int j; const int *ap[3]; };
18142 struct s *b; b->j = 5;
18144 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18145 const int foo = 10;
18153 rm -f conftest.
$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18157 grep -v '^ *+' conftest.er1
>conftest.err
18159 cat conftest.err
>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try
='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.
$ac_ext >&5
18181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18183 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18184 echo "${ECHO_T}$ac_cv_c_const" >&6
18185 if test $ac_cv_c_const = no
; then
18187 cat >>confdefs.h
<<\_ACEOF
18193 echo "$as_me:$LINENO: checking for inline" >&5
18194 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18195 if test "${ac_cv_c_inline+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 for ac_kw
in inline __inline__ __inline
; do
18200 cat >conftest.
$ac_ext <<_ACEOF
18203 cat confdefs.h
>>conftest.
$ac_ext
18204 cat >>conftest.
$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #ifndef __cplusplus
18208 static $ac_kw foo_t static_foo () {return 0; }
18209 $ac_kw foo_t foo () {return 0; }
18213 rm -f conftest.
$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1
>conftest.err
18219 cat conftest.err
>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try
='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_cv_c_inline
=$ac_kw; break
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18244 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18245 echo "${ECHO_T}$ac_cv_c_inline" >&6
18248 case $ac_cv_c_inline in
18251 case $ac_cv_c_inline in
18253 *) ac_val
=$ac_cv_c_inline;;
18255 cat >>confdefs.h
<<_ACEOF
18256 #ifndef __cplusplus
18257 #define inline $ac_val
18264 echo "$as_me:$LINENO: checking for char" >&5
18265 echo $ECHO_N "checking for char... $ECHO_C" >&6
18266 if test "${ac_cv_type_char+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18269 cat >conftest.
$ac_ext <<_ACEOF
18272 cat confdefs.h
>>conftest.
$ac_ext
18273 cat >>conftest.
$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18287 rm -f conftest.
$ac_objext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18289 (eval $ac_compile) 2>conftest.er1
18291 grep -v '^ *+' conftest.er1
>conftest.err
18293 cat conftest.err
>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; } &&
18302 { ac_try
='test -s conftest.$ac_objext'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; }; then
18308 ac_cv_type_char
=yes
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.
$ac_ext >&5
18315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18317 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18318 echo "${ECHO_T}$ac_cv_type_char" >&6
18320 echo "$as_me:$LINENO: checking size of char" >&5
18321 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18322 if test "${ac_cv_sizeof_char+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 if test "$ac_cv_type_char" = yes; then
18326 # The cast to unsigned long works around a bug in the HP C Compiler
18327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18329 # This bug is HP SR number 8606223364.
18330 if test "$cross_compiling" = yes; then
18331 # Depending upon the size, compute the lo and hi bounds.
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18342 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try
='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18372 cat >conftest.
$ac_ext <<_ACEOF
18375 cat confdefs.h
>>conftest.
$ac_ext
18376 cat >>conftest.
$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18382 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18389 rm -f conftest.
$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18393 grep -v '^ *+' conftest.er1
>conftest.err
18395 cat conftest.err
>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try
='test -s conftest.$ac_objext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 ac_hi
=$ac_mid; break
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.
$ac_ext >&5
18415 ac_lo
=`expr $ac_mid + 1`
18416 if test $ac_lo -le $ac_mid; then
18420 ac_mid
=`expr 2 '*' $ac_mid + 1`
18422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.
$ac_ext >&5
18428 cat >conftest.
$ac_ext <<_ACEOF
18431 cat confdefs.h
>>conftest.
$ac_ext
18432 cat >>conftest.
$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 $ac_includes_default
18438 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18445 rm -f conftest.
$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>conftest.er1
18449 grep -v '^ *+' conftest.er1
>conftest.err
18451 cat conftest.err
>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } &&
18454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; } &&
18460 { ac_try
='test -s conftest.$ac_objext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18478 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18485 rm -f conftest.
$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try
='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_lo
=$ac_mid; break
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 ac_hi
=`expr '(' $ac_mid ')' - 1`
18512 if test $ac_mid -le $ac_hi; then
18516 ac_mid
=`expr 2 '*' $ac_mid`
18518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.
$ac_ext >&5
18526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18529 # Binary search between lo and hi bounds.
18530 while test "x$ac_lo" != "x$ac_hi"; do
18531 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 $ac_includes_default
18542 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18549 rm -f conftest.
$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>conftest.er1
18553 grep -v '^ *+' conftest.er1
>conftest.err
18555 cat conftest.err
>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try
='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18572 echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.
$ac_ext >&5
18575 ac_lo
=`expr '(' $ac_mid ')' + 1`
18577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18580 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18581 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18582 See \`config.log' for more details." >&5
18583 echo "$as_me: error: cannot compute sizeof (char), 77
18584 See \`config.log' for more details." >&2;}
18585 { (exit 1); exit 1; }; } ;;
18588 if test "$cross_compiling" = yes; then
18589 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18590 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18591 { (exit 1); exit 1; }; }
18593 cat >conftest.
$ac_ext <<_ACEOF
18596 cat confdefs.h
>>conftest.
$ac_ext
18597 cat >>conftest.
$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18600 long longval () { return (long) (sizeof (char)); }
18601 unsigned long ulongval () { return (long) (sizeof (char)); }
18603 #include <stdlib.h>
18608 FILE *f = fopen ("conftest.val", "w");
18611 if (((long) (sizeof (char))) < 0)
18613 long i = longval ();
18614 if (i != ((long) (sizeof (char))))
18616 fprintf (f, "%ld\n", i);
18620 unsigned long i = ulongval ();
18621 if (i != ((long) (sizeof (char))))
18623 fprintf (f, "%lu\n", i);
18625 exit (ferror (f) || fclose (f) != 0);
18631 rm -f conftest
$ac_exeext
18632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18633 (eval $ac_link) 2>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_sizeof_char
=`cat conftest.val`
18644 echo "$as_me: program exited with status $ac_status" >&5
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.
$ac_ext >&5
18648 ( exit $ac_status )
18649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18650 See \`config.log' for more details." >&5
18651 echo "$as_me: error: cannot compute sizeof (char), 77
18652 See \`config.log' for more details." >&2;}
18653 { (exit 1); exit 1; }; }
18655 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18660 ac_cv_sizeof_char
=0
18663 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18664 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18665 cat >>confdefs.h
<<_ACEOF
18666 #define SIZEOF_CHAR $ac_cv_sizeof_char
18670 echo "$as_me:$LINENO: checking for short" >&5
18671 echo $ECHO_N "checking for short... $ECHO_C" >&6
18672 if test "${ac_cv_type_short+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 cat >conftest.
$ac_ext <<_ACEOF
18678 cat confdefs.h
>>conftest.
$ac_ext
18679 cat >>conftest.
$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18687 if (sizeof (short))
18693 rm -f conftest.
$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1
>conftest.err
18699 cat conftest.err
>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try
='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_type_short
=yes
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.
$ac_ext >&5
18719 ac_cv_type_short
=no
18721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18723 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18724 echo "${ECHO_T}$ac_cv_type_short" >&6
18726 echo "$as_me:$LINENO: checking size of short" >&5
18727 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18728 if test "${ac_cv_sizeof_short+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 if test "$ac_cv_type_short" = yes; then
18732 # The cast to unsigned long works around a bug in the HP C Compiler
18733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18735 # This bug is HP SR number 8606223364.
18736 if test "$cross_compiling" = yes; then
18737 # Depending upon the size, compute the lo and hi bounds.
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18748 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18755 rm -f conftest.
$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try
='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18778 cat >conftest.
$ac_ext <<_ACEOF
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 $ac_includes_default
18788 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18795 rm -f conftest.
$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>conftest.er1
18799 grep -v '^ *+' conftest.er1
>conftest.err
18801 cat conftest.err
>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try
='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_hi
=$ac_mid; break
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18821 ac_lo
=`expr $ac_mid + 1`
18822 if test $ac_lo -le $ac_mid; then
18826 ac_mid
=`expr 2 '*' $ac_mid + 1`
18828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.
$ac_ext >&5
18834 cat >conftest.
$ac_ext <<_ACEOF
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18844 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18851 rm -f conftest.
$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18855 grep -v '^ *+' conftest.er1
>conftest.err
18857 cat conftest.err
>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try
='test -s conftest.$ac_objext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 $ac_includes_default
18884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18891 rm -f conftest.
$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18895 grep -v '^ *+' conftest.er1
>conftest.err
18897 cat conftest.err
>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try
='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_lo
=$ac_mid; break
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18917 ac_hi
=`expr '(' $ac_mid ')' - 1`
18918 if test $ac_mid -le $ac_hi; then
18922 ac_mid
=`expr 2 '*' $ac_mid`
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.
$ac_ext >&5
18932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18935 # Binary search between lo and hi bounds.
18936 while test "x$ac_lo" != "x$ac_hi"; do
18937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18938 cat >conftest.
$ac_ext <<_ACEOF
18941 cat confdefs.h
>>conftest.
$ac_ext
18942 cat >>conftest.
$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 $ac_includes_default
18948 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18955 rm -f conftest.
$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try
='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.
$ac_ext >&5
18981 ac_lo
=`expr '(' $ac_mid ')' + 1`
18983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18986 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18987 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18988 See \`config.log' for more details." >&5
18989 echo "$as_me: error: cannot compute sizeof (short), 77
18990 See \`config.log' for more details." >&2;}
18991 { (exit 1); exit 1; }; } ;;
18994 if test "$cross_compiling" = yes; then
18995 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18996 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18997 { (exit 1); exit 1; }; }
18999 cat >conftest.
$ac_ext <<_ACEOF
19002 cat confdefs.h
>>conftest.
$ac_ext
19003 cat >>conftest.
$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 $ac_includes_default
19006 long longval () { return (long) (sizeof (short)); }
19007 unsigned long ulongval () { return (long) (sizeof (short)); }
19009 #include <stdlib.h>
19014 FILE *f = fopen ("conftest.val", "w");
19017 if (((long) (sizeof (short))) < 0)
19019 long i = longval ();
19020 if (i != ((long) (sizeof (short))))
19022 fprintf (f, "%ld\n", i);
19026 unsigned long i = ulongval ();
19027 if (i != ((long) (sizeof (short))))
19029 fprintf (f, "%lu\n", i);
19031 exit (ferror (f) || fclose (f) != 0);
19037 rm -f conftest
$ac_exeext
19038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19039 (eval $ac_link) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; }; then
19048 ac_cv_sizeof_short
=`cat conftest.val`
19050 echo "$as_me: program exited with status $ac_status" >&5
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 ( exit $ac_status )
19055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19056 See \`config.log' for more details." >&5
19057 echo "$as_me: error: cannot compute sizeof (short), 77
19058 See \`config.log' for more details." >&2;}
19059 { (exit 1); exit 1; }; }
19061 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19066 ac_cv_sizeof_short
=0
19069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19070 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19071 cat >>confdefs.h
<<_ACEOF
19072 #define SIZEOF_SHORT $ac_cv_sizeof_short
19076 echo "$as_me:$LINENO: checking for void *" >&5
19077 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19078 if test "${ac_cv_type_void_p+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 cat >conftest.
$ac_ext <<_ACEOF
19084 cat confdefs.h
>>conftest.
$ac_ext
19085 cat >>conftest.
$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19093 if (sizeof (void *))
19099 rm -f conftest.
$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>conftest.er1
19103 grep -v '^ *+' conftest.er1
>conftest.err
19105 cat conftest.err
>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } &&
19108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; } &&
19114 { ac_try
='test -s conftest.$ac_objext'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 ac_cv_type_void_p
=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.
$ac_ext >&5
19125 ac_cv_type_void_p
=no
19127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19129 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19130 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19132 echo "$as_me:$LINENO: checking size of void *" >&5
19133 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19134 if test "${ac_cv_sizeof_void_p+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19137 if test "$ac_cv_type_void_p" = yes; then
19138 # The cast to unsigned long works around a bug in the HP C Compiler
19139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19141 # This bug is HP SR number 8606223364.
19142 if test "$cross_compiling" = yes; then
19143 # Depending upon the size, compute the lo and hi bounds.
19144 cat >conftest.
$ac_ext <<_ACEOF
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19154 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19161 rm -f conftest.
$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19165 grep -v '^ *+' conftest.er1
>conftest.err
19167 cat conftest.err
>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try
='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19184 cat >conftest.
$ac_ext <<_ACEOF
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19194 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19201 rm -f conftest.
$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try
='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19222 ac_hi
=$ac_mid; break
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.
$ac_ext >&5
19227 ac_lo
=`expr $ac_mid + 1`
19228 if test $ac_lo -le $ac_mid; then
19232 ac_mid
=`expr 2 '*' $ac_mid + 1`
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.
$ac_ext >&5
19240 cat >conftest.
$ac_ext <<_ACEOF
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19257 rm -f conftest.
$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19261 grep -v '^ *+' conftest.er1
>conftest.err
19263 cat conftest.err
>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try
='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19280 cat >conftest.
$ac_ext <<_ACEOF
19283 cat confdefs.h
>>conftest.
$ac_ext
19284 cat >>conftest.
$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19290 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19297 rm -f conftest.
$ac_objext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19299 (eval $ac_compile) 2>conftest.er1
19301 grep -v '^ *+' conftest.er1
>conftest.err
19303 cat conftest.err
>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try
='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_lo
=$ac_mid; break
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.
$ac_ext >&5
19323 ac_hi
=`expr '(' $ac_mid ')' - 1`
19324 if test $ac_mid -le $ac_hi; then
19328 ac_mid
=`expr 2 '*' $ac_mid`
19330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.
$ac_ext >&5
19338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19341 # Binary search between lo and hi bounds.
19342 while test "x$ac_lo" != "x$ac_hi"; do
19343 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19344 cat >conftest.
$ac_ext <<_ACEOF
19347 cat confdefs.h
>>conftest.
$ac_ext
19348 cat >>conftest.
$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19354 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19361 rm -f conftest.
$ac_objext
19362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19363 (eval $ac_compile) 2>conftest.er1
19365 grep -v '^ *+' conftest.er1
>conftest.err
19367 cat conftest.err
>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; } &&
19376 { ac_try
='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.
$ac_ext >&5
19387 ac_lo
=`expr '(' $ac_mid ')' + 1`
19389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19392 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19394 See \`config.log' for more details." >&5
19395 echo "$as_me: error: cannot compute sizeof (void *), 77
19396 See \`config.log' for more details." >&2;}
19397 { (exit 1); exit 1; }; } ;;
19400 if test "$cross_compiling" = yes; then
19401 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19402 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19403 { (exit 1); exit 1; }; }
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19412 long longval () { return (long) (sizeof (void *)); }
19413 unsigned long ulongval () { return (long) (sizeof (void *)); }
19415 #include <stdlib.h>
19420 FILE *f = fopen ("conftest.val", "w");
19423 if (((long) (sizeof (void *))) < 0)
19425 long i = longval ();
19426 if (i != ((long) (sizeof (void *))))
19428 fprintf (f, "%ld\n", i);
19432 unsigned long i = ulongval ();
19433 if (i != ((long) (sizeof (void *))))
19435 fprintf (f, "%lu\n", i);
19437 exit (ferror (f) || fclose (f) != 0);
19443 rm -f conftest
$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_cv_sizeof_void_p
=`cat conftest.val`
19456 echo "$as_me: program exited with status $ac_status" >&5
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19460 ( exit $ac_status )
19461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19462 See \`config.log' for more details." >&5
19463 echo "$as_me: error: cannot compute sizeof (void *), 77
19464 See \`config.log' for more details." >&2;}
19465 { (exit 1); exit 1; }; }
19467 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19472 ac_cv_sizeof_void_p
=0
19475 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19476 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19477 cat >>confdefs.h
<<_ACEOF
19478 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19482 echo "$as_me:$LINENO: checking for int" >&5
19483 echo $ECHO_N "checking for int... $ECHO_C" >&6
19484 if test "${ac_cv_type_int+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19505 rm -f conftest.
$ac_objext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19507 (eval $ac_compile) 2>conftest.er1
19509 grep -v '^ *+' conftest.er1
>conftest.err
19511 cat conftest.err
>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } &&
19514 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try
='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.
$ac_ext >&5
19533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19535 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19536 echo "${ECHO_T}$ac_cv_type_int" >&6
19538 echo "$as_me:$LINENO: checking size of int" >&5
19539 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19540 if test "${ac_cv_sizeof_int+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19543 if test "$ac_cv_type_int" = yes; then
19544 # The cast to unsigned long works around a bug in the HP C Compiler
19545 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19546 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19547 # This bug is HP SR number 8606223364.
19548 if test "$cross_compiling" = yes; then
19549 # Depending upon the size, compute the lo and hi bounds.
19550 cat >conftest.
$ac_ext <<_ACEOF
19553 cat confdefs.h
>>conftest.
$ac_ext
19554 cat >>conftest.
$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19560 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19567 rm -f conftest.
$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19571 grep -v '^ *+' conftest.er1
>conftest.err
19573 cat conftest.err
>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try
='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19607 rm -f conftest.
$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19611 grep -v '^ *+' conftest.er1
>conftest.err
19613 cat conftest.err
>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_hi
=$ac_mid; break
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 ac_lo
=`expr $ac_mid + 1`
19634 if test $ac_lo -le $ac_mid; then
19638 ac_mid
=`expr 2 '*' $ac_mid + 1`
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19656 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19663 rm -f conftest.
$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19667 grep -v '^ *+' conftest.er1
>conftest.err
19669 cat conftest.err
>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try
='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19686 cat >conftest.
$ac_ext <<_ACEOF
19689 cat confdefs.h
>>conftest.
$ac_ext
19690 cat >>conftest.
$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19696 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19703 rm -f conftest.
$ac_objext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19705 (eval $ac_compile) 2>conftest.er1
19707 grep -v '^ *+' conftest.er1
>conftest.err
19709 cat conftest.err
>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } &&
19712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try
='test -s conftest.$ac_objext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_lo
=$ac_mid; break
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19729 ac_hi
=`expr '(' $ac_mid ')' - 1`
19730 if test $ac_mid -le $ac_hi; then
19734 ac_mid
=`expr 2 '*' $ac_mid`
19736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.
$ac_ext >&5
19744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19747 # Binary search between lo and hi bounds.
19748 while test "x$ac_lo" != "x$ac_hi"; do
19749 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19760 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19767 rm -f conftest.
$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try
='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.
$ac_ext >&5
19793 ac_lo
=`expr '(' $ac_mid ')' + 1`
19795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19798 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19800 See \`config.log' for more details." >&5
19801 echo "$as_me: error: cannot compute sizeof (int), 77
19802 See \`config.log' for more details." >&2;}
19803 { (exit 1); exit 1; }; } ;;
19806 if test "$cross_compiling" = yes; then
19807 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19808 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19809 { (exit 1); exit 1; }; }
19811 cat >conftest.
$ac_ext <<_ACEOF
19814 cat confdefs.h
>>conftest.
$ac_ext
19815 cat >>conftest.
$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 long longval () { return (long) (sizeof (int)); }
19819 unsigned long ulongval () { return (long) (sizeof (int)); }
19821 #include <stdlib.h>
19826 FILE *f = fopen ("conftest.val", "w");
19829 if (((long) (sizeof (int))) < 0)
19831 long i = longval ();
19832 if (i != ((long) (sizeof (int))))
19834 fprintf (f, "%ld\n", i);
19838 unsigned long i = ulongval ();
19839 if (i != ((long) (sizeof (int))))
19841 fprintf (f, "%lu\n", i);
19843 exit (ferror (f) || fclose (f) != 0);
19849 rm -f conftest
$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851 (eval $ac_link) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 ac_cv_sizeof_int
=`cat conftest.val`
19862 echo "$as_me: program exited with status $ac_status" >&5
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.
$ac_ext >&5
19866 ( exit $ac_status )
19867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19868 See \`config.log' for more details." >&5
19869 echo "$as_me: error: cannot compute sizeof (int), 77
19870 See \`config.log' for more details." >&2;}
19871 { (exit 1); exit 1; }; }
19873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19882 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19883 cat >>confdefs.h
<<_ACEOF
19884 #define SIZEOF_INT $ac_cv_sizeof_int
19888 echo "$as_me:$LINENO: checking for long" >&5
19889 echo $ECHO_N "checking for long... $ECHO_C" >&6
19890 if test "${ac_cv_type_long+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19911 rm -f conftest.
$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19915 grep -v '^ *+' conftest.er1
>conftest.err
19917 cat conftest.err
>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try
='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_type_long
=yes
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.
$ac_ext >&5
19939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19942 echo "${ECHO_T}$ac_cv_type_long" >&6
19944 echo "$as_me:$LINENO: checking size of long" >&5
19945 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19946 if test "${ac_cv_sizeof_long+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 if test "$ac_cv_type_long" = yes; then
19950 # The cast to unsigned long works around a bug in the HP C Compiler
19951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19953 # This bug is HP SR number 8606223364.
19954 if test "$cross_compiling" = yes; then
19955 # Depending upon the size, compute the lo and hi bounds.
19956 cat >conftest.
$ac_ext <<_ACEOF
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19966 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19973 rm -f conftest.
$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1
>conftest.err
19979 cat conftest.err
>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try
='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19996 cat >conftest.
$ac_ext <<_ACEOF
19999 cat confdefs.h
>>conftest.
$ac_ext
20000 cat >>conftest.
$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20006 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20013 rm -f conftest.
$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1
>conftest.err
20019 cat conftest.err
>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try
='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_hi
=$ac_mid; break
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.
$ac_ext >&5
20039 ac_lo
=`expr $ac_mid + 1`
20040 if test $ac_lo -le $ac_mid; then
20044 ac_mid
=`expr 2 '*' $ac_mid + 1`
20046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.
$ac_ext >&5
20052 cat >conftest.
$ac_ext <<_ACEOF
20055 cat confdefs.h
>>conftest.
$ac_ext
20056 cat >>conftest.
$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 $ac_includes_default
20062 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20069 rm -f conftest.
$ac_objext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>conftest.er1
20073 grep -v '^ *+' conftest.er1
>conftest.err
20075 cat conftest.err
>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try
='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20092 cat >conftest.
$ac_ext <<_ACEOF
20095 cat confdefs.h
>>conftest.
$ac_ext
20096 cat >>conftest.
$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 $ac_includes_default
20102 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20109 rm -f conftest.
$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>conftest.er1
20113 grep -v '^ *+' conftest.er1
>conftest.err
20115 cat conftest.err
>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try
='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_lo
=$ac_mid; break
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.
$ac_ext >&5
20135 ac_hi
=`expr '(' $ac_mid ')' - 1`
20136 if test $ac_mid -le $ac_hi; then
20140 ac_mid
=`expr 2 '*' $ac_mid`
20142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.
$ac_ext >&5
20150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20153 # Binary search between lo and hi bounds.
20154 while test "x$ac_lo" != "x$ac_hi"; do
20155 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20166 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20173 rm -f conftest.
$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20177 grep -v '^ *+' conftest.er1
>conftest.err
20179 cat conftest.err
>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; } &&
20188 { ac_try
='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.
$ac_ext >&5
20199 ac_lo
=`expr '(' $ac_mid ')' + 1`
20201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20204 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20205 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20206 See \`config.log' for more details." >&5
20207 echo "$as_me: error: cannot compute sizeof (long), 77
20208 See \`config.log' for more details." >&2;}
20209 { (exit 1); exit 1; }; } ;;
20212 if test "$cross_compiling" = yes; then
20213 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20214 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20215 { (exit 1); exit 1; }; }
20217 cat >conftest.
$ac_ext <<_ACEOF
20220 cat confdefs.h
>>conftest.
$ac_ext
20221 cat >>conftest.
$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 long longval () { return (long) (sizeof (long)); }
20225 unsigned long ulongval () { return (long) (sizeof (long)); }
20227 #include <stdlib.h>
20232 FILE *f = fopen ("conftest.val", "w");
20235 if (((long) (sizeof (long))) < 0)
20237 long i = longval ();
20238 if (i != ((long) (sizeof (long))))
20240 fprintf (f, "%ld\n", i);
20244 unsigned long i = ulongval ();
20245 if (i != ((long) (sizeof (long))))
20247 fprintf (f, "%lu\n", i);
20249 exit (ferror (f) || fclose (f) != 0);
20255 rm -f conftest
$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; }; then
20266 ac_cv_sizeof_long
=`cat conftest.val`
20268 echo "$as_me: program exited with status $ac_status" >&5
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.
$ac_ext >&5
20272 ( exit $ac_status )
20273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20274 See \`config.log' for more details." >&5
20275 echo "$as_me: error: cannot compute sizeof (long), 77
20276 See \`config.log' for more details." >&2;}
20277 { (exit 1); exit 1; }; }
20279 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20284 ac_cv_sizeof_long
=0
20287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20288 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20289 cat >>confdefs.h
<<_ACEOF
20290 #define SIZEOF_LONG $ac_cv_sizeof_long
20294 echo "$as_me:$LINENO: checking for size_t" >&5
20295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20296 if test "${ac_cv_type_size_t+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 cat >conftest.
$ac_ext <<_ACEOF
20302 cat confdefs.h
>>conftest.
$ac_ext
20303 cat >>conftest.
$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20311 if (sizeof (size_t))
20317 rm -f conftest.
$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>conftest.er1
20321 grep -v '^ *+' conftest.er1
>conftest.err
20323 cat conftest.err
>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; } &&
20332 { ac_try
='test -s conftest.$ac_objext'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; }; then
20338 ac_cv_type_size_t
=yes
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.
$ac_ext >&5
20343 ac_cv_type_size_t
=no
20345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20347 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20348 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20350 echo "$as_me:$LINENO: checking size of size_t" >&5
20351 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20352 if test "${ac_cv_sizeof_size_t+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 if test "$ac_cv_type_size_t" = yes; then
20356 # The cast to unsigned long works around a bug in the HP C Compiler
20357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20359 # This bug is HP SR number 8606223364.
20360 if test "$cross_compiling" = yes; then
20361 # Depending upon the size, compute the lo and hi bounds.
20362 cat >conftest.
$ac_ext <<_ACEOF
20365 cat confdefs.h
>>conftest.
$ac_ext
20366 cat >>conftest.
$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 $ac_includes_default
20372 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20379 rm -f conftest.
$ac_objext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20381 (eval $ac_compile) 2>conftest.er1
20383 grep -v '^ *+' conftest.er1
>conftest.err
20385 cat conftest.err
>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } &&
20388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; } &&
20394 { ac_try
='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20402 cat >conftest.
$ac_ext <<_ACEOF
20405 cat confdefs.h
>>conftest.
$ac_ext
20406 cat >>conftest.
$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20412 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20419 rm -f conftest.
$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20423 grep -v '^ *+' conftest.er1
>conftest.err
20425 cat conftest.err
>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try
='test -s conftest.$ac_objext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_hi
=$ac_mid; break
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20445 ac_lo
=`expr $ac_mid + 1`
20446 if test $ac_lo -le $ac_mid; then
20450 ac_mid
=`expr 2 '*' $ac_mid + 1`
20452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.
$ac_ext >&5
20458 cat >conftest.
$ac_ext <<_ACEOF
20461 cat confdefs.h
>>conftest.
$ac_ext
20462 cat >>conftest.
$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20468 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20475 rm -f conftest.
$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20479 grep -v '^ *+' conftest.er1
>conftest.err
20481 cat conftest.err
>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try
='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20498 cat >conftest.
$ac_ext <<_ACEOF
20501 cat confdefs.h
>>conftest.
$ac_ext
20502 cat >>conftest.
$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20508 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20515 rm -f conftest.
$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20519 grep -v '^ *+' conftest.er1
>conftest.err
20521 cat conftest.err
>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; } &&
20530 { ac_try
='test -s conftest.$ac_objext'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_lo
=$ac_mid; break
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.
$ac_ext >&5
20541 ac_hi
=`expr '(' $ac_mid ')' - 1`
20542 if test $ac_mid -le $ac_hi; then
20546 ac_mid
=`expr 2 '*' $ac_mid`
20548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.
$ac_ext >&5
20556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20559 # Binary search between lo and hi bounds.
20560 while test "x$ac_lo" != "x$ac_hi"; do
20561 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20572 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20579 rm -f conftest.
$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try
='test -s conftest.$ac_objext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.
$ac_ext >&5
20605 ac_lo
=`expr '(' $ac_mid ')' + 1`
20607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20610 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20612 See \`config.log' for more details." >&5
20613 echo "$as_me: error: cannot compute sizeof (size_t), 77
20614 See \`config.log' for more details." >&2;}
20615 { (exit 1); exit 1; }; } ;;
20618 if test "$cross_compiling" = yes; then
20619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20621 { (exit 1); exit 1; }; }
20623 cat >conftest.
$ac_ext <<_ACEOF
20626 cat confdefs.h
>>conftest.
$ac_ext
20627 cat >>conftest.
$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 long longval () { return (long) (sizeof (size_t)); }
20631 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20633 #include <stdlib.h>
20638 FILE *f = fopen ("conftest.val", "w");
20641 if (((long) (sizeof (size_t))) < 0)
20643 long i = longval ();
20644 if (i != ((long) (sizeof (size_t))))
20646 fprintf (f, "%ld\n", i);
20650 unsigned long i = ulongval ();
20651 if (i != ((long) (sizeof (size_t))))
20653 fprintf (f, "%lu\n", i);
20655 exit (ferror (f) || fclose (f) != 0);
20661 rm -f conftest
$ac_exeext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663 (eval $ac_link) 2>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_sizeof_size_t
=`cat conftest.val`
20674 echo "$as_me: program exited with status $ac_status" >&5
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.
$ac_ext >&5
20678 ( exit $ac_status )
20679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20680 See \`config.log' for more details." >&5
20681 echo "$as_me: error: cannot compute sizeof (size_t), 77
20682 See \`config.log' for more details." >&2;}
20683 { (exit 1); exit 1; }; }
20685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20690 ac_cv_sizeof_size_t
=0
20693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20694 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20695 cat >>confdefs.h
<<_ACEOF
20696 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20703 echo "$as_me:$LINENO: checking for long long" >&5
20704 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20705 if test "${ac_cv_type_long_long+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20718 if ((long long *) 0)
20720 if (sizeof (long long))
20726 rm -f conftest.
$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728 (eval $ac_compile) 2>conftest.er1
20730 grep -v '^ *+' conftest.er1
>conftest.err
20732 cat conftest.err
>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; } &&
20741 { ac_try
='test -s conftest.$ac_objext'
20742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20743 (eval $ac_try) 2>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); }; }; then
20747 ac_cv_type_long_long
=yes
20749 echo "$as_me: failed program was:" >&5
20750 sed 's/^/| /' conftest.
$ac_ext >&5
20752 ac_cv_type_long_long
=no
20754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20756 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20757 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20759 echo "$as_me:$LINENO: checking size of long long" >&5
20760 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20761 if test "${ac_cv_sizeof_long_long+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 if test "$ac_cv_type_long_long" = yes; then
20765 # The cast to unsigned long works around a bug in the HP C Compiler
20766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20768 # This bug is HP SR number 8606223364.
20769 if test "$cross_compiling" = yes; then
20770 # Depending upon the size, compute the lo and hi bounds.
20771 cat >conftest.
$ac_ext <<_ACEOF
20774 cat confdefs.h
>>conftest.
$ac_ext
20775 cat >>conftest.
$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20781 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20788 rm -f conftest.
$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try
='test -s conftest.$ac_objext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20811 cat >conftest.
$ac_ext <<_ACEOF
20814 cat confdefs.h
>>conftest.
$ac_ext
20815 cat >>conftest.
$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20828 rm -f conftest.
$ac_objext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20830 (eval $ac_compile) 2>conftest.er1
20832 grep -v '^ *+' conftest.er1
>conftest.err
20834 cat conftest.err
>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try
='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_hi
=$ac_mid; break
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.
$ac_ext >&5
20854 ac_lo
=`expr $ac_mid + 1`
20855 if test $ac_lo -le $ac_mid; then
20859 ac_mid
=`expr 2 '*' $ac_mid + 1`
20861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.
$ac_ext >&5
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 $ac_includes_default
20877 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20884 rm -f conftest.
$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20888 grep -v '^ *+' conftest.er1
>conftest.err
20890 cat conftest.err
>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try
='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20907 cat >conftest.
$ac_ext <<_ACEOF
20910 cat confdefs.h
>>conftest.
$ac_ext
20911 cat >>conftest.
$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20924 rm -f conftest.
$ac_objext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20926 (eval $ac_compile) 2>conftest.er1
20928 grep -v '^ *+' conftest.er1
>conftest.err
20930 cat conftest.err
>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try
='test -s conftest.$ac_objext'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; }; then
20945 ac_lo
=$ac_mid; break
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.
$ac_ext >&5
20950 ac_hi
=`expr '(' $ac_mid ')' - 1`
20951 if test $ac_mid -le $ac_hi; then
20955 ac_mid
=`expr 2 '*' $ac_mid`
20957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.
$ac_ext >&5
20965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20968 # Binary search between lo and hi bounds.
20969 while test "x$ac_lo" != "x$ac_hi"; do
20970 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20971 cat >conftest.
$ac_ext <<_ACEOF
20974 cat confdefs.h
>>conftest.
$ac_ext
20975 cat >>conftest.
$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20981 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20988 rm -f conftest.
$ac_objext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20990 (eval $ac_compile) 2>conftest.er1
20992 grep -v '^ *+' conftest.er1
>conftest.err
20994 cat conftest.err
>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try
='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.
$ac_ext >&5
21014 ac_lo
=`expr '(' $ac_mid ')' + 1`
21016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21019 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21020 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21021 See \`config.log' for more details." >&5
21022 echo "$as_me: error: cannot compute sizeof (long long), 77
21023 See \`config.log' for more details." >&2;}
21024 { (exit 1); exit 1; }; } ;;
21027 if test "$cross_compiling" = yes; then
21028 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21029 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21030 { (exit 1); exit 1; }; }
21032 cat >conftest.
$ac_ext <<_ACEOF
21035 cat confdefs.h
>>conftest.
$ac_ext
21036 cat >>conftest.
$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21039 long longval () { return (long) (sizeof (long long)); }
21040 unsigned long ulongval () { return (long) (sizeof (long long)); }
21042 #include <stdlib.h>
21047 FILE *f = fopen ("conftest.val", "w");
21050 if (((long) (sizeof (long long))) < 0)
21052 long i = longval ();
21053 if (i != ((long) (sizeof (long long))))
21055 fprintf (f, "%ld\n", i);
21059 unsigned long i = ulongval ();
21060 if (i != ((long) (sizeof (long long))))
21062 fprintf (f, "%lu\n", i);
21064 exit (ferror (f) || fclose (f) != 0);
21070 rm -f conftest
$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_cv_sizeof_long_long
=`cat conftest.val`
21083 echo "$as_me: program exited with status $ac_status" >&5
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.
$ac_ext >&5
21087 ( exit $ac_status )
21088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21089 See \`config.log' for more details." >&5
21090 echo "$as_me: error: cannot compute sizeof (long long), 77
21091 See \`config.log' for more details." >&2;}
21092 { (exit 1); exit 1; }; }
21094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21099 ac_cv_sizeof_long_long
=0
21102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21103 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21104 cat >>confdefs.h
<<_ACEOF
21105 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21111 echo "$as_me:$LINENO: checking for long long" >&5
21112 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21113 if test "${ac_cv_type_long_long+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 cat >conftest.
$ac_ext <<_ACEOF
21119 cat confdefs.h
>>conftest.
$ac_ext
21120 cat >>conftest.
$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 $ac_includes_default
21126 if ((long long *) 0)
21128 if (sizeof (long long))
21134 rm -f conftest.
$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_type_long_long
=yes
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 ac_cv_type_long_long
=no
21162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21164 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21165 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21167 echo "$as_me:$LINENO: checking size of long long" >&5
21168 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21169 if test "${ac_cv_sizeof_long_long+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 if test "$ac_cv_type_long_long" = yes; then
21173 # The cast to unsigned long works around a bug in the HP C Compiler
21174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21176 # This bug is HP SR number 8606223364.
21177 if test "$cross_compiling" = yes; then
21178 # Depending upon the size, compute the lo and hi bounds.
21179 cat >conftest.
$ac_ext <<_ACEOF
21182 cat confdefs.h
>>conftest.
$ac_ext
21183 cat >>conftest.
$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 $ac_includes_default
21189 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21196 rm -f conftest.
$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21200 grep -v '^ *+' conftest.er1
>conftest.err
21202 cat conftest.err
>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try
='test -s conftest.$ac_objext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21219 cat >conftest.
$ac_ext <<_ACEOF
21222 cat confdefs.h
>>conftest.
$ac_ext
21223 cat >>conftest.
$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21236 rm -f conftest.
$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21240 grep -v '^ *+' conftest.er1
>conftest.err
21242 cat conftest.err
>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try
='test -s conftest.$ac_objext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_hi
=$ac_mid; break
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.
$ac_ext >&5
21262 ac_lo
=`expr $ac_mid + 1`
21263 if test $ac_lo -le $ac_mid; then
21267 ac_mid
=`expr 2 '*' $ac_mid + 1`
21269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.
$ac_ext >&5
21275 cat >conftest.
$ac_ext <<_ACEOF
21278 cat confdefs.h
>>conftest.
$ac_ext
21279 cat >>conftest.
$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 $ac_includes_default
21285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21292 rm -f conftest.
$ac_objext
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21294 (eval $ac_compile) 2>conftest.er1
21296 grep -v '^ *+' conftest.er1
>conftest.err
21298 cat conftest.err
>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try
='test -s conftest.$ac_objext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21315 cat >conftest.
$ac_ext <<_ACEOF
21318 cat confdefs.h
>>conftest.
$ac_ext
21319 cat >>conftest.
$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21332 rm -f conftest.
$ac_objext
21333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21334 (eval $ac_compile) 2>conftest.er1
21336 grep -v '^ *+' conftest.er1
>conftest.err
21338 cat conftest.err
>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; } &&
21347 { ac_try
='test -s conftest.$ac_objext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 ac_lo
=$ac_mid; break
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.
$ac_ext >&5
21358 ac_hi
=`expr '(' $ac_mid ')' - 1`
21359 if test $ac_mid -le $ac_hi; then
21363 ac_mid
=`expr 2 '*' $ac_mid`
21365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 # Binary search between lo and hi bounds.
21377 while test "x$ac_lo" != "x$ac_hi"; do
21378 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21379 cat >conftest.
$ac_ext <<_ACEOF
21382 cat confdefs.h
>>conftest.
$ac_ext
21383 cat >>conftest.
$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21396 rm -f conftest.
$ac_objext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21398 (eval $ac_compile) 2>conftest.er1
21400 grep -v '^ *+' conftest.er1
>conftest.err
21402 cat conftest.err
>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } &&
21405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; } &&
21411 { ac_try
='test -s conftest.$ac_objext'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.
$ac_ext >&5
21422 ac_lo
=`expr '(' $ac_mid ')' + 1`
21424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21427 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21428 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21429 See \`config.log' for more details." >&5
21430 echo "$as_me: error: cannot compute sizeof (long long), 77
21431 See \`config.log' for more details." >&2;}
21432 { (exit 1); exit 1; }; } ;;
21435 if test "$cross_compiling" = yes; then
21436 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21437 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21438 { (exit 1); exit 1; }; }
21440 cat >conftest.
$ac_ext <<_ACEOF
21443 cat confdefs.h
>>conftest.
$ac_ext
21444 cat >>conftest.
$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21447 long longval () { return (long) (sizeof (long long)); }
21448 unsigned long ulongval () { return (long) (sizeof (long long)); }
21450 #include <stdlib.h>
21455 FILE *f = fopen ("conftest.val", "w");
21458 if (((long) (sizeof (long long))) < 0)
21460 long i = longval ();
21461 if (i != ((long) (sizeof (long long))))
21463 fprintf (f, "%ld\n", i);
21467 unsigned long i = ulongval ();
21468 if (i != ((long) (sizeof (long long))))
21470 fprintf (f, "%lu\n", i);
21472 exit (ferror (f) || fclose (f) != 0);
21478 rm -f conftest
$ac_exeext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480 (eval $ac_link) 2>&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 ac_cv_sizeof_long_long
=`cat conftest.val`
21491 echo "$as_me: program exited with status $ac_status" >&5
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.
$ac_ext >&5
21495 ( exit $ac_status )
21496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&5
21498 echo "$as_me: error: cannot compute sizeof (long long), 77
21499 See \`config.log' for more details." >&2;}
21500 { (exit 1); exit 1; }; }
21502 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21507 ac_cv_sizeof_long_long
=0
21510 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21511 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21512 cat >>confdefs.h
<<_ACEOF
21513 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21517 if test "$ac_cv_sizeof_long_long" != "0"; then
21518 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21522 echo "$as_me:$LINENO: checking for long long" >&5
21523 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21524 if test "${ac_cv_type_long_long+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 cat >conftest.
$ac_ext <<_ACEOF
21530 cat confdefs.h
>>conftest.
$ac_ext
21531 cat >>conftest.
$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21537 if ((long long *) 0)
21539 if (sizeof (long long))
21545 rm -f conftest.
$ac_objext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21547 (eval $ac_compile) 2>conftest.er1
21549 grep -v '^ *+' conftest.er1
>conftest.err
21551 cat conftest.err
>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try
='test -s conftest.$ac_objext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_type_long_long
=yes
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.
$ac_ext >&5
21571 ac_cv_type_long_long
=no
21573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21575 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21576 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21578 echo "$as_me:$LINENO: checking size of long long" >&5
21579 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21580 if test "${ac_cv_sizeof_long_long+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 if test "$ac_cv_type_long_long" = yes; then
21584 # The cast to unsigned long works around a bug in the HP C Compiler
21585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21587 # This bug is HP SR number 8606223364.
21588 if test "$cross_compiling" = yes; then
21589 # Depending upon the size, compute the lo and hi bounds.
21590 cat >conftest.
$ac_ext <<_ACEOF
21593 cat confdefs.h
>>conftest.
$ac_ext
21594 cat >>conftest.
$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21607 rm -f conftest.
$ac_objext
21608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21609 (eval $ac_compile) 2>conftest.er1
21611 grep -v '^ *+' conftest.er1
>conftest.err
21613 cat conftest.err
>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } &&
21616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try
='test -s conftest.$ac_objext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21630 cat >conftest.
$ac_ext <<_ACEOF
21633 cat confdefs.h
>>conftest.
$ac_ext
21634 cat >>conftest.
$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636 $ac_includes_default
21640 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21647 rm -f conftest.
$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21651 grep -v '^ *+' conftest.er1
>conftest.err
21653 cat conftest.err
>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try
='test -s conftest.$ac_objext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_hi
=$ac_mid; break
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 ac_lo
=`expr $ac_mid + 1`
21674 if test $ac_lo -le $ac_mid; then
21678 ac_mid
=`expr 2 '*' $ac_mid + 1`
21680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.
$ac_ext >&5
21686 cat >conftest.
$ac_ext <<_ACEOF
21689 cat confdefs.h
>>conftest.
$ac_ext
21690 cat >>conftest.
$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 $ac_includes_default
21696 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21703 rm -f conftest.
$ac_objext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21705 (eval $ac_compile) 2>conftest.er1
21707 grep -v '^ *+' conftest.er1
>conftest.err
21709 cat conftest.err
>&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; } &&
21718 { ac_try
='test -s conftest.$ac_objext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21726 cat >conftest.
$ac_ext <<_ACEOF
21729 cat confdefs.h
>>conftest.
$ac_ext
21730 cat >>conftest.
$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21736 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21743 rm -f conftest.
$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21747 grep -v '^ *+' conftest.er1
>conftest.err
21749 cat conftest.err
>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; } &&
21758 { ac_try
='test -s conftest.$ac_objext'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; }; then
21764 ac_lo
=$ac_mid; break
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.
$ac_ext >&5
21769 ac_hi
=`expr '(' $ac_mid ')' - 1`
21770 if test $ac_mid -le $ac_hi; then
21774 ac_mid
=`expr 2 '*' $ac_mid`
21776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.
$ac_ext >&5
21784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21787 # Binary search between lo and hi bounds.
21788 while test "x$ac_lo" != "x$ac_hi"; do
21789 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21790 cat >conftest.
$ac_ext <<_ACEOF
21793 cat confdefs.h
>>conftest.
$ac_ext
21794 cat >>conftest.
$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21807 rm -f conftest.
$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21811 grep -v '^ *+' conftest.er1
>conftest.err
21813 cat conftest.err
>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try
='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.
$ac_ext >&5
21833 ac_lo
=`expr '(' $ac_mid ')' + 1`
21835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21838 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21840 See \`config.log' for more details." >&5
21841 echo "$as_me: error: cannot compute sizeof (long long), 77
21842 See \`config.log' for more details." >&2;}
21843 { (exit 1); exit 1; }; } ;;
21846 if test "$cross_compiling" = yes; then
21847 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21848 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21849 { (exit 1); exit 1; }; }
21851 cat >conftest.
$ac_ext <<_ACEOF
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 $ac_includes_default
21858 long longval () { return (long) (sizeof (long long)); }
21859 unsigned long ulongval () { return (long) (sizeof (long long)); }
21861 #include <stdlib.h>
21866 FILE *f = fopen ("conftest.val", "w");
21869 if (((long) (sizeof (long long))) < 0)
21871 long i = longval ();
21872 if (i != ((long) (sizeof (long long))))
21874 fprintf (f, "%ld\n", i);
21878 unsigned long i = ulongval ();
21879 if (i != ((long) (sizeof (long long))))
21881 fprintf (f, "%lu\n", i);
21883 exit (ferror (f) || fclose (f) != 0);
21889 rm -f conftest
$ac_exeext
21890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21891 (eval $ac_link) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 ac_cv_sizeof_long_long
=`cat conftest.val`
21902 echo "$as_me: program exited with status $ac_status" >&5
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.
$ac_ext >&5
21906 ( exit $ac_status )
21907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21908 See \`config.log' for more details." >&5
21909 echo "$as_me: error: cannot compute sizeof (long long), 77
21910 See \`config.log' for more details." >&2;}
21911 { (exit 1); exit 1; }; }
21913 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21918 ac_cv_sizeof_long_long
=0
21921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21922 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21923 cat >>confdefs.h
<<_ACEOF
21924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21930 echo "$as_me:$LINENO: checking for wchar_t" >&5
21931 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21932 if test "${ac_cv_type_wchar_t+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 cat >conftest.
$ac_ext <<_ACEOF
21938 cat confdefs.h
>>conftest.
$ac_ext
21939 cat >>conftest.
$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21942 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21943 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21944 # error "fake wchar_t"
21946 #ifdef HAVE_WCHAR_H
21948 # include <stddef.h>
21950 # include <wchar.h>
21952 #ifdef HAVE_STDLIB_H
21953 # include <stdlib.h>
21964 if (sizeof (wchar_t))
21970 rm -f conftest.
$ac_objext
21971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21972 (eval $ac_compile) 2>conftest.er1
21974 grep -v '^ *+' conftest.er1
>conftest.err
21976 cat conftest.err
>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; } &&
21985 { ac_try
='test -s conftest.$ac_objext'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_type_wchar_t
=yes
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.
$ac_ext >&5
21996 ac_cv_type_wchar_t
=no
21998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22000 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22001 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22003 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22004 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22005 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22008 if test "$ac_cv_type_wchar_t" = yes; then
22009 # The cast to unsigned long works around a bug in the HP C Compiler
22010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22012 # This bug is HP SR number 8606223364.
22013 if test "$cross_compiling" = yes; then
22014 # Depending upon the size, compute the lo and hi bounds.
22015 cat >conftest.
$ac_ext <<_ACEOF
22018 cat confdefs.h
>>conftest.
$ac_ext
22019 cat >>conftest.
$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22022 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22023 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22024 # error "fake wchar_t"
22026 #ifdef HAVE_WCHAR_H
22028 # include <stddef.h>
22030 # include <wchar.h>
22032 #ifdef HAVE_STDLIB_H
22033 # include <stdlib.h>
22042 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22049 rm -f conftest.
$ac_objext
22050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22051 (eval $ac_compile) 2>conftest.er1
22053 grep -v '^ *+' conftest.er1
>conftest.err
22055 cat conftest.err
>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } &&
22058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; } &&
22064 { ac_try
='test -s conftest.$ac_objext'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22072 cat >conftest.
$ac_ext <<_ACEOF
22075 cat confdefs.h
>>conftest.
$ac_ext
22076 cat >>conftest.
$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22079 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22080 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22081 # error "fake wchar_t"
22083 #ifdef HAVE_WCHAR_H
22085 # include <stddef.h>
22087 # include <wchar.h>
22089 #ifdef HAVE_STDLIB_H
22090 # include <stdlib.h>
22099 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22106 rm -f conftest.
$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>conftest.er1
22110 grep -v '^ *+' conftest.er1
>conftest.err
22112 cat conftest.err
>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try
='test -s conftest.$ac_objext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_hi
=$ac_mid; break
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.
$ac_ext >&5
22132 ac_lo
=`expr $ac_mid + 1`
22133 if test $ac_lo -le $ac_mid; then
22137 ac_mid
=`expr 2 '*' $ac_mid + 1`
22139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.
$ac_ext >&5
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22152 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22153 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22154 # error "fake wchar_t"
22156 #ifdef HAVE_WCHAR_H
22158 # include <stddef.h>
22160 # include <wchar.h>
22162 #ifdef HAVE_STDLIB_H
22163 # include <stdlib.h>
22172 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22179 rm -f conftest.
$ac_objext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22181 (eval $ac_compile) 2>conftest.er1
22183 grep -v '^ *+' conftest.er1
>conftest.err
22185 cat conftest.err
>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } &&
22188 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try
='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22202 cat >conftest.
$ac_ext <<_ACEOF
22205 cat confdefs.h
>>conftest.
$ac_ext
22206 cat >>conftest.
$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22209 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22210 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22211 # error "fake wchar_t"
22213 #ifdef HAVE_WCHAR_H
22215 # include <stddef.h>
22217 # include <wchar.h>
22219 #ifdef HAVE_STDLIB_H
22220 # include <stdlib.h>
22229 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22236 rm -f conftest.
$ac_objext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238 (eval $ac_compile) 2>conftest.er1
22240 grep -v '^ *+' conftest.er1
>conftest.err
22242 cat conftest.err
>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } &&
22245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; } &&
22251 { ac_try
='test -s conftest.$ac_objext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_lo
=$ac_mid; break
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22262 ac_hi
=`expr '(' $ac_mid ')' - 1`
22263 if test $ac_mid -le $ac_hi; then
22267 ac_mid
=`expr 2 '*' $ac_mid`
22269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.
$ac_ext >&5
22277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22280 # Binary search between lo and hi bounds.
22281 while test "x$ac_lo" != "x$ac_hi"; do
22282 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22283 cat >conftest.
$ac_ext <<_ACEOF
22286 cat confdefs.h
>>conftest.
$ac_ext
22287 cat >>conftest.
$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22292 # error "fake wchar_t"
22294 #ifdef HAVE_WCHAR_H
22296 # include <stddef.h>
22298 # include <wchar.h>
22300 #ifdef HAVE_STDLIB_H
22301 # include <stdlib.h>
22310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22317 rm -f conftest.
$ac_objext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22319 (eval $ac_compile) 2>conftest.er1
22321 grep -v '^ *+' conftest.er1
>conftest.err
22323 cat conftest.err
>&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } &&
22326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22328 (eval $ac_try) 2>&5
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); }; } &&
22332 { ac_try
='test -s conftest.$ac_objext'
22333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22334 (eval $ac_try) 2>&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); }; }; then
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.
$ac_ext >&5
22343 ac_lo
=`expr '(' $ac_mid ')' + 1`
22345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22348 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22349 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22350 See \`config.log' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22352 See \`config.log' for more details." >&2;}
22353 { (exit 1); exit 1; }; } ;;
22356 if test "$cross_compiling" = yes; then
22357 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22358 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22359 { (exit 1); exit 1; }; }
22361 cat >conftest.
$ac_ext <<_ACEOF
22364 cat confdefs.h
>>conftest.
$ac_ext
22365 cat >>conftest.
$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22368 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22369 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22370 # error "fake wchar_t"
22372 #ifdef HAVE_WCHAR_H
22374 # include <stddef.h>
22376 # include <wchar.h>
22378 #ifdef HAVE_STDLIB_H
22379 # include <stdlib.h>
22385 long longval () { return (long) (sizeof (wchar_t)); }
22386 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22388 #include <stdlib.h>
22393 FILE *f = fopen ("conftest.val", "w");
22396 if (((long) (sizeof (wchar_t))) < 0)
22398 long i = longval ();
22399 if (i != ((long) (sizeof (wchar_t))))
22401 fprintf (f, "%ld\n", i);
22405 unsigned long i = ulongval ();
22406 if (i != ((long) (sizeof (wchar_t))))
22408 fprintf (f, "%lu\n", i);
22410 exit (ferror (f) || fclose (f) != 0);
22416 rm -f conftest
$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418 (eval $ac_link) 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22429 echo "$as_me: program exited with status $ac_status" >&5
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.
$ac_ext >&5
22433 ( exit $ac_status )
22434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22435 See \`config.log' for more details." >&5
22436 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22437 See \`config.log' for more details." >&2;}
22438 { (exit 1); exit 1; }; }
22440 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22445 ac_cv_sizeof_wchar_t
=0
22448 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22449 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22450 cat >>confdefs.h
<<_ACEOF
22451 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22455 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22461 echo "$as_me:$LINENO: checking for va_copy" >&5
22462 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22463 if test "${wx_cv_func_va_copy+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 cat >conftest.
$ac_ext <<_ACEOF
22469 #include <stdarg.h>
22470 void foo(char *f, ...)
22484 rm -f conftest.
$ac_objext conftest
$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>conftest.er1
22488 grep -v '^ *+' conftest.er1
>conftest.err
22490 cat conftest.err
>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495 (eval $ac_try) 2>&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); }; } &&
22499 { ac_try
='test -s conftest$ac_exeext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 wx_cv_func_va_copy
=yes
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.
$ac_ext >&5
22510 wx_cv_func_va_copy
=no
22513 rm -f conftest.err conftest.
$ac_objext \
22514 conftest
$ac_exeext conftest.
$ac_ext
22518 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22519 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22521 if test $wx_cv_func_va_copy = "yes"; then
22522 cat >>confdefs.h
<<\_ACEOF
22523 #define HAVE_VA_COPY 1
22527 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22528 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22529 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 if test "$cross_compiling" = yes; then
22534 wx_cv_type_va_list_lvalue
=yes
22537 cat >conftest.
$ac_ext <<_ACEOF
22539 #include <stdarg.h>
22540 int foo(char *f, ...)
22545 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22553 return foo("hi", 17);
22556 rm -f conftest
$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567 wx_cv_type_va_list_lvalue
=yes
22569 echo "$as_me: program exited with status $ac_status" >&5
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.
$ac_ext >&5
22573 ( exit $ac_status )
22574 wx_cv_type_va_list_lvalue
=no
22576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22581 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22582 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22584 if test $wx_cv_type_va_list_lvalue != "yes"; then
22585 cat >>confdefs.h
<<\_ACEOF
22586 #define VA_LIST_IS_ARRAY 1
22592 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22593 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22594 if test "${wx_cv_have_variadic_macros+set}" = set; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22598 cat >conftest.
$ac_ext <<_ACEOF
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22606 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22612 test("%s %d %p", "test", 1, 0);
22619 rm -f conftest.
$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22623 grep -v '^ *+' conftest.er1
>conftest.err
22625 cat conftest.err
>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try
='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 wx_cv_have_variadic_macros
=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.
$ac_ext >&5
22645 wx_cv_have_variadic_macros
=no
22648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22652 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22653 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22655 if test $wx_cv_have_variadic_macros = "yes"; then
22656 cat >>confdefs.h
<<\_ACEOF
22657 #define HAVE_VARIADIC_MACROS 1
22662 # Check whether --enable-largefile or --disable-largefile was given.
22663 if test "${enable_largefile+set}" = set; then
22664 enableval
="$enable_largefile"
22667 if test "$enable_largefile" != no
; then
22670 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22671 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22672 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 cat >conftest.
$ac_ext <<_ACEOF
22679 cat confdefs.h
>>conftest.
$ac_ext
22680 cat >>conftest.
$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682 #define _FILE_OFFSET_BITS 64
22683 #include <sys/types.h>
22688 unsigned int field: sizeof(off_t) == 8;
22695 rm -f conftest.
$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697 (eval $ac_compile) 2>conftest.er1
22699 grep -v '^ *+' conftest.er1
>conftest.err
22701 cat conftest.err
>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try
='test -s conftest.$ac_objext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sys_file_offset_bits
=64
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.
$ac_ext >&5
22721 ac_cv_sys_file_offset_bits
=no
22723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22727 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22728 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22730 if test "$ac_cv_sys_file_offset_bits" != no
; then
22732 cat >>confdefs.h
<<_ACEOF
22733 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22738 if test "x$wx_largefile" != "xyes"; then
22740 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22741 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22742 if test "${ac_cv_sys_large_files+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22746 cat >conftest.
$ac_ext <<_ACEOF
22749 cat confdefs.h
>>conftest.
$ac_ext
22750 cat >>conftest.
$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #define _LARGE_FILES 1
22753 #include <sys/types.h>
22758 unsigned int field: sizeof(off_t) == 8;
22765 rm -f conftest.
$ac_objext
22766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22767 (eval $ac_compile) 2>conftest.er1
22769 grep -v '^ *+' conftest.er1
>conftest.err
22771 cat conftest.err
>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } &&
22774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; } &&
22780 { ac_try
='test -s conftest.$ac_objext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 ac_cv_sys_large_files
=1
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.
$ac_ext >&5
22791 ac_cv_sys_large_files
=no
22793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22797 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22798 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22800 if test "$ac_cv_sys_large_files" != no
; then
22802 cat >>confdefs.h
<<_ACEOF
22803 #define _LARGE_FILES $ac_cv_sys_large_files
22810 echo "$as_me:$LINENO: checking if large file support is available" >&5
22811 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22812 if test "x$wx_largefile" = "xyes"; then
22813 cat >>confdefs.h
<<\_ACEOF
22814 #define HAVE_LARGEFILE_SUPPORT 1
22818 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22819 echo "${ECHO_T}$wx_largefile" >&6
22823 if test "x$wx_largefile" = "xyes"; then
22824 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22825 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22827 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22828 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22829 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22830 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 cat >conftest.
$ac_ext <<_ACEOF
22837 cat confdefs.h
>>conftest.
$ac_ext
22838 cat >>conftest.
$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22845 #ifndef __STDC_EXT__
22853 rm -f conftest.
$ac_objext
22854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22855 (eval $ac_compile) 2>conftest.er1
22857 grep -v '^ *+' conftest.er1
>conftest.err
22859 cat conftest.err
>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } &&
22862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try
='test -s conftest.$ac_objext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 wx_cv_STDC_EXT_required
=no
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.
$ac_ext >&5
22879 wx_cv_STDC_EXT_required
=yes
22882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22886 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22887 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22888 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22889 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22893 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22895 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22896 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22897 if test "${ac_cv_sys_largefile_source+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 ac_cv_sys_largefile_source
=no
22902 cat >conftest.
$ac_ext <<_ACEOF
22905 cat confdefs.h
>>conftest.
$ac_ext
22906 cat >>conftest.
$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22917 rm -f conftest.
$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22921 grep -v '^ *+' conftest.er1
>conftest.err
22923 cat conftest.err
>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try
='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.
$ac_ext >&5
22944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22945 cat >conftest.
$ac_ext <<_ACEOF
22948 cat confdefs.h
>>conftest.
$ac_ext
22949 cat >>conftest.
$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #define _LARGEFILE_SOURCE 1
22961 rm -f conftest.
$ac_objext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22963 (eval $ac_compile) 2>conftest.er1
22965 grep -v '^ *+' conftest.er1
>conftest.err
22967 cat conftest.err
>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try
='test -s conftest.$ac_objext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22982 ac_cv_sys_largefile_source
=1; break
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.
$ac_ext >&5
22988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22993 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22994 if test "$ac_cv_sys_largefile_source" != no
; then
22996 cat >>confdefs.h
<<_ACEOF
22997 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23003 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23004 # in glibc 2.1.3, but that breaks too many other things.
23005 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23006 echo "$as_me:$LINENO: checking for fseeko" >&5
23007 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23008 if test "${ac_cv_func_fseeko+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 cat >conftest.
$ac_ext <<_ACEOF
23014 cat confdefs.h
>>conftest.
$ac_ext
23015 cat >>conftest.
$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23021 return fseeko && fseeko (stdin, 0, 0);
23026 rm -f conftest.
$ac_objext conftest
$ac_exeext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23028 (eval $ac_link) 2>conftest.er1
23030 grep -v '^ *+' conftest.er1
>conftest.err
23032 cat conftest.err
>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } &&
23035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try
='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_func_fseeko
=yes
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 ac_cv_func_fseeko
=no
23054 rm -f conftest.err conftest.
$ac_objext \
23055 conftest
$ac_exeext conftest.
$ac_ext
23057 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23058 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23059 if test $ac_cv_func_fseeko = yes; then
23061 cat >>confdefs.h
<<\_ACEOF
23062 #define HAVE_FSEEKO 1
23067 if test "$ac_cv_sys_largefile_source" != no
; then
23068 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23072 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23073 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23074 if test "${ac_cv_c_bigendian+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23077 ac_cv_c_bigendian
=unknown
23078 # See if sys/param.h defines the BYTE_ORDER macro.
23079 cat >conftest.
$ac_ext <<_ACEOF
23082 cat confdefs.h
>>conftest.
$ac_ext
23083 cat >>conftest.
$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 #include <sys/types.h>
23086 #include <sys/param.h>
23091 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23092 bogus endian macros
23098 rm -f conftest.
$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23102 grep -v '^ *+' conftest.er1
>conftest.err
23104 cat conftest.err
>&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; } &&
23113 { ac_try
='test -s conftest.$ac_objext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 # It does; now see whether it defined to BIG_ENDIAN or not.
23120 cat >conftest.
$ac_ext <<_ACEOF
23123 cat confdefs.h
>>conftest.
$ac_ext
23124 cat >>conftest.
$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <sys/types.h>
23127 #include <sys/param.h>
23132 #if BYTE_ORDER != BIG_ENDIAN
23139 rm -f conftest.
$ac_objext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23141 (eval $ac_compile) 2>conftest.er1
23143 grep -v '^ *+' conftest.er1
>conftest.err
23145 cat conftest.err
>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try
='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_c_bigendian
=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_cv_c_bigendian
=no
23167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.
$ac_ext >&5
23173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23174 if test $ac_cv_c_bigendian = unknown
; then
23175 if test "$cross_compiling" = yes; then
23176 ac_cv_c_bigendian
=unknown
23178 cat >conftest.
$ac_ext <<_ACEOF
23181 cat confdefs.h
>>conftest.
$ac_ext
23182 cat >>conftest.
$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23185 /* Are we little or big endian? From Harbison&Steele. */
23189 char c[sizeof (long)];
23192 exit (u.c[sizeof (long) - 1] == 1);
23195 rm -f conftest
$ac_exeext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23197 (eval $ac_link) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 ac_cv_c_bigendian
=no
23208 echo "$as_me: program exited with status $ac_status" >&5
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.
$ac_ext >&5
23212 ( exit $ac_status )
23213 ac_cv_c_bigendian
=yes
23215 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23219 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23220 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23221 if test $ac_cv_c_bigendian = unknown
; then
23222 { 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
23223 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;}
23225 if test $ac_cv_c_bigendian = yes; then
23226 cat >>confdefs.h
<<\_ACEOF
23227 #define WORDS_BIGENDIAN 1
23237 ac_cpp
='$CXXCPP $CPPFLAGS'
23238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23244 for ac_header
in iostream
23246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23248 echo "$as_me:$LINENO: checking for $ac_header" >&5
23249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23256 # Is the header compilable?
23257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 #include <$ac_header>
23268 rm -f conftest.
$ac_objext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270 (eval $ac_compile) 2>conftest.er1
23272 grep -v '^ *+' conftest.er1
>conftest.err
23274 cat conftest.err
>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try
='test -s conftest.$ac_objext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_header_compiler
=yes
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.
$ac_ext >&5
23294 ac_header_compiler
=no
23296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23298 echo "${ECHO_T}$ac_header_compiler" >&6
23300 # Is the header present?
23301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23303 cat >conftest.
$ac_ext <<_ACEOF
23306 cat confdefs.h
>>conftest.
$ac_ext
23307 cat >>conftest.
$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309 #include <$ac_header>
23311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23314 grep -v '^ *+' conftest.er1
>conftest.err
23316 cat conftest.err
>&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } >/dev
/null
; then
23319 if test -s conftest.err
; then
23320 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23321 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23328 if test -z "$ac_cpp_err"; then
23329 ac_header_preproc
=yes
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.
$ac_ext >&5
23334 ac_header_preproc
=no
23336 rm -f conftest.err conftest.
$ac_ext
23337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23338 echo "${ECHO_T}$ac_header_preproc" >&6
23340 # So? What about this header?
23341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23347 ac_header_preproc
=yes
23350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23364 ## ----------------------------------------- ##
23365 ## Report this to wx-dev@lists.wxwidgets.org ##
23366 ## ----------------------------------------- ##
23369 sed "s/^/$as_me: WARNING: /" >&2
23372 echo "$as_me:$LINENO: checking for $ac_header" >&5
23373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23377 eval "$as_ac_Header=\$ac_header_preproc"
23379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23384 cat >>confdefs.h
<<_ACEOF
23385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23393 if test "$ac_cv_header_iostream" = "yes" ; then
23396 cat >>confdefs.h
<<\_ACEOF
23397 #define wxUSE_IOSTREAMH 1
23403 ac_cpp
='$CXXCPP $CPPFLAGS'
23404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23411 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23412 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23413 if test "${wx_cv_cpp_bool+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 ac_cpp
='$CXXCPP $CPPFLAGS'
23421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23426 cat >conftest.
$ac_ext <<_ACEOF
23429 cat confdefs.h
>>conftest.
$ac_ext
23430 cat >>conftest.
$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23446 rm -f conftest.
$ac_objext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23448 (eval $ac_compile) 2>conftest.er1
23450 grep -v '^ *+' conftest.er1
>conftest.err
23452 cat conftest.err
>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try
='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.
$ac_ext >&5
23479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23482 ac_cpp
='$CXXCPP $CPPFLAGS'
23483 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23489 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23490 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23492 if test "$wx_cv_cpp_bool" = "yes"; then
23493 cat >>confdefs.h
<<\_ACEOF
23494 #define HAVE_BOOL 1
23501 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23502 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23503 if test "${wx_cv_explicit+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23510 ac_cpp
='$CXXCPP $CPPFLAGS'
23511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23523 class Foo { public: explicit Foo(int) {} };
23535 rm -f conftest.
$ac_objext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23537 (eval $ac_compile) 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try
='test -s conftest.$ac_objext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23557 cat >conftest.
$ac_ext <<_ACEOF
23560 cat confdefs.h
>>conftest.
$ac_ext
23561 cat >>conftest.
$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23564 class Foo { public: explicit Foo(int) {} };
23565 static void TakeFoo(const Foo& foo) { }
23578 rm -f conftest.
$ac_objext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23580 (eval $ac_compile) 2>conftest.er1
23582 grep -v '^ *+' conftest.er1
>conftest.err
23584 cat conftest.err
>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; } &&
23593 { ac_try
='test -s conftest.$ac_objext'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; }; then
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.
$ac_ext >&5
23607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.
$ac_ext >&5
23616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23619 ac_cpp
='$CXXCPP $CPPFLAGS'
23620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23626 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23627 echo "${ECHO_T}$wx_cv_explicit" >&6
23629 if test "$wx_cv_explicit" = "yes"; then
23630 cat >>confdefs.h
<<\_ACEOF
23631 #define HAVE_EXPLICIT 1
23637 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23638 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23639 if test "${ac_cv_cxx_const_cast+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 ac_cpp
='$CXXCPP $CPPFLAGS'
23646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23650 cat >conftest.
$ac_ext <<_ACEOF
23653 cat confdefs.h
>>conftest.
$ac_ext
23654 cat >>conftest.
$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23660 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23665 rm -f conftest.
$ac_objext
23666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23667 (eval $ac_compile) 2>conftest.er1
23669 grep -v '^ *+' conftest.er1
>conftest.err
23671 cat conftest.err
>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; } &&
23680 { ac_try
='test -s conftest.$ac_objext'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; }; then
23686 ac_cv_cxx_const_cast
=yes
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.
$ac_ext >&5
23691 ac_cv_cxx_const_cast
=no
23693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23695 ac_cpp
='$CXXCPP $CPPFLAGS'
23696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23702 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23703 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23704 if test "$ac_cv_cxx_const_cast" = yes; then
23706 cat >>confdefs.h
<<\_ACEOF
23707 #define HAVE_CONST_CAST
23712 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23713 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23714 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 ac_cpp
='$CXXCPP $CPPFLAGS'
23721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23725 cat >conftest.
$ac_ext <<_ACEOF
23728 cat confdefs.h
>>conftest.
$ac_ext
23729 cat >>conftest.
$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <typeinfo>
23732 class Base { public : Base () {} virtual void f () = 0;};
23733 class Derived : public Base { public : Derived () {} virtual void f () {} };
23734 class Unrelated { public : Unrelated () {} };
23735 int g (Unrelated&) { return 0; }
23740 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23745 rm -f conftest.
$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23749 grep -v '^ *+' conftest.er1
>conftest.err
23751 cat conftest.err
>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try
='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_cv_cxx_reinterpret_cast
=yes
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.
$ac_ext >&5
23771 ac_cv_cxx_reinterpret_cast
=no
23773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23775 ac_cpp
='$CXXCPP $CPPFLAGS'
23776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23782 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23783 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23784 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23786 cat >>confdefs.h
<<\_ACEOF
23787 #define HAVE_REINTERPRET_CAST
23792 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23793 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23794 if test "${ac_cv_cxx_static_cast+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 ac_cpp
='$CXXCPP $CPPFLAGS'
23801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23805 cat >conftest.
$ac_ext <<_ACEOF
23808 cat confdefs.h
>>conftest.
$ac_ext
23809 cat >>conftest.
$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <typeinfo>
23812 class Base { public : Base () {} virtual void f () = 0; };
23813 class Derived : public Base { public : Derived () {} virtual void f () {} };
23814 int g (Derived&) { return 0; }
23819 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23824 rm -f conftest.
$ac_objext
23825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23826 (eval $ac_compile) 2>conftest.er1
23828 grep -v '^ *+' conftest.er1
>conftest.err
23830 cat conftest.err
>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } &&
23833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; } &&
23839 { ac_try
='test -s conftest.$ac_objext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_cxx_static_cast
=yes
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.
$ac_ext >&5
23850 ac_cv_cxx_static_cast
=no
23852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23854 ac_cpp
='$CXXCPP $CPPFLAGS'
23855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23861 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23862 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23863 if test "$ac_cv_cxx_static_cast" = yes; then
23865 cat >>confdefs.h
<<\_ACEOF
23866 #define HAVE_STATIC_CAST
23872 if test "x$SUNCXX" = xyes
; then
23873 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23876 if test "x$SUNCC" = xyes
; then
23877 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23880 if test "x$SGICC" = "xyes"; then
23881 CFLAGS
="-woff 3970 $CFLAGS"
23883 if test "x$SGICXX" = "xyes"; then
23884 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23887 if test "x$HPCC" = "xyes"; then
23888 CFLAGS
="+W 2011,2450 $CFLAGS"
23890 if test "x$HPCXX" = "xyes"; then
23891 CXXFLAGS
="+W 2340 $CXXFLAGS"
23894 if test "x$COMPAQCXX" = "xyes"; then
23895 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23898 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23899 if test "$wxUSE_UNICODE" = "yes"; then
23900 std_string
="std::wstring"
23901 char_type
="wchar_t"
23903 std_string
="std::string"
23907 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23908 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23909 cat >conftest.
$ac_ext <<_ACEOF
23912 cat confdefs.h
>>conftest.
$ac_ext
23913 cat >>conftest.
$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23924 rm -f conftest.
$ac_objext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23926 (eval $ac_compile) 2>conftest.er1
23928 grep -v '^ *+' conftest.er1
>conftest.err
23930 cat conftest.err
>&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try
='test -s conftest.$ac_objext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 echo "$as_me:$LINENO: result: yes" >&5
23946 echo "${ECHO_T}yes" >&6
23947 cat >>confdefs.h
<<\_ACEOF
23948 #define HAVE_STD_WSTRING 1
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.
$ac_ext >&5
23955 echo "$as_me:$LINENO: result: no" >&5
23956 echo "${ECHO_T}no" >&6
23957 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23958 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23959 cat >conftest.
$ac_ext <<_ACEOF
23962 cat confdefs.h
>>conftest.
$ac_ext
23963 cat >>conftest.
$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23966 #ifdef HAVE_WCHAR_H
23968 # include <stddef.h>
23970 # include <wchar.h>
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23981 std::basic_string<$char_type> foo;
23982 const $char_type* dummy = foo.c_str();
23987 rm -f conftest.
$ac_objext
23988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23989 (eval $ac_compile) 2>conftest.er1
23991 grep -v '^ *+' conftest.er1
>conftest.err
23993 cat conftest.err
>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; } &&
24002 { ac_try
='test -s conftest.$ac_objext'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; }; then
24008 echo "$as_me:$LINENO: result: yes" >&5
24009 echo "${ECHO_T}yes" >&6
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.
$ac_ext >&5
24014 echo "$as_me:$LINENO: result: no" >&5
24015 echo "${ECHO_T}no" >&6
24016 if test "$wxUSE_STL" = "yes"; then
24017 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24018 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24019 { (exit 1); exit 1; }; }
24020 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
24021 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24022 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24023 { (exit 1); exit 1; }; }
24025 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24026 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24027 wxUSE_STD_STRING
=no
24032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24038 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24039 echo "$as_me:$LINENO: checking for std::istream" >&5
24040 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24041 if test "${ac_cv_type_std__istream+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24044 cat >conftest.
$ac_ext <<_ACEOF
24047 cat confdefs.h
>>conftest.
$ac_ext
24048 cat >>conftest.
$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <iostream>
24055 if ((std::istream *) 0)
24057 if (sizeof (std::istream))
24063 rm -f conftest.
$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24067 grep -v '^ *+' conftest.er1
>conftest.err
24069 cat conftest.err
>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; } &&
24078 { ac_try
='test -s conftest.$ac_objext'
24079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080 (eval $ac_try) 2>&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); }; }; then
24084 ac_cv_type_std__istream
=yes
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.
$ac_ext >&5
24089 ac_cv_type_std__istream
=no
24091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24093 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24094 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24095 if test $ac_cv_type_std__istream = yes; then
24097 cat >>confdefs.h
<<_ACEOF
24098 #define HAVE_STD__ISTREAM 1
24103 wxUSE_STD_IOSTREAM
=no
24105 echo "$as_me:$LINENO: checking for std::ostream" >&5
24106 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24107 if test "${ac_cv_type_std__ostream+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 cat >conftest.
$ac_ext <<_ACEOF
24113 cat confdefs.h
>>conftest.
$ac_ext
24114 cat >>conftest.
$ac_ext <<_ACEOF
24115 /* end confdefs.h. */
24116 #include <iostream>
24121 if ((std::ostream *) 0)
24123 if (sizeof (std::ostream))
24129 rm -f conftest.
$ac_objext
24130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24131 (eval $ac_compile) 2>conftest.er1
24133 grep -v '^ *+' conftest.er1
>conftest.err
24135 cat conftest.err
>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } &&
24138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; } &&
24144 { ac_try
='test -s conftest.$ac_objext'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 ac_cv_type_std__ostream
=yes
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.
$ac_ext >&5
24155 ac_cv_type_std__ostream
=no
24157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24159 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24160 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24161 if test $ac_cv_type_std__ostream = yes; then
24163 cat >>confdefs.h
<<_ACEOF
24164 #define HAVE_STD__OSTREAM 1
24169 wxUSE_STD_IOSTREAM
=no
24173 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24174 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24175 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24176 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24177 { (exit 1); exit 1; }; }
24179 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24180 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24185 if test "$wxUSE_STL" = "yes"; then
24186 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24187 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24188 cat >conftest.
$ac_ext <<_ACEOF
24191 cat confdefs.h
>>conftest.
$ac_ext
24192 cat >>conftest.
$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24195 #include <functional>
24196 #include <algorithm>
24202 std::vector<int> moo;
24203 std::list<int> foo;
24204 std::vector<int>::iterator it =
24205 std::find_if(moo.begin(), moo.end(),
24206 std::bind2nd(std::less<int>(), 3));
24211 rm -f conftest.
$ac_objext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24213 (eval $ac_compile) 2>conftest.er1
24215 grep -v '^ *+' conftest.er1
>conftest.err
24217 cat conftest.err
>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; } &&
24226 { ac_try
='test -s conftest.$ac_objext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 echo "$as_me:$LINENO: result: yes" >&5
24233 echo "${ECHO_T}yes" >&6
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.
$ac_ext >&5
24238 echo "$as_me:$LINENO: result: no" >&5
24239 echo "${ECHO_T}no" >&6
24240 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24241 echo "$as_me: error: Basic STL functionality missing" >&2;}
24242 { (exit 1); exit 1; }; }
24244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24246 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24247 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24248 cat >conftest.
$ac_ext <<_ACEOF
24251 cat confdefs.h
>>conftest.
$ac_ext
24252 cat >>conftest.
$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24258 std::string foo, bar;
24260 foo.compare(1, 1, bar);
24261 foo.compare(1, 1, bar, 1, 1);
24263 foo.compare(1, 1, "");
24264 foo.compare(1, 1, "", 2);
24269 rm -f conftest.
$ac_objext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24271 (eval $ac_compile) 2>conftest.er1
24273 grep -v '^ *+' conftest.er1
>conftest.err
24275 cat conftest.err
>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try
='test -s conftest.$ac_objext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 echo "$as_me:$LINENO: result: yes" >&5
24291 echo "${ECHO_T}yes" >&6
24292 cat >>confdefs.h
<<\_ACEOF
24293 #define HAVE_STD_STRING_COMPARE 1
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.
$ac_ext >&5
24300 echo "$as_me:$LINENO: result: no" >&5
24301 echo "${ECHO_T}no" >&6
24303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24305 if test "${ac_cv_header_hash_map+set}" = set; then
24306 echo "$as_me:$LINENO: checking for hash_map" >&5
24307 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24308 if test "${ac_cv_header_hash_map+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24312 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24314 # Is the header compilable?
24315 echo "$as_me:$LINENO: checking hash_map usability" >&5
24316 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24317 cat >conftest.
$ac_ext <<_ACEOF
24320 cat confdefs.h
>>conftest.
$ac_ext
24321 cat >>conftest.
$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 $ac_includes_default
24324 #include <hash_map>
24326 rm -f conftest.
$ac_objext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24328 (eval $ac_compile) 2>conftest.er1
24330 grep -v '^ *+' conftest.er1
>conftest.err
24332 cat conftest.err
>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; } &&
24341 { ac_try
='test -s conftest.$ac_objext'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; }; then
24347 ac_header_compiler
=yes
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.
$ac_ext >&5
24352 ac_header_compiler
=no
24354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24356 echo "${ECHO_T}$ac_header_compiler" >&6
24358 # Is the header present?
24359 echo "$as_me:$LINENO: checking hash_map presence" >&5
24360 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24361 cat >conftest.
$ac_ext <<_ACEOF
24364 cat confdefs.h
>>conftest.
$ac_ext
24365 cat >>conftest.
$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 #include <hash_map>
24369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } >/dev
/null
; then
24377 if test -s conftest.err
; then
24378 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24379 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24386 if test -z "$ac_cpp_err"; then
24387 ac_header_preproc
=yes
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.
$ac_ext >&5
24392 ac_header_preproc
=no
24394 rm -f conftest.err conftest.
$ac_ext
24395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24396 echo "${ECHO_T}$ac_header_preproc" >&6
24398 # So? What about this header?
24399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24401 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24402 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24403 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24404 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24405 ac_header_preproc
=yes
24408 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24409 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24410 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24411 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24412 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24413 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24414 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24415 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24416 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24417 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24418 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24419 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24422 ## ----------------------------------------- ##
24423 ## Report this to wx-dev@lists.wxwidgets.org ##
24424 ## ----------------------------------------- ##
24427 sed "s/^/$as_me: WARNING: /" >&2
24430 echo "$as_me:$LINENO: checking for hash_map" >&5
24431 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24432 if test "${ac_cv_header_hash_map+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 ac_cv_header_hash_map
=$ac_header_preproc
24437 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24438 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24441 if test $ac_cv_header_hash_map = yes; then
24442 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24443 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24444 cat >conftest.
$ac_ext <<_ACEOF
24447 cat confdefs.h
>>conftest.
$ac_ext
24448 cat >>conftest.
$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 #include <hash_map>
24451 #include <hash_set>
24455 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24456 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24461 rm -f conftest.
$ac_objext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24463 (eval $ac_compile) 2>conftest.er1
24465 grep -v '^ *+' conftest.er1
>conftest.err
24467 cat conftest.err
>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } &&
24470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; } &&
24476 { ac_try
='test -s conftest.$ac_objext'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; }; then
24482 echo "$as_me:$LINENO: result: yes" >&5
24483 echo "${ECHO_T}yes" >&6
24484 cat >>confdefs.h
<<\_ACEOF
24485 #define HAVE_HASH_MAP 1
24488 cat >>confdefs.h
<<\_ACEOF
24489 #define HAVE_STD_HASH_MAP 1
24493 echo "$as_me: failed program was:" >&5
24494 sed 's/^/| /' conftest.
$ac_ext >&5
24496 echo "$as_me:$LINENO: result: no" >&5
24497 echo "${ECHO_T}no" >&6
24499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24506 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24507 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24508 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24512 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24514 # Is the header compilable?
24515 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24516 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24517 cat >conftest.
$ac_ext <<_ACEOF
24520 cat confdefs.h
>>conftest.
$ac_ext
24521 cat >>conftest.
$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523 $ac_includes_default
24524 #include <ext/hash_map>
24526 rm -f conftest.
$ac_objext
24527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24528 (eval $ac_compile) 2>conftest.er1
24530 grep -v '^ *+' conftest.er1
>conftest.err
24532 cat conftest.err
>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } &&
24535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try
='test -s conftest.$ac_objext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 ac_header_compiler
=yes
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.
$ac_ext >&5
24552 ac_header_compiler
=no
24554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24556 echo "${ECHO_T}$ac_header_compiler" >&6
24558 # Is the header present?
24559 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24560 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24561 cat >conftest.
$ac_ext <<_ACEOF
24564 cat confdefs.h
>>conftest.
$ac_ext
24565 cat >>conftest.
$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567 #include <ext/hash_map>
24569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24572 grep -v '^ *+' conftest.er1
>conftest.err
24574 cat conftest.err
>&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); } >/dev
/null
; then
24577 if test -s conftest.err
; then
24578 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24579 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24586 if test -z "$ac_cpp_err"; then
24587 ac_header_preproc
=yes
24589 echo "$as_me: failed program was:" >&5
24590 sed 's/^/| /' conftest.
$ac_ext >&5
24592 ac_header_preproc
=no
24594 rm -f conftest.err conftest.
$ac_ext
24595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24596 echo "${ECHO_T}$ac_header_preproc" >&6
24598 # So? What about this header?
24599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24601 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24602 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24603 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24604 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24605 ac_header_preproc
=yes
24608 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24609 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24610 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24611 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24612 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24613 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24614 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24615 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24616 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24617 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24618 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24619 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24622 ## ----------------------------------------- ##
24623 ## Report this to wx-dev@lists.wxwidgets.org ##
24624 ## ----------------------------------------- ##
24627 sed "s/^/$as_me: WARNING: /" >&2
24630 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24631 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24632 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 ac_cv_header_ext_hash_map
=$ac_header_preproc
24637 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24638 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24641 if test $ac_cv_header_ext_hash_map = yes; then
24642 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24643 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24644 cat >conftest.
$ac_ext <<_ACEOF
24647 cat confdefs.h
>>conftest.
$ac_ext
24648 cat >>conftest.
$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <ext/hash_map>
24651 #include <ext/hash_set>
24655 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24656 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24661 rm -f conftest.
$ac_objext
24662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24663 (eval $ac_compile) 2>conftest.er1
24665 grep -v '^ *+' conftest.er1
>conftest.err
24667 cat conftest.err
>&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); } &&
24670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; } &&
24676 { ac_try
='test -s conftest.$ac_objext'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; }; then
24682 echo "$as_me:$LINENO: result: yes" >&5
24683 echo "${ECHO_T}yes" >&6
24684 cat >>confdefs.h
<<\_ACEOF
24685 #define HAVE_EXT_HASH_MAP 1
24688 cat >>confdefs.h
<<\_ACEOF
24689 #define HAVE_GNU_CXX_HASH_MAP 1
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.
$ac_ext >&5
24696 echo "$as_me:$LINENO: result: no" >&5
24697 echo "${ECHO_T}no" >&6
24699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24708 /usr/local/include \
24710 /usr/Motif-2.1/include \
24711 /usr/Motif-1.2/include \
24712 /usr/include/Motif1.2 \
24715 /usr/openwin/include \
24719 /usr/X11R6/include \
24720 /usr/X11R6.4/include \
24721 /usr/X11R5/include \
24722 /usr/X11R4/include \
24724 /usr/include/X11R6 \
24725 /usr/include/X11R5 \
24726 /usr/include/X11R4 \
24728 /usr/local/X11R6/include \
24729 /usr/local/X11R5/include \
24730 /usr/local/X11R4/include \
24732 /usr/local/include/X11R6 \
24733 /usr/local/include/X11R5 \
24734 /usr/local/include/X11R4 \
24738 /usr/local/X11/include \
24739 /usr/local/include/X11 \
24741 /usr/XFree86/include/X11 \
24744 /usr/openwin/share/include"
24746 echo "$as_me:$LINENO: checking for libraries directory" >&5
24747 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24751 if test "${wx_cv_std_libpath+set}" = set; then
24752 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24756 for e
in a so sl dylib dll.a
; do
24758 if test -f $libc; then
24761 cat >conftest.
$ac_ext <<_ACEOF
24762 int main() { return 0; }
24764 rm -f conftest.
$ac_objext conftest
$ac_exeext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24766 (eval $ac_link) 2>conftest.er1
24768 grep -v '^ *+' conftest.er1
>conftest.err
24770 cat conftest.err
>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } &&
24773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try
='test -s conftest$ac_exeext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.
$ac_ext >&5
24791 rm -f conftest.err conftest.
$ac_objext \
24792 conftest
$ac_exeext conftest.
$ac_ext
24794 if test "x$wx_cv_std_libpath" != "x"; then
24800 if test "x$wx_cv_std_libpath" = "x"; then
24801 wx_cv_std_libpath
="lib"
24810 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24811 wx_cv_std_libpath
="lib/64"
24813 wx_cv_std_libpath
="lib"
24818 if test "$ac_cv_sizeof_void_p" = 8 -a \
24819 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24820 wx_cv_std_libpath
="lib64"
24822 wx_cv_std_libpath
="lib"
24827 wx_cv_std_libpath
="lib";
24831 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24832 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24834 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24836 if test "$build" != "$host" -a "$GCC" = yes; then
24837 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24838 cross_root
=`dirname $cross_root`
24839 cross_root
=`dirname $cross_root`
24841 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24842 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24843 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24845 if test -z "$PKG_CONFIG_PATH"; then
24846 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24847 export PKG_CONFIG_PATH
24850 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24853 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24855 if test -f "$ac_dir/X11/Intrinsic.h"; then
24856 ac_find_includes
=$ac_dir
24861 x_includes
=$ac_find_includes
24863 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24866 for ac_dir
in $SEARCH_LIB;
24868 for ac_extension
in a so sl dylib dll.a
; do
24869 if test -f "$ac_dir/libXt.$ac_extension"; then
24870 ac_find_libraries
=$ac_dir
24876 x_libraries
=$ac_find_libraries
24882 cat >confcache
<<\_ACEOF
24883 # This file is a shell script that caches the results of configure
24884 # tests run on this system so they can be shared between configure
24885 # scripts and configure runs, see configure's option --config-cache.
24886 # It is not useful on other systems. If it contains results you don't
24887 # want to keep, you may remove or edit it.
24889 # config.status only pays attention to the cache file if you give it
24890 # the --recheck option to rerun configure.
24892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24894 # following values.
24898 # The following way of writing the cache mishandles newlines in values,
24899 # but we know of no workaround that is simple, portable, and efficient.
24900 # So, don't put newlines in cache variables' values.
24901 # Ultrix sh set writes to stderr and can't be redirected directly,
24902 # and sets the high bit in the cache file unless we assign to the vars.
24905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24907 # `set' does not quote correctly, so add quotes (double-quote
24908 # substitution turns \\\\ into \\, and sed turns \\ into \).
24911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24914 # `set' quotes correctly as required by POSIX, so do not add quotes.
24916 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24925 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24927 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24928 if test -w $cache_file; then
24929 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24930 cat confcache
>$cache_file
24932 echo "not updating unwritable cache $cache_file"
24937 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24938 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24939 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24940 if test "${wx_cv_lib_glibc21+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 cat >conftest.
$ac_ext <<_ACEOF
24947 cat confdefs.h
>>conftest.
$ac_ext
24948 cat >>conftest.
$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 #include <features.h>
24955 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24963 rm -f conftest.
$ac_objext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24965 (eval $ac_compile) 2>conftest.er1
24967 grep -v '^ *+' conftest.er1
>conftest.err
24969 cat conftest.err
>&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974 (eval $ac_try) 2>&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); }; } &&
24978 { ac_try
='test -s conftest.$ac_objext'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; }; then
24985 wx_cv_lib_glibc21
=yes
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.
$ac_ext >&5
24992 wx_cv_lib_glibc21
=no
24996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24999 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25000 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
25001 if test "$wx_cv_lib_glibc21" = "yes"; then
25002 cat >>confdefs.h
<<\_ACEOF
25003 #define wxHAVE_GLIBC2 1
25009 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25010 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25011 cat >>confdefs.h
<<\_ACEOF
25012 #define _GNU_SOURCE 1
25023 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25024 echo "$as_me:$LINENO: checking for $ac_func" >&5
25025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25026 if eval "test \"\${$as_ac_var+set}\" = set"; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25029 cat >conftest.
$ac_ext <<_ACEOF
25032 cat confdefs.h
>>conftest.
$ac_ext
25033 cat >>conftest.
$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25037 #define $ac_func innocuous_$ac_func
25039 /* System header to define __stub macros and hopefully few prototypes,
25040 which can conflict with char $ac_func (); below.
25041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25042 <limits.h> exists even on freestanding compilers. */
25045 # include <limits.h>
25047 # include <assert.h>
25052 /* Override any gcc2 internal prototype to avoid an error. */
25057 /* We use char because int might match the return type of a gcc2
25058 builtin and then its argument prototype would still apply. */
25060 /* The GNU C library defines this for functions which it implements
25061 to always fail with ENOSYS. Some functions are actually named
25062 something starting with __ and the normal name is an alias. */
25063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25066 char (*f) () = $ac_func;
25075 return f != $ac_func;
25080 rm -f conftest.
$ac_objext conftest
$ac_exeext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25082 (eval $ac_link) 2>conftest.er1
25084 grep -v '^ *+' conftest.er1
>conftest.err
25086 cat conftest.err
>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try
='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 eval "$as_ac_var=yes"
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.
$ac_ext >&5
25106 eval "$as_ac_var=no"
25108 rm -f conftest.err conftest.
$ac_objext \
25109 conftest
$ac_exeext conftest.
$ac_ext
25111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25113 if test `eval echo '${'$as_ac_var'}'` = yes; then
25114 cat >>confdefs.h
<<_ACEOF
25115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25122 for ac_func
in floor
25124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25125 echo "$as_me:$LINENO: checking for $ac_func" >&5
25126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25127 if eval "test \"\${$as_ac_var+set}\" = set"; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 cat >conftest.
$ac_ext <<_ACEOF
25133 cat confdefs.h
>>conftest.
$ac_ext
25134 cat >>conftest.
$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25138 #define $ac_func innocuous_$ac_func
25140 /* System header to define __stub macros and hopefully few prototypes,
25141 which can conflict with char $ac_func (); below.
25142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25143 <limits.h> exists even on freestanding compilers. */
25146 # include <limits.h>
25148 # include <assert.h>
25153 /* Override any gcc2 internal prototype to avoid an error. */
25158 /* We use char because int might match the return type of a gcc2
25159 builtin and then its argument prototype would still apply. */
25161 /* The GNU C library defines this for functions which it implements
25162 to always fail with ENOSYS. Some functions are actually named
25163 something starting with __ and the normal name is an alias. */
25164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25167 char (*f) () = $ac_func;
25176 return f != $ac_func;
25181 rm -f conftest.
$ac_objext conftest
$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25185 grep -v '^ *+' conftest.er1
>conftest.err
25187 cat conftest.err
>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try
='test -s conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 eval "$as_ac_var=yes"
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.
$ac_ext >&5
25207 eval "$as_ac_var=no"
25209 rm -f conftest.err conftest.
$ac_objext \
25210 conftest
$ac_exeext conftest.
$ac_ext
25212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25214 if test `eval echo '${'$as_ac_var'}'` = yes; then
25215 cat >>confdefs.h
<<_ACEOF
25216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25222 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25223 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25224 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25225 echo "$as_me:$LINENO: result: yes" >&5
25226 echo "${ECHO_T}yes" >&6
25228 echo "$as_me:$LINENO: result: no" >&5
25229 echo "${ECHO_T}no" >&6
25231 # use different functions to avoid configure caching
25237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25238 echo "$as_me:$LINENO: checking for $ac_func" >&5
25239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25240 if eval "test \"\${$as_ac_var+set}\" = set"; then
25241 echo $ECHO_N "(cached) $ECHO_C" >&6
25243 cat >conftest.
$ac_ext <<_ACEOF
25246 cat confdefs.h
>>conftest.
$ac_ext
25247 cat >>conftest.
$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25251 #define $ac_func innocuous_$ac_func
25253 /* System header to define __stub macros and hopefully few prototypes,
25254 which can conflict with char $ac_func (); below.
25255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25256 <limits.h> exists even on freestanding compilers. */
25259 # include <limits.h>
25261 # include <assert.h>
25266 /* Override any gcc2 internal prototype to avoid an error. */
25271 /* We use char because int might match the return type of a gcc2
25272 builtin and then its argument prototype would still apply. */
25274 /* The GNU C library defines this for functions which it implements
25275 to always fail with ENOSYS. Some functions are actually named
25276 something starting with __ and the normal name is an alias. */
25277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25280 char (*f) () = $ac_func;
25289 return f != $ac_func;
25294 rm -f conftest.
$ac_objext conftest
$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25298 grep -v '^ *+' conftest.er1
>conftest.err
25300 cat conftest.err
>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; } &&
25309 { ac_try
='test -s conftest$ac_exeext'
25310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311 (eval $ac_try) 2>&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 eval "$as_ac_var=yes"
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.
$ac_ext >&5
25320 eval "$as_ac_var=no"
25322 rm -f conftest.err conftest.
$ac_objext \
25323 conftest
$ac_exeext conftest.
$ac_ext
25325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25327 if test `eval echo '${'$as_ac_var'}'` = yes; then
25328 cat >>confdefs.h
<<_ACEOF
25329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25336 for ac_func
in ceil
25338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25339 echo "$as_me:$LINENO: checking for $ac_func" >&5
25340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25341 if eval "test \"\${$as_ac_var+set}\" = set"; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 cat >conftest.
$ac_ext <<_ACEOF
25347 cat confdefs.h
>>conftest.
$ac_ext
25348 cat >>conftest.
$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25352 #define $ac_func innocuous_$ac_func
25354 /* System header to define __stub macros and hopefully few prototypes,
25355 which can conflict with char $ac_func (); below.
25356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25357 <limits.h> exists even on freestanding compilers. */
25360 # include <limits.h>
25362 # include <assert.h>
25367 /* Override any gcc2 internal prototype to avoid an error. */
25372 /* We use char because int might match the return type of a gcc2
25373 builtin and then its argument prototype would still apply. */
25375 /* The GNU C library defines this for functions which it implements
25376 to always fail with ENOSYS. Some functions are actually named
25377 something starting with __ and the normal name is an alias. */
25378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25381 char (*f) () = $ac_func;
25390 return f != $ac_func;
25395 rm -f conftest.
$ac_objext conftest
$ac_exeext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25397 (eval $ac_link) 2>conftest.er1
25399 grep -v '^ *+' conftest.er1
>conftest.err
25401 cat conftest.err
>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try
='test -s conftest$ac_exeext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25416 eval "$as_ac_var=yes"
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.
$ac_ext >&5
25421 eval "$as_ac_var=no"
25423 rm -f conftest.err conftest.
$ac_objext \
25424 conftest
$ac_exeext conftest.
$ac_ext
25426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25428 if test `eval echo '${'$as_ac_var'}'` = yes; then
25429 cat >>confdefs.h
<<_ACEOF
25430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25436 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25437 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25438 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25439 echo "$as_me:$LINENO: result: yes" >&5
25440 echo "${ECHO_T}yes" >&6
25442 echo "$as_me:$LINENO: result: no" >&5
25443 echo "${ECHO_T}no" >&6
25444 # not sure we should warn the user, crash, etc.
25448 if test "wxUSE_UNICODE" = "yes"; then
25450 for ac_func
in wcstoull
25452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25453 echo "$as_me:$LINENO: checking for $ac_func" >&5
25454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25455 if eval "test \"\${$as_ac_var+set}\" = set"; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 cat >conftest.
$ac_ext <<_ACEOF
25461 cat confdefs.h
>>conftest.
$ac_ext
25462 cat >>conftest.
$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25466 #define $ac_func innocuous_$ac_func
25468 /* System header to define __stub macros and hopefully few prototypes,
25469 which can conflict with char $ac_func (); below.
25470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25471 <limits.h> exists even on freestanding compilers. */
25474 # include <limits.h>
25476 # include <assert.h>
25481 /* Override any gcc2 internal prototype to avoid an error. */
25486 /* We use char because int might match the return type of a gcc2
25487 builtin and then its argument prototype would still apply. */
25489 /* The GNU C library defines this for functions which it implements
25490 to always fail with ENOSYS. Some functions are actually named
25491 something starting with __ and the normal name is an alias. */
25492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25495 char (*f) () = $ac_func;
25504 return f != $ac_func;
25509 rm -f conftest.
$ac_objext conftest
$ac_exeext
25510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25511 (eval $ac_link) 2>conftest.er1
25513 grep -v '^ *+' conftest.er1
>conftest.err
25515 cat conftest.err
>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; } &&
25524 { ac_try
='test -s conftest$ac_exeext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 eval "$as_ac_var=yes"
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.
$ac_ext >&5
25535 eval "$as_ac_var=no"
25537 rm -f conftest.err conftest.
$ac_objext \
25538 conftest
$ac_exeext conftest.
$ac_ext
25540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25542 if test `eval echo '${'$as_ac_var'}'` = yes; then
25543 cat >>confdefs.h
<<_ACEOF
25544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25552 for ac_func
in strtoull
25554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25555 echo "$as_me:$LINENO: checking for $ac_func" >&5
25556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25557 if eval "test \"\${$as_ac_var+set}\" = set"; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 cat >conftest.
$ac_ext <<_ACEOF
25563 cat confdefs.h
>>conftest.
$ac_ext
25564 cat >>conftest.
$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25568 #define $ac_func innocuous_$ac_func
25570 /* System header to define __stub macros and hopefully few prototypes,
25571 which can conflict with char $ac_func (); below.
25572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25573 <limits.h> exists even on freestanding compilers. */
25576 # include <limits.h>
25578 # include <assert.h>
25583 /* Override any gcc2 internal prototype to avoid an error. */
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25591 /* The GNU C library defines this for functions which it implements
25592 to always fail with ENOSYS. Some functions are actually named
25593 something starting with __ and the normal name is an alias. */
25594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25597 char (*f) () = $ac_func;
25606 return f != $ac_func;
25611 rm -f conftest.
$ac_objext conftest
$ac_exeext
25612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25613 (eval $ac_link) 2>conftest.er1
25615 grep -v '^ *+' conftest.er1
>conftest.err
25617 cat conftest.err
>&5
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; } &&
25626 { ac_try
='test -s conftest$ac_exeext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 eval "$as_ac_var=yes"
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.
$ac_ext >&5
25637 eval "$as_ac_var=no"
25639 rm -f conftest.err conftest.
$ac_objext \
25640 conftest
$ac_exeext conftest.
$ac_ext
25642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25644 if test `eval echo '${'$as_ac_var'}'` = yes; then
25645 cat >>confdefs.h
<<_ACEOF
25646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25656 if test "$wxUSE_REGEX" != "no"; then
25657 cat >>confdefs.h
<<\_ACEOF
25658 #define wxUSE_REGEX 1
25662 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25663 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25664 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25665 wxUSE_REGEX
=builtin
25668 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25669 if test "${ac_cv_header_regex_h+set}" = set; then
25670 echo "$as_me:$LINENO: checking for regex.h" >&5
25671 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25672 if test "${ac_cv_header_regex_h+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25676 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25678 # Is the header compilable?
25679 echo "$as_me:$LINENO: checking regex.h usability" >&5
25680 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25681 cat >conftest.
$ac_ext <<_ACEOF
25684 cat confdefs.h
>>conftest.
$ac_ext
25685 cat >>conftest.
$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25687 $ac_includes_default
25690 rm -f conftest.
$ac_objext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25692 (eval $ac_compile) 2>conftest.er1
25694 grep -v '^ *+' conftest.er1
>conftest.err
25696 cat conftest.err
>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try
='test -s conftest.$ac_objext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 ac_header_compiler
=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.
$ac_ext >&5
25716 ac_header_compiler
=no
25718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25720 echo "${ECHO_T}$ac_header_compiler" >&6
25722 # Is the header present?
25723 echo "$as_me:$LINENO: checking regex.h presence" >&5
25724 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25725 cat >conftest.
$ac_ext <<_ACEOF
25728 cat confdefs.h
>>conftest.
$ac_ext
25729 cat >>conftest.
$ac_ext <<_ACEOF
25730 /* end confdefs.h. */
25733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25736 grep -v '^ *+' conftest.er1
>conftest.err
25738 cat conftest.err
>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); } >/dev
/null
; then
25741 if test -s conftest.err
; then
25742 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25743 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25750 if test -z "$ac_cpp_err"; then
25751 ac_header_preproc
=yes
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.
$ac_ext >&5
25756 ac_header_preproc
=no
25758 rm -f conftest.err conftest.
$ac_ext
25759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25760 echo "${ECHO_T}$ac_header_preproc" >&6
25762 # So? What about this header?
25763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25765 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25766 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25767 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25768 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25769 ac_header_preproc
=yes
25772 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25773 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25774 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25775 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25776 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25777 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25778 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25779 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25780 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25781 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25782 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25783 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25786 ## ----------------------------------------- ##
25787 ## Report this to wx-dev@lists.wxwidgets.org ##
25788 ## ----------------------------------------- ##
25791 sed "s/^/$as_me: WARNING: /" >&2
25794 echo "$as_me:$LINENO: checking for regex.h" >&5
25795 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25796 if test "${ac_cv_header_regex_h+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 ac_cv_header_regex_h
=$ac_header_preproc
25801 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25802 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25805 if test $ac_cv_header_regex_h = yes; then
25808 for ac_func
in regcomp re_search
25810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25811 echo "$as_me:$LINENO: checking for $ac_func" >&5
25812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25813 if eval "test \"\${$as_ac_var+set}\" = set"; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25816 cat >conftest.
$ac_ext <<_ACEOF
25819 cat confdefs.h
>>conftest.
$ac_ext
25820 cat >>conftest.
$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25824 #define $ac_func innocuous_$ac_func
25826 /* System header to define __stub macros and hopefully few prototypes,
25827 which can conflict with char $ac_func (); below.
25828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25829 <limits.h> exists even on freestanding compilers. */
25832 # include <limits.h>
25834 # include <assert.h>
25839 /* Override any gcc2 internal prototype to avoid an error. */
25844 /* We use char because int might match the return type of a gcc2
25845 builtin and then its argument prototype would still apply. */
25847 /* The GNU C library defines this for functions which it implements
25848 to always fail with ENOSYS. Some functions are actually named
25849 something starting with __ and the normal name is an alias. */
25850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25853 char (*f) () = $ac_func;
25862 return f != $ac_func;
25867 rm -f conftest.
$ac_objext conftest
$ac_exeext
25868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25869 (eval $ac_link) 2>conftest.er1
25871 grep -v '^ *+' conftest.er1
>conftest.err
25873 cat conftest.err
>&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } &&
25876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try
='test -s conftest$ac_exeext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25888 eval "$as_ac_var=yes"
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.
$ac_ext >&5
25893 eval "$as_ac_var=no"
25895 rm -f conftest.err conftest.
$ac_objext \
25896 conftest
$ac_exeext conftest.
$ac_ext
25898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25900 if test `eval echo '${'$as_ac_var'}'` = yes; then
25901 cat >>confdefs.h
<<_ACEOF
25902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25912 if test "x$ac_cv_func_regcomp" != "xyes"; then
25913 if test "$wxUSE_REGEX" = "sys" ; then
25914 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25915 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25916 { (exit 1); exit 1; }; }
25918 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25919 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25920 wxUSE_REGEX
=builtin
25924 cat >>confdefs.h
<<\_ACEOF
25925 #define WX_NO_REGEX_ADVANCED 1
25934 if test "$wxUSE_ZLIB" != "no" ; then
25935 cat >>confdefs.h
<<\_ACEOF
25936 #define wxUSE_ZLIB 1
25940 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25941 if test "$USE_DARWIN" = 1; then
25942 system_zlib_h_ok
="yes"
25944 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25945 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25946 if test "${ac_cv_header_zlib_h+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 if test "$cross_compiling" = yes; then
25950 unset ac_cv_header_zlib_h
25953 cat >conftest.
$ac_ext <<_ACEOF
25956 cat confdefs.h
>>conftest.
$ac_ext
25957 cat >>conftest.
$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25965 FILE *f=fopen("conftestval", "w");
25968 ZLIB_VERSION[0] == '1' &&
25969 (ZLIB_VERSION[2] > '1' ||
25970 (ZLIB_VERSION[2] == '1' &&
25971 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25976 rm -f conftest
$ac_exeext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25978 (eval $ac_link) 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_cv_header_zlib_h
=`cat conftestval`
25989 echo "$as_me: program exited with status $ac_status" >&5
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.
$ac_ext >&5
25993 ( exit $ac_status )
25994 ac_cv_header_zlib_h
=no
25996 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26002 if test "${ac_cv_header_zlib_h+set}" = set; then
26003 echo "$as_me:$LINENO: checking for zlib.h" >&5
26004 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26005 if test "${ac_cv_header_zlib_h+set}" = set; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26008 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26009 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26011 # Is the header compilable?
26012 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26013 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26014 cat >conftest.
$ac_ext <<_ACEOF
26017 cat confdefs.h
>>conftest.
$ac_ext
26018 cat >>conftest.
$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 $ac_includes_default
26023 rm -f conftest.
$ac_objext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26025 (eval $ac_compile) 2>conftest.er1
26027 grep -v '^ *+' conftest.er1
>conftest.err
26029 cat conftest.err
>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try
='test -s conftest.$ac_objext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 ac_header_compiler
=yes
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.
$ac_ext >&5
26049 ac_header_compiler
=no
26051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26053 echo "${ECHO_T}$ac_header_compiler" >&6
26055 # Is the header present?
26056 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26057 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26058 cat >conftest.
$ac_ext <<_ACEOF
26061 cat confdefs.h
>>conftest.
$ac_ext
26062 cat >>conftest.
$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26069 grep -v '^ *+' conftest.er1
>conftest.err
26071 cat conftest.err
>&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } >/dev
/null
; then
26074 if test -s conftest.err
; then
26075 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26076 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26083 if test -z "$ac_cpp_err"; then
26084 ac_header_preproc
=yes
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.
$ac_ext >&5
26089 ac_header_preproc
=no
26091 rm -f conftest.err conftest.
$ac_ext
26092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26093 echo "${ECHO_T}$ac_header_preproc" >&6
26095 # So? What about this header?
26096 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26098 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26099 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26100 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26101 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26102 ac_header_preproc
=yes
26105 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26106 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26107 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26108 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26109 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26110 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26111 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26112 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26113 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26114 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26115 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26116 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26119 ## ----------------------------------------- ##
26120 ## Report this to wx-dev@lists.wxwidgets.org ##
26121 ## ----------------------------------------- ##
26124 sed "s/^/$as_me: WARNING: /" >&2
26127 echo "$as_me:$LINENO: checking for zlib.h" >&5
26128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 ac_cv_header_zlib_h
=$ac_header_preproc
26134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26141 system_zlib_h_ok
=$ac_cv_header_zlib_h
26144 if test "$system_zlib_h_ok" = "yes"; then
26145 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26146 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26147 if test "${ac_cv_lib_z_deflate+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 ac_check_lib_save_LIBS
=$LIBS
26152 cat >conftest.
$ac_ext <<_ACEOF
26155 cat confdefs.h
>>conftest.
$ac_ext
26156 cat >>conftest.
$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26159 /* Override any gcc2 internal prototype to avoid an error. */
26163 /* We use char because int might match the return type of a gcc2
26164 builtin and then its argument prototype would still apply. */
26174 rm -f conftest.
$ac_objext conftest
$ac_exeext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26176 (eval $ac_link) 2>conftest.er1
26178 grep -v '^ *+' conftest.er1
>conftest.err
26180 cat conftest.err
>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; } &&
26189 { ac_try
='test -s conftest$ac_exeext'
26190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 (eval $ac_try) 2>&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); }; }; then
26195 ac_cv_lib_z_deflate
=yes
26197 echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.
$ac_ext >&5
26200 ac_cv_lib_z_deflate
=no
26202 rm -f conftest.err conftest.
$ac_objext \
26203 conftest
$ac_exeext conftest.
$ac_ext
26204 LIBS
=$ac_check_lib_save_LIBS
26206 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26207 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26208 if test $ac_cv_lib_z_deflate = yes; then
26214 if test "x$ZLIB_LINK" = "x" ; then
26215 if test "$wxUSE_ZLIB" = "sys" ; then
26216 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26217 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26218 { (exit 1); exit 1; }; }
26220 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26221 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26232 if test "$wxUSE_LIBPNG" != "no" ; then
26233 cat >>confdefs.h
<<\_ACEOF
26234 #define wxUSE_LIBPNG 1
26238 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26239 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26240 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26244 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26245 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26246 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26247 wxUSE_LIBPNG
=builtin
26250 if test "$wxUSE_MGL" != 1 ; then
26251 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26252 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26253 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26254 if test "${ac_cv_header_png_h+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 if test "$cross_compiling" = yes; then
26258 unset ac_cv_header_png_h
26261 cat >conftest.
$ac_ext <<_ACEOF
26264 cat confdefs.h
>>conftest.
$ac_ext
26265 cat >>conftest.
$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26273 FILE *f=fopen("conftestval", "w");
26276 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26281 rm -f conftest
$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 ac_cv_header_png_h
=`cat conftestval`
26294 echo "$as_me: program exited with status $ac_status" >&5
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.
$ac_ext >&5
26298 ( exit $ac_status )
26299 ac_cv_header_png_h
=no
26301 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26305 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26306 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26307 if test "${ac_cv_header_png_h+set}" = set; then
26308 echo "$as_me:$LINENO: checking for png.h" >&5
26309 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26310 if test "${ac_cv_header_png_h+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26314 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26316 # Is the header compilable?
26317 echo "$as_me:$LINENO: checking png.h usability" >&5
26318 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26319 cat >conftest.
$ac_ext <<_ACEOF
26322 cat confdefs.h
>>conftest.
$ac_ext
26323 cat >>conftest.
$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26325 $ac_includes_default
26328 rm -f conftest.
$ac_objext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26330 (eval $ac_compile) 2>conftest.er1
26332 grep -v '^ *+' conftest.er1
>conftest.err
26334 cat conftest.err
>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; } &&
26343 { ac_try
='test -s conftest.$ac_objext'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; }; then
26349 ac_header_compiler
=yes
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.
$ac_ext >&5
26354 ac_header_compiler
=no
26356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26358 echo "${ECHO_T}$ac_header_compiler" >&6
26360 # Is the header present?
26361 echo "$as_me:$LINENO: checking png.h presence" >&5
26362 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26363 cat >conftest.
$ac_ext <<_ACEOF
26366 cat confdefs.h
>>conftest.
$ac_ext
26367 cat >>conftest.
$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26374 grep -v '^ *+' conftest.er1
>conftest.err
26376 cat conftest.err
>&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } >/dev
/null
; then
26379 if test -s conftest.err
; then
26380 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26381 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26388 if test -z "$ac_cpp_err"; then
26389 ac_header_preproc
=yes
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.
$ac_ext >&5
26394 ac_header_preproc
=no
26396 rm -f conftest.err conftest.
$ac_ext
26397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26398 echo "${ECHO_T}$ac_header_preproc" >&6
26400 # So? What about this header?
26401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26403 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26404 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26405 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26406 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26407 ac_header_preproc
=yes
26410 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26411 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26412 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26413 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26415 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26416 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26417 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26419 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26420 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26421 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26424 ## ----------------------------------------- ##
26425 ## Report this to wx-dev@lists.wxwidgets.org ##
26426 ## ----------------------------------------- ##
26429 sed "s/^/$as_me: WARNING: /" >&2
26432 echo "$as_me:$LINENO: checking for png.h" >&5
26433 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26434 if test "${ac_cv_header_png_h+set}" = set; then
26435 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 ac_cv_header_png_h
=$ac_header_preproc
26439 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26446 if test "$ac_cv_header_png_h" = "yes"; then
26447 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26448 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26449 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 ac_check_lib_save_LIBS
=$LIBS
26453 LIBS
="-lpng -lz -lm $LIBS"
26454 cat >conftest.
$ac_ext <<_ACEOF
26457 cat confdefs.h
>>conftest.
$ac_ext
26458 cat >>conftest.
$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26461 /* Override any gcc2 internal prototype to avoid an error. */
26465 /* We use char because int might match the return type of a gcc2
26466 builtin and then its argument prototype would still apply. */
26467 char png_check_sig ();
26476 rm -f conftest.
$ac_objext conftest
$ac_exeext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26478 (eval $ac_link) 2>conftest.er1
26480 grep -v '^ *+' conftest.er1
>conftest.err
26482 cat conftest.err
>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try
='test -s conftest$ac_exeext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 ac_cv_lib_png_png_check_sig
=yes
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.
$ac_ext >&5
26502 ac_cv_lib_png_png_check_sig
=no
26504 rm -f conftest.err conftest.
$ac_objext \
26505 conftest
$ac_exeext conftest.
$ac_ext
26506 LIBS
=$ac_check_lib_save_LIBS
26508 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26509 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26510 if test $ac_cv_lib_png_png_check_sig = yes; then
26511 PNG_LINK
=" -lpng -lz"
26516 if test "x$PNG_LINK" = "x" ; then
26517 if test "$wxUSE_LIBPNG" = "sys" ; then
26518 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26519 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26520 { (exit 1); exit 1; }; }
26522 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26523 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26524 wxUSE_LIBPNG
=builtin
26532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26537 if test "$wxUSE_LIBJPEG" != "no" ; then
26538 cat >>confdefs.h
<<\_ACEOF
26539 #define wxUSE_LIBJPEG 1
26543 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26544 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26545 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26549 if test "$wxUSE_MGL" != 1 ; then
26550 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26551 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26552 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26553 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 cat >conftest.
$ac_ext <<_ACEOF
26559 cat confdefs.h
>>conftest.
$ac_ext
26560 cat >>conftest.
$ac_ext <<_ACEOF
26561 /* end confdefs.h. */
26563 #undef HAVE_STDLIB_H
26565 #include <jpeglib.h>
26576 rm -f conftest.
$ac_objext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26578 (eval $ac_compile) 2>conftest.er1
26580 grep -v '^ *+' conftest.er1
>conftest.err
26582 cat conftest.err
>&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; } &&
26591 { ac_try
='test -s conftest.$ac_objext'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; }; then
26597 ac_cv_header_jpeglib_h
=yes
26599 echo "$as_me: failed program was:" >&5
26600 sed 's/^/| /' conftest.
$ac_ext >&5
26602 ac_cv_header_jpeglib_h
=no
26605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26609 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26610 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26612 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26613 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26614 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26615 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26618 ac_check_lib_save_LIBS
=$LIBS
26619 LIBS
="-ljpeg $LIBS"
26620 cat >conftest.
$ac_ext <<_ACEOF
26623 cat confdefs.h
>>conftest.
$ac_ext
26624 cat >>conftest.
$ac_ext <<_ACEOF
26625 /* end confdefs.h. */
26627 /* Override any gcc2 internal prototype to avoid an error. */
26631 /* We use char because int might match the return type of a gcc2
26632 builtin and then its argument prototype would still apply. */
26633 char jpeg_read_header ();
26637 jpeg_read_header ();
26642 rm -f conftest.
$ac_objext conftest
$ac_exeext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26644 (eval $ac_link) 2>conftest.er1
26646 grep -v '^ *+' conftest.er1
>conftest.err
26648 cat conftest.err
>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try
='test -s conftest$ac_exeext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_cv_lib_jpeg_jpeg_read_header
=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 ac_cv_lib_jpeg_jpeg_read_header
=no
26670 rm -f conftest.err conftest.
$ac_objext \
26671 conftest
$ac_exeext conftest.
$ac_ext
26672 LIBS
=$ac_check_lib_save_LIBS
26674 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26675 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26676 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26677 JPEG_LINK
=" -ljpeg"
26682 if test "x$JPEG_LINK" = "x" ; then
26683 if test "$wxUSE_LIBJPEG" = "sys" ; then
26684 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26685 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26686 { (exit 1); exit 1; }; }
26688 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26689 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26690 wxUSE_LIBJPEG
=builtin
26701 TIFF_PREREQ_LINKS
=-lm
26702 if test "$wxUSE_LIBTIFF" != "no" ; then
26703 cat >>confdefs.h
<<\_ACEOF
26704 #define wxUSE_LIBTIFF 1
26708 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26709 if test "$wxUSE_LIBJPEG" = "sys"; then
26710 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26712 if test "$wxUSE_ZLIB" = "sys"; then
26713 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26715 if test "${ac_cv_header_tiffio_h+set}" = set; then
26716 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26717 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26718 if test "${ac_cv_header_tiffio_h+set}" = set; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26721 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26722 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26724 # Is the header compilable?
26725 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26726 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26727 cat >conftest.
$ac_ext <<_ACEOF
26730 cat confdefs.h
>>conftest.
$ac_ext
26731 cat >>conftest.
$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733 $ac_includes_default
26734 #include <tiffio.h>
26736 rm -f conftest.
$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26740 grep -v '^ *+' conftest.er1
>conftest.err
26742 cat conftest.err
>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try
='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_header_compiler
=yes
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.
$ac_ext >&5
26762 ac_header_compiler
=no
26764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26766 echo "${ECHO_T}$ac_header_compiler" >&6
26768 # Is the header present?
26769 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26770 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26771 cat >conftest.
$ac_ext <<_ACEOF
26774 cat confdefs.h
>>conftest.
$ac_ext
26775 cat >>conftest.
$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26777 #include <tiffio.h>
26779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26782 grep -v '^ *+' conftest.er1
>conftest.err
26784 cat conftest.err
>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } >/dev
/null
; then
26787 if test -s conftest.err
; then
26788 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26789 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26796 if test -z "$ac_cpp_err"; then
26797 ac_header_preproc
=yes
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26802 ac_header_preproc
=no
26804 rm -f conftest.err conftest.
$ac_ext
26805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26806 echo "${ECHO_T}$ac_header_preproc" >&6
26808 # So? What about this header?
26809 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26811 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26812 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26813 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26814 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26815 ac_header_preproc
=yes
26818 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26819 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26821 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26822 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26823 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26824 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26825 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26826 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26827 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26828 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26829 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26832 ## ----------------------------------------- ##
26833 ## Report this to wx-dev@lists.wxwidgets.org ##
26834 ## ----------------------------------------- ##
26837 sed "s/^/$as_me: WARNING: /" >&2
26840 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26841 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26842 if test "${ac_cv_header_tiffio_h+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 ac_cv_header_tiffio_h
=$ac_header_preproc
26847 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26851 if test $ac_cv_header_tiffio_h = yes; then
26853 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26854 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26855 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 ac_check_lib_save_LIBS
=$LIBS
26859 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26860 cat >conftest.
$ac_ext <<_ACEOF
26863 cat confdefs.h
>>conftest.
$ac_ext
26864 cat >>conftest.
$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26867 /* Override any gcc2 internal prototype to avoid an error. */
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26882 rm -f conftest.
$ac_objext conftest
$ac_exeext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26884 (eval $ac_link) 2>conftest.er1
26886 grep -v '^ *+' conftest.er1
>conftest.err
26888 cat conftest.err
>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; } &&
26897 { ac_try
='test -s conftest$ac_exeext'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; }; then
26903 ac_cv_lib_tiff_TIFFError
=yes
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.
$ac_ext >&5
26908 ac_cv_lib_tiff_TIFFError
=no
26910 rm -f conftest.err conftest.
$ac_objext \
26911 conftest
$ac_exeext conftest.
$ac_ext
26912 LIBS
=$ac_check_lib_save_LIBS
26914 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26915 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26916 if test $ac_cv_lib_tiff_TIFFError = yes; then
26917 TIFF_LINK
=" -ltiff"
26926 if test "x$TIFF_LINK" = "x" ; then
26927 if test "$wxUSE_LIBTIFF" = "sys" ; then
26928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26929 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26930 { (exit 1); exit 1; }; }
26932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26933 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26934 wxUSE_LIBTIFF
=builtin
26943 if test "$wxUSE_WCHAR_T" != "yes"; then
26944 if test "$wxUSE_EXPAT" != "no"; then
26945 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26946 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26949 if test "$wxUSE_XML" != "no"; then
26950 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26951 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26956 if test "$wxUSE_EXPAT" != "no"; then
26958 cat >>confdefs.h
<<\_ACEOF
26959 #define wxUSE_EXPAT 1
26962 cat >>confdefs.h
<<\_ACEOF
26963 #define wxUSE_XML 1
26967 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26968 if test "${ac_cv_header_expat_h+set}" = set; then
26969 echo "$as_me:$LINENO: checking for expat.h" >&5
26970 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26971 if test "${ac_cv_header_expat_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26975 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26977 # Is the header compilable?
26978 echo "$as_me:$LINENO: checking expat.h usability" >&5
26979 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26980 cat >conftest.
$ac_ext <<_ACEOF
26983 cat confdefs.h
>>conftest.
$ac_ext
26984 cat >>conftest.
$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 $ac_includes_default
26989 rm -f conftest.
$ac_objext
26990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26991 (eval $ac_compile) 2>conftest.er1
26993 grep -v '^ *+' conftest.er1
>conftest.err
26995 cat conftest.err
>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try
='test -s conftest.$ac_objext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_header_compiler
=yes
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.
$ac_ext >&5
27015 ac_header_compiler
=no
27017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27019 echo "${ECHO_T}$ac_header_compiler" >&6
27021 # Is the header present?
27022 echo "$as_me:$LINENO: checking expat.h presence" >&5
27023 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27024 cat >conftest.
$ac_ext <<_ACEOF
27027 cat confdefs.h
>>conftest.
$ac_ext
27028 cat >>conftest.
$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27035 grep -v '^ *+' conftest.er1
>conftest.err
27037 cat conftest.err
>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } >/dev
/null
; then
27040 if test -s conftest.err
; then
27041 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27042 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27049 if test -z "$ac_cpp_err"; then
27050 ac_header_preproc
=yes
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.
$ac_ext >&5
27055 ac_header_preproc
=no
27057 rm -f conftest.err conftest.
$ac_ext
27058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27059 echo "${ECHO_T}$ac_header_preproc" >&6
27061 # So? What about this header?
27062 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27064 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27065 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27066 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27067 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27068 ac_header_preproc
=yes
27071 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27072 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27073 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27074 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27075 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27076 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27078 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27079 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27080 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27081 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27082 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27085 ## ----------------------------------------- ##
27086 ## Report this to wx-dev@lists.wxwidgets.org ##
27087 ## ----------------------------------------- ##
27090 sed "s/^/$as_me: WARNING: /" >&2
27093 echo "$as_me:$LINENO: checking for expat.h" >&5
27094 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27095 if test "${ac_cv_header_expat_h+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 ac_cv_header_expat_h
=$ac_header_preproc
27100 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27101 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27104 if test $ac_cv_header_expat_h = yes; then
27109 if test "x$found_expat_h" = "x1"; then
27110 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27111 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27112 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27116 cat >conftest.
$ac_ext <<_ACEOF
27119 cat confdefs.h
>>conftest.
$ac_ext
27120 cat >>conftest.
$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27131 rm -f conftest.
$ac_objext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27133 (eval $ac_compile) 2>conftest.er1
27135 grep -v '^ *+' conftest.er1
>conftest.err
27137 cat conftest.err
>&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try
='test -s conftest.$ac_objext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 wx_cv_expat_is_not_broken
=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.
$ac_ext >&5
27157 wx_cv_expat_is_not_broken
=no
27160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27164 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27165 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27166 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27167 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27168 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27169 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 ac_check_lib_save_LIBS
=$LIBS
27173 LIBS
="-lexpat $LIBS"
27174 cat >conftest.
$ac_ext <<_ACEOF
27177 cat confdefs.h
>>conftest.
$ac_ext
27178 cat >>conftest.
$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27181 /* Override any gcc2 internal prototype to avoid an error. */
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char XML_ParserCreate ();
27191 XML_ParserCreate ();
27196 rm -f conftest.
$ac_objext conftest
$ac_exeext
27197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27198 (eval $ac_link) 2>conftest.er1
27200 grep -v '^ *+' conftest.er1
>conftest.err
27202 cat conftest.err
>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try
='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_expat_XML_ParserCreate
=yes
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.
$ac_ext >&5
27222 ac_cv_lib_expat_XML_ParserCreate
=no
27224 rm -f conftest.err conftest.
$ac_objext \
27225 conftest
$ac_exeext conftest.
$ac_ext
27226 LIBS
=$ac_check_lib_save_LIBS
27228 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27229 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27230 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27231 EXPAT_LINK
=" -lexpat"
27236 if test "x$EXPAT_LINK" = "x" ; then
27237 if test "$wxUSE_EXPAT" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27239 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27242 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27244 wxUSE_EXPAT
=builtin
27250 if test "$wxUSE_EXPAT" = "builtin" ; then
27253 subdirs
="$subdirs src/expat"
27260 if test "$wxUSE_LIBMSPACK" != "no"; then
27261 if test "${ac_cv_header_mspack_h+set}" = set; then
27262 echo "$as_me:$LINENO: checking for mspack.h" >&5
27263 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27264 if test "${ac_cv_header_mspack_h+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27270 # Is the header compilable?
27271 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27272 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27273 cat >conftest.
$ac_ext <<_ACEOF
27276 cat confdefs.h
>>conftest.
$ac_ext
27277 cat >>conftest.
$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279 $ac_includes_default
27280 #include <mspack.h>
27282 rm -f conftest.
$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try
='test -s conftest.$ac_objext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 ac_header_compiler
=yes
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.
$ac_ext >&5
27308 ac_header_compiler
=no
27310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27312 echo "${ECHO_T}$ac_header_compiler" >&6
27314 # Is the header present?
27315 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27316 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27317 cat >conftest.
$ac_ext <<_ACEOF
27320 cat confdefs.h
>>conftest.
$ac_ext
27321 cat >>conftest.
$ac_ext <<_ACEOF
27322 /* end confdefs.h. */
27323 #include <mspack.h>
27325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27326 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27328 grep -v '^ *+' conftest.er1
>conftest.err
27330 cat conftest.err
>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } >/dev
/null
; then
27333 if test -s conftest.err
; then
27334 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27335 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27342 if test -z "$ac_cpp_err"; then
27343 ac_header_preproc
=yes
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.
$ac_ext >&5
27348 ac_header_preproc
=no
27350 rm -f conftest.err conftest.
$ac_ext
27351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27352 echo "${ECHO_T}$ac_header_preproc" >&6
27354 # So? What about this header?
27355 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27357 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27358 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27359 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27360 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27361 ac_header_preproc
=yes
27364 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27365 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27366 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27367 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27369 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27371 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27373 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27375 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27378 ## ----------------------------------------- ##
27379 ## Report this to wx-dev@lists.wxwidgets.org ##
27380 ## ----------------------------------------- ##
27383 sed "s/^/$as_me: WARNING: /" >&2
27386 echo "$as_me:$LINENO: checking for mspack.h" >&5
27387 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27388 if test "${ac_cv_header_mspack_h+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 ac_cv_header_mspack_h
=$ac_header_preproc
27393 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27394 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27397 if test $ac_cv_header_mspack_h = yes; then
27402 if test "x$found_mspack_h" = "x1"; then
27403 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27404 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27405 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 ac_check_lib_save_LIBS
=$LIBS
27409 LIBS
="-lmspack $LIBS"
27410 cat >conftest.
$ac_ext <<_ACEOF
27413 cat confdefs.h
>>conftest.
$ac_ext
27414 cat >>conftest.
$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27417 /* Override any gcc2 internal prototype to avoid an error. */
27421 /* We use char because int might match the return type of a gcc2
27422 builtin and then its argument prototype would still apply. */
27423 char mspack_create_chm_decompressor ();
27427 mspack_create_chm_decompressor ();
27432 rm -f conftest.
$ac_objext conftest
$ac_exeext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27434 (eval $ac_link) 2>conftest.er1
27436 grep -v '^ *+' conftest.er1
>conftest.err
27438 cat conftest.err
>&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } &&
27441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try
='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.
$ac_ext >&5
27458 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27460 rm -f conftest.err conftest.
$ac_objext \
27461 conftest
$ac_exeext conftest.
$ac_ext
27462 LIBS
=$ac_check_lib_save_LIBS
27464 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27465 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27466 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27467 MSPACK_LINK
=" -lmspack"
27471 if test "x$MSPACK_LINK" = "x" ; then
27476 if test "$wxUSE_LIBMSPACK" != "no"; then
27477 cat >>confdefs.h
<<\_ACEOF
27478 #define wxUSE_LIBMSPACK 1
27492 if test "$USE_WIN32" = 1 ; then
27494 for ac_header
in w32api.h
27496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo "$as_me:$LINENO: checking for $ac_header" >&5
27499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27509 cat >conftest.
$ac_ext <<_ACEOF
27512 cat confdefs.h
>>conftest.
$ac_ext
27513 cat >>conftest.
$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27516 #include <$ac_header>
27518 rm -f conftest.
$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27522 grep -v '^ *+' conftest.er1
>conftest.err
27524 cat conftest.err
>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try
='test -s conftest.$ac_objext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_header_compiler
=yes
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.
$ac_ext >&5
27544 ac_header_compiler
=no
27546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27548 echo "${ECHO_T}$ac_header_compiler" >&6
27550 # Is the header present?
27551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27553 cat >conftest.
$ac_ext <<_ACEOF
27556 cat confdefs.h
>>conftest.
$ac_ext
27557 cat >>conftest.
$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <$ac_header>
27561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27564 grep -v '^ *+' conftest.er1
>conftest.err
27566 cat conftest.err
>&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } >/dev
/null
; then
27569 if test -s conftest.err
; then
27570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27578 if test -z "$ac_cpp_err"; then
27579 ac_header_preproc
=yes
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.
$ac_ext >&5
27584 ac_header_preproc
=no
27586 rm -f conftest.err conftest.
$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27588 echo "${ECHO_T}$ac_header_preproc" >&6
27590 # So? What about this header?
27591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27597 ac_header_preproc
=yes
27600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27614 ## ----------------------------------------- ##
27615 ## Report this to wx-dev@lists.wxwidgets.org ##
27616 ## ----------------------------------------- ##
27619 sed "s/^/$as_me: WARNING: /" >&2
27622 echo "$as_me:$LINENO: checking for $ac_header" >&5
27623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 eval "$as_ac_Header=\$ac_header_preproc"
27629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27634 cat >>confdefs.h
<<_ACEOF
27635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27642 if test "${ac_cv_header_windows_h+set}" = set; then
27643 echo "$as_me:$LINENO: checking for windows.h" >&5
27644 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27645 if test "${ac_cv_header_windows_h+set}" = set; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27648 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27649 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27651 # Is the header compilable?
27652 echo "$as_me:$LINENO: checking windows.h usability" >&5
27653 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27654 cat >conftest.
$ac_ext <<_ACEOF
27657 cat confdefs.h
>>conftest.
$ac_ext
27658 cat >>conftest.
$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 $ac_includes_default
27661 #include <windows.h>
27663 rm -f conftest.
$ac_objext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27665 (eval $ac_compile) 2>conftest.er1
27667 grep -v '^ *+' conftest.er1
>conftest.err
27669 cat conftest.err
>&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } &&
27672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try
='test -s conftest.$ac_objext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 ac_header_compiler
=yes
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.
$ac_ext >&5
27689 ac_header_compiler
=no
27691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27693 echo "${ECHO_T}$ac_header_compiler" >&6
27695 # Is the header present?
27696 echo "$as_me:$LINENO: checking windows.h presence" >&5
27697 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27698 cat >conftest.
$ac_ext <<_ACEOF
27701 cat confdefs.h
>>conftest.
$ac_ext
27702 cat >>conftest.
$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <windows.h>
27706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27709 grep -v '^ *+' conftest.er1
>conftest.err
27711 cat conftest.err
>&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } >/dev
/null
; then
27714 if test -s conftest.err
; then
27715 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27716 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27723 if test -z "$ac_cpp_err"; then
27724 ac_header_preproc
=yes
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.
$ac_ext >&5
27729 ac_header_preproc
=no
27731 rm -f conftest.err conftest.
$ac_ext
27732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27733 echo "${ECHO_T}$ac_header_preproc" >&6
27735 # So? What about this header?
27736 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27738 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27739 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27740 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27741 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27742 ac_header_preproc
=yes
27745 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27746 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27747 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27748 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27749 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27750 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27751 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27752 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27753 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27754 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27755 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27756 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27759 ## ----------------------------------------- ##
27760 ## Report this to wx-dev@lists.wxwidgets.org ##
27761 ## ----------------------------------------- ##
27764 sed "s/^/$as_me: WARNING: /" >&2
27767 echo "$as_me:$LINENO: checking for windows.h" >&5
27768 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27769 if test "${ac_cv_header_windows_h+set}" = set; then
27770 echo $ECHO_N "(cached) $ECHO_C" >&6
27772 ac_cv_header_windows_h
=$ac_header_preproc
27774 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27775 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27778 if test $ac_cv_header_windows_h = yes; then
27782 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27783 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27784 { (exit 1); exit 1; }; }
27790 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27792 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27793 LIBS
="$LIBS -loleacc"
27798 LIBS
="$LIBS -lkernel32 -luser32"
27801 if test "$wxUSE_ODBC" = "sys" ; then
27804 if test "$wxUSE_ODBC" = "yes" ; then
27805 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27806 cat >>confdefs.h
<<\_ACEOF
27807 #define wxUSE_ODBC 1
27812 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27813 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27815 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27817 WIN32INSTALL
=win32install
27819 echo "$as_me:$LINENO: checking for boolean" >&5
27820 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27821 if test "${ac_cv_type_boolean+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 cat >conftest.
$ac_ext <<_ACEOF
27827 cat confdefs.h
>>conftest.
$ac_ext
27828 cat >>conftest.
$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 #include <windows.h>
27837 if (sizeof (boolean))
27843 rm -f conftest.
$ac_objext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27845 (eval $ac_compile) 2>conftest.er1
27847 grep -v '^ *+' conftest.er1
>conftest.err
27849 cat conftest.err
>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try
='test -s conftest.$ac_objext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_type_boolean
=yes
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.
$ac_ext >&5
27869 ac_cv_type_boolean
=no
27871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27873 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27874 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27875 if test $ac_cv_type_boolean = yes; then
27877 cat >>confdefs.h
<<_ACEOF
27878 #define HAVE_BOOLEAN 1
27886 for ac_header
in pbt.h
27888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo "$as_me:$LINENO: checking for $ac_header" >&5
27891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27898 # Is the header compilable?
27899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27901 cat >conftest.
$ac_ext <<_ACEOF
27904 cat confdefs.h
>>conftest.
$ac_ext
27905 cat >>conftest.
$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27907 $ac_includes_default
27908 #include <$ac_header>
27910 rm -f conftest.
$ac_objext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27912 (eval $ac_compile) 2>conftest.er1
27914 grep -v '^ *+' conftest.er1
>conftest.err
27916 cat conftest.err
>&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } &&
27919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; } &&
27925 { ac_try
='test -s conftest.$ac_objext'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; }; then
27931 ac_header_compiler
=yes
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.
$ac_ext >&5
27936 ac_header_compiler
=no
27938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27940 echo "${ECHO_T}$ac_header_compiler" >&6
27942 # Is the header present?
27943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27945 cat >conftest.
$ac_ext <<_ACEOF
27948 cat confdefs.h
>>conftest.
$ac_ext
27949 cat >>conftest.
$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951 #include <$ac_header>
27953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27956 grep -v '^ *+' conftest.er1
>conftest.err
27958 cat conftest.err
>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } >/dev
/null
; then
27961 if test -s conftest.err
; then
27962 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27963 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27970 if test -z "$ac_cpp_err"; then
27971 ac_header_preproc
=yes
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.
$ac_ext >&5
27976 ac_header_preproc
=no
27978 rm -f conftest.err conftest.
$ac_ext
27979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27980 echo "${ECHO_T}$ac_header_preproc" >&6
27982 # So? What about this header?
27983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27989 ac_header_preproc
=yes
27992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28006 ## ----------------------------------------- ##
28007 ## Report this to wx-dev@lists.wxwidgets.org ##
28008 ## ----------------------------------------- ##
28011 sed "s/^/$as_me: WARNING: /" >&2
28014 echo "$as_me:$LINENO: checking for $ac_header" >&5
28015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28017 echo $ECHO_N "(cached) $ECHO_C" >&6
28019 eval "$as_ac_Header=\$ac_header_preproc"
28021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28026 cat >>confdefs.h
<<_ACEOF
28027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28031 cat >>confdefs.h
<<\_ACEOF
28032 #define NEED_PBT_H 1
28041 if test "$wxUSE_GUI" = "yes"; then
28051 if test "$wxUSE_COCOA" = 1 ; then
28052 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28053 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28054 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28055 wxUSE_PRINTING_ARCHITECTURE
=no
28057 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28058 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28059 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28060 wxUSE_DRAG_AND_DROP
=no
28062 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28063 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28064 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28069 if test "$wxUSE_MSW" = 1 ; then
28075 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28079 if test "$wxUSE_GTK" = 1; then
28081 ac_cpp
='$CPP $CPPFLAGS'
28082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28087 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28088 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28090 gtk_version_cached
=1
28091 if test "${wx_cv_lib_gtk+set}" = set; then
28092 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 gtk_version_cached
=0
28096 echo "$as_me:$LINENO: result: " >&5
28097 echo "${ECHO_T}" >&6
28100 if test "$wxUSE_THREADS" = "yes"; then
28101 GTK_MODULES
=gthread
28105 if test "x$wxGTK_VERSION" != "x1"
28109 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28114 # Check whether --enable-gtktest or --disable-gtktest was given.
28115 if test "${enable_gtktest+set}" = set; then
28116 enableval
="$enable_gtktest"
28122 pkg_config_args
=gtk
+-2.0
28123 for module
in .
$GTK_MODULES
28127 pkg_config_args
="$pkg_config_args gthread-2.0"
28134 # Extract the first word of "pkg-config", so it can be a program name with args.
28135 set dummy pkg
-config; ac_word
=$2
28136 echo "$as_me:$LINENO: checking for $ac_word" >&5
28137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 case $PKG_CONFIG in
28143 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28147 for as_dir
in $PATH
28150 test -z "$as_dir" && as_dir
=.
28151 for ac_exec_ext
in '' $ac_executable_extensions; do
28152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28153 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28160 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28164 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28166 if test -n "$PKG_CONFIG"; then
28167 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28168 echo "${ECHO_T}$PKG_CONFIG" >&6
28170 echo "$as_me:$LINENO: result: no" >&5
28171 echo "${ECHO_T}no" >&6
28175 if test x
$PKG_CONFIG != xno
; then
28176 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28179 echo "*** pkg-config too old; version 0.7 or better required."
28187 min_gtk_version
=2.0.0
28188 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28189 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28191 if test x
$PKG_CONFIG != xno
; then
28192 ## don't try to run the test against uninstalled libtool libs
28193 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28194 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28198 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28205 if test x
"$no_gtk" = x
; then
28206 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28207 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28208 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28210 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28212 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28214 if test "x$enable_gtktest" = "xyes" ; then
28215 ac_save_CFLAGS
="$CFLAGS"
28216 ac_save_LIBS
="$LIBS"
28217 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28218 LIBS
="$GTK_LIBS $LIBS"
28220 if test "$cross_compiling" = yes; then
28221 echo $ac_n "cross compiling; assumed OK... $ac_c"
28223 cat >conftest.
$ac_ext <<_ACEOF
28226 cat confdefs.h
>>conftest.
$ac_ext
28227 cat >>conftest.
$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28230 #include <gtk/gtk.h>
28232 #include <stdlib.h>
28237 int major, minor, micro;
28240 system ("touch conf.gtktest");
28242 /* HP/UX 9 (%@#!) writes to sscanf strings */
28243 tmp_version = g_strdup("$min_gtk_version");
28244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28245 printf("%s, bad version string\n", "$min_gtk_version");
28249 if ((gtk_major_version != $gtk_config_major_version) ||
28250 (gtk_minor_version != $gtk_config_minor_version) ||
28251 (gtk_micro_version != $gtk_config_micro_version))
28253 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28254 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28255 gtk_major_version, gtk_minor_version, gtk_micro_version);
28256 printf ("*** was found! If pkg-config was correct, then it is best\n");
28257 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28258 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28259 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28260 printf("*** required on your system.\n");
28261 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28262 printf("*** to point to the correct configuration files\n");
28264 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28265 (gtk_minor_version != GTK_MINOR_VERSION) ||
28266 (gtk_micro_version != GTK_MICRO_VERSION))
28268 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28269 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28270 printf("*** library (version %d.%d.%d)\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28275 if ((gtk_major_version > major) ||
28276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28286 major, minor, micro);
28287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28289 printf("*** If you have already installed a sufficiently new version, this error\n");
28290 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28292 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28293 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28295 printf("*** so that the correct libraries are found at run-time))\n");
28302 rm -f conftest
$ac_exeext
28303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28304 (eval $ac_link) 2>&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; }; then
28315 echo "$as_me: program exited with status $ac_status" >&5
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.
$ac_ext >&5
28319 ( exit $ac_status )
28322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28324 CFLAGS
="$ac_save_CFLAGS"
28325 LIBS
="$ac_save_LIBS"
28328 if test "x$no_gtk" = x
; then
28329 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28330 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28333 echo "$as_me:$LINENO: result: no" >&5
28334 echo "${ECHO_T}no" >&6
28335 if test "$PKG_CONFIG" = "no" ; then
28336 echo "*** A new enough version of pkg-config was not found."
28337 echo "*** See http://pkgconfig.sourceforge.net"
28339 if test -f conf.gtktest
; then
28342 echo "*** Could not run GTK+ test program, checking why..."
28343 ac_save_CFLAGS
="$CFLAGS"
28344 ac_save_LIBS
="$LIBS"
28345 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28346 LIBS
="$LIBS $GTK_LIBS"
28347 cat >conftest.
$ac_ext <<_ACEOF
28350 cat confdefs.h
>>conftest.
$ac_ext
28351 cat >>conftest.
$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28354 #include <gtk/gtk.h>
28360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28365 rm -f conftest.
$ac_objext conftest
$ac_exeext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>conftest.er1
28369 grep -v '^ *+' conftest.er1
>conftest.err
28371 cat conftest.err
>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try
='test -s conftest$ac_exeext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 echo "*** The test program compiled, but did not run. This usually means"
28387 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28388 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28391 echo "*** is required on your system"
28393 echo "*** If you have an old version installed, it is best to remove it, although"
28394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.
$ac_ext >&5
28399 echo "*** The test program failed to compile or link. See the file config.log for the"
28400 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28402 rm -f conftest.err conftest.
$ac_objext \
28403 conftest
$ac_exeext conftest.
$ac_ext
28404 CFLAGS
="$ac_save_CFLAGS"
28405 LIBS
="$ac_save_LIBS"
28419 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28420 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28421 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28423 if test "$wxUSE_SHARED" != "yes"; then
28424 GTK_LIBS
="$GTK_LIBS -lX11"
28429 if test -z "$wx_cv_lib_gtk"; then
28430 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28432 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28433 if test "${with_gtk_prefix+set}" = set; then
28434 withval
="$with_gtk_prefix"
28435 gtk_config_prefix
="$withval"
28437 gtk_config_prefix
=""
28440 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28441 if test "${with_gtk_exec_prefix+set}" = set; then
28442 withval
="$with_gtk_exec_prefix"
28443 gtk_config_exec_prefix
="$withval"
28445 gtk_config_exec_prefix
=""
28447 # Check whether --enable-gtktest or --disable-gtktest was given.
28448 if test "${enable_gtktest+set}" = set; then
28449 enableval
="$enable_gtktest"
28455 for module
in .
$GTK_MODULES
28459 gtk_config_args
="$gtk_config_args gthread"
28464 if test x
$gtk_config_exec_prefix != x
; then
28465 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28466 if test x
${GTK_CONFIG+set} != xset
; then
28467 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28470 if test x
$gtk_config_prefix != x
; then
28471 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28472 if test x
${GTK_CONFIG+set} != xset
; then
28473 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28477 # Extract the first word of "gtk-config", so it can be a program name with args.
28478 set dummy gtk
-config; ac_word
=$2
28479 echo "$as_me:$LINENO: checking for $ac_word" >&5
28480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28481 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 case $GTK_CONFIG in
28486 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28490 for as_dir
in $PATH
28493 test -z "$as_dir" && as_dir
=.
28494 for ac_exec_ext
in '' $ac_executable_extensions; do
28495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28496 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28503 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28507 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28509 if test -n "$GTK_CONFIG"; then
28510 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28511 echo "${ECHO_T}$GTK_CONFIG" >&6
28513 echo "$as_me:$LINENO: result: no" >&5
28514 echo "${ECHO_T}no" >&6
28517 min_gtk_version
=1.2.7
28518 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28519 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28521 if test "$GTK_CONFIG" = "no" ; then
28524 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28525 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28526 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28528 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28530 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28532 if test "x$enable_gtktest" = "xyes" ; then
28533 ac_save_CFLAGS
="$CFLAGS"
28534 ac_save_LIBS
="$LIBS"
28535 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28536 LIBS
="$GTK_LIBS $LIBS"
28538 if test "$cross_compiling" = yes; then
28539 echo $ac_n "cross compiling; assumed OK... $ac_c"
28541 cat >conftest.
$ac_ext <<_ACEOF
28544 cat confdefs.h
>>conftest.
$ac_ext
28545 cat >>conftest.
$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28548 #include <gtk/gtk.h>
28550 #include <stdlib.h>
28555 int major, minor, micro;
28558 system ("touch conf.gtktest");
28560 /* HP/UX 9 (%@#!) writes to sscanf strings */
28561 tmp_version = g_strdup("$min_gtk_version");
28562 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28563 printf("%s, bad version string\n", "$min_gtk_version");
28567 if ((gtk_major_version != $gtk_config_major_version) ||
28568 (gtk_minor_version != $gtk_config_minor_version) ||
28569 (gtk_micro_version != $gtk_config_micro_version))
28571 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28572 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28573 gtk_major_version, gtk_minor_version, gtk_micro_version);
28574 printf ("*** was found! If gtk-config was correct, then it is best\n");
28575 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28576 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28577 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28578 printf("*** required on your system.\n");
28579 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28580 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28581 printf("*** before re-running configure\n");
28583 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28584 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28585 (gtk_minor_version != GTK_MINOR_VERSION) ||
28586 (gtk_micro_version != GTK_MICRO_VERSION))
28588 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28589 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28590 printf("*** library (version %d.%d.%d)\n",
28591 gtk_major_version, gtk_minor_version, gtk_micro_version);
28593 #endif /* defined (GTK_MAJOR_VERSION) ... */
28596 if ((gtk_major_version > major) ||
28597 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28598 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28604 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28605 gtk_major_version, gtk_minor_version, gtk_micro_version);
28606 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28607 major, minor, micro);
28608 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28610 printf("*** If you have already installed a sufficiently new version, this error\n");
28611 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28612 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28613 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28614 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28615 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28616 printf("*** so that the correct libraries are found at run-time))\n");
28623 rm -f conftest
$ac_exeext
28624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28625 (eval $ac_link) 2>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28636 echo "$as_me: program exited with status $ac_status" >&5
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.
$ac_ext >&5
28640 ( exit $ac_status )
28643 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28645 CFLAGS
="$ac_save_CFLAGS"
28646 LIBS
="$ac_save_LIBS"
28649 if test "x$no_gtk" = x
; then
28650 echo "$as_me:$LINENO: result: yes" >&5
28651 echo "${ECHO_T}yes" >&6
28652 wx_cv_lib_gtk
=1.2.7
28654 echo "$as_me:$LINENO: result: no" >&5
28655 echo "${ECHO_T}no" >&6
28656 if test "$GTK_CONFIG" = "no" ; then
28657 echo "*** The gtk-config script installed by GTK could not be found"
28658 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28659 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28660 echo "*** full path to gtk-config."
28662 if test -f conf.gtktest
; then
28665 echo "*** Could not run GTK test program, checking why..."
28666 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28667 LIBS
="$LIBS $GTK_LIBS"
28668 cat >conftest.
$ac_ext <<_ACEOF
28671 cat confdefs.h
>>conftest.
$ac_ext
28672 cat >>conftest.
$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28675 #include <gtk/gtk.h>
28681 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28686 rm -f conftest.
$ac_objext conftest
$ac_exeext
28687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28688 (eval $ac_link) 2>conftest.er1
28690 grep -v '^ *+' conftest.er1
>conftest.err
28692 cat conftest.err
>&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } &&
28695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697 (eval $ac_try) 2>&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); }; } &&
28701 { ac_try
='test -s conftest$ac_exeext'
28702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703 (eval $ac_try) 2>&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); }; }; then
28707 echo "*** The test program compiled, but did not run. This usually means"
28708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28712 echo "*** is required on your system"
28714 echo "*** If you have an old version installed, it is best to remove it, although"
28715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28718 echo "*** came with the system with the command"
28720 echo "*** rpm --erase --nodeps gtk gtk-devel"
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.
$ac_ext >&5
28725 echo "*** The test program failed to compile or link. See the file config.log for the"
28726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28730 rm -f conftest.err conftest.
$ac_objext \
28731 conftest
$ac_exeext conftest.
$ac_ext
28732 CFLAGS
="$ac_save_CFLAGS"
28733 LIBS
="$ac_save_LIBS"
28745 if test -z "$wx_cv_lib_gtk"; then
28747 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28748 if test "${with_gtk_prefix+set}" = set; then
28749 withval
="$with_gtk_prefix"
28750 gtk_config_prefix
="$withval"
28752 gtk_config_prefix
=""
28755 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28756 if test "${with_gtk_exec_prefix+set}" = set; then
28757 withval
="$with_gtk_exec_prefix"
28758 gtk_config_exec_prefix
="$withval"
28760 gtk_config_exec_prefix
=""
28762 # Check whether --enable-gtktest or --disable-gtktest was given.
28763 if test "${enable_gtktest+set}" = set; then
28764 enableval
="$enable_gtktest"
28770 for module
in .
$GTK_MODULES
28774 gtk_config_args
="$gtk_config_args gthread"
28779 if test x
$gtk_config_exec_prefix != x
; then
28780 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28781 if test x
${GTK_CONFIG+set} != xset
; then
28782 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28785 if test x
$gtk_config_prefix != x
; then
28786 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28787 if test x
${GTK_CONFIG+set} != xset
; then
28788 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28792 # Extract the first word of "gtk-config", so it can be a program name with args.
28793 set dummy gtk
-config; ac_word
=$2
28794 echo "$as_me:$LINENO: checking for $ac_word" >&5
28795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28796 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 case $GTK_CONFIG in
28801 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28805 for as_dir
in $PATH
28808 test -z "$as_dir" && as_dir
=.
28809 for ac_exec_ext
in '' $ac_executable_extensions; do
28810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28811 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28818 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28822 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28824 if test -n "$GTK_CONFIG"; then
28825 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28826 echo "${ECHO_T}$GTK_CONFIG" >&6
28828 echo "$as_me:$LINENO: result: no" >&5
28829 echo "${ECHO_T}no" >&6
28832 min_gtk_version
=1.2.3
28833 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28834 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28836 if test "$GTK_CONFIG" = "no" ; then
28839 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28840 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28841 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28843 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28845 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28847 if test "x$enable_gtktest" = "xyes" ; then
28848 ac_save_CFLAGS
="$CFLAGS"
28849 ac_save_LIBS
="$LIBS"
28850 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28851 LIBS
="$GTK_LIBS $LIBS"
28853 if test "$cross_compiling" = yes; then
28854 echo $ac_n "cross compiling; assumed OK... $ac_c"
28856 cat >conftest.
$ac_ext <<_ACEOF
28859 cat confdefs.h
>>conftest.
$ac_ext
28860 cat >>conftest.
$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28863 #include <gtk/gtk.h>
28865 #include <stdlib.h>
28870 int major, minor, micro;
28873 system ("touch conf.gtktest");
28875 /* HP/UX 9 (%@#!) writes to sscanf strings */
28876 tmp_version = g_strdup("$min_gtk_version");
28877 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28878 printf("%s, bad version string\n", "$min_gtk_version");
28882 if ((gtk_major_version != $gtk_config_major_version) ||
28883 (gtk_minor_version != $gtk_config_minor_version) ||
28884 (gtk_micro_version != $gtk_config_micro_version))
28886 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28887 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28888 gtk_major_version, gtk_minor_version, gtk_micro_version);
28889 printf ("*** was found! If gtk-config was correct, then it is best\n");
28890 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28891 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28892 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28893 printf("*** required on your system.\n");
28894 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28895 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28896 printf("*** before re-running configure\n");
28898 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28899 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28900 (gtk_minor_version != GTK_MINOR_VERSION) ||
28901 (gtk_micro_version != GTK_MICRO_VERSION))
28903 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28904 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28905 printf("*** library (version %d.%d.%d)\n",
28906 gtk_major_version, gtk_minor_version, gtk_micro_version);
28908 #endif /* defined (GTK_MAJOR_VERSION) ... */
28911 if ((gtk_major_version > major) ||
28912 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28913 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28919 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28920 gtk_major_version, gtk_minor_version, gtk_micro_version);
28921 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28922 major, minor, micro);
28923 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28925 printf("*** If you have already installed a sufficiently new version, this error\n");
28926 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28927 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28928 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28929 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28930 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28931 printf("*** so that the correct libraries are found at run-time))\n");
28938 rm -f conftest
$ac_exeext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; }; then
28951 echo "$as_me: program exited with status $ac_status" >&5
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.
$ac_ext >&5
28955 ( exit $ac_status )
28958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28960 CFLAGS
="$ac_save_CFLAGS"
28961 LIBS
="$ac_save_LIBS"
28964 if test "x$no_gtk" = x
; then
28965 echo "$as_me:$LINENO: result: yes" >&5
28966 echo "${ECHO_T}yes" >&6
28967 wx_cv_lib_gtk
=1.2.3
28969 echo "$as_me:$LINENO: result: no" >&5
28970 echo "${ECHO_T}no" >&6
28971 if test "$GTK_CONFIG" = "no" ; then
28972 echo "*** The gtk-config script installed by GTK could not be found"
28973 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28974 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28975 echo "*** full path to gtk-config."
28977 if test -f conf.gtktest
; then
28980 echo "*** Could not run GTK test program, checking why..."
28981 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28982 LIBS
="$LIBS $GTK_LIBS"
28983 cat >conftest.
$ac_ext <<_ACEOF
28986 cat confdefs.h
>>conftest.
$ac_ext
28987 cat >>conftest.
$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 #include <gtk/gtk.h>
28996 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29001 rm -f conftest.
$ac_objext conftest
$ac_exeext
29002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29003 (eval $ac_link) 2>conftest.er1
29005 grep -v '^ *+' conftest.er1
>conftest.err
29007 cat conftest.err
>&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } &&
29010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try
='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 echo "*** The test program compiled, but did not run. This usually means"
29023 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29024 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29025 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29026 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29027 echo "*** is required on your system"
29029 echo "*** If you have an old version installed, it is best to remove it, although"
29030 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29032 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29033 echo "*** came with the system with the command"
29035 echo "*** rpm --erase --nodeps gtk gtk-devel"
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.
$ac_ext >&5
29040 echo "*** The test program failed to compile or link. See the file config.log for the"
29041 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29042 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29043 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29045 rm -f conftest.err conftest.
$ac_objext \
29046 conftest
$ac_exeext conftest.
$ac_ext
29047 CFLAGS
="$ac_save_CFLAGS"
29048 LIBS
="$ac_save_LIBS"
29063 if test -z "$wx_cv_lib_gtk"; then
29066 wx_cv_cflags_gtk
=$GTK_CFLAGS
29067 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29074 if test "$gtk_version_cached" = 1; then
29075 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29076 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29079 case "$wx_cv_lib_gtk" in
29088 *) { { echo "$as_me:$LINENO: error:
29089 The development files for GTK+ were not found. For GTK+ 2, please
29090 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29091 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29092 and that the version is 1.2.3 or above. Also check that the
29093 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29094 --libs' are in the LD_LIBRARY_PATH or equivalent.
29096 echo "$as_me: error:
29097 The development files for GTK+ were not found. For GTK+ 2, please
29098 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29099 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29100 and that the version is 1.2.3 or above. Also check that the
29101 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29102 --libs' are in the LD_LIBRARY_PATH or equivalent.
29104 { (exit 1); exit 1; }; }
29108 if test "$WXGTK20" = 1; then
29109 save_CFLAGS
="$CFLAGS"
29111 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29112 LIBS
="$LIBS $wx_cv_libs_gtk"
29114 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29115 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29116 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 cat >conftest.
$ac_ext <<_ACEOF
29122 cat confdefs.h
>>conftest.
$ac_ext
29123 cat >>conftest.
$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <gtk/gtk.h>
29130 #ifndef gtk_icon_size_lookup
29131 char *p = (char *) gtk_icon_size_lookup;
29138 rm -f conftest.
$ac_objext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29140 (eval $ac_compile) 2>conftest.er1
29142 grep -v '^ *+' conftest.er1
>conftest.err
29144 cat conftest.err
>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try
='test -s conftest.$ac_objext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.
$ac_ext >&5
29164 ac_cv_have_decl_gtk_icon_size_lookup
=no
29166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29168 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29169 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29170 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29172 cat >>confdefs.h
<<_ACEOF
29173 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29178 cat >>confdefs.h
<<_ACEOF
29179 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29182 cat >>confdefs.h
<<\_ACEOF
29183 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29190 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29191 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29192 cat >conftest.
$ac_ext <<_ACEOF
29195 cat confdefs.h
>>conftest.
$ac_ext
29196 cat >>conftest.
$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29199 #include <gtk/gtk.h>
29205 #if !GTK_CHECK_VERSION(2,6,0)
29213 rm -f conftest.
$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29217 grep -v '^ *+' conftest.er1
>conftest.err
29219 cat conftest.err
>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; } &&
29228 { ac_try
='test -s conftest.$ac_objext'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; }; then
29235 cat >>confdefs.h
<<\_ACEOF
29236 #define __WXGTK26__ 1
29239 cat >>confdefs.h
<<\_ACEOF
29240 #define __WXGTK24__ 1
29243 echo "$as_me:$LINENO: result: yes" >&5
29244 echo "${ECHO_T}yes" >&6
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.
$ac_ext >&5
29252 echo "$as_me:$LINENO: result: no" >&5
29253 echo "${ECHO_T}no" >&6
29257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29259 if test "$ac_wxgtk26" = 0; then
29260 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29261 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29262 cat >conftest.
$ac_ext <<_ACEOF
29265 cat confdefs.h
>>conftest.
$ac_ext
29266 cat >>conftest.
$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29269 #include <gtk/gtk.h>
29275 #if !GTK_CHECK_VERSION(2,4,0)
29283 rm -f conftest.
$ac_objext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29285 (eval $ac_compile) 2>conftest.er1
29287 grep -v '^ *+' conftest.er1
>conftest.err
29289 cat conftest.err
>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try
='test -s conftest.$ac_objext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29305 cat >>confdefs.h
<<\_ACEOF
29306 #define __WXGTK24__ 1
29309 echo "$as_me:$LINENO: result: yes" >&5
29310 echo "${ECHO_T}yes" >&6
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.
$ac_ext >&5
29317 echo "$as_me:$LINENO: result: no" >&5
29318 echo "${ECHO_T}no" >&6
29321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29324 CFLAGS
="$save_CFLAGS"
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29329 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29333 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29334 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29335 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29336 echo $ECHO_N "(cached) $ECHO_C" >&6
29338 ac_check_lib_save_LIBS
=$LIBS
29340 cat >conftest.
$ac_ext <<_ACEOF
29343 cat confdefs.h
>>conftest.
$ac_ext
29344 cat >>conftest.
$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29347 /* Override any gcc2 internal prototype to avoid an error. */
29351 /* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29353 char gdk_im_open ();
29362 rm -f conftest.
$ac_objext conftest
$ac_exeext
29363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29364 (eval $ac_link) 2>conftest.er1
29366 grep -v '^ *+' conftest.er1
>conftest.err
29368 cat conftest.err
>&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } &&
29371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try
='test -s conftest$ac_exeext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 ac_cv_lib_gdk_gdk_im_open
=yes
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.
$ac_ext >&5
29388 ac_cv_lib_gdk_gdk_im_open
=no
29390 rm -f conftest.err conftest.
$ac_objext \
29391 conftest
$ac_exeext conftest.
$ac_ext
29392 LIBS
=$ac_check_lib_save_LIBS
29394 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29395 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29396 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29397 cat >>confdefs.h
<<\_ACEOF
29406 ac_cpp
='$CXXCPP $CPPFLAGS'
29407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29412 if test "$USE_DARWIN" != 1; then
29414 for ac_func
in poll
29416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29417 echo "$as_me:$LINENO: checking for $ac_func" >&5
29418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29419 if eval "test \"\${$as_ac_var+set}\" = set"; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29422 cat >conftest.
$ac_ext <<_ACEOF
29425 cat confdefs.h
>>conftest.
$ac_ext
29426 cat >>conftest.
$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29430 #define $ac_func innocuous_$ac_func
29432 /* System header to define __stub macros and hopefully few prototypes,
29433 which can conflict with char $ac_func (); below.
29434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29435 <limits.h> exists even on freestanding compilers. */
29438 # include <limits.h>
29440 # include <assert.h>
29445 /* Override any gcc2 internal prototype to avoid an error. */
29450 /* We use char because int might match the return type of a gcc2
29451 builtin and then its argument prototype would still apply. */
29453 /* The GNU C library defines this for functions which it implements
29454 to always fail with ENOSYS. Some functions are actually named
29455 something starting with __ and the normal name is an alias. */
29456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29459 char (*f) () = $ac_func;
29468 return f != $ac_func;
29473 rm -f conftest.
$ac_objext conftest
$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29477 grep -v '^ *+' conftest.er1
>conftest.err
29479 cat conftest.err
>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try
='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 eval "$as_ac_var=yes"
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.
$ac_ext >&5
29499 eval "$as_ac_var=no"
29501 rm -f conftest.err conftest.
$ac_objext \
29502 conftest
$ac_exeext conftest.
$ac_ext
29504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29506 if test `eval echo '${'$as_ac_var'}'` = yes; then
29507 cat >>confdefs.h
<<_ACEOF
29508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29516 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29517 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29519 AFMINSTALL
=afminstall
29523 if test "$wxUSE_GPE" = "yes"; then
29524 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29525 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29528 for ac_dir
in $SEARCH_LIB;
29530 for ac_extension
in a so sl dylib dll.a
; do
29531 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29532 ac_find_libraries
=$ac_dir
29538 if test "$ac_find_libraries" != "" ; then
29540 if test "$ac_find_libraries" = "default location"; then
29543 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29545 if test $result = 0; then
29548 ac_path_to_link
=" -L$ac_find_libraries"
29552 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29554 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29555 echo "${ECHO_T}found in $ac_find_libraries" >&6
29557 echo "$as_me:$LINENO: result: not found" >&5
29558 echo "${ECHO_T}not found" >&6
29564 if test "$wxUSE_MGL" = 1; then
29565 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29566 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29567 if test "x$MGL_ROOT" = x
; then
29568 echo "$as_me:$LINENO: result: not found" >&5
29569 echo "${ECHO_T}not found" >&6
29570 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29571 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29572 { (exit 1); exit 1; }; }
29574 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29575 echo "${ECHO_T}$MGL_ROOT" >&6
29578 echo "$as_me:$LINENO: checking for libmgl location" >&5
29579 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29582 if test "x$wxUSE_SHARED" = xyes
; then
29583 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29585 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29589 mgl_os_candidates
="dos32/dj2"
29592 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29593 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29594 { (exit 1); exit 1; }; }
29600 for mgl_os_i
in $mgl_os_candidates ; do
29601 if test "x$mgl_os" = x
; then
29602 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29603 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29604 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29609 if test "x$mgl_lib_type" = x
; then
29610 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29611 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29612 mgl_lib_type
=release
29619 if test "x$mgl_os" = x
; then
29620 echo "$as_me:$LINENO: result: not found" >&5
29621 echo "${ECHO_T}not found" >&6
29622 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29623 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29624 { (exit 1); exit 1; }; }
29626 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29627 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29629 wxUSE_UNIVERSAL
="yes"
29631 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29632 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29634 AFMINSTALL
=afminstall
29639 if test "$wxUSE_DFB" = 1; then
29642 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29643 if test -n "$ac_tool_prefix"; then
29644 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29645 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29646 echo "$as_me:$LINENO: checking for $ac_word" >&5
29647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 case $PKG_CONFIG in
29653 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29657 for as_dir
in $PATH
29660 test -z "$as_dir" && as_dir
=.
29661 for ac_exec_ext
in '' $ac_executable_extensions; do
29662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29663 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29673 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29675 if test -n "$PKG_CONFIG"; then
29676 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29677 echo "${ECHO_T}$PKG_CONFIG" >&6
29679 echo "$as_me:$LINENO: result: no" >&5
29680 echo "${ECHO_T}no" >&6
29684 if test -z "$ac_cv_path_PKG_CONFIG"; then
29685 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29686 # Extract the first word of "pkg-config", so it can be a program name with args.
29687 set dummy pkg
-config; ac_word
=$2
29688 echo "$as_me:$LINENO: checking for $ac_word" >&5
29689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 case $ac_pt_PKG_CONFIG in
29695 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29699 for as_dir
in $PATH
29702 test -z "$as_dir" && as_dir
=.
29703 for ac_exec_ext
in '' $ac_executable_extensions; do
29704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29705 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29715 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29717 if test -n "$ac_pt_PKG_CONFIG"; then
29718 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29719 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29721 echo "$as_me:$LINENO: result: no" >&5
29722 echo "${ECHO_T}no" >&6
29725 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29727 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29731 if test -n "$PKG_CONFIG"; then
29732 _pkg_min_version
=0.9.0
29733 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29736 echo "$as_me:$LINENO: result: yes" >&5
29737 echo "${ECHO_T}yes" >&6
29739 echo "$as_me:$LINENO: result: no" >&5
29740 echo "${ECHO_T}no" >&6
29748 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29749 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29751 if test -n "$PKG_CONFIG"; then
29752 if test -n "$DIRECTFB_CFLAGS"; then
29753 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29755 if test -n "$PKG_CONFIG" && \
29756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29757 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); }; then
29761 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29769 if test -n "$PKG_CONFIG"; then
29770 if test -n "$DIRECTFB_LIBS"; then
29771 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29773 if test -n "$PKG_CONFIG" && \
29774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29775 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; then
29779 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29790 if test $pkg_failed = yes; then
29792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29793 _pkg_short_errors_supported
=yes
29795 _pkg_short_errors_supported
=no
29797 if test $_pkg_short_errors_supported = yes; then
29798 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29800 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29802 # Put the nasty error message in config.log where it belongs
29803 echo "$DIRECTFB_PKG_ERRORS" >&5
29806 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29807 echo "$as_me: error: DirectFB not found." >&2;}
29808 { (exit 1); exit 1; }; }
29811 elif test $pkg_failed = untried
; then
29813 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29814 echo "$as_me: error: DirectFB not found." >&2;}
29815 { (exit 1); exit 1; }; }
29819 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29820 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29821 echo "$as_me:$LINENO: result: yes" >&5
29822 echo "${ECHO_T}yes" >&6
29824 wxUSE_UNIVERSAL
="yes"
29825 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29826 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29833 if test "$wxUSE_MICROWIN" = 1; then
29834 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29835 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29836 if test "x$MICROWINDOWS" = x
; then
29837 echo "$as_me:$LINENO: result: not found" >&5
29838 echo "${ECHO_T}not found" >&6
29839 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29840 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29841 { (exit 1); exit 1; }; }
29843 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29844 echo "${ECHO_T}$MICROWINDOWS" >&6
29847 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29848 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29849 echo "${ECHO_T}MicroWindows' libraries found." >&6
29851 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29852 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29853 { (exit 1); exit 1; }; }
29856 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29857 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29859 wxUSE_UNIVERSAL
="yes"
29861 AFMINSTALL
=afminstall
29863 GUIDIST
=MICROWIN_DIST
29865 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29868 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29870 if test "x$ac_path_x_has_been_run" != xyes
; then
29871 echo "$as_me:$LINENO: checking for X" >&5
29872 echo $ECHO_N "checking for X... $ECHO_C" >&6
29874 ac_path_x_has_been_run
=yes
29876 # Check whether --with-x or --without-x was given.
29877 if test "${with_x+set}" = set; then
29881 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29882 if test "x$with_x" = xno
; then
29883 # The user explicitly disabled X.
29886 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29887 # Both variables are already set.
29890 if test "${ac_cv_have_x+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 # One or both of the vars are not set, and there is no cached value.
29894 ac_x_includes
=no ac_x_libraries
=no
29895 rm -fr conftest.dir
29896 if mkdir conftest.dir
; then
29898 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29899 cat >Imakefile
<<'_ACEOF'
29901 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29903 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29905 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29906 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29907 for ac_extension
in a so sl
; do
29908 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29909 test -f $ac_im_libdir/libX11.
$ac_extension; then
29910 ac_im_usrlibdir
=$ac_im_libdir; break
29913 # Screen out bogus values from the imake configuration. They are
29914 # bogus both because they are the default anyway, and because
29915 # using them would break gcc on systems where it needs fixed includes.
29916 case $ac_im_incroot in
29918 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29920 case $ac_im_usrlibdir in
29921 /usr
/lib
| /lib
) ;;
29922 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29926 rm -fr conftest.dir
29929 # Standard set of common directories for X headers.
29930 # Check X11 before X11Rn because it is often a symlink to the current release.
29942 /usr/local/X11/include
29943 /usr/local/X11R6/include
29944 /usr/local/X11R5/include
29945 /usr/local/X11R4/include
29947 /usr/local/include/X11
29948 /usr/local/include/X11R6
29949 /usr/local/include/X11R5
29950 /usr/local/include/X11R4
29954 /usr/XFree86/include/X11
29958 /usr/unsupported/include
29959 /usr/athena/include
29960 /usr/local/x11r5/include
29961 /usr/lpp/Xamples/include
29963 /usr/openwin/include
29964 /usr/openwin/share/include'
29966 if test "$ac_x_includes" = no
; then
29967 # Guess where to find include files, by looking for a specified header file.
29968 # First, try using that file with no special directory specified.
29969 cat >conftest.
$ac_ext <<_ACEOF
29972 cat confdefs.h
>>conftest.
$ac_ext
29973 cat >>conftest.
$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29975 #include <X11/Xlib.h>
29977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29980 grep -v '^ *+' conftest.er1
>conftest.err
29982 cat conftest.err
>&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } >/dev
/null
; then
29985 if test -s conftest.err
; then
29986 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29987 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29994 if test -z "$ac_cpp_err"; then
29995 # We can compile using X headers with no special include directory.
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.
$ac_ext >&5
30001 for ac_dir
in $ac_x_header_dirs; do
30002 if test -r "$ac_dir/X11/Xlib.h"; then
30003 ac_x_includes
=$ac_dir
30008 rm -f conftest.err conftest.
$ac_ext
30009 fi # $ac_x_includes = no
30011 if test "$ac_x_libraries" = no
; then
30012 # Check for the libraries.
30013 # See if we find them without any special options.
30014 # Don't add to $LIBS permanently.
30017 cat >conftest.
$ac_ext <<_ACEOF
30020 cat confdefs.h
>>conftest.
$ac_ext
30021 cat >>conftest.
$ac_ext <<_ACEOF
30022 /* end confdefs.h. */
30023 #include <X11/Xlib.h>
30032 rm -f conftest.
$ac_objext conftest
$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034 (eval $ac_link) 2>conftest.er1
30036 grep -v '^ *+' conftest.er1
>conftest.err
30038 cat conftest.err
>&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } &&
30041 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30043 (eval $ac_try) 2>&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); }; } &&
30047 { ac_try
='test -s conftest$ac_exeext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30054 # We can link X programs with no special library path.
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.
$ac_ext >&5
30061 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30063 # Don't even attempt the hair of trying to link an X program!
30064 for ac_extension
in a so sl
; do
30065 if test -r $ac_dir/libX11.
$ac_extension; then
30066 ac_x_libraries
=$ac_dir
30072 rm -f conftest.err conftest.
$ac_objext \
30073 conftest
$ac_exeext conftest.
$ac_ext
30074 fi # $ac_x_libraries = no
30076 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
30077 # Didn't find X anywhere. Cache the known absence of X.
30078 ac_cv_have_x
="have_x=no"
30080 # Record where we found X for the cache.
30081 ac_cv_have_x
="have_x=yes \
30082 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30087 eval "$ac_cv_have_x"
30090 if test "$have_x" != yes; then
30091 echo "$as_me:$LINENO: result: $have_x" >&5
30092 echo "${ECHO_T}$have_x" >&6
30095 # If each of the values was on the command line, it overrides each guess.
30096 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30097 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30098 # Update the cache value to reflect the command line values.
30099 ac_cv_have_x
="have_x=yes \
30100 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30101 # It might be that x_includes is empty (headers are found in the
30102 # standard search path. Then output the corresponding message
30103 ac_out_x_includes
=$x_includes
30104 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
30105 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30106 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30110 if test "$no_x" = yes; then
30111 # Not all programs may use this symbol, but it does not hurt to define it.
30113 cat >>confdefs.h
<<\_ACEOF
30114 #define X_DISPLAY_MISSING 1
30117 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30119 if test -n "$x_includes"; then
30120 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30123 # It would also be nice to do this for all -L options, not just this one.
30124 if test -n "$x_libraries"; then
30125 X_LIBS
="$X_LIBS -L$x_libraries"
30126 # For Solaris; some versions of Sun CC require a space after -R and
30127 # others require no space. Words are not sufficient . . . .
30128 case `(uname -sr) 2>/dev/null` in
30130 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30131 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30132 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30133 cat >conftest.
$ac_ext <<_ACEOF
30136 cat confdefs.h
>>conftest.
$ac_ext
30137 cat >>conftest.
$ac_ext <<_ACEOF
30138 /* end confdefs.h. */
30148 rm -f conftest.
$ac_objext conftest
$ac_exeext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30150 (eval $ac_link) 2>conftest.er1
30152 grep -v '^ *+' conftest.er1
>conftest.err
30154 cat conftest.err
>&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); } &&
30157 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; } &&
30163 { ac_try
='test -s conftest$ac_exeext'
30164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165 (eval $ac_try) 2>&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); }; }; then
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.
$ac_ext >&5
30176 rm -f conftest.err conftest.
$ac_objext \
30177 conftest
$ac_exeext conftest.
$ac_ext
30178 if test $ac_R_nospace = yes; then
30179 echo "$as_me:$LINENO: result: no" >&5
30180 echo "${ECHO_T}no" >&6
30181 X_LIBS
="$X_LIBS -R$x_libraries"
30183 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30184 cat >conftest.
$ac_ext <<_ACEOF
30187 cat confdefs.h
>>conftest.
$ac_ext
30188 cat >>conftest.
$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30199 rm -f conftest.
$ac_objext conftest
$ac_exeext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30201 (eval $ac_link) 2>conftest.er1
30203 grep -v '^ *+' conftest.er1
>conftest.err
30205 cat conftest.err
>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } &&
30208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; } &&
30214 { ac_try
='test -s conftest$ac_exeext'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30222 echo "$as_me: failed program was:" >&5
30223 sed 's/^/| /' conftest.
$ac_ext >&5
30227 rm -f conftest.err conftest.
$ac_objext \
30228 conftest
$ac_exeext conftest.
$ac_ext
30229 if test $ac_R_space = yes; then
30230 echo "$as_me:$LINENO: result: yes" >&5
30231 echo "${ECHO_T}yes" >&6
30232 X_LIBS
="$X_LIBS -R $x_libraries"
30234 echo "$as_me:$LINENO: result: neither works" >&5
30235 echo "${ECHO_T}neither works" >&6
30238 LIBS
=$ac_xsave_LIBS
30242 # Check for system-dependent libraries X programs must link with.
30243 # Do this before checking for the system-independent R6 libraries
30244 # (-lICE), since we may need -lsocket or whatever for X linking.
30246 if test "$ISC" = yes; then
30247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30249 # Martyn Johnson says this is needed for Ultrix, if the X
30250 # libraries were built with DECnet support. And Karl Berry says
30251 # the Alpha needs dnet_stub (dnet does not exist).
30252 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30253 cat >conftest.
$ac_ext <<_ACEOF
30256 cat confdefs.h
>>conftest.
$ac_ext
30257 cat >>conftest.
$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30260 /* Override any gcc2 internal prototype to avoid an error. */
30264 /* We use char because int might match the return type of a gcc2
30265 builtin and then its argument prototype would still apply. */
30266 char XOpenDisplay ();
30275 rm -f conftest.
$ac_objext conftest
$ac_exeext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30277 (eval $ac_link) 2>conftest.er1
30279 grep -v '^ *+' conftest.er1
>conftest.err
30281 cat conftest.err
>&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); } &&
30284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try
='test -s conftest$ac_exeext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.
$ac_ext >&5
30301 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30302 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30303 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30304 echo $ECHO_N "(cached) $ECHO_C" >&6
30306 ac_check_lib_save_LIBS
=$LIBS
30307 LIBS
="-ldnet $LIBS"
30308 cat >conftest.
$ac_ext <<_ACEOF
30311 cat confdefs.h
>>conftest.
$ac_ext
30312 cat >>conftest.
$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30315 /* Override any gcc2 internal prototype to avoid an error. */
30319 /* We use char because int might match the return type of a gcc2
30320 builtin and then its argument prototype would still apply. */
30330 rm -f conftest.
$ac_objext conftest
$ac_exeext
30331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30332 (eval $ac_link) 2>conftest.er1
30334 grep -v '^ *+' conftest.er1
>conftest.err
30336 cat conftest.err
>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; } &&
30345 { ac_try
='test -s conftest$ac_exeext'
30346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30347 (eval $ac_try) 2>&5
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; }; then
30351 ac_cv_lib_dnet_dnet_ntoa
=yes
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.
$ac_ext >&5
30356 ac_cv_lib_dnet_dnet_ntoa
=no
30358 rm -f conftest.err conftest.
$ac_objext \
30359 conftest
$ac_exeext conftest.
$ac_ext
30360 LIBS
=$ac_check_lib_save_LIBS
30362 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30363 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30364 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30365 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30368 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30369 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30370 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30371 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30374 ac_check_lib_save_LIBS
=$LIBS
30375 LIBS
="-ldnet_stub $LIBS"
30376 cat >conftest.
$ac_ext <<_ACEOF
30379 cat confdefs.h
>>conftest.
$ac_ext
30380 cat >>conftest.
$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30383 /* Override any gcc2 internal prototype to avoid an error. */
30387 /* We use char because int might match the return type of a gcc2
30388 builtin and then its argument prototype would still apply. */
30398 rm -f conftest.
$ac_objext conftest
$ac_exeext
30399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30402 grep -v '^ *+' conftest.er1
>conftest.err
30404 cat conftest.err
>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try
='test -s conftest$ac_exeext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.
$ac_ext >&5
30424 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30426 rm -f conftest.err conftest.
$ac_objext \
30427 conftest
$ac_exeext conftest.
$ac_ext
30428 LIBS
=$ac_check_lib_save_LIBS
30430 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30431 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30432 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30433 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30438 rm -f conftest.err conftest.
$ac_objext \
30439 conftest
$ac_exeext conftest.
$ac_ext
30440 LIBS
="$ac_xsave_LIBS"
30442 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30443 # to get the SysV transport functions.
30444 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30446 # The nsl library prevents programs from opening the X display
30447 # on Irix 5.2, according to T.E. Dickey.
30448 # The functions gethostbyname, getservbyname, and inet_addr are
30449 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30450 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30451 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30452 if test "${ac_cv_func_gethostbyname+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 cat >conftest.
$ac_ext <<_ACEOF
30458 cat confdefs.h
>>conftest.
$ac_ext
30459 cat >>conftest.
$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define gethostbyname innocuous_gethostbyname
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char gethostbyname (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30471 # include <limits.h>
30473 # include <assert.h>
30476 #undef gethostbyname
30478 /* Override any gcc2 internal prototype to avoid an error. */
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30485 char gethostbyname ();
30486 /* The GNU C library defines this for functions which it implements
30487 to always fail with ENOSYS. Some functions are actually named
30488 something starting with __ and the normal name is an alias. */
30489 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30492 char (*f) () = gethostbyname;
30501 return f != gethostbyname;
30506 rm -f conftest.
$ac_objext conftest
$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30510 grep -v '^ *+' conftest.er1
>conftest.err
30512 cat conftest.err
>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try
='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 ac_cv_func_gethostbyname
=yes
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.
$ac_ext >&5
30532 ac_cv_func_gethostbyname
=no
30534 rm -f conftest.err conftest.
$ac_objext \
30535 conftest
$ac_exeext conftest.
$ac_ext
30537 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30538 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30540 if test $ac_cv_func_gethostbyname = no
; then
30541 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30542 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30543 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30546 ac_check_lib_save_LIBS
=$LIBS
30548 cat >conftest.
$ac_ext <<_ACEOF
30551 cat confdefs.h
>>conftest.
$ac_ext
30552 cat >>conftest.
$ac_ext <<_ACEOF
30553 /* end confdefs.h. */
30555 /* Override any gcc2 internal prototype to avoid an error. */
30559 /* We use char because int might match the return type of a gcc2
30560 builtin and then its argument prototype would still apply. */
30561 char gethostbyname ();
30570 rm -f conftest.
$ac_objext conftest
$ac_exeext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30572 (eval $ac_link) 2>conftest.er1
30574 grep -v '^ *+' conftest.er1
>conftest.err
30576 cat conftest.err
>&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); } &&
30579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; } &&
30585 { ac_try
='test -s conftest$ac_exeext'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; }; then
30591 ac_cv_lib_nsl_gethostbyname
=yes
30593 echo "$as_me: failed program was:" >&5
30594 sed 's/^/| /' conftest.
$ac_ext >&5
30596 ac_cv_lib_nsl_gethostbyname
=no
30598 rm -f conftest.err conftest.
$ac_objext \
30599 conftest
$ac_exeext conftest.
$ac_ext
30600 LIBS
=$ac_check_lib_save_LIBS
30602 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30603 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30604 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30605 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30608 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30609 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30610 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30611 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30614 ac_check_lib_save_LIBS
=$LIBS
30616 cat >conftest.
$ac_ext <<_ACEOF
30619 cat confdefs.h
>>conftest.
$ac_ext
30620 cat >>conftest.
$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30623 /* Override any gcc2 internal prototype to avoid an error. */
30627 /* We use char because int might match the return type of a gcc2
30628 builtin and then its argument prototype would still apply. */
30629 char gethostbyname ();
30638 rm -f conftest.
$ac_objext conftest
$ac_exeext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30640 (eval $ac_link) 2>conftest.er1
30642 grep -v '^ *+' conftest.er1
>conftest.err
30644 cat conftest.err
>&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; } &&
30653 { ac_try
='test -s conftest$ac_exeext'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; }; then
30659 ac_cv_lib_bsd_gethostbyname
=yes
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.
$ac_ext >&5
30664 ac_cv_lib_bsd_gethostbyname
=no
30666 rm -f conftest.err conftest.
$ac_objext \
30667 conftest
$ac_exeext conftest.
$ac_ext
30668 LIBS
=$ac_check_lib_save_LIBS
30670 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30671 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30672 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30673 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30679 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30680 # socket/setsockopt and other routines are undefined under SCO ODT
30681 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30682 # on later versions), says Simon Leinen: it contains gethostby*
30683 # variants that don't use the name server (or something). -lsocket
30684 # must be given before -lnsl if both are needed. We assume that
30685 # if connect needs -lnsl, so does gethostbyname.
30686 echo "$as_me:$LINENO: checking for connect" >&5
30687 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30688 if test "${ac_cv_func_connect+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 cat >conftest.
$ac_ext <<_ACEOF
30694 cat confdefs.h
>>conftest.
$ac_ext
30695 cat >>conftest.
$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30699 #define connect innocuous_connect
30701 /* System header to define __stub macros and hopefully few prototypes,
30702 which can conflict with char connect (); below.
30703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30704 <limits.h> exists even on freestanding compilers. */
30707 # include <limits.h>
30709 # include <assert.h>
30714 /* Override any gcc2 internal prototype to avoid an error. */
30719 /* We use char because int might match the return type of a gcc2
30720 builtin and then its argument prototype would still apply. */
30722 /* The GNU C library defines this for functions which it implements
30723 to always fail with ENOSYS. Some functions are actually named
30724 something starting with __ and the normal name is an alias. */
30725 #if defined (__stub_connect) || defined (__stub___connect)
30728 char (*f) () = connect;
30737 return f != connect;
30742 rm -f conftest.
$ac_objext conftest
$ac_exeext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30744 (eval $ac_link) 2>conftest.er1
30746 grep -v '^ *+' conftest.er1
>conftest.err
30748 cat conftest.err
>&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } &&
30751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; } &&
30757 { ac_try
='test -s conftest$ac_exeext'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; }; then
30763 ac_cv_func_connect
=yes
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.
$ac_ext >&5
30768 ac_cv_func_connect
=no
30770 rm -f conftest.err conftest.
$ac_objext \
30771 conftest
$ac_exeext conftest.
$ac_ext
30773 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30774 echo "${ECHO_T}$ac_cv_func_connect" >&6
30776 if test $ac_cv_func_connect = no
; then
30777 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30778 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30779 if test "${ac_cv_lib_socket_connect+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 ac_check_lib_save_LIBS
=$LIBS
30783 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30784 cat >conftest.
$ac_ext <<_ACEOF
30787 cat confdefs.h
>>conftest.
$ac_ext
30788 cat >>conftest.
$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30791 /* Override any gcc2 internal prototype to avoid an error. */
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30806 rm -f conftest.
$ac_objext conftest
$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30810 grep -v '^ *+' conftest.er1
>conftest.err
30812 cat conftest.err
>&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30817 (eval $ac_try) 2>&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); }; } &&
30821 { ac_try
='test -s conftest$ac_exeext'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 ac_cv_lib_socket_connect
=yes
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.
$ac_ext >&5
30832 ac_cv_lib_socket_connect
=no
30834 rm -f conftest.err conftest.
$ac_objext \
30835 conftest
$ac_exeext conftest.
$ac_ext
30836 LIBS
=$ac_check_lib_save_LIBS
30838 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30840 if test $ac_cv_lib_socket_connect = yes; then
30841 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30846 # Guillermo Gomez says -lposix is necessary on A/UX.
30847 echo "$as_me:$LINENO: checking for remove" >&5
30848 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30849 if test "${ac_cv_func_remove+set}" = set; then
30850 echo $ECHO_N "(cached) $ECHO_C" >&6
30852 cat >conftest.
$ac_ext <<_ACEOF
30855 cat confdefs.h
>>conftest.
$ac_ext
30856 cat >>conftest.
$ac_ext <<_ACEOF
30857 /* end confdefs.h. */
30858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30860 #define remove innocuous_remove
30862 /* System header to define __stub macros and hopefully few prototypes,
30863 which can conflict with char remove (); below.
30864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30865 <limits.h> exists even on freestanding compilers. */
30868 # include <limits.h>
30870 # include <assert.h>
30875 /* Override any gcc2 internal prototype to avoid an error. */
30880 /* We use char because int might match the return type of a gcc2
30881 builtin and then its argument prototype would still apply. */
30883 /* The GNU C library defines this for functions which it implements
30884 to always fail with ENOSYS. Some functions are actually named
30885 something starting with __ and the normal name is an alias. */
30886 #if defined (__stub_remove) || defined (__stub___remove)
30889 char (*f) () = remove;
30898 return f != remove;
30903 rm -f conftest.
$ac_objext conftest
$ac_exeext
30904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30905 (eval $ac_link) 2>conftest.er1
30907 grep -v '^ *+' conftest.er1
>conftest.err
30909 cat conftest.err
>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); } &&
30912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try
='test -s conftest$ac_exeext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 ac_cv_func_remove
=yes
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.
$ac_ext >&5
30929 ac_cv_func_remove
=no
30931 rm -f conftest.err conftest.
$ac_objext \
30932 conftest
$ac_exeext conftest.
$ac_ext
30934 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30935 echo "${ECHO_T}$ac_cv_func_remove" >&6
30937 if test $ac_cv_func_remove = no
; then
30938 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30939 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30940 if test "${ac_cv_lib_posix_remove+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30943 ac_check_lib_save_LIBS
=$LIBS
30944 LIBS
="-lposix $LIBS"
30945 cat >conftest.
$ac_ext <<_ACEOF
30948 cat confdefs.h
>>conftest.
$ac_ext
30949 cat >>conftest.
$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30952 /* Override any gcc2 internal prototype to avoid an error. */
30956 /* We use char because int might match the return type of a gcc2
30957 builtin and then its argument prototype would still apply. */
30967 rm -f conftest.
$ac_objext conftest
$ac_exeext
30968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30969 (eval $ac_link) 2>conftest.er1
30971 grep -v '^ *+' conftest.er1
>conftest.err
30973 cat conftest.err
>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); } &&
30976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; } &&
30982 { ac_try
='test -s conftest$ac_exeext'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; }; then
30988 ac_cv_lib_posix_remove
=yes
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.
$ac_ext >&5
30993 ac_cv_lib_posix_remove
=no
30995 rm -f conftest.err conftest.
$ac_objext \
30996 conftest
$ac_exeext conftest.
$ac_ext
30997 LIBS
=$ac_check_lib_save_LIBS
30999 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31000 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31001 if test $ac_cv_lib_posix_remove = yes; then
31002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
31007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31008 echo "$as_me:$LINENO: checking for shmat" >&5
31009 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31010 if test "${ac_cv_func_shmat+set}" = set; then
31011 echo $ECHO_N "(cached) $ECHO_C" >&6
31013 cat >conftest.
$ac_ext <<_ACEOF
31016 cat confdefs.h
>>conftest.
$ac_ext
31017 cat >>conftest.
$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31021 #define shmat innocuous_shmat
31023 /* System header to define __stub macros and hopefully few prototypes,
31024 which can conflict with char shmat (); below.
31025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31026 <limits.h> exists even on freestanding compilers. */
31029 # include <limits.h>
31031 # include <assert.h>
31036 /* Override any gcc2 internal prototype to avoid an error. */
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31044 /* The GNU C library defines this for functions which it implements
31045 to always fail with ENOSYS. Some functions are actually named
31046 something starting with __ and the normal name is an alias. */
31047 #if defined (__stub_shmat) || defined (__stub___shmat)
31050 char (*f) () = shmat;
31064 rm -f conftest.
$ac_objext conftest
$ac_exeext
31065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31066 (eval $ac_link) 2>conftest.er1
31068 grep -v '^ *+' conftest.er1
>conftest.err
31070 cat conftest.err
>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } &&
31073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; } &&
31079 { ac_try
='test -s conftest$ac_exeext'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; }; then
31085 ac_cv_func_shmat
=yes
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.
$ac_ext >&5
31090 ac_cv_func_shmat
=no
31092 rm -f conftest.err conftest.
$ac_objext \
31093 conftest
$ac_exeext conftest.
$ac_ext
31095 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31096 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31098 if test $ac_cv_func_shmat = no
; then
31099 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31100 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31101 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 ac_check_lib_save_LIBS
=$LIBS
31106 cat >conftest.
$ac_ext <<_ACEOF
31109 cat confdefs.h
>>conftest.
$ac_ext
31110 cat >>conftest.
$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31113 /* Override any gcc2 internal prototype to avoid an error. */
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31128 rm -f conftest.
$ac_objext conftest
$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try
='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_ipc_shmat
=yes
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.
$ac_ext >&5
31154 ac_cv_lib_ipc_shmat
=no
31156 rm -f conftest.err conftest.
$ac_objext \
31157 conftest
$ac_exeext conftest.
$ac_ext
31158 LIBS
=$ac_check_lib_save_LIBS
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31161 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31162 if test $ac_cv_lib_ipc_shmat = yes; then
31163 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31169 # Check for libraries that X11R6 Xt/Xaw programs need.
31170 ac_save_LDFLAGS
=$LDFLAGS
31171 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31172 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31173 # check for ICE first), but we must link in the order -lSM -lICE or
31174 # we get undefined symbols. So assume we have SM if we have ICE.
31175 # These have to be linked with before -lX11, unlike the other
31176 # libraries we check for below, so use a different variable.
31177 # John Interrante, Karl Berry
31178 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31179 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31180 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31183 ac_check_lib_save_LIBS
=$LIBS
31184 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31185 cat >conftest.
$ac_ext <<_ACEOF
31188 cat confdefs.h
>>conftest.
$ac_ext
31189 cat >>conftest.
$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31192 /* Override any gcc2 internal prototype to avoid an error. */
31196 /* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
31198 char IceConnectionNumber ();
31202 IceConnectionNumber ();
31207 rm -f conftest.
$ac_objext conftest
$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31211 grep -v '^ *+' conftest.er1
>conftest.err
31213 cat conftest.err
>&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; } &&
31222 { ac_try
='test -s conftest$ac_exeext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 ac_cv_lib_ICE_IceConnectionNumber
=yes
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.
$ac_ext >&5
31233 ac_cv_lib_ICE_IceConnectionNumber
=no
31235 rm -f conftest.err conftest.
$ac_objext \
31236 conftest
$ac_exeext conftest.
$ac_ext
31237 LIBS
=$ac_check_lib_save_LIBS
31239 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31240 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31241 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31242 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31245 LDFLAGS
=$ac_save_LDFLAGS
31250 if test "$no_x" = "yes"; then
31251 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31252 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31253 { (exit 1); exit 1; }; }
31256 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31257 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31258 AFMINSTALL
=afminstall
31259 COMPILED_X_PROGRAM
=0
31263 if test "$wxUSE_X11" = 1; then
31264 if test "$wxUSE_NANOX" = "yes"; then
31265 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31266 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31267 if test "x$MICROWIN" = x
; then
31268 echo "$as_me:$LINENO: result: not found" >&5
31269 echo "${ECHO_T}not found" >&6
31270 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31271 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31272 { (exit 1); exit 1; }; }
31274 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31275 echo "${ECHO_T}$MICROWIN" >&6
31276 cat >>confdefs.h
<<\_ACEOF
31277 #define wxUSE_NANOX 1
31283 if test "$wxUSE_UNICODE" = "yes"; then
31286 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31287 if test -n "$ac_tool_prefix"; then
31288 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31289 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31290 echo "$as_me:$LINENO: checking for $ac_word" >&5
31291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31292 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 case $PKG_CONFIG in
31297 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31301 for as_dir
in $PATH
31304 test -z "$as_dir" && as_dir
=.
31305 for ac_exec_ext
in '' $ac_executable_extensions; do
31306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31307 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31317 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31319 if test -n "$PKG_CONFIG"; then
31320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31321 echo "${ECHO_T}$PKG_CONFIG" >&6
31323 echo "$as_me:$LINENO: result: no" >&5
31324 echo "${ECHO_T}no" >&6
31328 if test -z "$ac_cv_path_PKG_CONFIG"; then
31329 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31330 # Extract the first word of "pkg-config", so it can be a program name with args.
31331 set dummy pkg
-config; ac_word
=$2
31332 echo "$as_me:$LINENO: checking for $ac_word" >&5
31333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31335 echo $ECHO_N "(cached) $ECHO_C" >&6
31337 case $ac_pt_PKG_CONFIG in
31339 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31343 for as_dir
in $PATH
31346 test -z "$as_dir" && as_dir
=.
31347 for ac_exec_ext
in '' $ac_executable_extensions; do
31348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31349 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31359 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31361 if test -n "$ac_pt_PKG_CONFIG"; then
31362 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31363 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31365 echo "$as_me:$LINENO: result: no" >&5
31366 echo "${ECHO_T}no" >&6
31369 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31371 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31375 if test -n "$PKG_CONFIG"; then
31376 _pkg_min_version
=0.9.0
31377 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31378 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31379 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31380 echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6
31383 echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6
31392 echo "$as_me:$LINENO: checking for PANGOX" >&5
31393 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31395 if test -n "$PKG_CONFIG"; then
31396 if test -n "$PANGOX_CFLAGS"; then
31397 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31399 if test -n "$PKG_CONFIG" && \
31400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31401 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; then
31405 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31413 if test -n "$PKG_CONFIG"; then
31414 if test -n "$PANGOX_LIBS"; then
31415 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31417 if test -n "$PKG_CONFIG" && \
31418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31419 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; then
31423 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31434 if test $pkg_failed = yes; then
31436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31437 _pkg_short_errors_supported
=yes
31439 _pkg_short_errors_supported
=no
31441 if test $_pkg_short_errors_supported = yes; then
31442 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31444 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31446 # Put the nasty error message in config.log where it belongs
31447 echo "$PANGOX_PKG_ERRORS" >&5
31450 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31451 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31452 { (exit 1); exit 1; }; }
31455 elif test $pkg_failed = untried
; then
31457 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31458 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31459 { (exit 1); exit 1; }; }
31463 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31464 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31465 echo "$as_me:$LINENO: result: yes" >&5
31466 echo "${ECHO_T}yes" >&6
31468 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31469 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31474 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31475 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31477 if test -n "$PKG_CONFIG"; then
31478 if test -n "$PANGOFT2_CFLAGS"; then
31479 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31481 if test -n "$PKG_CONFIG" && \
31482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31483 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; then
31487 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31495 if test -n "$PKG_CONFIG"; then
31496 if test -n "$PANGOFT2_LIBS"; then
31497 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31499 if test -n "$PKG_CONFIG" && \
31500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31501 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; then
31505 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31516 if test $pkg_failed = yes; then
31518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31519 _pkg_short_errors_supported
=yes
31521 _pkg_short_errors_supported
=no
31523 if test $_pkg_short_errors_supported = yes; then
31524 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31526 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31528 # Put the nasty error message in config.log where it belongs
31529 echo "$PANGOFT2_PKG_ERRORS" >&5
31532 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31533 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31534 wxUSE_PRINTING_ARCHITECTURE
="no"
31537 elif test $pkg_failed = untried
; then
31539 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31540 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31541 wxUSE_PRINTING_ARCHITECTURE
="no"
31545 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31546 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31547 echo "$as_me:$LINENO: result: yes" >&5
31548 echo "${ECHO_T}yes" >&6
31550 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31551 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31556 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31557 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31559 if test -n "$PKG_CONFIG"; then
31560 if test -n "$PANGOXFT_CFLAGS"; then
31561 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31563 if test -n "$PKG_CONFIG" && \
31564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31565 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; then
31569 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31577 if test -n "$PKG_CONFIG"; then
31578 if test -n "$PANGOXFT_LIBS"; then
31579 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31581 if test -n "$PKG_CONFIG" && \
31582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31583 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; then
31587 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31598 if test $pkg_failed = yes; then
31600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31601 _pkg_short_errors_supported
=yes
31603 _pkg_short_errors_supported
=no
31605 if test $_pkg_short_errors_supported = yes; then
31606 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31608 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31610 # Put the nasty error message in config.log where it belongs
31611 echo "$PANGOXFT_PKG_ERRORS" >&5
31614 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31615 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31618 elif test $pkg_failed = untried
; then
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31625 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31626 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31627 echo "$as_me:$LINENO: result: yes" >&5
31628 echo "${ECHO_T}yes" >&6
31630 cat >>confdefs.h
<<\_ACEOF
31631 #define HAVE_PANGO_XFT 1
31634 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31635 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31638 save_CXXFLAGS
="$CXXFLAGS"
31640 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31641 LIBS
="$LIBS $PANGOX_LIBS"
31643 for ac_func
in pango_font_family_is_monospace
31645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31646 echo "$as_me:$LINENO: checking for $ac_func" >&5
31647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31648 if eval "test \"\${$as_ac_var+set}\" = set"; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31651 cat >conftest.
$ac_ext <<_ACEOF
31654 cat confdefs.h
>>conftest.
$ac_ext
31655 cat >>conftest.
$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31659 #define $ac_func innocuous_$ac_func
31661 /* System header to define __stub macros and hopefully few prototypes,
31662 which can conflict with char $ac_func (); below.
31663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31664 <limits.h> exists even on freestanding compilers. */
31667 # include <limits.h>
31669 # include <assert.h>
31674 /* Override any gcc2 internal prototype to avoid an error. */
31679 /* We use char because int might match the return type of a gcc2
31680 builtin and then its argument prototype would still apply. */
31682 /* The GNU C library defines this for functions which it implements
31683 to always fail with ENOSYS. Some functions are actually named
31684 something starting with __ and the normal name is an alias. */
31685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31688 char (*f) () = $ac_func;
31697 return f != $ac_func;
31702 rm -f conftest.
$ac_objext conftest
$ac_exeext
31703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31704 (eval $ac_link) 2>conftest.er1
31706 grep -v '^ *+' conftest.er1
>conftest.err
31708 cat conftest.err
>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } &&
31711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; } &&
31717 { ac_try
='test -s conftest$ac_exeext'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; }; then
31723 eval "$as_ac_var=yes"
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.
$ac_ext >&5
31728 eval "$as_ac_var=no"
31730 rm -f conftest.err conftest.
$ac_objext \
31731 conftest
$ac_exeext conftest.
$ac_ext
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735 if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h
<<_ACEOF
31737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31743 CXXFLAGS
="$save_CXXFLAGS"
31747 wxUSE_UNIVERSAL
="yes"
31749 if test "$wxUSE_NANOX" = "yes"; then
31750 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31751 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"
31752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31761 if test "$wxUSE_MOTIF" = 1; then
31762 if test "$wxUSE_UNICODE" = "yes"; then
31763 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31764 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31765 { (exit 1); exit 1; }; }
31768 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31769 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31772 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31774 if test -f "$ac_dir/Xm/Xm.h"; then
31775 ac_find_includes
=$ac_dir
31780 if test "$ac_find_includes" != "" ; then
31781 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31782 echo "${ECHO_T}found in $ac_find_includes" >&6
31784 if test "x$ac_find_includes" = "x/usr/include"; then
31785 ac_path_to_include
=""
31787 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31789 if test $result = 0; then
31790 ac_path_to_include
=""
31792 ac_path_to_include
=" -I$ac_find_includes"
31796 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31798 save_CXXFLAGS
=$CXXFLAGS
31799 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31801 cat >conftest.
$ac_ext <<_ACEOF
31804 cat confdefs.h
>>conftest.
$ac_ext
31805 cat >>conftest.
$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31815 version = xmUseVersion;
31821 rm -f conftest.
$ac_objext
31822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31823 (eval $ac_compile) 2>conftest.er1
31825 grep -v '^ *+' conftest.er1
>conftest.err
31827 cat conftest.err
>&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); } &&
31830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832 (eval $ac_try) 2>&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); }; } &&
31836 { ac_try
='test -s conftest.$ac_objext'
31837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838 (eval $ac_try) 2>&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31843 echo "$as_me:$LINENO: result: found in default search path" >&5
31844 echo "${ECHO_T}found in default search path" >&6
31845 COMPILED_X_PROGRAM
=1
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.
$ac_ext >&5
31852 echo "$as_me:$LINENO: result: no" >&5
31853 echo "${ECHO_T}no" >&6
31854 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31855 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31856 { (exit 1); exit 1; }; }
31860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31862 CXXFLAGS
=$save_CXXFLAGS
31866 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31867 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31870 for ac_dir
in $SEARCH_LIB;
31872 for ac_extension
in a so sl dylib dll.a
; do
31873 if test -f "$ac_dir/libXm.$ac_extension"; then
31874 ac_find_libraries
=$ac_dir
31881 if test "x$ac_find_libraries" != "x" ; then
31882 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31883 echo "${ECHO_T}found in $ac_find_libraries" >&6
31886 if test "$ac_find_libraries" = "default location"; then
31889 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31891 if test $result = 0; then
31894 ac_path_to_link
=" -L$ac_find_libraries"
31898 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31900 save_CXXFLAGS
=$CXXFLAGS
31901 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31903 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31905 cat >conftest.
$ac_ext <<_ACEOF
31908 cat confdefs.h
>>conftest.
$ac_ext
31909 cat >>conftest.
$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31919 version = xmUseVersion;
31925 rm -f conftest.
$ac_objext conftest
$ac_exeext
31926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31927 (eval $ac_link) 2>conftest.er1
31929 grep -v '^ *+' conftest.er1
>conftest.err
31931 cat conftest.err
>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); } &&
31934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try
='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31947 echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6
31949 COMPILED_X_PROGRAM
=1
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.
$ac_ext >&5
31956 echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6
31958 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31959 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31960 { (exit 1); exit 1; }; }
31964 rm -f conftest.err conftest.
$ac_objext \
31965 conftest
$ac_exeext conftest.
$ac_ext
31967 CXXFLAGS
=$save_CXXFLAGS
31971 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31972 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31976 for libp
in "" " -lXp"; do
31977 if test "$libs_found" = "0"; then
31978 for libsm_ice
in "" " -lSM -lICE"; do
31979 if test "$libs_found" = "0"; then
31981 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31982 save_CXXFLAGS
=$CXXFLAGS
31983 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31985 cat >conftest.
$ac_ext <<_ACEOF
31988 cat confdefs.h
>>conftest.
$ac_ext
31989 cat >>conftest.
$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31993 #include <Xm/List.h>
31999 XmString string = NULL;
32002 XmListAddItem(w, string, position);
32008 rm -f conftest.
$ac_objext conftest
$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32012 grep -v '^ *+' conftest.er1
>conftest.err
32014 cat conftest.err
>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32019 (eval $ac_try) 2>&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try
='test -s conftest$ac_exeext'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; }; then
32031 libsm_ice_link
="$libsm_ice"
32032 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32033 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.
$ac_ext >&5
32043 rm -f conftest.err conftest.
$ac_objext \
32044 conftest
$ac_exeext conftest.
$ac_ext
32047 CXXFLAGS
=$save_CXXFLAGS
32053 if test "$libs_found" = "0"; then
32054 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32055 echo "${ECHO_T}can't find the right libraries" >&6
32056 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32057 echo "$as_me: error: can't link a simple motif program" >&2;}
32058 { (exit 1); exit 1; }; }
32061 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32062 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32063 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 ac_check_lib_save_LIBS
=$LIBS
32068 cat >conftest.
$ac_ext <<_ACEOF
32071 cat confdefs.h
>>conftest.
$ac_ext
32072 cat >>conftest.
$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32075 /* Override any gcc2 internal prototype to avoid an error. */
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32081 char SgCreateList ();
32090 rm -f conftest.
$ac_objext conftest
$ac_exeext
32091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32092 (eval $ac_link) 2>conftest.er1
32094 grep -v '^ *+' conftest.er1
>conftest.err
32096 cat conftest.err
>&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); } &&
32099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; } &&
32105 { ac_try
='test -s conftest$ac_exeext'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; }; then
32111 ac_cv_lib_Sgm_SgCreateList
=yes
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.
$ac_ext >&5
32116 ac_cv_lib_Sgm_SgCreateList
=no
32118 rm -f conftest.err conftest.
$ac_objext \
32119 conftest
$ac_exeext conftest.
$ac_ext
32120 LIBS
=$ac_check_lib_save_LIBS
32122 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32123 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32124 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32125 libsgm_link
=" -lSgm"
32129 save_CXXFLAGS
=$CXXFLAGS
32130 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32132 echo "$as_me:$LINENO: checking for Motif 2" >&5
32133 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32134 if test "${wx_cv_lib_motif2+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32137 cat >conftest.
$ac_ext <<_ACEOF
32140 cat confdefs.h
>>conftest.
$ac_ext
32141 cat >>conftest.
$ac_ext <<_ACEOF
32142 /* end confdefs.h. */
32150 #if XmVersion < 2000
32158 rm -f conftest.
$ac_objext
32159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32160 (eval $ac_compile) 2>conftest.er1
32162 grep -v '^ *+' conftest.er1
>conftest.err
32164 cat conftest.err
>&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try
='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 wx_cv_lib_motif2
="yes"
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.
$ac_ext >&5
32184 wx_cv_lib_motif2
="no"
32186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32188 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32189 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32190 if test "$wx_cv_lib_motif2" = "yes"; then
32191 cat >>confdefs.h
<<\_ACEOF
32192 #define __WXMOTIF20__ 1
32196 cat >>confdefs.h
<<\_ACEOF
32197 #define __WXMOTIF20__ 0
32202 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32203 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32204 if test "${wx_cv_lib_lesstif+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 cat >conftest.
$ac_ext <<_ACEOF
32210 cat confdefs.h
>>conftest.
$ac_ext
32211 cat >>conftest.
$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32220 #if !defined(LesstifVersion) || LesstifVersion <= 0
32228 rm -f conftest.
$ac_objext
32229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32230 (eval $ac_compile) 2>conftest.er1
32232 grep -v '^ *+' conftest.er1
>conftest.err
32234 cat conftest.err
>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; } &&
32243 { ac_try
='test -s conftest.$ac_objext'
32244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245 (eval $ac_try) 2>&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); }; }; then
32249 wx_cv_lib_lesstif
="yes"
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.
$ac_ext >&5
32254 wx_cv_lib_lesstif
="no"
32256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32259 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32260 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32261 if test "$wx_cv_lib_lesstif" = "yes"; then
32262 cat >>confdefs.h
<<\_ACEOF
32263 #define __WXLESSTIF__ 1
32267 cat >>confdefs.h
<<\_ACEOF
32268 #define __WXLESSTIF__ 0
32273 CXXFLAGS
=$save_CXXFLAGS
32275 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32280 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32281 if test "$wxUSE_LIBXPM" = "sys"; then
32282 echo "$as_me:$LINENO: checking for Xpm library" >&5
32283 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32286 for ac_dir
in $SEARCH_LIB;
32288 for ac_extension
in a so sl dylib dll.a
; do
32289 if test -f "$ac_dir/libXpm.$ac_extension"; then
32290 ac_find_libraries
=$ac_dir
32296 if test "$ac_find_libraries" != "" ; then
32298 if test "$ac_find_libraries" = "default location"; then
32301 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32303 if test $result = 0; then
32306 ac_path_to_link
=" -L$ac_find_libraries"
32310 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32311 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32312 echo "${ECHO_T}found in $ac_find_libraries" >&6
32314 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32315 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32316 if test "${wx_cv_x11_xpm_h+set}" = set; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 save_CXXFLAGS
=$CXXFLAGS
32321 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32323 cat >conftest.
$ac_ext <<_ACEOF
32326 cat confdefs.h
>>conftest.
$ac_ext
32327 cat >>conftest.
$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32330 #include <X11/xpm.h>
32337 version = XpmLibraryVersion();
32343 rm -f conftest.
$ac_objext
32344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32345 (eval $ac_compile) 2>conftest.er1
32347 grep -v '^ *+' conftest.er1
>conftest.err
32349 cat conftest.err
>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try
='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 wx_cv_x11_xpm_h
=yes
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.
$ac_ext >&5
32372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32374 CXXFLAGS
=$save_CXXFLAGS
32378 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32379 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32381 if test $wx_cv_x11_xpm_h = "yes"; then
32382 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32383 cat >>confdefs.h
<<\_ACEOF
32384 #define wxHAVE_LIB_XPM 1
32388 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32389 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32395 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32396 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32397 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 ac_check_lib_save_LIBS
=$LIBS
32401 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32402 cat >conftest.
$ac_ext <<_ACEOF
32405 cat confdefs.h
>>conftest.
$ac_ext
32406 cat >>conftest.
$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32409 /* Override any gcc2 internal prototype to avoid an error. */
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char XShapeQueryExtension ();
32419 XShapeQueryExtension ();
32424 rm -f conftest.
$ac_objext conftest
$ac_exeext
32425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32426 (eval $ac_link) 2>conftest.er1
32428 grep -v '^ *+' conftest.er1
>conftest.err
32430 cat conftest.err
>&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } &&
32433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try
='test -s conftest$ac_exeext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.
$ac_ext >&5
32450 ac_cv_lib_Xext_XShapeQueryExtension
=no
32452 rm -f conftest.err conftest.
$ac_objext \
32453 conftest
$ac_exeext conftest.
$ac_ext
32454 LIBS
=$ac_check_lib_save_LIBS
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32457 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32458 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32460 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32466 if test "$wxHAVE_XEXT_LIB" = 1; then
32467 save_CXXFLAGS
="$CXXFLAGS"
32468 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32470 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32471 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32472 cat >conftest.
$ac_ext <<_ACEOF
32475 cat confdefs.h
>>conftest.
$ac_ext
32476 cat >>conftest.
$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32479 #include <X11/Xlib.h>
32480 #include <X11/extensions/shape.h>
32486 int dummy1, dummy2;
32487 XShapeQueryExtension((Display*)NULL,
32488 (int*)NULL, (int*)NULL);
32494 rm -f conftest.
$ac_objext
32495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32496 (eval $ac_compile) 2>conftest.er1
32498 grep -v '^ *+' conftest.er1
>conftest.err
32500 cat conftest.err
>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try
='test -s conftest.$ac_objext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32516 cat >>confdefs.h
<<\_ACEOF
32517 #define HAVE_XSHAPE 1
32520 echo "$as_me:$LINENO: result: found" >&5
32521 echo "${ECHO_T}found" >&6
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.
$ac_ext >&5
32528 echo "$as_me:$LINENO: result: not found" >&5
32529 echo "${ECHO_T}not found" >&6
32532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32533 CXXFLAGS
="$save_CXXFLAGS"
32538 if test "$wxUSE_MAC" = 1; then
32539 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32540 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32541 if test "$GCC" = yes; then
32542 echo "$as_me:$LINENO: result: gcc" >&5
32543 echo "${ECHO_T}gcc" >&6
32544 CPPFLAGS_PASCAL
="-fpascal-strings"
32545 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32546 echo "$as_me:$LINENO: result: xlc" >&5
32547 echo "${ECHO_T}xlc" >&6
32548 CPPFLAGS_PASCAL
="-qmacpstr"
32550 echo "$as_me:$LINENO: result: none" >&5
32551 echo "${ECHO_T}none" >&6
32554 if test "x$wxUSE_UNIX" = "xyes"; then
32555 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32557 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32562 WXBASEPORT
="_carbon"
32565 if test "$wxUSE_COCOA" = 1; then
32570 if test "$wxUSE_PM" = 1; then
32573 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32574 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32575 if test "${wx_cv_spbcdata+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32579 cat >conftest.
$ac_ext <<_ACEOF
32582 cat confdefs.h
>>conftest.
$ac_ext
32583 cat >>conftest.
$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32599 rm -f conftest.
$ac_objext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32601 (eval $ac_compile) 2>conftest.er1
32603 grep -v '^ *+' conftest.er1
>conftest.err
32605 cat conftest.err
>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; } &&
32614 { ac_try
='test -s conftest.$ac_objext'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; }; then
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.
$ac_ext >&5
32628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32632 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32633 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32635 if test $wx_cv_spbcdata = "yes"; then
32636 cat >>confdefs.h
<<\_ACEOF
32637 #define HAVE_SPBCDATA 1
32643 if test "$TOOLKIT" = "PM" ; then
32646 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32649 if test "$wxUSE_UNIVERSAL" = "yes"; then
32650 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32654 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32655 DISTDIR
="wx\$(TOOLKIT)"
32661 if test "$USE_WIN32" = 1 ; then
32665 GUIDIST
="BASE_DIST"
32670 if test "$wxUSE_GUI" = "yes"; then
32671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32673 for ac_header
in X
11/Xlib.h
32675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo "$as_me:$LINENO: checking for $ac_header" >&5
32678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32685 # Is the header compilable?
32686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32688 cat >conftest.
$ac_ext <<_ACEOF
32691 cat confdefs.h
>>conftest.
$ac_ext
32692 cat >>conftest.
$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 $ac_includes_default
32695 #include <$ac_header>
32697 rm -f conftest.
$ac_objext
32698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32699 (eval $ac_compile) 2>conftest.er1
32701 grep -v '^ *+' conftest.er1
>conftest.err
32703 cat conftest.err
>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try
='test -s conftest.$ac_objext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 ac_header_compiler
=yes
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.
$ac_ext >&5
32723 ac_header_compiler
=no
32725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32727 echo "${ECHO_T}$ac_header_compiler" >&6
32729 # Is the header present?
32730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32732 cat >conftest.
$ac_ext <<_ACEOF
32735 cat confdefs.h
>>conftest.
$ac_ext
32736 cat >>conftest.
$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738 #include <$ac_header>
32740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32743 grep -v '^ *+' conftest.er1
>conftest.err
32745 cat conftest.err
>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } >/dev
/null
; then
32748 if test -s conftest.err
; then
32749 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32750 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32757 if test -z "$ac_cpp_err"; then
32758 ac_header_preproc
=yes
32760 echo "$as_me: failed program was:" >&5
32761 sed 's/^/| /' conftest.
$ac_ext >&5
32763 ac_header_preproc
=no
32765 rm -f conftest.err conftest.
$ac_ext
32766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32767 echo "${ECHO_T}$ac_header_preproc" >&6
32769 # So? What about this header?
32770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32776 ac_header_preproc
=yes
32779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32793 ## ----------------------------------------- ##
32794 ## Report this to wx-dev@lists.wxwidgets.org ##
32795 ## ----------------------------------------- ##
32798 sed "s/^/$as_me: WARNING: /" >&2
32801 echo "$as_me:$LINENO: checking for $ac_header" >&5
32802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 eval "$as_ac_Header=\$ac_header_preproc"
32808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32813 cat >>confdefs.h
<<_ACEOF
32814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32822 for ac_header
in X
11/XKBlib.h
32824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32825 echo "$as_me:$LINENO: checking for $ac_header" >&5
32826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 cat >conftest.
$ac_ext <<_ACEOF
32833 cat confdefs.h
>>conftest.
$ac_ext
32834 cat >>conftest.
$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32837 #if HAVE_X11_XLIB_H
32838 #include <X11/Xlib.h>
32842 #include <$ac_header>
32844 rm -f conftest.
$ac_objext
32845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32846 (eval $ac_compile) 2>conftest.er1
32848 grep -v '^ *+' conftest.er1
>conftest.err
32850 cat conftest.err
>&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); } &&
32853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; } &&
32859 { ac_try
='test -s conftest.$ac_objext'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; }; then
32865 eval "$as_ac_Header=yes"
32867 echo "$as_me: failed program was:" >&5
32868 sed 's/^/| /' conftest.
$ac_ext >&5
32870 eval "$as_ac_Header=no"
32872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32877 cat >>confdefs.h
<<_ACEOF
32878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32893 if test "$TOOLKIT" != "MSW" ; then
32895 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32897 if test "${ac_cv_header_sql_h+set}" = set; then
32898 echo "$as_me:$LINENO: checking for sql.h" >&5
32899 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32900 if test "${ac_cv_header_sql_h+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32906 # Is the header compilable?
32907 echo "$as_me:$LINENO: checking sql.h usability" >&5
32908 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32909 cat >conftest.
$ac_ext <<_ACEOF
32912 cat confdefs.h
>>conftest.
$ac_ext
32913 cat >>conftest.
$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 $ac_includes_default
32918 rm -f conftest.
$ac_objext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32920 (eval $ac_compile) 2>conftest.er1
32922 grep -v '^ *+' conftest.er1
>conftest.err
32924 cat conftest.err
>&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } &&
32927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; } &&
32933 { ac_try
='test -s conftest.$ac_objext'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 ac_header_compiler
=yes
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.
$ac_ext >&5
32944 ac_header_compiler
=no
32946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32948 echo "${ECHO_T}$ac_header_compiler" >&6
32950 # Is the header present?
32951 echo "$as_me:$LINENO: checking sql.h presence" >&5
32952 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32953 cat >conftest.
$ac_ext <<_ACEOF
32956 cat confdefs.h
>>conftest.
$ac_ext
32957 cat >>conftest.
$ac_ext <<_ACEOF
32958 /* end confdefs.h. */
32961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32964 grep -v '^ *+' conftest.er1
>conftest.err
32966 cat conftest.err
>&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } >/dev
/null
; then
32969 if test -s conftest.err
; then
32970 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32971 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32978 if test -z "$ac_cpp_err"; then
32979 ac_header_preproc
=yes
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.
$ac_ext >&5
32984 ac_header_preproc
=no
32986 rm -f conftest.err conftest.
$ac_ext
32987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32988 echo "${ECHO_T}$ac_header_preproc" >&6
32990 # So? What about this header?
32991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32993 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32994 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32995 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32996 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32997 ac_header_preproc
=yes
33000 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33001 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33002 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33003 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33004 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33005 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33006 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33007 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33008 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33009 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33010 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33011 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33014 ## ----------------------------------------- ##
33015 ## Report this to wx-dev@lists.wxwidgets.org ##
33016 ## ----------------------------------------- ##
33019 sed "s/^/$as_me: WARNING: /" >&2
33022 echo "$as_me:$LINENO: checking for sql.h" >&5
33023 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33024 if test "${ac_cv_header_sql_h+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 ac_cv_header_sql_h
=$ac_header_preproc
33029 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33030 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33033 if test $ac_cv_header_sql_h = yes; then
33038 if test "x$found_sql_h" = "x1" ; then
33039 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33040 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33041 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 ac_check_lib_save_LIBS
=$LIBS
33045 LIBS
="-liodbc $LIBS"
33046 cat >conftest.
$ac_ext <<_ACEOF
33049 cat confdefs.h
>>conftest.
$ac_ext
33050 cat >>conftest.
$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33053 /* Override any gcc2 internal prototype to avoid an error. */
33057 /* We use char because int might match the return type of a gcc2
33058 builtin and then its argument prototype would still apply. */
33059 char SQLAllocEnv ();
33068 rm -f conftest.
$ac_objext conftest
$ac_exeext
33069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33070 (eval $ac_link) 2>conftest.er1
33072 grep -v '^ *+' conftest.er1
>conftest.err
33074 cat conftest.err
>&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } &&
33077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; } &&
33083 { ac_try
='test -s conftest$ac_exeext'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; }; then
33089 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33091 echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.
$ac_ext >&5
33094 ac_cv_lib_iodbc_SQLAllocEnv
=no
33096 rm -f conftest.err conftest.
$ac_objext \
33097 conftest
$ac_exeext conftest.
$ac_ext
33098 LIBS
=$ac_check_lib_save_LIBS
33100 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33101 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33102 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33103 ODBC_LINK
=" -liodbc"
33106 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33107 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33108 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 ac_check_lib_save_LIBS
=$LIBS
33112 LIBS
="-lunixodbc $LIBS"
33113 cat >conftest.
$ac_ext <<_ACEOF
33116 cat confdefs.h
>>conftest.
$ac_ext
33117 cat >>conftest.
$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33120 /* Override any gcc2 internal prototype to avoid an error. */
33124 /* We use char because int might match the return type of a gcc2
33125 builtin and then its argument prototype would still apply. */
33126 char SQLAllocEnv ();
33135 rm -f conftest.
$ac_objext conftest
$ac_exeext
33136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33137 (eval $ac_link) 2>conftest.er1
33139 grep -v '^ *+' conftest.er1
>conftest.err
33141 cat conftest.err
>&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } &&
33144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; } &&
33150 { ac_try
='test -s conftest$ac_exeext'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; }; then
33156 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.
$ac_ext >&5
33161 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33163 rm -f conftest.err conftest.
$ac_objext \
33164 conftest
$ac_exeext conftest.
$ac_ext
33165 LIBS
=$ac_check_lib_save_LIBS
33167 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33168 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33169 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33170 ODBC_LINK
=" -lunixodbc"
33173 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33174 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33175 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 ac_check_lib_save_LIBS
=$LIBS
33179 LIBS
="-lodbc $LIBS"
33180 cat >conftest.
$ac_ext <<_ACEOF
33183 cat confdefs.h
>>conftest.
$ac_ext
33184 cat >>conftest.
$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33187 /* Override any gcc2 internal prototype to avoid an error. */
33191 /* We use char because int might match the return type of a gcc2
33192 builtin and then its argument prototype would still apply. */
33193 char SQLAllocEnv ();
33202 rm -f conftest.
$ac_objext conftest
$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33206 grep -v '^ *+' conftest.er1
>conftest.err
33208 cat conftest.err
>&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try
='test -s conftest$ac_exeext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 ac_cv_lib_odbc_SQLAllocEnv
=yes
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.
$ac_ext >&5
33228 ac_cv_lib_odbc_SQLAllocEnv
=no
33230 rm -f conftest.err conftest.
$ac_objext \
33231 conftest
$ac_exeext conftest.
$ac_ext
33232 LIBS
=$ac_check_lib_save_LIBS
33234 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33235 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33236 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33237 ODBC_LINK
=" -lodbc"
33247 if test "x$ODBC_LINK" = "x" ; then
33248 if test "$wxUSE_ODBC" = "sys" ; then
33249 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33250 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33251 { (exit 1); exit 1; }; }
33253 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33254 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33262 if test "$wxUSE_ODBC" = "builtin" ; then
33263 cat >>confdefs.h
<<\_ACEOF
33264 #define wxUSE_BUILTIN_IODBC 1
33270 if test "$wxUSE_ODBC" != "no" ; then
33271 cat >>confdefs.h
<<\_ACEOF
33272 #define wxUSE_ODBC 1
33275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33277 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33281 if test "$wxUSE_DISPLAY" = "yes"; then
33282 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33283 echo "$as_me:$LINENO: checking for Xinerama" >&5
33284 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33287 for ac_dir
in $SEARCH_LIB;
33289 for ac_extension
in a so sl dylib dll.a
; do
33290 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33291 ac_find_libraries
=$ac_dir
33297 if test "$ac_find_libraries" != "" ; then
33299 if test "$ac_find_libraries" = "default location"; then
33302 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33304 if test $result = 0; then
33307 ac_path_to_link
=" -L$ac_find_libraries"
33311 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33312 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33314 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33315 echo "$as_me:$LINENO: result: yes" >&5
33316 echo "${ECHO_T}yes" >&6
33318 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33319 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33322 for ac_dir
in $SEARCH_LIB;
33324 for ac_extension
in a so sl dylib dll.a
; do
33325 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33326 ac_find_libraries
=$ac_dir
33332 if test "$ac_find_libraries" != "" ; then
33333 echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6
33336 for ac_header
in X
11/extensions
/xf86vmode.h
33338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33339 echo "$as_me:$LINENO: checking for $ac_header" >&5
33340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33344 cat >conftest.
$ac_ext <<_ACEOF
33347 cat confdefs.h
>>conftest.
$ac_ext
33348 cat >>conftest.
$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33351 #if HAVE_X11_XLIB_H
33352 #include <X11/Xlib.h>
33356 #include <$ac_header>
33358 rm -f conftest.
$ac_objext
33359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33360 (eval $ac_compile) 2>conftest.er1
33362 grep -v '^ *+' conftest.er1
>conftest.err
33364 cat conftest.err
>&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } &&
33367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33369 (eval $ac_try) 2>&5
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); }; } &&
33373 { ac_try
='test -s conftest.$ac_objext'
33374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33375 (eval $ac_try) 2>&5
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; }; then
33379 eval "$as_ac_Header=yes"
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.
$ac_ext >&5
33384 eval "$as_ac_Header=no"
33386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33391 cat >>confdefs.h
<<_ACEOF
33392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33395 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33402 echo "$as_me:$LINENO: result: no" >&5
33403 echo "${ECHO_T}no" >&6
33407 echo "$as_me:$LINENO: result: no" >&5
33408 echo "${ECHO_T}no" >&6
33409 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33410 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33413 elif test "$wxUSE_MSW" = 1; then
33415 for ac_header
in ddraw.h
33417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33418 echo "$as_me:$LINENO: checking for $ac_header" >&5
33419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 cat >conftest.
$ac_ext <<_ACEOF
33426 cat confdefs.h
>>conftest.
$ac_ext
33427 cat >>conftest.
$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429 #include <windows.h>
33431 #include <$ac_header>
33433 rm -f conftest.
$ac_objext
33434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33435 (eval $ac_compile) 2>conftest.er1
33437 grep -v '^ *+' conftest.er1
>conftest.err
33439 cat conftest.err
>&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); } &&
33442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33448 { ac_try
='test -s conftest.$ac_objext'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; }; then
33454 eval "$as_ac_Header=yes"
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.
$ac_ext >&5
33459 eval "$as_ac_Header=no"
33461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33466 cat >>confdefs.h
<<_ACEOF
33467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33477 if test "$wxUSE_DETECT_SM" = "yes"; then
33478 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33479 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33480 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33483 for ac_dir
in $SEARCH_LIB;
33485 for ac_extension
in a so sl dylib dll.a
; do
33486 if test -f "$ac_dir/libSM.$ac_extension"; then
33487 ac_find_libraries
=$ac_dir
33493 if test "$ac_find_libraries" != "" ; then
33495 if test "$ac_find_libraries" = "default location"; then
33498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33500 if test $result = 0; then
33503 ac_path_to_link
=" -L$ac_find_libraries"
33507 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33508 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33510 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33511 echo "$as_me:$LINENO: result: yes" >&5
33512 echo "${ECHO_T}yes" >&6
33514 echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6
33516 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33517 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33518 wxUSE_DETECT_SM
="no"
33521 wxUSE_DETECT_SM
="no"
33528 if test "$wxUSE_OPENGL" = "yes"; then
33529 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33530 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33531 elif test "$wxUSE_MSW" = 1; then
33532 OPENGL_LIBS
="-lopengl32 -lglu32"
33534 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33535 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33538 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
33540 if test -f "$ac_dir/GL/gl.h"; then
33541 ac_find_includes
=$ac_dir
33546 if test "$ac_find_includes" != "" ; then
33547 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33548 echo "${ECHO_T}found in $ac_find_includes" >&6
33550 if test "x$ac_find_includes" = "x/usr/include"; then
33551 ac_path_to_include
=""
33553 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33555 if test $result = 0; then
33556 ac_path_to_include
=""
33558 ac_path_to_include
=" -I$ac_find_includes"
33562 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33564 echo "$as_me:$LINENO: result: not found" >&5
33565 echo "${ECHO_T}not found" >&6
33568 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33569 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33570 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33571 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33575 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33577 # Is the header compilable?
33578 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33579 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33580 cat >conftest.
$ac_ext <<_ACEOF
33583 cat confdefs.h
>>conftest.
$ac_ext
33584 cat >>conftest.
$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586 $ac_includes_default
33589 rm -f conftest.
$ac_objext
33590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33591 (eval $ac_compile) 2>conftest.er1
33593 grep -v '^ *+' conftest.er1
>conftest.err
33595 cat conftest.err
>&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } &&
33598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try
='test -s conftest.$ac_objext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 ac_header_compiler
=yes
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.
$ac_ext >&5
33615 ac_header_compiler
=no
33617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33619 echo "${ECHO_T}$ac_header_compiler" >&6
33621 # Is the header present?
33622 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33623 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33624 cat >conftest.
$ac_ext <<_ACEOF
33627 cat confdefs.h
>>conftest.
$ac_ext
33628 cat >>conftest.
$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33635 grep -v '^ *+' conftest.er1
>conftest.err
33637 cat conftest.err
>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } >/dev
/null
; then
33640 if test -s conftest.err
; then
33641 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33642 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33649 if test -z "$ac_cpp_err"; then
33650 ac_header_preproc
=yes
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.
$ac_ext >&5
33655 ac_header_preproc
=no
33657 rm -f conftest.err conftest.
$ac_ext
33658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33659 echo "${ECHO_T}$ac_header_preproc" >&6
33661 # So? What about this header?
33662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33665 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33667 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33668 ac_header_preproc
=yes
33671 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33672 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33673 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33674 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33675 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33676 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33677 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33678 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33680 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33682 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33685 ## ----------------------------------------- ##
33686 ## Report this to wx-dev@lists.wxwidgets.org ##
33687 ## ----------------------------------------- ##
33690 sed "s/^/$as_me: WARNING: /" >&2
33693 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33694 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33695 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 ac_cv_header_GL_gl_h
=$ac_header_preproc
33700 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33701 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33704 if test $ac_cv_header_GL_gl_h = yes; then
33706 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33707 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33708 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33709 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33713 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33715 # Is the header compilable?
33716 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33717 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33718 cat >conftest.
$ac_ext <<_ACEOF
33721 cat confdefs.h
>>conftest.
$ac_ext
33722 cat >>conftest.
$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724 $ac_includes_default
33725 #include <GL/glu.h>
33727 rm -f conftest.
$ac_objext
33728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33729 (eval $ac_compile) 2>conftest.er1
33731 grep -v '^ *+' conftest.er1
>conftest.err
33733 cat conftest.err
>&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); } &&
33736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33738 (eval $ac_try) 2>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); }; } &&
33742 { ac_try
='test -s conftest.$ac_objext'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }; then
33748 ac_header_compiler
=yes
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.
$ac_ext >&5
33753 ac_header_compiler
=no
33755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33757 echo "${ECHO_T}$ac_header_compiler" >&6
33759 # Is the header present?
33760 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33761 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33762 cat >conftest.
$ac_ext <<_ACEOF
33765 cat confdefs.h
>>conftest.
$ac_ext
33766 cat >>conftest.
$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33768 #include <GL/glu.h>
33770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33773 grep -v '^ *+' conftest.er1
>conftest.err
33775 cat conftest.err
>&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } >/dev
/null
; then
33778 if test -s conftest.err
; then
33779 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33780 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33787 if test -z "$ac_cpp_err"; then
33788 ac_header_preproc
=yes
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.
$ac_ext >&5
33793 ac_header_preproc
=no
33795 rm -f conftest.err conftest.
$ac_ext
33796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33797 echo "${ECHO_T}$ac_header_preproc" >&6
33799 # So? What about this header?
33800 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33802 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33803 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33804 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33805 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33806 ac_header_preproc
=yes
33809 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33810 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33811 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33812 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33813 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33814 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33815 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33816 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33817 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33818 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33819 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33820 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33823 ## ----------------------------------------- ##
33824 ## Report this to wx-dev@lists.wxwidgets.org ##
33825 ## ----------------------------------------- ##
33828 sed "s/^/$as_me: WARNING: /" >&2
33831 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33832 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33833 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 ac_cv_header_GL_glu_h
=$ac_header_preproc
33838 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33839 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33842 if test $ac_cv_header_GL_glu_h = yes; then
33846 echo "$as_me:$LINENO: checking for -lGL" >&5
33847 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33850 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
33852 for ac_extension
in a so sl dylib dll.a
; do
33853 if test -f "$ac_dir/libGL.$ac_extension"; then
33854 ac_find_libraries
=$ac_dir
33860 if test "$ac_find_libraries" != "" ; then
33861 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33862 echo "${ECHO_T}found in $ac_find_libraries" >&6
33865 if test "$ac_find_libraries" = "default location"; then
33868 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33870 if test $result = 0; then
33873 ac_path_to_link
=" -L$ac_find_libraries"
33877 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33878 LDFLAGS_GL
="$ac_path_to_link"
33881 echo "$as_me:$LINENO: checking for -lGLU" >&5
33882 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33885 for ac_dir
in $SEARCH_LIB;
33887 for ac_extension
in a so sl dylib dll.a
; do
33888 if test -f "$ac_dir/libGLU.$ac_extension"; then
33889 ac_find_libraries
=$ac_dir
33895 if test "$ac_find_libraries" != "" ; then
33897 if test "$ac_find_libraries" = "default location"; then
33900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33902 if test $result = 0; then
33905 ac_path_to_link
=" -L$ac_find_libraries"
33909 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33910 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33911 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33915 OPENGL_LIBS
="-lGL -lGLU"
33916 echo "$as_me:$LINENO: result: yes" >&5
33917 echo "${ECHO_T}yes" >&6
33919 echo "$as_me:$LINENO: result: no" >&5
33920 echo "${ECHO_T}no" >&6
33923 echo "$as_me:$LINENO: result: no" >&5
33924 echo "${ECHO_T}no" >&6
33927 if test "$found_gl" != 1; then
33928 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33929 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33932 for ac_dir
in $SEARCH_LIB;
33934 for ac_extension
in a so sl dylib dll.a
; do
33935 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33936 ac_find_libraries
=$ac_dir
33942 if test "$ac_find_libraries" != "" ; then
33944 if test "$ac_find_libraries" = "default location"; then
33947 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33949 if test $result = 0; then
33952 ac_path_to_link
=" -L$ac_find_libraries"
33956 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33957 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33958 echo "$as_me:$LINENO: result: yes" >&5
33959 echo "${ECHO_T}yes" >&6
33961 echo "$as_me:$LINENO: result: no" >&5
33962 echo "${ECHO_T}no" >&6
33974 if test "x$OPENGL_LIBS" = "x"; then
33975 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33976 echo "$as_me: error: OpenGL libraries not available" >&2;}
33977 { (exit 1); exit 1; }; }
33981 if test "$wxUSE_OPENGL" = "yes"; then
33983 cat >>confdefs.h
<<\_ACEOF
33984 #define wxUSE_OPENGL 1
33987 cat >>confdefs.h
<<\_ACEOF
33988 #define wxUSE_GLCANVAS 1
33991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33996 if test -n "$TOOLKIT" ; then
33997 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34002 if test "$wxUSE_SHARED" = "yes"; then
34006 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34007 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34012 if test "$wxUSE_SHARED" = "yes"; then
34015 found_versioning
=no
34018 if test $found_versioning = no
; then
34019 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34020 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34021 if test "${wx_cv_version_script+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34025 echo "VER_1 { *; };" >conftest.sym
34026 echo "int main() { return 0; }" >conftest.cpp
34029 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34030 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; } ; then
34036 if test -s conftest.stderr
; then
34037 wx_cv_version_script
=no
34039 wx_cv_version_script
=yes
34042 wx_cv_version_script
=no
34045 if test $wx_cv_version_script = yes
34047 echo "struct B { virtual ~B() { } }; \
34048 struct D : public B { }; \
34049 void F() { D d; }" > conftest.cpp
34052 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34053 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; } &&
34060 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34061 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }
34069 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34070 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; }
34077 wx_cv_version_script
=yes
34079 wx_cv_version_script
=no
34084 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34085 rm -f conftest1.output conftest2.output conftest3.output
34088 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34089 echo "${ECHO_T}$wx_cv_version_script" >&6
34090 if test $wx_cv_version_script = yes ; then
34091 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34097 *-*-linux* | *-*-gnu* )
34098 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34099 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34103 if test "$GCC" = yes ; then
34104 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34106 saveLdflags
="$LDFLAGS"
34107 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34108 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34109 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34110 cat >conftest.
$ac_ext <<_ACEOF
34113 cat confdefs.h
>>conftest.
$ac_ext
34114 cat >>conftest.
$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34125 rm -f conftest.
$ac_objext conftest
$ac_exeext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34127 (eval $ac_link) 2>conftest.er1
34129 grep -v '^ *+' conftest.er1
>conftest.err
34131 cat conftest.err
>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34136 (eval $ac_try) 2>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; } &&
34140 { ac_try
='test -s conftest$ac_exeext'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; }; then
34147 echo "$as_me:$LINENO: result: yes" >&5
34148 echo "${ECHO_T}yes" >&6
34149 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34150 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.
$ac_ext >&5
34157 echo "$as_me:$LINENO: result: no" >&5
34158 echo "${ECHO_T}no" >&6
34159 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34160 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34161 LDFLAGS
="$saveLdflags -Wl,-R,/"
34162 cat >conftest.
$ac_ext <<_ACEOF
34165 cat confdefs.h
>>conftest.
$ac_ext
34166 cat >>conftest.
$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34177 rm -f conftest.
$ac_objext conftest
$ac_exeext
34178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34179 (eval $ac_link) 2>conftest.er1
34181 grep -v '^ *+' conftest.er1
>conftest.err
34183 cat conftest.err
>&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; } &&
34192 { ac_try
='test -s conftest$ac_exeext'
34193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34194 (eval $ac_try) 2>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); }; }; then
34199 echo "$as_me:$LINENO: result: yes" >&5
34200 echo "${ECHO_T}yes" >&6
34201 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34202 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.
$ac_ext >&5
34209 echo "$as_me:$LINENO: result: no" >&5
34210 echo "${ECHO_T}no" >&6
34213 rm -f conftest.err conftest.
$ac_objext \
34214 conftest
$ac_exeext conftest.
$ac_ext
34217 rm -f conftest.err conftest.
$ac_objext \
34218 conftest
$ac_exeext conftest.
$ac_ext
34219 LDFLAGS
="$saveLdflags"
34221 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34222 WXCONFIG_RPATH
="-R\$libdir"
34227 install_name_tool
=`which install_name_tool`
34228 if test "$install_name_tool" -a -x "$install_name_tool"; then
34229 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34230 cat <<EOF >change-install-names
34232 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34233 inst_cmd="install_name_tool "
34234 for i in \${libnames} ; do
34235 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34239 chmod +x change
-install-names
34243 *-*-cygwin* | *-*-mingw32* )
34244 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34248 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34249 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34254 if test $wxUSE_RPATH = "no"; then
34255 SAMPLES_RPATH_FLAG
=''
34256 SAMPLES_RPATH_POSTLINK
=''
34264 config_linkage_component
="-static"
34271 lib_unicode_suffix
=
34273 if test "$wxUSE_UNICODE" = "yes"; then
34274 lib_unicode_suffix
=u
34275 WX_CHARTYPE
="unicode"
34280 WX_DEBUGTYPE
="release"
34282 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34284 WX_DEBUGTYPE
="debug"
34288 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34289 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34296 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34298 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34300 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34302 if test "$cross_compiling" = "yes"; then
34303 HOST_SUFFIX
="-$host_alias"
34304 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34305 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34308 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34309 if test "${TOOLKIT_DIR}" = "os2"; then
34310 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34312 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34317 if test "$wxUSE_COCOA" = 1; then
34321 ac_cpp
='$CPP $CPPFLAGS'
34322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34328 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34329 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34330 cat >conftest.
$ac_ext <<_ACEOF
34333 cat confdefs.h
>>conftest.
$ac_ext
34334 cat >>conftest.
$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 #include <AppKit/NSEvent.h>
34337 #include <CoreFoundation/CoreFoundation.h>
34347 rm -f conftest.
$ac_objext
34348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34349 (eval $ac_compile) 2>conftest.er1
34351 grep -v '^ *+' conftest.er1
>conftest.err
34353 cat conftest.err
>&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } &&
34356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34358 (eval $ac_try) 2>&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); }; } &&
34362 { ac_try
='test -s conftest.$ac_objext'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; }; then
34368 echo "$as_me:$LINENO: result: no" >&5
34369 echo "${ECHO_T}no" >&6
34371 echo "$as_me: failed program was:" >&5
34372 sed 's/^/| /' conftest.
$ac_ext >&5
34374 echo "$as_me:$LINENO: result: yes" >&5
34375 echo "${ECHO_T}yes" >&6
34376 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34377 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34378 cat >conftest.
$ac_ext <<_ACEOF
34381 cat confdefs.h
>>conftest.
$ac_ext
34382 cat >>conftest.
$ac_ext <<_ACEOF
34383 /* end confdefs.h. */
34384 #define __Point__ 1
34385 #include <AppKit/NSEvent.h>
34386 #include <CoreFoundation/CoreFoundation.h>
34396 rm -f conftest.
$ac_objext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 (eval $ac_compile) 2>conftest.er1
34400 grep -v '^ *+' conftest.er1
>conftest.err
34402 cat conftest.err
>&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; } &&
34411 { ac_try
='test -s conftest.$ac_objext'
34412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 (eval $ac_try) 2>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 echo "$as_me:$LINENO: result: yes" >&5
34418 echo "${ECHO_T}yes" >&6
34419 cat >>confdefs.h
<<\_ACEOF
34420 #define __Point__ 1
34425 echo "$as_me: failed program was:" >&5
34426 sed 's/^/| /' conftest.
$ac_ext >&5
34428 { { echo "$as_me:$LINENO: error: no
34429 See \`config.log' for more details." >&5
34430 echo "$as_me: error: no
34431 See \`config.log' for more details." >&2;}
34432 { (exit 1); exit 1; }; }
34435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34440 ac_cpp
='$CXXCPP $CPPFLAGS'
34441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34447 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34448 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34449 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34451 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34453 # Extract the first word of "Rez", so it can be a program name with args.
34454 set dummy Rez
; ac_word
=$2
34455 echo "$as_me:$LINENO: checking for $ac_word" >&5
34456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34457 if test "${ac_cv_prog_REZ+set}" = set; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 if test -n "$REZ"; then
34461 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34464 for as_dir
in $PATH
34467 test -z "$as_dir" && as_dir
=.
34468 for ac_exec_ext
in '' $ac_executable_extensions; do
34469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34470 ac_cv_prog_REZ
="Rez"
34471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34477 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34480 REZ
=$ac_cv_prog_REZ
34481 if test -n "$REZ"; then
34482 echo "$as_me:$LINENO: result: $REZ" >&5
34483 echo "${ECHO_T}$REZ" >&6
34485 echo "$as_me:$LINENO: result: no" >&5
34486 echo "${ECHO_T}no" >&6
34489 # Extract the first word of "DeRez", so it can be a program name with args.
34490 set dummy DeRez
; ac_word
=$2
34491 echo "$as_me:$LINENO: checking for $ac_word" >&5
34492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34493 if test "${ac_cv_prog_DEREZ+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 if test -n "$DEREZ"; then
34497 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34500 for as_dir
in $PATH
34503 test -z "$as_dir" && as_dir
=.
34504 for ac_exec_ext
in '' $ac_executable_extensions; do
34505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34506 ac_cv_prog_DEREZ
="DeRez"
34507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34513 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34516 DEREZ
=$ac_cv_prog_DEREZ
34517 if test -n "$DEREZ"; then
34518 echo "$as_me:$LINENO: result: $DEREZ" >&5
34519 echo "${ECHO_T}$DEREZ" >&6
34521 echo "$as_me:$LINENO: result: no" >&5
34522 echo "${ECHO_T}no" >&6
34525 # Extract the first word of "SetFile", so it can be a program name with args.
34526 set dummy SetFile
; ac_word
=$2
34527 echo "$as_me:$LINENO: checking for $ac_word" >&5
34528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34529 if test "${ac_cv_prog_SETFILE+set}" = set; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 if test -n "$SETFILE"; then
34533 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34536 for as_dir
in $PATH
34539 test -z "$as_dir" && as_dir
=.
34540 for ac_exec_ext
in '' $ac_executable_extensions; do
34541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34542 ac_cv_prog_SETFILE
="SetFile"
34543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34549 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34552 SETFILE
=$ac_cv_prog_SETFILE
34553 if test -n "$SETFILE"; then
34554 echo "$as_me:$LINENO: result: $SETFILE" >&5
34555 echo "${ECHO_T}$SETFILE" >&6
34557 echo "$as_me:$LINENO: result: no" >&5
34558 echo "${ECHO_T}no" >&6
34562 MACSETFILE
="\$(SETFILE)"
34564 if test "$wxUSE_MAC" = 1; then
34565 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34567 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34569 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34570 RESCOMP
="echo -n \| $REZ"
34571 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34577 if test "$wxUSE_PM" = 1; then
34579 WXCONFIG_RESFLAGS
="-ep"
34581 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34583 POSTLINK_COMMAND
="@true"
34590 echo "$as_me:$LINENO: checking for mode_t" >&5
34591 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34592 if test "${ac_cv_type_mode_t+set}" = set; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34595 cat >conftest.
$ac_ext <<_ACEOF
34598 cat confdefs.h
>>conftest.
$ac_ext
34599 cat >>conftest.
$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 $ac_includes_default
34607 if (sizeof (mode_t))
34613 rm -f conftest.
$ac_objext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34615 (eval $ac_compile) 2>conftest.er1
34617 grep -v '^ *+' conftest.er1
>conftest.err
34619 cat conftest.err
>&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try
='test -s conftest.$ac_objext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 ac_cv_type_mode_t
=yes
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.
$ac_ext >&5
34639 ac_cv_type_mode_t
=no
34641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34643 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34644 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34645 if test $ac_cv_type_mode_t = yes; then
34649 cat >>confdefs.h
<<_ACEOF
34655 echo "$as_me:$LINENO: checking for off_t" >&5
34656 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34657 if test "${ac_cv_type_off_t+set}" = set; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 cat >conftest.
$ac_ext <<_ACEOF
34663 cat confdefs.h
>>conftest.
$ac_ext
34664 cat >>conftest.
$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 $ac_includes_default
34672 if (sizeof (off_t))
34678 rm -f conftest.
$ac_objext
34679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34680 (eval $ac_compile) 2>conftest.er1
34682 grep -v '^ *+' conftest.er1
>conftest.err
34684 cat conftest.err
>&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } &&
34687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; } &&
34693 { ac_try
='test -s conftest.$ac_objext'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; }; then
34699 ac_cv_type_off_t
=yes
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.
$ac_ext >&5
34704 ac_cv_type_off_t
=no
34706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34708 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34709 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34710 if test $ac_cv_type_off_t = yes; then
34714 cat >>confdefs.h
<<_ACEOF
34720 echo "$as_me:$LINENO: checking for pid_t" >&5
34721 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34722 if test "${ac_cv_type_pid_t+set}" = set; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 cat >conftest.
$ac_ext <<_ACEOF
34728 cat confdefs.h
>>conftest.
$ac_ext
34729 cat >>conftest.
$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 $ac_includes_default
34737 if (sizeof (pid_t))
34743 rm -f conftest.
$ac_objext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34745 (eval $ac_compile) 2>conftest.er1
34747 grep -v '^ *+' conftest.er1
>conftest.err
34749 cat conftest.err
>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try
='test -s conftest.$ac_objext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 ac_cv_type_pid_t
=yes
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.
$ac_ext >&5
34769 ac_cv_type_pid_t
=no
34771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34773 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34774 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34775 if test $ac_cv_type_pid_t = yes; then
34779 cat >>confdefs.h
<<_ACEOF
34785 echo "$as_me:$LINENO: checking for size_t" >&5
34786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34787 if test "${ac_cv_type_size_t+set}" = set; then
34788 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 cat >conftest.
$ac_ext <<_ACEOF
34793 cat confdefs.h
>>conftest.
$ac_ext
34794 cat >>conftest.
$ac_ext <<_ACEOF
34795 /* end confdefs.h. */
34796 $ac_includes_default
34802 if (sizeof (size_t))
34808 rm -f conftest.
$ac_objext
34809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34810 (eval $ac_compile) 2>conftest.er1
34812 grep -v '^ *+' conftest.er1
>conftest.err
34814 cat conftest.err
>&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); } &&
34817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try
='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 ac_cv_type_size_t
=yes
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.
$ac_ext >&5
34834 ac_cv_type_size_t
=no
34836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34838 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34839 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34840 if test $ac_cv_type_size_t = yes; then
34844 cat >>confdefs.h
<<_ACEOF
34845 #define size_t unsigned
34850 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34851 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34852 if test "${ac_cv_type_uid_t+set}" = set; then
34853 echo $ECHO_N "(cached) $ECHO_C" >&6
34855 cat >conftest.
$ac_ext <<_ACEOF
34858 cat confdefs.h
>>conftest.
$ac_ext
34859 cat >>conftest.
$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34861 #include <sys/types.h>
34864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34865 $EGREP "uid_t" >/dev
/null
2>&1; then
34866 ac_cv_type_uid_t
=yes
34868 ac_cv_type_uid_t
=no
34873 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34874 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34875 if test $ac_cv_type_uid_t = no
; then
34877 cat >>confdefs.h
<<\_ACEOF
34882 cat >>confdefs.h
<<\_ACEOF
34889 echo "$as_me:$LINENO: checking for ssize_t" >&5
34890 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34891 if test "${ac_cv_type_ssize_t+set}" = set; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34894 cat >conftest.
$ac_ext <<_ACEOF
34897 cat confdefs.h
>>conftest.
$ac_ext
34898 cat >>conftest.
$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34900 $ac_includes_default
34906 if (sizeof (ssize_t))
34912 rm -f conftest.
$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34916 grep -v '^ *+' conftest.er1
>conftest.err
34918 cat conftest.err
>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try
='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_type_ssize_t
=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.
$ac_ext >&5
34938 ac_cv_type_ssize_t
=no
34940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34942 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34943 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34944 if test $ac_cv_type_ssize_t = yes; then
34946 cat >>confdefs.h
<<_ACEOF
34947 #define HAVE_SSIZE_T 1
34954 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34955 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34956 if test "${wx_cv_size_t_is_uint+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 cat >conftest.
$ac_ext <<_ACEOF
34963 cat confdefs.h
>>conftest.
$ac_ext
34964 cat >>conftest.
$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966 #include <stddef.h>
34973 struct Foo { void foo(size_t); void foo(unsigned int); };
34981 rm -f conftest.
$ac_objext
34982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34983 (eval $ac_compile) 2>conftest.er1
34985 grep -v '^ *+' conftest.er1
>conftest.err
34987 cat conftest.err
>&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); } &&
34990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; } &&
34996 { ac_try
='test -s conftest.$ac_objext'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; }; then
35002 wx_cv_size_t_is_uint
=no
35004 echo "$as_me: failed program was:" >&5
35005 sed 's/^/| /' conftest.
$ac_ext >&5
35007 wx_cv_size_t_is_uint
=yes
35010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35014 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35015 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35017 if test "$wx_cv_size_t_is_uint" = "yes"; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define wxSIZE_T_IS_UINT 1
35023 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35024 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35025 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 cat >conftest.
$ac_ext <<_ACEOF
35031 cat confdefs.h
>>conftest.
$ac_ext
35032 cat >>conftest.
$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #include <stddef.h>
35041 struct Foo { void foo(size_t); void foo(unsigned long); };
35049 rm -f conftest.
$ac_objext
35050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35051 (eval $ac_compile) 2>conftest.er1
35053 grep -v '^ *+' conftest.er1
>conftest.err
35055 cat conftest.err
>&5
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); } &&
35058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; } &&
35064 { ac_try
='test -s conftest.$ac_objext'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; }; then
35070 wx_cv_size_t_is_ulong
=no
35072 echo "$as_me: failed program was:" >&5
35073 sed 's/^/| /' conftest.
$ac_ext >&5
35075 wx_cv_size_t_is_ulong
=yes
35078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35081 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35082 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35084 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35085 cat >>confdefs.h
<<\_ACEOF
35086 #define wxSIZE_T_IS_ULONG 1
35093 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35094 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35095 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35096 echo $ECHO_N "(cached) $ECHO_C" >&6
35099 cat >conftest.
$ac_ext <<_ACEOF
35102 cat confdefs.h
>>conftest.
$ac_ext
35103 cat >>conftest.
$ac_ext <<_ACEOF
35104 /* end confdefs.h. */
35118 rm -f conftest.
$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35122 grep -v '^ *+' conftest.er1
>conftest.err
35124 cat conftest.err
>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try
='test -s conftest.$ac_objext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35140 wx_cv_struct_pw_gecos
=yes
35143 echo "$as_me: failed program was:" >&5
35144 sed 's/^/| /' conftest.
$ac_ext >&5
35147 wx_cv_struct_pw_gecos
=no
35151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35155 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35156 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35158 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35159 cat >>confdefs.h
<<\_ACEOF
35160 #define HAVE_PW_GECOS 1
35166 if test "$wxUSE_WCHAR_T" = "yes"; then
35167 cat >>confdefs.h
<<\_ACEOF
35168 #define wxUSE_WCHAR_T 1
35175 for ac_func
in wcslen
35177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35178 echo "$as_me:$LINENO: checking for $ac_func" >&5
35179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35180 if eval "test \"\${$as_ac_var+set}\" = set"; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35191 #define $ac_func innocuous_$ac_func
35193 /* System header to define __stub macros and hopefully few prototypes,
35194 which can conflict with char $ac_func (); below.
35195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35196 <limits.h> exists even on freestanding compilers. */
35199 # include <limits.h>
35201 # include <assert.h>
35206 /* Override any gcc2 internal prototype to avoid an error. */
35211 /* We use char because int might match the return type of a gcc2
35212 builtin and then its argument prototype would still apply. */
35214 /* The GNU C library defines this for functions which it implements
35215 to always fail with ENOSYS. Some functions are actually named
35216 something starting with __ and the normal name is an alias. */
35217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35220 char (*f) () = $ac_func;
35229 return f != $ac_func;
35234 rm -f conftest.
$ac_objext conftest
$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>conftest.er1
35238 grep -v '^ *+' conftest.er1
>conftest.err
35240 cat conftest.err
>&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } &&
35243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35245 (eval $ac_try) 2>&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); }; } &&
35249 { ac_try
='test -s conftest$ac_exeext'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; }; then
35255 eval "$as_ac_var=yes"
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.
$ac_ext >&5
35260 eval "$as_ac_var=no"
35262 rm -f conftest.err conftest.
$ac_objext \
35263 conftest
$ac_exeext conftest.
$ac_ext
35265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35267 if test `eval echo '${'$as_ac_var'}'` = yes; then
35268 cat >>confdefs.h
<<_ACEOF
35269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35276 if test "$WCSLEN_FOUND" = 0; then
35277 if test "$TOOLKIT" = "MSW"; then
35278 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35279 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35280 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 ac_check_lib_save_LIBS
=$LIBS
35284 LIBS
="-lmsvcrt $LIBS"
35285 cat >conftest.
$ac_ext <<_ACEOF
35288 cat confdefs.h
>>conftest.
$ac_ext
35289 cat >>conftest.
$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35292 /* Override any gcc2 internal prototype to avoid an error. */
35296 /* We use char because int might match the return type of a gcc2
35297 builtin and then its argument prototype would still apply. */
35307 rm -f conftest.
$ac_objext conftest
$ac_exeext
35308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35309 (eval $ac_link) 2>conftest.er1
35311 grep -v '^ *+' conftest.er1
>conftest.err
35313 cat conftest.err
>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); } &&
35316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try
='test -s conftest$ac_exeext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 ac_cv_lib_msvcrt_wcslen
=yes
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.
$ac_ext >&5
35333 ac_cv_lib_msvcrt_wcslen
=no
35335 rm -f conftest.err conftest.
$ac_objext \
35336 conftest
$ac_exeext conftest.
$ac_ext
35337 LIBS
=$ac_check_lib_save_LIBS
35339 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35340 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35341 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35346 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35347 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35348 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35349 echo $ECHO_N "(cached) $ECHO_C" >&6
35351 ac_check_lib_save_LIBS
=$LIBS
35353 cat >conftest.
$ac_ext <<_ACEOF
35356 cat confdefs.h
>>conftest.
$ac_ext
35357 cat >>conftest.
$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35360 /* Override any gcc2 internal prototype to avoid an error. */
35364 /* We use char because int might match the return type of a gcc2
35365 builtin and then its argument prototype would still apply. */
35375 rm -f conftest.
$ac_objext conftest
$ac_exeext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35377 (eval $ac_link) 2>conftest.er1
35379 grep -v '^ *+' conftest.er1
>conftest.err
35381 cat conftest.err
>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try
='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 ac_cv_lib_w_wcslen
=yes
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.
$ac_ext >&5
35401 ac_cv_lib_w_wcslen
=no
35403 rm -f conftest.err conftest.
$ac_objext \
35404 conftest
$ac_exeext conftest.
$ac_ext
35405 LIBS
=$ac_check_lib_save_LIBS
35407 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35408 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35409 if test $ac_cv_lib_w_wcslen = yes; then
35419 if test "$WCSLEN_FOUND" = 1; then
35420 cat >>confdefs.h
<<\_ACEOF
35421 #define HAVE_WCSLEN 1
35426 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35427 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35430 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35431 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35432 if test "${ac_cv_type_mbstate_t+set}" = set; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 cat >conftest.
$ac_ext <<_ACEOF
35438 cat confdefs.h
>>conftest.
$ac_ext
35439 cat >>conftest.
$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35446 if ((mbstate_t *) 0)
35448 if (sizeof (mbstate_t))
35454 rm -f conftest.
$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35458 grep -v '^ *+' conftest.er1
>conftest.err
35460 cat conftest.err
>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35465 (eval $ac_try) 2>&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); }; } &&
35469 { ac_try
='test -s conftest.$ac_objext'
35470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35471 (eval $ac_try) 2>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); }; }; then
35475 ac_cv_type_mbstate_t
=yes
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.
$ac_ext >&5
35480 ac_cv_type_mbstate_t
=no
35482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35484 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35485 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35486 if test $ac_cv_type_mbstate_t = yes; then
35488 cat >>confdefs.h
<<_ACEOF
35489 #define HAVE_MBSTATE_T 1
35493 for ac_func
in wcsrtombs
35495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35496 echo "$as_me:$LINENO: checking for $ac_func" >&5
35497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35498 if eval "test \"\${$as_ac_var+set}\" = set"; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 cat >conftest.
$ac_ext <<_ACEOF
35504 cat confdefs.h
>>conftest.
$ac_ext
35505 cat >>conftest.
$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35509 #define $ac_func innocuous_$ac_func
35511 /* System header to define __stub macros and hopefully few prototypes,
35512 which can conflict with char $ac_func (); below.
35513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35514 <limits.h> exists even on freestanding compilers. */
35517 # include <limits.h>
35519 # include <assert.h>
35524 /* Override any gcc2 internal prototype to avoid an error. */
35529 /* We use char because int might match the return type of a gcc2
35530 builtin and then its argument prototype would still apply. */
35532 /* The GNU C library defines this for functions which it implements
35533 to always fail with ENOSYS. Some functions are actually named
35534 something starting with __ and the normal name is an alias. */
35535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35538 char (*f) () = $ac_func;
35547 return f != $ac_func;
35552 rm -f conftest.
$ac_objext conftest
$ac_exeext
35553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35554 (eval $ac_link) 2>conftest.er1
35556 grep -v '^ *+' conftest.er1
>conftest.err
35558 cat conftest.err
>&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } &&
35561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try
='test -s conftest$ac_exeext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 eval "$as_ac_var=yes"
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.
$ac_ext >&5
35578 eval "$as_ac_var=no"
35580 rm -f conftest.err conftest.
$ac_objext \
35581 conftest
$ac_exeext conftest.
$ac_ext
35583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35585 if test `eval echo '${'$as_ac_var'}'` = yes; then
35586 cat >>confdefs.h
<<_ACEOF
35587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35596 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35597 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35602 for ac_func
in snprintf vsnprintf
35604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35605 echo "$as_me:$LINENO: checking for $ac_func" >&5
35606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35607 if eval "test \"\${$as_ac_var+set}\" = set"; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35610 cat >conftest.
$ac_ext <<_ACEOF
35613 cat confdefs.h
>>conftest.
$ac_ext
35614 cat >>conftest.
$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35618 #define $ac_func innocuous_$ac_func
35620 /* System header to define __stub macros and hopefully few prototypes,
35621 which can conflict with char $ac_func (); below.
35622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35623 <limits.h> exists even on freestanding compilers. */
35626 # include <limits.h>
35628 # include <assert.h>
35633 /* Override any gcc2 internal prototype to avoid an error. */
35638 /* We use char because int might match the return type of a gcc2
35639 builtin and then its argument prototype would still apply. */
35641 /* The GNU C library defines this for functions which it implements
35642 to always fail with ENOSYS. Some functions are actually named
35643 something starting with __ and the normal name is an alias. */
35644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35647 char (*f) () = $ac_func;
35656 return f != $ac_func;
35661 rm -f conftest.
$ac_objext conftest
$ac_exeext
35662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35663 (eval $ac_link) 2>conftest.er1
35665 grep -v '^ *+' conftest.er1
>conftest.err
35667 cat conftest.err
>&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } &&
35670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; } &&
35676 { ac_try
='test -s conftest$ac_exeext'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; }; then
35682 eval "$as_ac_var=yes"
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.
$ac_ext >&5
35687 eval "$as_ac_var=no"
35689 rm -f conftest.err conftest.
$ac_objext \
35690 conftest
$ac_exeext conftest.
$ac_ext
35692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35694 if test `eval echo '${'$as_ac_var'}'` = yes; then
35695 cat >>confdefs.h
<<_ACEOF
35696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35703 if test "$ac_cv_func_vsnprintf" = "yes"; then
35704 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35705 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35706 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35707 echo $ECHO_N "(cached) $ECHO_C" >&6
35710 cat >conftest.
$ac_ext <<_ACEOF
35713 cat confdefs.h
>>conftest.
$ac_ext
35714 cat >>conftest.
$ac_ext <<_ACEOF
35715 /* end confdefs.h. */
35718 #include <stdarg.h>
35720 #if __MSL__ >= 0x6000
35722 using namespace std;
35732 vsnprintf(buf, 10u, "%s", ap);
35738 rm -f conftest.
$ac_objext
35739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35740 (eval $ac_compile) 2>conftest.er1
35742 grep -v '^ *+' conftest.er1
>conftest.err
35744 cat conftest.err
>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } &&
35747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35749 (eval $ac_try) 2>&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); }; } &&
35753 { ac_try
='test -s conftest.$ac_objext'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; }; then
35759 wx_cv_func_vsnprintf_decl
=yes
35761 echo "$as_me: failed program was:" >&5
35762 sed 's/^/| /' conftest.
$ac_ext >&5
35764 wx_cv_func_vsnprintf_decl
=no
35767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35771 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35772 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35774 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35775 cat >>confdefs.h
<<\_ACEOF
35776 #define HAVE_VSNPRINTF_DECL 1
35780 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35781 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35782 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35786 cat >conftest.
$ac_ext <<_ACEOF
35789 cat confdefs.h
>>conftest.
$ac_ext
35790 cat >>conftest.
$ac_ext <<_ACEOF
35791 /* end confdefs.h. */
35794 #include <stdarg.h>
35796 #if __MSL__ >= 0x6000
35798 using namespace std;
35808 const char *fmt = "%s";
35809 vsnprintf(buf, 10u, fmt, ap);
35815 rm -f conftest.
$ac_objext
35816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35817 (eval $ac_compile) 2>conftest.er1
35819 grep -v '^ *+' conftest.er1
>conftest.err
35821 cat conftest.err
>&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } &&
35824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
35836 wx_cv_func_broken_vsnprintf_decl
=no
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35841 wx_cv_func_broken_vsnprintf_decl
=yes
35844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35848 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35849 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35851 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35852 cat >>confdefs.h
<<\_ACEOF
35853 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35860 if test "$ac_cv_func_snprintf" = "yes"; then
35861 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35862 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35863 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35864 echo $ECHO_N "(cached) $ECHO_C" >&6
35867 cat >conftest.
$ac_ext <<_ACEOF
35870 cat confdefs.h
>>conftest.
$ac_ext
35871 cat >>conftest.
$ac_ext <<_ACEOF
35872 /* end confdefs.h. */
35875 #include <stdarg.h>
35877 #if __MSL__ >= 0x6000
35879 using namespace std;
35888 snprintf(buf, 10u, "%s", "wx");
35894 rm -f conftest.
$ac_objext
35895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35896 (eval $ac_compile) 2>conftest.er1
35898 grep -v '^ *+' conftest.er1
>conftest.err
35900 cat conftest.err
>&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } &&
35903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; } &&
35909 { ac_try
='test -s conftest.$ac_objext'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; }; then
35915 wx_cv_func_snprintf_decl
=yes
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.
$ac_ext >&5
35920 wx_cv_func_snprintf_decl
=no
35923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35927 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35928 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35930 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35931 cat >>confdefs.h
<<\_ACEOF
35932 #define HAVE_SNPRINTF_DECL 1
35936 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35937 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35938 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 cat >conftest.
$ac_ext <<_ACEOF
35945 cat confdefs.h
>>conftest.
$ac_ext
35946 cat >>conftest.
$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35950 #include <stdarg.h>
35952 #if __MSL__ >= 0x6000
35954 using namespace std;
35963 const char *fmt = "%s";
35964 snprintf(buf, 10u, fmt, "wx");
35970 rm -f conftest.
$ac_objext
35971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35972 (eval $ac_compile) 2>conftest.er1
35974 grep -v '^ *+' conftest.er1
>conftest.err
35976 cat conftest.err
>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } &&
35979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35981 (eval $ac_try) 2>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; } &&
35985 { ac_try
='test -s conftest.$ac_objext'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; }; then
35991 wx_cv_func_broken_snprintf_decl
=no
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.
$ac_ext >&5
35996 wx_cv_func_broken_snprintf_decl
=yes
35999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36003 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36004 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36006 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36007 cat >>confdefs.h
<<\_ACEOF
36008 #define HAVE_BROKEN_SNPRINTF_DECL 1
36014 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36016 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36017 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36018 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 if test "$cross_compiling" = yes; then
36024 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36025 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36026 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36027 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36028 wx_cv_func_snprintf_pos_params
=no
36032 cat >conftest.
$ac_ext <<_ACEOF
36035 cat confdefs.h
>>conftest.
$ac_ext
36036 cat >>conftest.
$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36044 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
36045 if (strcmp ("2 3 1", buffer) == 0)
36051 rm -f conftest
$ac_exeext
36052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36053 (eval $ac_link) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 wx_cv_func_snprintf_pos_params
=no
36064 echo "$as_me: program exited with status $ac_status" >&5
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.
$ac_ext >&5
36068 ( exit $ac_status )
36069 wx_cv_func_snprintf_pos_params
=yes
36071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36076 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36077 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36079 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36080 cat >>confdefs.h
<<\_ACEOF
36081 #define HAVE_UNIX98_PRINTF 1
36088 if test "$wxUSE_UNICODE" = yes; then
36091 for ac_func
in swprintf
36093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36094 echo "$as_me:$LINENO: checking for $ac_func" >&5
36095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36096 if eval "test \"\${$as_ac_var+set}\" = set"; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 cat >conftest.
$ac_ext <<_ACEOF
36102 cat confdefs.h
>>conftest.
$ac_ext
36103 cat >>conftest.
$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36107 #define $ac_func innocuous_$ac_func
36109 /* System header to define __stub macros and hopefully few prototypes,
36110 which can conflict with char $ac_func (); below.
36111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36112 <limits.h> exists even on freestanding compilers. */
36115 # include <limits.h>
36117 # include <assert.h>
36122 /* Override any gcc2 internal prototype to avoid an error. */
36127 /* We use char because int might match the return type of a gcc2
36128 builtin and then its argument prototype would still apply. */
36130 /* The GNU C library defines this for functions which it implements
36131 to always fail with ENOSYS. Some functions are actually named
36132 something starting with __ and the normal name is an alias. */
36133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36136 char (*f) () = $ac_func;
36145 return f != $ac_func;
36150 rm -f conftest.
$ac_objext conftest
$ac_exeext
36151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36152 (eval $ac_link) 2>conftest.er1
36154 grep -v '^ *+' conftest.er1
>conftest.err
36156 cat conftest.err
>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } &&
36159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; } &&
36165 { ac_try
='test -s conftest$ac_exeext'
36166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36167 (eval $ac_try) 2>&5
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); }; }; then
36171 eval "$as_ac_var=yes"
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.
$ac_ext >&5
36176 eval "$as_ac_var=no"
36178 rm -f conftest.err conftest.
$ac_objext \
36179 conftest
$ac_exeext conftest.
$ac_ext
36181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36183 if test `eval echo '${'$as_ac_var'}'` = yes; then
36184 cat >>confdefs.h
<<_ACEOF
36185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36192 if test "$ac_cv_func_swprintf" = "yes"; then
36193 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36194 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36195 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36207 #include <stdarg.h>
36215 const wchar_t *fmt = L"test";
36216 swprintf(buf, 10u, fmt);
36222 rm -f conftest.
$ac_objext
36223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36224 (eval $ac_compile) 2>conftest.er1
36226 grep -v '^ *+' conftest.er1
>conftest.err
36228 cat conftest.err
>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } &&
36231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36233 (eval $ac_try) 2>&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); }; } &&
36237 { ac_try
='test -s conftest.$ac_objext'
36238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36239 (eval $ac_try) 2>&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; }; then
36243 wx_cv_func_broken_swprintf_decl
=no
36245 echo "$as_me: failed program was:" >&5
36246 sed 's/^/| /' conftest.
$ac_ext >&5
36248 wx_cv_func_broken_swprintf_decl
=yes
36251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36255 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36256 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36258 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36259 cat >>confdefs.h
<<\_ACEOF
36260 #define HAVE_BROKEN_SWPRINTF_DECL 1
36272 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
36274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36275 echo "$as_me:$LINENO: checking for $ac_func" >&5
36276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36277 if eval "test \"\${$as_ac_var+set}\" = set"; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 cat >conftest.
$ac_ext <<_ACEOF
36283 cat confdefs.h
>>conftest.
$ac_ext
36284 cat >>conftest.
$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36288 #define $ac_func innocuous_$ac_func
36290 /* System header to define __stub macros and hopefully few prototypes,
36291 which can conflict with char $ac_func (); below.
36292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36293 <limits.h> exists even on freestanding compilers. */
36296 # include <limits.h>
36298 # include <assert.h>
36303 /* Override any gcc2 internal prototype to avoid an error. */
36308 /* We use char because int might match the return type of a gcc2
36309 builtin and then its argument prototype would still apply. */
36311 /* The GNU C library defines this for functions which it implements
36312 to always fail with ENOSYS. Some functions are actually named
36313 something starting with __ and the normal name is an alias. */
36314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36317 char (*f) () = $ac_func;
36326 return f != $ac_func;
36331 rm -f conftest.
$ac_objext conftest
$ac_exeext
36332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36333 (eval $ac_link) 2>conftest.er1
36335 grep -v '^ *+' conftest.er1
>conftest.err
36337 cat conftest.err
>&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); } &&
36340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36342 (eval $ac_try) 2>&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); }; } &&
36346 { ac_try
='test -s conftest$ac_exeext'
36347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348 (eval $ac_try) 2>&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); }; }; then
36352 eval "$as_ac_var=yes"
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.
$ac_ext >&5
36357 eval "$as_ac_var=no"
36359 rm -f conftest.err conftest.
$ac_objext \
36360 conftest
$ac_exeext conftest.
$ac_ext
36362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36364 if test `eval echo '${'$as_ac_var'}'` = yes; then
36365 cat >>confdefs.h
<<_ACEOF
36366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36373 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36374 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36375 cat >conftest.
$ac_ext <<_ACEOF
36378 cat confdefs.h
>>conftest.
$ac_ext
36379 cat >>conftest.
$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36390 rm -f conftest.
$ac_objext
36391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36392 (eval $ac_compile) 2>conftest.er1
36394 grep -v '^ *+' conftest.er1
>conftest.err
36396 cat conftest.err
>&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } &&
36399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try
='test -s conftest.$ac_objext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 echo "$as_me:$LINENO: result: yes" >&5
36412 echo "${ECHO_T}yes" >&6
36413 cat >>confdefs.h
<<\_ACEOF
36414 #define HAVE__VSNWPRINTF 1
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.
$ac_ext >&5
36421 echo "$as_me:$LINENO: result: no" >&5
36422 echo "${ECHO_T}no" >&6
36424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36427 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36429 for ac_func
in fnmatch
36431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36432 echo "$as_me:$LINENO: checking for $ac_func" >&5
36433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36434 if eval "test \"\${$as_ac_var+set}\" = set"; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 cat >conftest.
$ac_ext <<_ACEOF
36440 cat confdefs.h
>>conftest.
$ac_ext
36441 cat >>conftest.
$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36445 #define $ac_func innocuous_$ac_func
36447 /* System header to define __stub macros and hopefully few prototypes,
36448 which can conflict with char $ac_func (); below.
36449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36450 <limits.h> exists even on freestanding compilers. */
36453 # include <limits.h>
36455 # include <assert.h>
36460 /* Override any gcc2 internal prototype to avoid an error. */
36465 /* We use char because int might match the return type of a gcc2
36466 builtin and then its argument prototype would still apply. */
36468 /* The GNU C library defines this for functions which it implements
36469 to always fail with ENOSYS. Some functions are actually named
36470 something starting with __ and the normal name is an alias. */
36471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36474 char (*f) () = $ac_func;
36483 return f != $ac_func;
36488 rm -f conftest.
$ac_objext conftest
$ac_exeext
36489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36490 (eval $ac_link) 2>conftest.er1
36492 grep -v '^ *+' conftest.er1
>conftest.err
36494 cat conftest.err
>&5
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); } &&
36497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; } &&
36503 { ac_try
='test -s conftest$ac_exeext'
36504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36505 (eval $ac_try) 2>&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); }; }; then
36509 eval "$as_ac_var=yes"
36511 echo "$as_me: failed program was:" >&5
36512 sed 's/^/| /' conftest.
$ac_ext >&5
36514 eval "$as_ac_var=no"
36516 rm -f conftest.err conftest.
$ac_objext \
36517 conftest
$ac_exeext conftest.
$ac_ext
36519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36521 if test `eval echo '${'$as_ac_var'}'` = yes; then
36522 cat >>confdefs.h
<<_ACEOF
36523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36531 if test "$wxUSE_FILE" = "yes"; then
36533 for ac_func
in fsync
36535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36536 echo "$as_me:$LINENO: checking for $ac_func" >&5
36537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36538 if eval "test \"\${$as_ac_var+set}\" = set"; then
36539 echo $ECHO_N "(cached) $ECHO_C" >&6
36541 cat >conftest.
$ac_ext <<_ACEOF
36544 cat confdefs.h
>>conftest.
$ac_ext
36545 cat >>conftest.
$ac_ext <<_ACEOF
36546 /* end confdefs.h. */
36547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36549 #define $ac_func innocuous_$ac_func
36551 /* System header to define __stub macros and hopefully few prototypes,
36552 which can conflict with char $ac_func (); below.
36553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36554 <limits.h> exists even on freestanding compilers. */
36557 # include <limits.h>
36559 # include <assert.h>
36564 /* Override any gcc2 internal prototype to avoid an error. */
36569 /* We use char because int might match the return type of a gcc2
36570 builtin and then its argument prototype would still apply. */
36572 /* The GNU C library defines this for functions which it implements
36573 to always fail with ENOSYS. Some functions are actually named
36574 something starting with __ and the normal name is an alias. */
36575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36578 char (*f) () = $ac_func;
36587 return f != $ac_func;
36592 rm -f conftest.
$ac_objext conftest
$ac_exeext
36593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36594 (eval $ac_link) 2>conftest.er1
36596 grep -v '^ *+' conftest.er1
>conftest.err
36598 cat conftest.err
>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; } &&
36607 { ac_try
='test -s conftest$ac_exeext'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; }; then
36613 eval "$as_ac_var=yes"
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.
$ac_ext >&5
36618 eval "$as_ac_var=no"
36620 rm -f conftest.err conftest.
$ac_objext \
36621 conftest
$ac_exeext conftest.
$ac_ext
36623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36625 if test `eval echo '${'$as_ac_var'}'` = yes; then
36626 cat >>confdefs.h
<<_ACEOF
36627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36636 for ac_func
in round
36638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36641 if eval "test \"\${$as_ac_var+set}\" = set"; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 cat >conftest.
$ac_ext <<_ACEOF
36647 cat confdefs.h
>>conftest.
$ac_ext
36648 cat >>conftest.
$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36660 # include <limits.h>
36662 # include <assert.h>
36667 /* Override any gcc2 internal prototype to avoid an error. */
36672 /* We use char because int might match the return type of a gcc2
36673 builtin and then its argument prototype would still apply. */
36675 /* The GNU C library defines this for functions which it implements
36676 to always fail with ENOSYS. Some functions are actually named
36677 something starting with __ and the normal name is an alias. */
36678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36681 char (*f) () = $ac_func;
36690 return f != $ac_func;
36695 rm -f conftest.
$ac_objext conftest
$ac_exeext
36696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36697 (eval $ac_link) 2>conftest.er1
36699 grep -v '^ *+' conftest.er1
>conftest.err
36701 cat conftest.err
>&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); } &&
36704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 (eval $ac_try) 2>&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); }; } &&
36710 { ac_try
='test -s conftest$ac_exeext'
36711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712 (eval $ac_try) 2>&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; }; then
36716 eval "$as_ac_var=yes"
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.
$ac_ext >&5
36721 eval "$as_ac_var=no"
36723 rm -f conftest.err conftest.
$ac_objext \
36724 conftest
$ac_exeext conftest.
$ac_ext
36726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36728 if test `eval echo '${'$as_ac_var'}'` = yes; then
36729 cat >>confdefs.h
<<_ACEOF
36730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36736 if test "$ac_cv_func_round" = yes; then
36737 echo "$as_me:$LINENO: checking whether round is declared" >&5
36738 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36739 if test "${ac_cv_have_decl_round+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 cat >conftest.
$ac_ext <<_ACEOF
36745 cat confdefs.h
>>conftest.
$ac_ext
36746 cat >>conftest.
$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36754 char *p = (char *) round;
36761 rm -f conftest.
$ac_objext
36762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36763 (eval $ac_compile) 2>conftest.er1
36765 grep -v '^ *+' conftest.er1
>conftest.err
36767 cat conftest.err
>&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); } &&
36770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36772 (eval $ac_try) 2>&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); }; } &&
36776 { ac_try
='test -s conftest.$ac_objext'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36782 ac_cv_have_decl_round
=yes
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.
$ac_ext >&5
36787 ac_cv_have_decl_round
=no
36789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36791 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36792 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36793 if test $ac_cv_have_decl_round = yes; then
36795 cat >>confdefs.h
<<_ACEOF
36796 #define HAVE_DECL_ROUND 1
36801 cat >>confdefs.h
<<_ACEOF
36802 #define HAVE_DECL_ROUND 0
36812 if test "$TOOLKIT" != "MSW"; then
36818 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36819 if test "${with_libiconv_prefix+set}" = set; then
36820 withval
="$with_libiconv_prefix"
36822 for dir
in `echo "$withval" | tr : ' '`; do
36823 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36824 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36829 echo "$as_me:$LINENO: checking for iconv" >&5
36830 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36831 if test "${am_cv_func_iconv+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 am_cv_func_iconv
="no, consider installing GNU libiconv"
36837 cat >conftest.
$ac_ext <<_ACEOF
36840 cat confdefs.h
>>conftest.
$ac_ext
36841 cat >>conftest.
$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843 #include <stdlib.h>
36848 iconv_t cd = iconv_open("","");
36849 iconv(cd,NULL,NULL,NULL,NULL);
36855 rm -f conftest.
$ac_objext conftest
$ac_exeext
36856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36857 (eval $ac_link) 2>conftest.er1
36859 grep -v '^ *+' conftest.er1
>conftest.err
36861 cat conftest.err
>&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); } &&
36864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36866 (eval $ac_try) 2>&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); }; } &&
36870 { ac_try
='test -s conftest$ac_exeext'
36871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36872 (eval $ac_try) 2>&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); }; }; then
36876 am_cv_func_iconv
=yes
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.
$ac_ext >&5
36882 rm -f conftest.err conftest.
$ac_objext \
36883 conftest
$ac_exeext conftest.
$ac_ext
36884 if test "$am_cv_func_iconv" != yes; then
36885 am_save_LIBS
="$LIBS"
36886 LIBS
="$LIBS -liconv"
36887 cat >conftest.
$ac_ext <<_ACEOF
36890 cat confdefs.h
>>conftest.
$ac_ext
36891 cat >>conftest.
$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893 #include <stdlib.h>
36898 iconv_t cd = iconv_open("","");
36899 iconv(cd,NULL,NULL,NULL,NULL);
36905 rm -f conftest.
$ac_objext conftest
$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>conftest.er1
36909 grep -v '^ *+' conftest.er1
>conftest.err
36911 cat conftest.err
>&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); } &&
36914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; } &&
36920 { ac_try
='test -s conftest$ac_exeext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 am_cv_lib_iconv
=yes
36927 am_cv_func_iconv
=yes
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.
$ac_ext >&5
36933 rm -f conftest.err conftest.
$ac_objext \
36934 conftest
$ac_exeext conftest.
$ac_ext
36935 LIBS
="$am_save_LIBS"
36939 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36940 echo "${ECHO_T}$am_cv_func_iconv" >&6
36941 if test "$am_cv_func_iconv" = yes; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define HAVE_ICONV 1
36947 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36948 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36949 if test "${wx_cv_func_iconv_const+set}" = set; then
36950 echo $ECHO_N "(cached) $ECHO_C" >&6
36952 cat >conftest.
$ac_ext <<_ACEOF
36955 cat confdefs.h
>>conftest.
$ac_ext
36956 cat >>conftest.
$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36959 #include <stdlib.h>
36965 #if defined(__STDC__) || defined(__cplusplus)
36966 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36979 rm -f conftest.
$ac_objext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36981 (eval $ac_compile) 2>conftest.er1
36983 grep -v '^ *+' conftest.er1
>conftest.err
36985 cat conftest.err
>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try
='test -s conftest.$ac_objext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 wx_cv_func_iconv_const
="no"
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.
$ac_ext >&5
37005 wx_cv_func_iconv_const
="yes"
37008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37011 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37012 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37015 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37016 iconv_const
="const"
37020 cat >>confdefs.h
<<_ACEOF
37021 #define ICONV_CONST $iconv_const
37026 if test "$am_cv_lib_iconv" = yes; then
37031 LIBS
="$LIBICONV $LIBS"
37033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37035 for ac_func
in sigaction
37037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37038 echo "$as_me:$LINENO: checking for $ac_func" >&5
37039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37040 if eval "test \"\${$as_ac_var+set}\" = set"; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 cat >conftest.
$ac_ext <<_ACEOF
37046 cat confdefs.h
>>conftest.
$ac_ext
37047 cat >>conftest.
$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37051 #define $ac_func innocuous_$ac_func
37053 /* System header to define __stub macros and hopefully few prototypes,
37054 which can conflict with char $ac_func (); below.
37055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37056 <limits.h> exists even on freestanding compilers. */
37059 # include <limits.h>
37061 # include <assert.h>
37066 /* Override any gcc2 internal prototype to avoid an error. */
37071 /* We use char because int might match the return type of a gcc2
37072 builtin and then its argument prototype would still apply. */
37074 /* The GNU C library defines this for functions which it implements
37075 to always fail with ENOSYS. Some functions are actually named
37076 something starting with __ and the normal name is an alias. */
37077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37080 char (*f) () = $ac_func;
37089 return f != $ac_func;
37094 rm -f conftest.
$ac_objext conftest
$ac_exeext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37096 (eval $ac_link) 2>conftest.er1
37098 grep -v '^ *+' conftest.er1
>conftest.err
37100 cat conftest.err
>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } &&
37103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37105 (eval $ac_try) 2>&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); }; } &&
37109 { ac_try
='test -s conftest$ac_exeext'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; }; then
37115 eval "$as_ac_var=yes"
37117 echo "$as_me: failed program was:" >&5
37118 sed 's/^/| /' conftest.
$ac_ext >&5
37120 eval "$as_ac_var=no"
37122 rm -f conftest.err conftest.
$ac_objext \
37123 conftest
$ac_exeext conftest.
$ac_ext
37125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37127 if test `eval echo '${'$as_ac_var'}'` = yes; then
37128 cat >>confdefs.h
<<_ACEOF
37129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37136 if test "$ac_cv_func_sigaction" = "no"; then
37137 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37138 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37139 wxUSE_ON_FATAL_EXCEPTION
=no
37142 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37143 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37144 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37145 if test "${wx_cv_type_sa_handler+set}" = set; then
37146 echo $ECHO_N "(cached) $ECHO_C" >&6
37149 cat >conftest.
$ac_ext <<_ACEOF
37152 cat confdefs.h
>>conftest.
$ac_ext
37153 cat >>conftest.
$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155 #include <signal.h>
37160 extern void testSigHandler(int);
37162 struct sigaction sa;
37163 sa.sa_handler = testSigHandler;
37169 rm -f conftest.
$ac_objext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37171 (eval $ac_compile) 2>conftest.er1
37173 grep -v '^ *+' conftest.er1
>conftest.err
37175 cat conftest.err
>&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try
='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37191 wx_cv_type_sa_handler
=int
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.
$ac_ext >&5
37198 wx_cv_type_sa_handler
=void
37201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37204 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37205 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37207 cat >>confdefs.h
<<_ACEOF
37208 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37214 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37215 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37216 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37217 if test "${wx_cv_func_backtrace+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 cat >conftest.
$ac_ext <<_ACEOF
37224 cat confdefs.h
>>conftest.
$ac_ext
37225 cat >>conftest.
$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 #include <execinfo.h>
37235 backtrace(trace, 1);
37236 messages = backtrace_symbols(trace, 1);
37242 rm -f conftest.
$ac_objext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37244 (eval $ac_compile) 2>conftest.er1
37246 grep -v '^ *+' conftest.er1
>conftest.err
37248 cat conftest.err
>&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; } &&
37257 { ac_try
='test -s conftest.$ac_objext'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37263 wx_cv_func_backtrace
=yes
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.
$ac_ext >&5
37268 wx_cv_func_backtrace
=no
37271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37275 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37276 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37279 if test "$wx_cv_func_backtrace" = "no"; then
37280 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37281 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37282 wxUSE_STACKWALKER
=no
37284 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37285 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37286 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37287 echo $ECHO_N "(cached) $ECHO_C" >&6
37290 cat >conftest.
$ac_ext <<_ACEOF
37293 cat confdefs.h
>>conftest.
$ac_ext
37294 cat >>conftest.
$ac_ext <<_ACEOF
37295 /* end confdefs.h. */
37296 #include <cxxabi.h>
37302 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37308 rm -f conftest.
$ac_objext conftest
$ac_exeext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37310 (eval $ac_link) 2>conftest.er1
37312 grep -v '^ *+' conftest.er1
>conftest.err
37314 cat conftest.err
>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37319 (eval $ac_try) 2>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); }; } &&
37323 { ac_try
='test -s conftest$ac_exeext'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; }; then
37329 wx_cv_func_cxa_demangle
=yes
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.
$ac_ext >&5
37334 wx_cv_func_cxa_demangle
=no
37337 rm -f conftest.err conftest.
$ac_objext \
37338 conftest
$ac_exeext conftest.
$ac_ext
37342 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37343 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37345 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define HAVE_CXA_DEMANGLE 1
37354 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37355 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37356 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37357 wxUSE_STACKWALKER
=no
37363 for ac_func
in mkstemp mktemp
37365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37366 echo "$as_me:$LINENO: checking for $ac_func" >&5
37367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37368 if eval "test \"\${$as_ac_var+set}\" = set"; then
37369 echo $ECHO_N "(cached) $ECHO_C" >&6
37371 cat >conftest.
$ac_ext <<_ACEOF
37374 cat confdefs.h
>>conftest.
$ac_ext
37375 cat >>conftest.
$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37379 #define $ac_func innocuous_$ac_func
37381 /* System header to define __stub macros and hopefully few prototypes,
37382 which can conflict with char $ac_func (); below.
37383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37384 <limits.h> exists even on freestanding compilers. */
37387 # include <limits.h>
37389 # include <assert.h>
37394 /* Override any gcc2 internal prototype to avoid an error. */
37399 /* We use char because int might match the return type of a gcc2
37400 builtin and then its argument prototype would still apply. */
37402 /* The GNU C library defines this for functions which it implements
37403 to always fail with ENOSYS. Some functions are actually named
37404 something starting with __ and the normal name is an alias. */
37405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37408 char (*f) () = $ac_func;
37417 return f != $ac_func;
37422 rm -f conftest.
$ac_objext conftest
$ac_exeext
37423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37424 (eval $ac_link) 2>conftest.er1
37426 grep -v '^ *+' conftest.er1
>conftest.err
37428 cat conftest.err
>&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } &&
37431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37433 (eval $ac_try) 2>&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); }; } &&
37437 { ac_try
='test -s conftest$ac_exeext'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; }; then
37443 eval "$as_ac_var=yes"
37445 echo "$as_me: failed program was:" >&5
37446 sed 's/^/| /' conftest.
$ac_ext >&5
37448 eval "$as_ac_var=no"
37450 rm -f conftest.err conftest.
$ac_objext \
37451 conftest
$ac_exeext conftest.
$ac_ext
37453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37455 if test `eval echo '${'$as_ac_var'}'` = yes; then
37456 cat >>confdefs.h
<<_ACEOF
37457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37464 echo "$as_me:$LINENO: checking for statfs" >&5
37465 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37466 if test "${wx_cv_func_statfs+set}" = set; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 cat >conftest.
$ac_ext <<_ACEOF
37472 cat confdefs.h
>>conftest.
$ac_ext
37473 cat >>conftest.
$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37476 #if defined(__BSD__)
37477 #include <sys/param.h>
37478 #include <sys/mount.h>
37480 #include <sys/vfs.h>
37498 rm -f conftest.
$ac_objext
37499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37500 (eval $ac_compile) 2>conftest.er1
37502 grep -v '^ *+' conftest.er1
>conftest.err
37504 cat conftest.err
>&5
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); } &&
37507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509 (eval $ac_try) 2>&5
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); }; } &&
37513 { ac_try
='test -s conftest.$ac_objext'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; }; then
37519 wx_cv_func_statfs
=yes
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.
$ac_ext >&5
37524 wx_cv_func_statfs
=no
37527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37530 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37531 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37533 if test "$wx_cv_func_statfs" = "yes"; then
37534 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37535 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37536 if test "${wx_cv_func_statfs_decl+set}" = set; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37539 cat >conftest.
$ac_ext <<_ACEOF
37542 cat confdefs.h
>>conftest.
$ac_ext
37543 cat >>conftest.
$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37546 #if defined(__BSD__)
37547 #include <sys/param.h>
37548 #include <sys/mount.h>
37550 #include <sys/vfs.h>
37564 rm -f conftest.
$ac_objext
37565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37566 (eval $ac_compile) 2>conftest.er1
37568 grep -v '^ *+' conftest.er1
>conftest.err
37570 cat conftest.err
>&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } &&
37573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575 (eval $ac_try) 2>&5
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); }; } &&
37579 { ac_try
='test -s conftest.$ac_objext'
37580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37581 (eval $ac_try) 2>&5
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); }; }; then
37585 wx_cv_func_statfs_decl
=yes
37587 echo "$as_me: failed program was:" >&5
37588 sed 's/^/| /' conftest.
$ac_ext >&5
37590 wx_cv_func_statfs_decl
=no
37593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37596 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37597 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37599 if test "$wx_cv_func_statfs_decl" = "yes"; then
37600 cat >>confdefs.h
<<\_ACEOF
37601 #define HAVE_STATFS_DECL 1
37606 wx_cv_type_statvfs_t
="struct statfs"
37607 cat >>confdefs.h
<<\_ACEOF
37608 #define HAVE_STATFS 1
37612 echo "$as_me:$LINENO: checking for statvfs" >&5
37613 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37614 if test "${wx_cv_func_statvfs+set}" = set; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 cat >conftest.
$ac_ext <<_ACEOF
37620 cat confdefs.h
>>conftest.
$ac_ext
37621 cat >>conftest.
$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37624 #include <stddef.h>
37625 #include <sys/statvfs.h>
37631 statvfs("/", NULL);
37637 rm -f conftest.
$ac_objext
37638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37639 (eval $ac_compile) 2>conftest.er1
37641 grep -v '^ *+' conftest.er1
>conftest.err
37643 cat conftest.err
>&5
37644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37645 (exit $ac_status); } &&
37646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37648 (eval $ac_try) 2>&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); }; } &&
37652 { ac_try
='test -s conftest.$ac_objext'
37653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37654 (eval $ac_try) 2>&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; }; then
37658 wx_cv_func_statvfs
=yes
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.
$ac_ext >&5
37663 wx_cv_func_statvfs
=no
37666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37669 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37670 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37672 if test "$wx_cv_func_statvfs" = "yes"; then
37673 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37674 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37675 if test "${wx_cv_type_statvfs_t+set}" = set; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 cat >conftest.
$ac_ext <<_ACEOF
37681 cat confdefs.h
>>conftest.
$ac_ext
37682 cat >>conftest.
$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37685 #include <sys/statvfs.h>
37702 rm -f conftest.
$ac_objext
37703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37704 (eval $ac_compile) 2>conftest.er1
37706 grep -v '^ *+' conftest.er1
>conftest.err
37708 cat conftest.err
>&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } &&
37711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37713 (eval $ac_try) 2>&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); }; } &&
37717 { ac_try
='test -s conftest.$ac_objext'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; }; then
37723 wx_cv_type_statvfs_t
=statvfs_t
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.
$ac_ext >&5
37729 cat >conftest.
$ac_ext <<_ACEOF
37732 cat confdefs.h
>>conftest.
$ac_ext
37733 cat >>conftest.
$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37736 #include <sys/statvfs.h>
37753 rm -f conftest.
$ac_objext
37754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37755 (eval $ac_compile) 2>conftest.er1
37757 grep -v '^ *+' conftest.er1
>conftest.err
37759 cat conftest.err
>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); } &&
37762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; } &&
37768 { ac_try
='test -s conftest.$ac_objext'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; }; then
37774 wx_cv_type_statvfs_t
="struct statvfs"
37776 echo "$as_me: failed program was:" >&5
37777 sed 's/^/| /' conftest.
$ac_ext >&5
37779 wx_cv_type_statvfs_t
="unknown"
37782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37789 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37790 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37792 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37793 cat >>confdefs.h
<<\_ACEOF
37794 #define HAVE_STATVFS 1
37799 wx_cv_type_statvfs_t
="unknown"
37803 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37804 cat >>confdefs.h
<<_ACEOF
37805 #define WX_STATFS_T $wx_cv_type_statvfs_t
37809 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37810 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37813 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37816 for ac_func
in fcntl flock
37818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37819 echo "$as_me:$LINENO: checking for $ac_func" >&5
37820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37821 if eval "test \"\${$as_ac_var+set}\" = set"; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 cat >conftest.
$ac_ext <<_ACEOF
37827 cat confdefs.h
>>conftest.
$ac_ext
37828 cat >>conftest.
$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37840 # include <limits.h>
37842 # include <assert.h>
37847 /* Override any gcc2 internal prototype to avoid an error. */
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37861 char (*f) () = $ac_func;
37870 return f != $ac_func;
37875 rm -f conftest.
$ac_objext conftest
$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37879 grep -v '^ *+' conftest.er1
>conftest.err
37881 cat conftest.err
>&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37886 (eval $ac_try) 2>&5
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); }; } &&
37890 { ac_try
='test -s conftest$ac_exeext'
37891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37892 (eval $ac_try) 2>&5
37894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37895 (exit $ac_status); }; }; then
37896 eval "$as_ac_var=yes"
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.
$ac_ext >&5
37901 eval "$as_ac_var=no"
37903 rm -f conftest.err conftest.
$ac_objext \
37904 conftest
$ac_exeext conftest.
$ac_ext
37906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37908 if test `eval echo '${'$as_ac_var'}'` = yes; then
37909 cat >>confdefs.h
<<_ACEOF
37910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37917 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37918 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37919 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37920 wxUSE_SNGLINST_CHECKER
=no
37925 for ac_func
in timegm
37927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37928 echo "$as_me:$LINENO: checking for $ac_func" >&5
37929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37930 if eval "test \"\${$as_ac_var+set}\" = set"; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 cat >conftest.
$ac_ext <<_ACEOF
37936 cat confdefs.h
>>conftest.
$ac_ext
37937 cat >>conftest.
$ac_ext <<_ACEOF
37938 /* end confdefs.h. */
37939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37941 #define $ac_func innocuous_$ac_func
37943 /* System header to define __stub macros and hopefully few prototypes,
37944 which can conflict with char $ac_func (); below.
37945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37946 <limits.h> exists even on freestanding compilers. */
37949 # include <limits.h>
37951 # include <assert.h>
37956 /* Override any gcc2 internal prototype to avoid an error. */
37961 /* We use char because int might match the return type of a gcc2
37962 builtin and then its argument prototype would still apply. */
37964 /* The GNU C library defines this for functions which it implements
37965 to always fail with ENOSYS. Some functions are actually named
37966 something starting with __ and the normal name is an alias. */
37967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37970 char (*f) () = $ac_func;
37979 return f != $ac_func;
37984 rm -f conftest.
$ac_objext conftest
$ac_exeext
37985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37986 (eval $ac_link) 2>conftest.er1
37988 grep -v '^ *+' conftest.er1
>conftest.err
37990 cat conftest.err
>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } &&
37993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37995 (eval $ac_try) 2>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); }; } &&
37999 { ac_try
='test -s conftest$ac_exeext'
38000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38001 (eval $ac_try) 2>&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); }; }; then
38005 eval "$as_ac_var=yes"
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.
$ac_ext >&5
38010 eval "$as_ac_var=no"
38012 rm -f conftest.err conftest.
$ac_objext \
38013 conftest
$ac_exeext conftest.
$ac_ext
38015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38017 if test `eval echo '${'$as_ac_var'}'` = yes; then
38018 cat >>confdefs.h
<<_ACEOF
38019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38028 for ac_func
in putenv setenv
38030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38031 echo "$as_me:$LINENO: checking for $ac_func" >&5
38032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38033 if eval "test \"\${$as_ac_var+set}\" = set"; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 cat >conftest.
$ac_ext <<_ACEOF
38039 cat confdefs.h
>>conftest.
$ac_ext
38040 cat >>conftest.
$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38044 #define $ac_func innocuous_$ac_func
38046 /* System header to define __stub macros and hopefully few prototypes,
38047 which can conflict with char $ac_func (); below.
38048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38049 <limits.h> exists even on freestanding compilers. */
38052 # include <limits.h>
38054 # include <assert.h>
38059 /* Override any gcc2 internal prototype to avoid an error. */
38064 /* We use char because int might match the return type of a gcc2
38065 builtin and then its argument prototype would still apply. */
38067 /* The GNU C library defines this for functions which it implements
38068 to always fail with ENOSYS. Some functions are actually named
38069 something starting with __ and the normal name is an alias. */
38070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38073 char (*f) () = $ac_func;
38082 return f != $ac_func;
38087 rm -f conftest.
$ac_objext conftest
$ac_exeext
38088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38089 (eval $ac_link) 2>conftest.er1
38091 grep -v '^ *+' conftest.er1
>conftest.err
38093 cat conftest.err
>&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } &&
38096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; } &&
38102 { ac_try
='test -s conftest$ac_exeext'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; }; then
38108 eval "$as_ac_var=yes"
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.
$ac_ext >&5
38113 eval "$as_ac_var=no"
38115 rm -f conftest.err conftest.
$ac_objext \
38116 conftest
$ac_exeext conftest.
$ac_ext
38118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38120 if test `eval echo '${'$as_ac_var'}'` = yes; then
38121 cat >>confdefs.h
<<_ACEOF
38122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38129 HAVE_SOME_SLEEP_FUNC
=0
38130 if test "$USE_BEOS" = 1; then
38131 cat >>confdefs.h
<<\_ACEOF
38132 #define HAVE_SLEEP 1
38135 HAVE_SOME_SLEEP_FUNC
=1
38138 if test "$USE_DARWIN" = 1; then
38139 cat >>confdefs.h
<<\_ACEOF
38140 #define HAVE_USLEEP 1
38143 HAVE_SOME_SLEEP_FUNC
=1
38146 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38149 for ac_func
in nanosleep
38151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38152 echo "$as_me:$LINENO: checking for $ac_func" >&5
38153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38154 if eval "test \"\${$as_ac_var+set}\" = set"; then
38155 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 cat >conftest.
$ac_ext <<_ACEOF
38160 cat confdefs.h
>>conftest.
$ac_ext
38161 cat >>conftest.
$ac_ext <<_ACEOF
38162 /* end confdefs.h. */
38163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38165 #define $ac_func innocuous_$ac_func
38167 /* System header to define __stub macros and hopefully few prototypes,
38168 which can conflict with char $ac_func (); below.
38169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38170 <limits.h> exists even on freestanding compilers. */
38173 # include <limits.h>
38175 # include <assert.h>
38180 /* Override any gcc2 internal prototype to avoid an error. */
38185 /* We use char because int might match the return type of a gcc2
38186 builtin and then its argument prototype would still apply. */
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38194 char (*f) () = $ac_func;
38203 return f != $ac_func;
38208 rm -f conftest.
$ac_objext conftest
$ac_exeext
38209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38210 (eval $ac_link) 2>conftest.er1
38212 grep -v '^ *+' conftest.er1
>conftest.err
38214 cat conftest.err
>&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } &&
38217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38219 (eval $ac_try) 2>&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); }; } &&
38223 { ac_try
='test -s conftest$ac_exeext'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; }; then
38229 eval "$as_ac_var=yes"
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.
$ac_ext >&5
38234 eval "$as_ac_var=no"
38236 rm -f conftest.err conftest.
$ac_objext \
38237 conftest
$ac_exeext conftest.
$ac_ext
38239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38241 if test `eval echo '${'$as_ac_var'}'` = yes; then
38242 cat >>confdefs.h
<<_ACEOF
38243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38245 cat >>confdefs.h
<<\_ACEOF
38246 #define HAVE_NANOSLEEP 1
38251 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38252 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38253 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 ac_check_lib_save_LIBS
=$LIBS
38257 LIBS
="-lposix4 $LIBS"
38258 cat >conftest.
$ac_ext <<_ACEOF
38261 cat confdefs.h
>>conftest.
$ac_ext
38262 cat >>conftest.
$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38265 /* Override any gcc2 internal prototype to avoid an error. */
38269 /* We use char because int might match the return type of a gcc2
38270 builtin and then its argument prototype would still apply. */
38280 rm -f conftest.
$ac_objext conftest
$ac_exeext
38281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38282 (eval $ac_link) 2>conftest.er1
38284 grep -v '^ *+' conftest.er1
>conftest.err
38286 cat conftest.err
>&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } &&
38289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; } &&
38295 { ac_try
='test -s conftest$ac_exeext'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; }; then
38301 ac_cv_lib_posix4_nanosleep
=yes
38303 echo "$as_me: failed program was:" >&5
38304 sed 's/^/| /' conftest.
$ac_ext >&5
38306 ac_cv_lib_posix4_nanosleep
=no
38308 rm -f conftest.err conftest.
$ac_objext \
38309 conftest
$ac_exeext conftest.
$ac_ext
38310 LIBS
=$ac_check_lib_save_LIBS
38312 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38313 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38314 if test $ac_cv_lib_posix4_nanosleep = yes; then
38316 cat >>confdefs.h
<<\_ACEOF
38317 #define HAVE_NANOSLEEP 1
38320 POSIX4_LINK
=" -lposix4"
38325 for ac_func
in usleep
38327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38328 echo "$as_me:$LINENO: checking for $ac_func" >&5
38329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38330 if eval "test \"\${$as_ac_var+set}\" = set"; then
38331 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 cat >conftest.
$ac_ext <<_ACEOF
38336 cat confdefs.h
>>conftest.
$ac_ext
38337 cat >>conftest.
$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38341 #define $ac_func innocuous_$ac_func
38343 /* System header to define __stub macros and hopefully few prototypes,
38344 which can conflict with char $ac_func (); below.
38345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38346 <limits.h> exists even on freestanding compilers. */
38349 # include <limits.h>
38351 # include <assert.h>
38356 /* Override any gcc2 internal prototype to avoid an error. */
38361 /* We use char because int might match the return type of a gcc2
38362 builtin and then its argument prototype would still apply. */
38364 /* The GNU C library defines this for functions which it implements
38365 to always fail with ENOSYS. Some functions are actually named
38366 something starting with __ and the normal name is an alias. */
38367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38370 char (*f) () = $ac_func;
38379 return f != $ac_func;
38384 rm -f conftest.
$ac_objext conftest
$ac_exeext
38385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38386 (eval $ac_link) 2>conftest.er1
38388 grep -v '^ *+' conftest.er1
>conftest.err
38390 cat conftest.err
>&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); } &&
38393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; } &&
38399 { ac_try
='test -s conftest$ac_exeext'
38400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401 (eval $ac_try) 2>&5
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); }; }; then
38405 eval "$as_ac_var=yes"
38407 echo "$as_me: failed program was:" >&5
38408 sed 's/^/| /' conftest.
$ac_ext >&5
38410 eval "$as_ac_var=no"
38412 rm -f conftest.err conftest.
$ac_objext \
38413 conftest
$ac_exeext conftest.
$ac_ext
38415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38417 if test `eval echo '${'$as_ac_var'}'` = yes; then
38418 cat >>confdefs.h
<<_ACEOF
38419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38421 cat >>confdefs.h
<<\_ACEOF
38422 #define HAVE_USLEEP 1
38426 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38427 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38445 for ac_func
in uname gethostname
38447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38448 echo "$as_me:$LINENO: checking for $ac_func" >&5
38449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38450 if eval "test \"\${$as_ac_var+set}\" = set"; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38453 cat >conftest.
$ac_ext <<_ACEOF
38456 cat confdefs.h
>>conftest.
$ac_ext
38457 cat >>conftest.
$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38461 #define $ac_func innocuous_$ac_func
38463 /* System header to define __stub macros and hopefully few prototypes,
38464 which can conflict with char $ac_func (); below.
38465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38466 <limits.h> exists even on freestanding compilers. */
38469 # include <limits.h>
38471 # include <assert.h>
38476 /* Override any gcc2 internal prototype to avoid an error. */
38481 /* We use char because int might match the return type of a gcc2
38482 builtin and then its argument prototype would still apply. */
38484 /* The GNU C library defines this for functions which it implements
38485 to always fail with ENOSYS. Some functions are actually named
38486 something starting with __ and the normal name is an alias. */
38487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38490 char (*f) () = $ac_func;
38499 return f != $ac_func;
38504 rm -f conftest.
$ac_objext conftest
$ac_exeext
38505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38506 (eval $ac_link) 2>conftest.er1
38508 grep -v '^ *+' conftest.er1
>conftest.err
38510 cat conftest.err
>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; } &&
38519 { ac_try
='test -s conftest$ac_exeext'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; }; then
38525 eval "$as_ac_var=yes"
38527 echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.
$ac_ext >&5
38530 eval "$as_ac_var=no"
38532 rm -f conftest.err conftest.
$ac_objext \
38533 conftest
$ac_exeext conftest.
$ac_ext
38535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538 cat >>confdefs.h
<<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38547 for wx_func
in strtok_r
38549 echo "$as_me:$LINENO: checking for $wx_func" >&5
38550 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38551 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 cat >conftest.
$ac_ext <<_ACEOF
38559 cat confdefs.h
>>conftest.
$ac_ext
38560 cat >>conftest.
$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38564 $ac_includes_default
38580 rm -f conftest.
$ac_objext conftest
$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>conftest.er1
38584 grep -v '^ *+' conftest.er1
>conftest.err
38586 cat conftest.err
>&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } &&
38589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try
='test -s conftest$ac_exeext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 eval wx_cv_func_
$wx_func=yes
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.
$ac_ext >&5
38606 eval wx_cv_func_
$wx_func=no
38608 rm -f conftest.err conftest.
$ac_objext \
38609 conftest
$ac_exeext conftest.
$ac_ext
38612 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38613 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38615 if eval test \
$wx_cv_func_$wx_func = yes
38617 cat >>confdefs.h
<<_ACEOF
38618 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38631 for ac_func
in inet_addr
38633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38634 echo "$as_me:$LINENO: checking for $ac_func" >&5
38635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38636 if eval "test \"\${$as_ac_var+set}\" = set"; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 cat >conftest.
$ac_ext <<_ACEOF
38642 cat confdefs.h
>>conftest.
$ac_ext
38643 cat >>conftest.
$ac_ext <<_ACEOF
38644 /* end confdefs.h. */
38645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38647 #define $ac_func innocuous_$ac_func
38649 /* System header to define __stub macros and hopefully few prototypes,
38650 which can conflict with char $ac_func (); below.
38651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38652 <limits.h> exists even on freestanding compilers. */
38655 # include <limits.h>
38657 # include <assert.h>
38662 /* Override any gcc2 internal prototype to avoid an error. */
38667 /* We use char because int might match the return type of a gcc2
38668 builtin and then its argument prototype would still apply. */
38670 /* The GNU C library defines this for functions which it implements
38671 to always fail with ENOSYS. Some functions are actually named
38672 something starting with __ and the normal name is an alias. */
38673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38676 char (*f) () = $ac_func;
38685 return f != $ac_func;
38690 rm -f conftest.
$ac_objext conftest
$ac_exeext
38691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38692 (eval $ac_link) 2>conftest.er1
38694 grep -v '^ *+' conftest.er1
>conftest.err
38696 cat conftest.err
>&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } &&
38699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38701 (eval $ac_try) 2>&5
38703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38704 (exit $ac_status); }; } &&
38705 { ac_try
='test -s conftest$ac_exeext'
38706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38707 (eval $ac_try) 2>&5
38709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710 (exit $ac_status); }; }; then
38711 eval "$as_ac_var=yes"
38713 echo "$as_me: failed program was:" >&5
38714 sed 's/^/| /' conftest.
$ac_ext >&5
38716 eval "$as_ac_var=no"
38718 rm -f conftest.err conftest.
$ac_objext \
38719 conftest
$ac_exeext conftest.
$ac_ext
38721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38723 if test `eval echo '${'$as_ac_var'}'` = yes; then
38724 cat >>confdefs.h
<<_ACEOF
38725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38727 cat >>confdefs.h
<<\_ACEOF
38728 #define HAVE_INET_ADDR 1
38733 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38734 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38735 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 ac_check_lib_save_LIBS
=$LIBS
38740 cat >conftest.
$ac_ext <<_ACEOF
38743 cat confdefs.h
>>conftest.
$ac_ext
38744 cat >>conftest.
$ac_ext <<_ACEOF
38745 /* end confdefs.h. */
38747 /* Override any gcc2 internal prototype to avoid an error. */
38751 /* We use char because int might match the return type of a gcc2
38752 builtin and then its argument prototype would still apply. */
38762 rm -f conftest.
$ac_objext conftest
$ac_exeext
38763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38764 (eval $ac_link) 2>conftest.er1
38766 grep -v '^ *+' conftest.er1
>conftest.err
38768 cat conftest.err
>&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); } &&
38771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773 (eval $ac_try) 2>&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); }; } &&
38777 { ac_try
='test -s conftest$ac_exeext'
38778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38779 (eval $ac_try) 2>&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); }; }; then
38783 ac_cv_lib_nsl_inet_addr
=yes
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.
$ac_ext >&5
38788 ac_cv_lib_nsl_inet_addr
=no
38790 rm -f conftest.err conftest.
$ac_objext \
38791 conftest
$ac_exeext conftest.
$ac_ext
38792 LIBS
=$ac_check_lib_save_LIBS
38794 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38795 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38796 if test $ac_cv_lib_nsl_inet_addr = yes; then
38800 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38801 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38802 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38803 echo $ECHO_N "(cached) $ECHO_C" >&6
38805 ac_check_lib_save_LIBS
=$LIBS
38806 LIBS
="-lresolv $LIBS"
38807 cat >conftest.
$ac_ext <<_ACEOF
38810 cat confdefs.h
>>conftest.
$ac_ext
38811 cat >>conftest.
$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38814 /* Override any gcc2 internal prototype to avoid an error. */
38818 /* We use char because int might match the return type of a gcc2
38819 builtin and then its argument prototype would still apply. */
38829 rm -f conftest.
$ac_objext conftest
$ac_exeext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38831 (eval $ac_link) 2>conftest.er1
38833 grep -v '^ *+' conftest.er1
>conftest.err
38835 cat conftest.err
>&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38840 (eval $ac_try) 2>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); }; } &&
38844 { ac_try
='test -s conftest$ac_exeext'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; }; then
38850 ac_cv_lib_resolv_inet_addr
=yes
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.
$ac_ext >&5
38855 ac_cv_lib_resolv_inet_addr
=no
38857 rm -f conftest.err conftest.
$ac_objext \
38858 conftest
$ac_exeext conftest.
$ac_ext
38859 LIBS
=$ac_check_lib_save_LIBS
38861 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38862 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38863 if test $ac_cv_lib_resolv_inet_addr = yes; then
38867 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38868 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38869 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 ac_check_lib_save_LIBS
=$LIBS
38873 LIBS
="-lsocket $LIBS"
38874 cat >conftest.
$ac_ext <<_ACEOF
38877 cat confdefs.h
>>conftest.
$ac_ext
38878 cat >>conftest.
$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38881 /* Override any gcc2 internal prototype to avoid an error. */
38885 /* We use char because int might match the return type of a gcc2
38886 builtin and then its argument prototype would still apply. */
38896 rm -f conftest.
$ac_objext conftest
$ac_exeext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38898 (eval $ac_link) 2>conftest.er1
38900 grep -v '^ *+' conftest.er1
>conftest.err
38902 cat conftest.err
>&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38907 (eval $ac_try) 2>&5
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); }; } &&
38911 { ac_try
='test -s conftest$ac_exeext'
38912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38913 (eval $ac_try) 2>&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); }; }; then
38917 ac_cv_lib_socket_inet_addr
=yes
38919 echo "$as_me: failed program was:" >&5
38920 sed 's/^/| /' conftest.
$ac_ext >&5
38922 ac_cv_lib_socket_inet_addr
=no
38924 rm -f conftest.err conftest.
$ac_objext \
38925 conftest
$ac_exeext conftest.
$ac_ext
38926 LIBS
=$ac_check_lib_save_LIBS
38928 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38929 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38930 if test $ac_cv_lib_socket_inet_addr = yes; then
38950 for ac_func
in inet_aton
38952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38953 echo "$as_me:$LINENO: checking for $ac_func" >&5
38954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38955 if eval "test \"\${$as_ac_var+set}\" = set"; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38958 cat >conftest.
$ac_ext <<_ACEOF
38961 cat confdefs.h
>>conftest.
$ac_ext
38962 cat >>conftest.
$ac_ext <<_ACEOF
38963 /* end confdefs.h. */
38964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38966 #define $ac_func innocuous_$ac_func
38968 /* System header to define __stub macros and hopefully few prototypes,
38969 which can conflict with char $ac_func (); below.
38970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38971 <limits.h> exists even on freestanding compilers. */
38974 # include <limits.h>
38976 # include <assert.h>
38981 /* Override any gcc2 internal prototype to avoid an error. */
38986 /* We use char because int might match the return type of a gcc2
38987 builtin and then its argument prototype would still apply. */
38989 /* The GNU C library defines this for functions which it implements
38990 to always fail with ENOSYS. Some functions are actually named
38991 something starting with __ and the normal name is an alias. */
38992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38995 char (*f) () = $ac_func;
39004 return f != $ac_func;
39009 rm -f conftest.
$ac_objext conftest
$ac_exeext
39010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39011 (eval $ac_link) 2>conftest.er1
39013 grep -v '^ *+' conftest.er1
>conftest.err
39015 cat conftest.err
>&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } &&
39018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; } &&
39024 { ac_try
='test -s conftest$ac_exeext'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; }; then
39030 eval "$as_ac_var=yes"
39032 echo "$as_me: failed program was:" >&5
39033 sed 's/^/| /' conftest.
$ac_ext >&5
39035 eval "$as_ac_var=no"
39037 rm -f conftest.err conftest.
$ac_objext \
39038 conftest
$ac_exeext conftest.
$ac_ext
39040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39042 if test `eval echo '${'$as_ac_var'}'` = yes; then
39043 cat >>confdefs.h
<<_ACEOF
39044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39046 cat >>confdefs.h
<<\_ACEOF
39047 #define HAVE_INET_ATON 1
39052 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39053 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39054 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39055 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39058 ac_check_lib_save_LIBS
=$LIBS
39059 LIBS
="-l$INET_LINK $LIBS"
39060 cat >conftest.
$ac_ext <<_ACEOF
39063 cat confdefs.h
>>conftest.
$ac_ext
39064 cat >>conftest.
$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39067 /* Override any gcc2 internal prototype to avoid an error. */
39071 /* We use char because int might match the return type of a gcc2
39072 builtin and then its argument prototype would still apply. */
39082 rm -f conftest.
$ac_objext conftest
$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39086 grep -v '^ *+' conftest.er1
>conftest.err
39088 cat conftest.err
>&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try
='test -s conftest$ac_exeext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 eval "$as_ac_Lib=yes"
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.
$ac_ext >&5
39108 eval "$as_ac_Lib=no"
39110 rm -f conftest.err conftest.
$ac_objext \
39111 conftest
$ac_exeext conftest.
$ac_ext
39112 LIBS
=$ac_check_lib_save_LIBS
39114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39115 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39116 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39117 cat >>confdefs.h
<<\_ACEOF
39118 #define HAVE_INET_ATON 1
39128 if test "x$INET_LINK" != "x"; then
39129 cat >>confdefs.h
<<\_ACEOF
39130 #define HAVE_INET_ADDR 1
39133 INET_LINK
=" -l$INET_LINK"
39137 for wx_func
in fdopen
39139 echo "$as_me:$LINENO: checking for $wx_func" >&5
39140 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39141 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 cat >conftest.
$ac_ext <<_ACEOF
39149 cat confdefs.h
>>conftest.
$ac_ext
39150 cat >>conftest.
$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39154 $ac_includes_default
39170 rm -f conftest.
$ac_objext conftest
$ac_exeext
39171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39172 (eval $ac_link) 2>conftest.er1
39174 grep -v '^ *+' conftest.er1
>conftest.err
39176 cat conftest.err
>&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } &&
39179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; } &&
39185 { ac_try
='test -s conftest$ac_exeext'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; }; then
39191 eval wx_cv_func_
$wx_func=yes
39193 echo "$as_me: failed program was:" >&5
39194 sed 's/^/| /' conftest.
$ac_ext >&5
39196 eval wx_cv_func_
$wx_func=no
39198 rm -f conftest.err conftest.
$ac_objext \
39199 conftest
$ac_exeext conftest.
$ac_ext
39202 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39203 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39205 if eval test \
$wx_cv_func_$wx_func = yes
39207 cat >>confdefs.h
<<_ACEOF
39208 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39225 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39226 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39227 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39228 echo $ECHO_N "(cached) $ECHO_C" >&6
39230 ac_check_lib_save_LIBS
=$LIBS
39232 cat >conftest.
$ac_ext <<_ACEOF
39235 cat confdefs.h
>>conftest.
$ac_ext
39236 cat >>conftest.
$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39239 /* Override any gcc2 internal prototype to avoid an error. */
39243 /* We use char because int might match the return type of a gcc2
39244 builtin and then its argument prototype would still apply. */
39254 rm -f conftest.
$ac_objext conftest
$ac_exeext
39255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39256 (eval $ac_link) 2>conftest.er1
39258 grep -v '^ *+' conftest.er1
>conftest.err
39260 cat conftest.err
>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } &&
39263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try
='test -s conftest$ac_exeext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 ac_cv_lib_esd_esd_close
=yes
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.
$ac_ext >&5
39280 ac_cv_lib_esd_esd_close
=no
39282 rm -f conftest.err conftest.
$ac_objext \
39283 conftest
$ac_exeext conftest.
$ac_ext
39284 LIBS
=$ac_check_lib_save_LIBS
39286 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39287 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39288 if test $ac_cv_lib_esd_esd_close = yes; then
39291 for ac_header
in esd.h
39293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39295 echo "$as_me:$LINENO: checking for $ac_header" >&5
39296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39298 echo $ECHO_N "(cached) $ECHO_C" >&6
39300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39303 # Is the header compilable?
39304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39306 cat >conftest.
$ac_ext <<_ACEOF
39309 cat confdefs.h
>>conftest.
$ac_ext
39310 cat >>conftest.
$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 $ac_includes_default
39313 #include <$ac_header>
39315 rm -f conftest.
$ac_objext
39316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39317 (eval $ac_compile) 2>conftest.er1
39319 grep -v '^ *+' conftest.er1
>conftest.err
39321 cat conftest.err
>&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } &&
39324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39326 (eval $ac_try) 2>&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); }; } &&
39330 { ac_try
='test -s conftest.$ac_objext'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; }; then
39336 ac_header_compiler
=yes
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.
$ac_ext >&5
39341 ac_header_compiler
=no
39343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39345 echo "${ECHO_T}$ac_header_compiler" >&6
39347 # Is the header present?
39348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39350 cat >conftest.
$ac_ext <<_ACEOF
39353 cat confdefs.h
>>conftest.
$ac_ext
39354 cat >>conftest.
$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39356 #include <$ac_header>
39358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39361 grep -v '^ *+' conftest.er1
>conftest.err
39363 cat conftest.err
>&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } >/dev
/null
; then
39366 if test -s conftest.err
; then
39367 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39368 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39375 if test -z "$ac_cpp_err"; then
39376 ac_header_preproc
=yes
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.
$ac_ext >&5
39381 ac_header_preproc
=no
39383 rm -f conftest.err conftest.
$ac_ext
39384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39385 echo "${ECHO_T}$ac_header_preproc" >&6
39387 # So? What about this header?
39388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39394 ac_header_preproc
=yes
39397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39411 ## ----------------------------------------- ##
39412 ## Report this to wx-dev@lists.wxwidgets.org ##
39413 ## ----------------------------------------- ##
39416 sed "s/^/$as_me: WARNING: /" >&2
39419 echo "$as_me:$LINENO: checking for $ac_header" >&5
39420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 eval "$as_ac_Header=\$ac_header_preproc"
39426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39431 cat >>confdefs.h
<<_ACEOF
39432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39435 EXTRALIBS_ESD
="-lesd"
39446 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39447 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39448 cat >conftest.
$ac_ext <<_ACEOF
39451 cat confdefs.h
>>conftest.
$ac_ext
39452 cat >>conftest.
$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39455 #include <linux/cdrom.h>
39458 #include <sys/cdio.h>
39464 struct cdrom_tocentry entry, old_entry;
39469 rm -f conftest.
$ac_objext
39470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39471 (eval $ac_compile) 2>conftest.er1
39473 grep -v '^ *+' conftest.er1
>conftest.err
39475 cat conftest.err
>&5
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); } &&
39478 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39480 (eval $ac_try) 2>&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); }; } &&
39484 { ac_try
='test -s conftest.$ac_objext'
39485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486 (eval $ac_try) 2>&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; }; then
39490 echo "$as_me:$LINENO: result: yes" >&5
39491 echo "${ECHO_T}yes" >&6
39492 cat >>confdefs.h
<<\_ACEOF
39493 #define HAVE_KNOWN_CDROM_INTERFACE 1
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.
$ac_ext >&5
39500 echo "$as_me:$LINENO: result: no" >&5
39501 echo "${ECHO_T}no" >&6
39503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39506 cat >confcache
<<\_ACEOF
39507 # This file is a shell script that caches the results of configure
39508 # tests run on this system so they can be shared between configure
39509 # scripts and configure runs, see configure's option --config-cache.
39510 # It is not useful on other systems. If it contains results you don't
39511 # want to keep, you may remove or edit it.
39513 # config.status only pays attention to the cache file if you give it
39514 # the --recheck option to rerun configure.
39516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39518 # following values.
39522 # The following way of writing the cache mishandles newlines in values,
39523 # but we know of no workaround that is simple, portable, and efficient.
39524 # So, don't put newlines in cache variables' values.
39525 # Ultrix sh set writes to stderr and can't be redirected directly,
39526 # and sets the high bit in the cache file unless we assign to the vars.
39529 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39531 # `set' does not quote correctly, so add quotes (double-quote
39532 # substitution turns \\\\ into \\, and sed turns \\ into \).
39535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39538 # `set' quotes correctly as required by POSIX, so do not add quotes.
39540 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39547 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39549 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39551 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39552 if test -w $cache_file; then
39553 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39554 cat confcache
>$cache_file
39556 echo "not updating unwritable cache $cache_file"
39562 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39568 if test "$wxUSE_THREADS" = "yes" ; then
39569 if test "$USE_BEOS" = 1; then
39570 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39571 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39576 if test "$wxUSE_THREADS" = "yes" ; then
39579 THREAD_OPTS
="-pthread"
39581 *-*-solaris2* | *-*-sunos4* )
39582 if test "x$GCC" = "xyes"; then
39583 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39585 THREAD_OPTS
="-mt $THREAD_OPTS"
39589 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39591 *-*-darwin* | *-*-cygwin* )
39595 THREAD_OPTS
="pthreads"
39598 if test "x$GCC" = "xyes"; then
39599 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39607 if test "x$GCC" = "xyes"; then
39613 if test "x$GCC" != "xyes"; then
39614 THREAD_OPTS
="-Ethread"
39619 THREAD_OPTS
="$THREAD_OPTS pthread none"
39622 for flag
in $THREAD_OPTS; do
39625 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39626 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39630 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39631 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39632 THREADS_CXXFLAGS
="$flag"
39636 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39637 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39638 THREADS_LINK
="-l$flag"
39643 save_CXXFLAGS
="$CXXFLAGS"
39644 LIBS
="$THREADS_LINK $LIBS"
39645 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39647 cat >conftest.
$ac_ext <<_ACEOF
39650 cat confdefs.h
>>conftest.
$ac_ext
39651 cat >>conftest.
$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 #include <pthread.h>
39657 pthread_create(0,0,0,0);
39662 rm -f conftest.
$ac_objext conftest
$ac_exeext
39663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39664 (eval $ac_link) 2>conftest.er1
39666 grep -v '^ *+' conftest.er1
>conftest.err
39668 cat conftest.err
>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } &&
39671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39677 { ac_try
='test -s conftest$ac_exeext'
39678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679 (eval $ac_try) 2>&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); }; }; then
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.
$ac_ext >&5
39689 rm -f conftest.err conftest.
$ac_objext \
39690 conftest
$ac_exeext conftest.
$ac_ext
39693 CXXFLAGS
="$save_CXXFLAGS"
39695 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39696 echo "${ECHO_T}$THREADS_OK" >&6
39697 if test "x$THREADS_OK" = "xyes"; then
39702 THREADS_CXXFLAGS
=""
39705 if test "x$THREADS_OK" != "xyes"; then
39707 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39708 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39710 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39711 LIBS
="$THREADS_LINK $LIBS"
39713 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39714 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39718 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39719 flag
="-D_THREAD_SAFE"
39722 flag
="-D_THREAD_SAFE"
39725 flag
="-D_REENTRANT"
39726 if test "x$GCC" != "xyes"; then
39727 flag
="$flag -D_RWSTD_MULTI_THREAD"
39730 *solaris
* | alpha
*-osf*)
39731 flag
="-D_REENTRANT"
39734 echo "$as_me:$LINENO: result: ${flag}" >&5
39735 echo "${ECHO_T}${flag}" >&6
39736 if test "x$flag" != xno
; then
39737 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39740 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39744 if test "$wxUSE_THREADS" = "yes" ; then
39746 for ac_func
in thr_setconcurrency
39748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39749 echo "$as_me:$LINENO: checking for $ac_func" >&5
39750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39751 if eval "test \"\${$as_ac_var+set}\" = set"; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 cat >conftest.
$ac_ext <<_ACEOF
39757 cat confdefs.h
>>conftest.
$ac_ext
39758 cat >>conftest.
$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39762 #define $ac_func innocuous_$ac_func
39764 /* System header to define __stub macros and hopefully few prototypes,
39765 which can conflict with char $ac_func (); below.
39766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39767 <limits.h> exists even on freestanding compilers. */
39770 # include <limits.h>
39772 # include <assert.h>
39777 /* Override any gcc2 internal prototype to avoid an error. */
39782 /* We use char because int might match the return type of a gcc2
39783 builtin and then its argument prototype would still apply. */
39785 /* The GNU C library defines this for functions which it implements
39786 to always fail with ENOSYS. Some functions are actually named
39787 something starting with __ and the normal name is an alias. */
39788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39791 char (*f) () = $ac_func;
39800 return f != $ac_func;
39805 rm -f conftest.
$ac_objext conftest
$ac_exeext
39806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39807 (eval $ac_link) 2>conftest.er1
39809 grep -v '^ *+' conftest.er1
>conftest.err
39811 cat conftest.err
>&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); } &&
39814 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; } &&
39820 { ac_try
='test -s conftest$ac_exeext'
39821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39822 (eval $ac_try) 2>&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); }; }; then
39826 eval "$as_ac_var=yes"
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.
$ac_ext >&5
39831 eval "$as_ac_var=no"
39833 rm -f conftest.err conftest.
$ac_objext \
39834 conftest
$ac_exeext conftest.
$ac_ext
39836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39838 if test `eval echo '${'$as_ac_var'}'` = yes; then
39839 cat >>confdefs.h
<<_ACEOF
39840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39847 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39848 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39849 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 cat >conftest.
$ac_ext <<_ACEOF
39856 cat confdefs.h
>>conftest.
$ac_ext
39857 cat >>conftest.
$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 #include <pthread.h>
39860 void ThreadCleanupFunc(void *p);
39867 pthread_cleanup_push(ThreadCleanupFunc, p);
39868 pthread_cleanup_pop(0);
39874 rm -f conftest.
$ac_objext
39875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39876 (eval $ac_compile) 2>conftest.er1
39878 grep -v '^ *+' conftest.er1
>conftest.err
39880 cat conftest.err
>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } &&
39883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; } &&
39889 { ac_try
='test -s conftest.$ac_objext'
39890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39891 (eval $ac_try) 2>&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); }; }; then
39896 wx_cv_func_pthread_cleanup
=yes
39899 echo "$as_me: failed program was:" >&5
39900 sed 's/^/| /' conftest.
$ac_ext >&5
39903 wx_cv_func_pthread_cleanup
=no
39907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39910 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39911 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39912 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39913 cat >>confdefs.h
<<\_ACEOF
39914 #define wxHAVE_PTHREAD_CLEANUP 1
39920 for ac_header
in sched.h
39922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39924 echo "$as_me:$LINENO: checking for $ac_header" >&5
39925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39932 # Is the header compilable?
39933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39935 cat >conftest.
$ac_ext <<_ACEOF
39938 cat confdefs.h
>>conftest.
$ac_ext
39939 cat >>conftest.
$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 $ac_includes_default
39942 #include <$ac_header>
39944 rm -f conftest.
$ac_objext
39945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39946 (eval $ac_compile) 2>conftest.er1
39948 grep -v '^ *+' conftest.er1
>conftest.err
39950 cat conftest.err
>&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); } &&
39953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39955 (eval $ac_try) 2>&5
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); }; } &&
39959 { ac_try
='test -s conftest.$ac_objext'
39960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39961 (eval $ac_try) 2>&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); }; }; then
39965 ac_header_compiler
=yes
39967 echo "$as_me: failed program was:" >&5
39968 sed 's/^/| /' conftest.
$ac_ext >&5
39970 ac_header_compiler
=no
39972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39974 echo "${ECHO_T}$ac_header_compiler" >&6
39976 # Is the header present?
39977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39979 cat >conftest.
$ac_ext <<_ACEOF
39982 cat confdefs.h
>>conftest.
$ac_ext
39983 cat >>conftest.
$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985 #include <$ac_header>
39987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39990 grep -v '^ *+' conftest.er1
>conftest.err
39992 cat conftest.err
>&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } >/dev
/null
; then
39995 if test -s conftest.err
; then
39996 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39997 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
40004 if test -z "$ac_cpp_err"; then
40005 ac_header_preproc
=yes
40007 echo "$as_me: failed program was:" >&5
40008 sed 's/^/| /' conftest.
$ac_ext >&5
40010 ac_header_preproc
=no
40012 rm -f conftest.err conftest.
$ac_ext
40013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40014 echo "${ECHO_T}$ac_header_preproc" >&6
40016 # So? What about this header?
40017 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40023 ac_header_preproc
=yes
40026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40040 ## ----------------------------------------- ##
40041 ## Report this to wx-dev@lists.wxwidgets.org ##
40042 ## ----------------------------------------- ##
40045 sed "s/^/$as_me: WARNING: /" >&2
40048 echo "$as_me:$LINENO: checking for $ac_header" >&5
40049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40051 echo $ECHO_N "(cached) $ECHO_C" >&6
40053 eval "$as_ac_Header=\$ac_header_preproc"
40055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40060 cat >>confdefs.h
<<_ACEOF
40061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40068 if test "$ac_cv_header_sched_h" = "yes"; then
40069 echo "$as_me:$LINENO: checking for sched_yield" >&5
40070 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40071 if test "${ac_cv_func_sched_yield+set}" = set; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40074 cat >conftest.
$ac_ext <<_ACEOF
40077 cat confdefs.h
>>conftest.
$ac_ext
40078 cat >>conftest.
$ac_ext <<_ACEOF
40079 /* end confdefs.h. */
40080 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40082 #define sched_yield innocuous_sched_yield
40084 /* System header to define __stub macros and hopefully few prototypes,
40085 which can conflict with char sched_yield (); below.
40086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40087 <limits.h> exists even on freestanding compilers. */
40090 # include <limits.h>
40092 # include <assert.h>
40097 /* Override any gcc2 internal prototype to avoid an error. */
40102 /* We use char because int might match the return type of a gcc2
40103 builtin and then its argument prototype would still apply. */
40104 char sched_yield ();
40105 /* The GNU C library defines this for functions which it implements
40106 to always fail with ENOSYS. Some functions are actually named
40107 something starting with __ and the normal name is an alias. */
40108 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40111 char (*f) () = sched_yield;
40120 return f != sched_yield;
40125 rm -f conftest.
$ac_objext conftest
$ac_exeext
40126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40127 (eval $ac_link) 2>conftest.er1
40129 grep -v '^ *+' conftest.er1
>conftest.err
40131 cat conftest.err
>&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } &&
40134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try
='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 ac_cv_func_sched_yield
=yes
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.
$ac_ext >&5
40151 ac_cv_func_sched_yield
=no
40153 rm -f conftest.err conftest.
$ac_objext \
40154 conftest
$ac_exeext conftest.
$ac_ext
40156 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40157 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40158 if test $ac_cv_func_sched_yield = yes; then
40159 cat >>confdefs.h
<<\_ACEOF
40160 #define HAVE_SCHED_YIELD 1
40165 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40166 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40167 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40168 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 ac_check_lib_save_LIBS
=$LIBS
40171 LIBS
="-lposix4 $LIBS"
40172 cat >conftest.
$ac_ext <<_ACEOF
40175 cat confdefs.h
>>conftest.
$ac_ext
40176 cat >>conftest.
$ac_ext <<_ACEOF
40177 /* end confdefs.h. */
40179 /* Override any gcc2 internal prototype to avoid an error. */
40183 /* We use char because int might match the return type of a gcc2
40184 builtin and then its argument prototype would still apply. */
40185 char sched_yield ();
40194 rm -f conftest.
$ac_objext conftest
$ac_exeext
40195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40196 (eval $ac_link) 2>conftest.er1
40198 grep -v '^ *+' conftest.er1
>conftest.err
40200 cat conftest.err
>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } &&
40203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; } &&
40209 { ac_try
='test -s conftest$ac_exeext'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; }; then
40215 ac_cv_lib_posix4_sched_yield
=yes
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.
$ac_ext >&5
40220 ac_cv_lib_posix4_sched_yield
=no
40222 rm -f conftest.err conftest.
$ac_objext \
40223 conftest
$ac_exeext conftest.
$ac_ext
40224 LIBS
=$ac_check_lib_save_LIBS
40226 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40227 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40228 if test $ac_cv_lib_posix4_sched_yield = yes; then
40229 cat >>confdefs.h
<<\_ACEOF
40230 #define HAVE_SCHED_YIELD 1
40232 POSIX4_LINK
=" -lposix4"
40234 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40235 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40246 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40247 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40248 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 cat >conftest.
$ac_ext <<_ACEOF
40254 cat confdefs.h
>>conftest.
$ac_ext
40255 cat >>conftest.
$ac_ext <<_ACEOF
40256 /* end confdefs.h. */
40257 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40259 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40261 /* System header to define __stub macros and hopefully few prototypes,
40262 which can conflict with char pthread_attr_getschedpolicy (); below.
40263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40264 <limits.h> exists even on freestanding compilers. */
40267 # include <limits.h>
40269 # include <assert.h>
40272 #undef pthread_attr_getschedpolicy
40274 /* Override any gcc2 internal prototype to avoid an error. */
40279 /* We use char because int might match the return type of a gcc2
40280 builtin and then its argument prototype would still apply. */
40281 char pthread_attr_getschedpolicy ();
40282 /* The GNU C library defines this for functions which it implements
40283 to always fail with ENOSYS. Some functions are actually named
40284 something starting with __ and the normal name is an alias. */
40285 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40288 char (*f) () = pthread_attr_getschedpolicy;
40297 return f != pthread_attr_getschedpolicy;
40302 rm -f conftest.
$ac_objext conftest
$ac_exeext
40303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40304 (eval $ac_link) 2>conftest.er1
40306 grep -v '^ *+' conftest.er1
>conftest.err
40308 cat conftest.err
>&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); } &&
40311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40313 (eval $ac_try) 2>&5
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); }; } &&
40317 { ac_try
='test -s conftest$ac_exeext'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; }; then
40323 ac_cv_func_pthread_attr_getschedpolicy
=yes
40325 echo "$as_me: failed program was:" >&5
40326 sed 's/^/| /' conftest.
$ac_ext >&5
40328 ac_cv_func_pthread_attr_getschedpolicy
=no
40330 rm -f conftest.err conftest.
$ac_objext \
40331 conftest
$ac_exeext conftest.
$ac_ext
40333 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40334 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40335 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40336 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40337 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40338 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40339 echo $ECHO_N "(cached) $ECHO_C" >&6
40341 cat >conftest.
$ac_ext <<_ACEOF
40344 cat confdefs.h
>>conftest.
$ac_ext
40345 cat >>conftest.
$ac_ext <<_ACEOF
40346 /* end confdefs.h. */
40347 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40349 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40351 /* System header to define __stub macros and hopefully few prototypes,
40352 which can conflict with char pthread_attr_setschedparam (); below.
40353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40354 <limits.h> exists even on freestanding compilers. */
40357 # include <limits.h>
40359 # include <assert.h>
40362 #undef pthread_attr_setschedparam
40364 /* Override any gcc2 internal prototype to avoid an error. */
40369 /* We use char because int might match the return type of a gcc2
40370 builtin and then its argument prototype would still apply. */
40371 char pthread_attr_setschedparam ();
40372 /* The GNU C library defines this for functions which it implements
40373 to always fail with ENOSYS. Some functions are actually named
40374 something starting with __ and the normal name is an alias. */
40375 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40378 char (*f) () = pthread_attr_setschedparam;
40387 return f != pthread_attr_setschedparam;
40392 rm -f conftest.
$ac_objext conftest
$ac_exeext
40393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40394 (eval $ac_link) 2>conftest.er1
40396 grep -v '^ *+' conftest.er1
>conftest.err
40398 cat conftest.err
>&5
40399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40400 (exit $ac_status); } &&
40401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40403 (eval $ac_try) 2>&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); }; } &&
40407 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
40413 ac_cv_func_pthread_attr_setschedparam
=yes
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.
$ac_ext >&5
40418 ac_cv_func_pthread_attr_setschedparam
=no
40420 rm -f conftest.err conftest.
$ac_objext \
40421 conftest
$ac_exeext conftest.
$ac_ext
40423 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40424 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40425 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40426 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40427 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40428 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40429 echo $ECHO_N "(cached) $ECHO_C" >&6
40431 cat >conftest.
$ac_ext <<_ACEOF
40434 cat confdefs.h
>>conftest.
$ac_ext
40435 cat >>conftest.
$ac_ext <<_ACEOF
40436 /* end confdefs.h. */
40437 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40439 #define sched_get_priority_max innocuous_sched_get_priority_max
40441 /* System header to define __stub macros and hopefully few prototypes,
40442 which can conflict with char sched_get_priority_max (); below.
40443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40444 <limits.h> exists even on freestanding compilers. */
40447 # include <limits.h>
40449 # include <assert.h>
40452 #undef sched_get_priority_max
40454 /* Override any gcc2 internal prototype to avoid an error. */
40459 /* We use char because int might match the return type of a gcc2
40460 builtin and then its argument prototype would still apply. */
40461 char sched_get_priority_max ();
40462 /* The GNU C library defines this for functions which it implements
40463 to always fail with ENOSYS. Some functions are actually named
40464 something starting with __ and the normal name is an alias. */
40465 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40468 char (*f) () = sched_get_priority_max;
40477 return f != sched_get_priority_max;
40482 rm -f conftest.
$ac_objext conftest
$ac_exeext
40483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40484 (eval $ac_link) 2>conftest.er1
40486 grep -v '^ *+' conftest.er1
>conftest.err
40488 cat conftest.err
>&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } &&
40491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40493 (eval $ac_try) 2>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); }; } &&
40497 { ac_try
='test -s conftest$ac_exeext'
40498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40499 (eval $ac_try) 2>&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); }; }; then
40503 ac_cv_func_sched_get_priority_max
=yes
40505 echo "$as_me: failed program was:" >&5
40506 sed 's/^/| /' conftest.
$ac_ext >&5
40508 ac_cv_func_sched_get_priority_max
=no
40510 rm -f conftest.err conftest.
$ac_objext \
40511 conftest
$ac_exeext conftest.
$ac_ext
40513 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40514 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40515 if test $ac_cv_func_sched_get_priority_max = yes; then
40518 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40519 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40520 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 ac_check_lib_save_LIBS
=$LIBS
40524 LIBS
="-lposix4 $LIBS"
40525 cat >conftest.
$ac_ext <<_ACEOF
40528 cat confdefs.h
>>conftest.
$ac_ext
40529 cat >>conftest.
$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40532 /* Override any gcc2 internal prototype to avoid an error. */
40536 /* We use char because int might match the return type of a gcc2
40537 builtin and then its argument prototype would still apply. */
40538 char sched_get_priority_max ();
40542 sched_get_priority_max ();
40547 rm -f conftest.
$ac_objext conftest
$ac_exeext
40548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40549 (eval $ac_link) 2>conftest.er1
40551 grep -v '^ *+' conftest.er1
>conftest.err
40553 cat conftest.err
>&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } &&
40556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558 (eval $ac_try) 2>&5
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); }; } &&
40562 { ac_try
='test -s conftest$ac_exeext'
40563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40564 (eval $ac_try) 2>&5
40566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567 (exit $ac_status); }; }; then
40568 ac_cv_lib_posix4_sched_get_priority_max
=yes
40570 echo "$as_me: failed program was:" >&5
40571 sed 's/^/| /' conftest.
$ac_ext >&5
40573 ac_cv_lib_posix4_sched_get_priority_max
=no
40575 rm -f conftest.err conftest.
$ac_objext \
40576 conftest
$ac_exeext conftest.
$ac_ext
40577 LIBS
=$ac_check_lib_save_LIBS
40579 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40580 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40581 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40584 POSIX4_LINK
=" -lposix4"
40598 if test "$HAVE_PRIOR_FUNCS" = 1; then
40599 cat >>confdefs.h
<<\_ACEOF
40600 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40604 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40605 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40608 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40609 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40610 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40611 echo $ECHO_N "(cached) $ECHO_C" >&6
40613 cat >conftest.
$ac_ext <<_ACEOF
40616 cat confdefs.h
>>conftest.
$ac_ext
40617 cat >>conftest.
$ac_ext <<_ACEOF
40618 /* end confdefs.h. */
40619 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40621 #define pthread_cancel innocuous_pthread_cancel
40623 /* System header to define __stub macros and hopefully few prototypes,
40624 which can conflict with char pthread_cancel (); below.
40625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40626 <limits.h> exists even on freestanding compilers. */
40629 # include <limits.h>
40631 # include <assert.h>
40634 #undef pthread_cancel
40636 /* Override any gcc2 internal prototype to avoid an error. */
40641 /* We use char because int might match the return type of a gcc2
40642 builtin and then its argument prototype would still apply. */
40643 char pthread_cancel ();
40644 /* The GNU C library defines this for functions which it implements
40645 to always fail with ENOSYS. Some functions are actually named
40646 something starting with __ and the normal name is an alias. */
40647 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40650 char (*f) () = pthread_cancel;
40659 return f != pthread_cancel;
40664 rm -f conftest.
$ac_objext conftest
$ac_exeext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40666 (eval $ac_link) 2>conftest.er1
40668 grep -v '^ *+' conftest.er1
>conftest.err
40670 cat conftest.err
>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); } &&
40673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; } &&
40679 { ac_try
='test -s conftest$ac_exeext'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; }; then
40685 ac_cv_func_pthread_cancel
=yes
40687 echo "$as_me: failed program was:" >&5
40688 sed 's/^/| /' conftest.
$ac_ext >&5
40690 ac_cv_func_pthread_cancel
=no
40692 rm -f conftest.err conftest.
$ac_objext \
40693 conftest
$ac_exeext conftest.
$ac_ext
40695 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40696 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40697 if test $ac_cv_func_pthread_cancel = yes; then
40698 cat >>confdefs.h
<<\_ACEOF
40699 #define HAVE_PTHREAD_CANCEL 1
40703 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40704 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40708 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40709 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40710 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40713 cat >conftest.
$ac_ext <<_ACEOF
40716 cat confdefs.h
>>conftest.
$ac_ext
40717 cat >>conftest.
$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40719 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40721 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40723 /* System header to define __stub macros and hopefully few prototypes,
40724 which can conflict with char pthread_attr_setstacksize (); below.
40725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40726 <limits.h> exists even on freestanding compilers. */
40729 # include <limits.h>
40731 # include <assert.h>
40734 #undef pthread_attr_setstacksize
40736 /* Override any gcc2 internal prototype to avoid an error. */
40741 /* We use char because int might match the return type of a gcc2
40742 builtin and then its argument prototype would still apply. */
40743 char pthread_attr_setstacksize ();
40744 /* The GNU C library defines this for functions which it implements
40745 to always fail with ENOSYS. Some functions are actually named
40746 something starting with __ and the normal name is an alias. */
40747 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40750 char (*f) () = pthread_attr_setstacksize;
40759 return f != pthread_attr_setstacksize;
40764 rm -f conftest.
$ac_objext conftest
$ac_exeext
40765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40766 (eval $ac_link) 2>conftest.er1
40768 grep -v '^ *+' conftest.er1
>conftest.err
40770 cat conftest.err
>&5
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); } &&
40773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40775 (eval $ac_try) 2>&5
40777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778 (exit $ac_status); }; } &&
40779 { ac_try
='test -s conftest$ac_exeext'
40780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40781 (eval $ac_try) 2>&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); }; }; then
40785 ac_cv_func_pthread_attr_setstacksize
=yes
40787 echo "$as_me: failed program was:" >&5
40788 sed 's/^/| /' conftest.
$ac_ext >&5
40790 ac_cv_func_pthread_attr_setstacksize
=no
40792 rm -f conftest.err conftest.
$ac_objext \
40793 conftest
$ac_exeext conftest.
$ac_ext
40795 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40797 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40798 cat >>confdefs.h
<<\_ACEOF
40799 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40806 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40807 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40808 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40809 echo $ECHO_N "(cached) $ECHO_C" >&6
40812 cat >conftest.
$ac_ext <<_ACEOF
40815 cat confdefs.h
>>conftest.
$ac_ext
40816 cat >>conftest.
$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 #include <pthread.h>
40823 pthread_mutexattr_t attr;
40824 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40830 rm -f conftest.
$ac_objext
40831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40832 (eval $ac_compile) 2>conftest.er1
40834 grep -v '^ *+' conftest.er1
>conftest.err
40836 cat conftest.err
>&5
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); } &&
40839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; } &&
40845 { ac_try
='test -s conftest.$ac_objext'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; }; then
40851 wx_cv_type_pthread_mutexattr_t
=yes
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.
$ac_ext >&5
40856 wx_cv_type_pthread_mutexattr_t
=no
40859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40862 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40863 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40865 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40866 cat >>confdefs.h
<<\_ACEOF
40867 #define HAVE_PTHREAD_MUTEXATTR_T 1
40871 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40872 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40873 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40877 cat >conftest.
$ac_ext <<_ACEOF
40880 cat confdefs.h
>>conftest.
$ac_ext
40881 cat >>conftest.
$ac_ext <<_ACEOF
40882 /* end confdefs.h. */
40883 #include <pthread.h>
40888 pthread_mutexattr_t attr;
40889 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40895 rm -f conftest.
$ac_objext
40896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40897 (eval $ac_compile) 2>conftest.er1
40899 grep -v '^ *+' conftest.er1
>conftest.err
40901 cat conftest.err
>&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } &&
40904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40906 (eval $ac_try) 2>&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); }; } &&
40910 { ac_try
='test -s conftest.$ac_objext'
40911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912 (eval $ac_try) 2>&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); }; }; then
40916 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40918 echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.
$ac_ext >&5
40921 wx_cv_func_pthread_mutexattr_settype_decl
=no
40924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40927 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40928 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40929 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40930 cat >>confdefs.h
<<\_ACEOF
40931 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40936 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40937 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40938 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40939 echo $ECHO_N "(cached) $ECHO_C" >&6
40942 cat >conftest.
$ac_ext <<_ACEOF
40945 cat confdefs.h
>>conftest.
$ac_ext
40946 cat >>conftest.
$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 #include <pthread.h>
40953 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40959 rm -f conftest.
$ac_objext
40960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40961 (eval $ac_compile) 2>conftest.er1
40963 grep -v '^ *+' conftest.er1
>conftest.err
40965 cat conftest.err
>&5
40966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40967 (exit $ac_status); } &&
40968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40970 (eval $ac_try) 2>&5
40972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40973 (exit $ac_status); }; } &&
40974 { ac_try
='test -s conftest.$ac_objext'
40975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40976 (eval $ac_try) 2>&5
40978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979 (exit $ac_status); }; }; then
40981 wx_cv_type_pthread_rec_mutex_init
=yes
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.
$ac_ext >&5
40988 wx_cv_type_pthread_rec_mutex_init
=no
40992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40995 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40996 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40997 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41003 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41004 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41010 if test "$wxUSE_THREADS" = "yes" ; then
41013 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41014 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41015 if test "${wx_cv_cflags_mthread+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 CXXFLAGS_OLD
="$CXXFLAGS"
41020 CXXFLAGS
="-mthreads $CXXFLAGS"
41021 cat >conftest.
$ac_ext <<_ACEOF
41024 cat confdefs.h
>>conftest.
$ac_ext
41025 cat >>conftest.
$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41036 rm -f conftest.
$ac_objext
41037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41038 (eval $ac_compile) 2>conftest.er1
41040 grep -v '^ *+' conftest.er1
>conftest.err
41042 cat conftest.err
>&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); } &&
41045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; } &&
41051 { ac_try
='test -s conftest.$ac_objext'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; }; then
41057 wx_cv_cflags_mthread
=yes
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.
$ac_ext >&5
41062 wx_cv_cflags_mthread
=no
41065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41069 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41070 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41072 if test "$wx_cv_cflags_mthread" = "yes"; then
41073 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
41074 LDFLAGS
="$LDFLAGS -mthreads"
41076 CXXFLAGS
="$CXXFLAGS_OLD"
41080 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41081 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
41082 LDFLAGS
="$LDFLAGS -Zmt"
41088 echo "$as_me:$LINENO: checking for localtime_r" >&5
41089 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41090 if test "${ac_cv_func_localtime_r+set}" = set; then
41091 echo $ECHO_N "(cached) $ECHO_C" >&6
41093 cat >conftest.
$ac_ext <<_ACEOF
41096 cat confdefs.h
>>conftest.
$ac_ext
41097 cat >>conftest.
$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41101 #define localtime_r innocuous_localtime_r
41103 /* System header to define __stub macros and hopefully few prototypes,
41104 which can conflict with char localtime_r (); below.
41105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41106 <limits.h> exists even on freestanding compilers. */
41109 # include <limits.h>
41111 # include <assert.h>
41116 /* Override any gcc2 internal prototype to avoid an error. */
41121 /* We use char because int might match the return type of a gcc2
41122 builtin and then its argument prototype would still apply. */
41123 char localtime_r ();
41124 /* The GNU C library defines this for functions which it implements
41125 to always fail with ENOSYS. Some functions are actually named
41126 something starting with __ and the normal name is an alias. */
41127 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41130 char (*f) () = localtime_r;
41139 return f != localtime_r;
41144 rm -f conftest.
$ac_objext conftest
$ac_exeext
41145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41146 (eval $ac_link) 2>conftest.er1
41148 grep -v '^ *+' conftest.er1
>conftest.err
41150 cat conftest.err
>&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } &&
41153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41155 (eval $ac_try) 2>&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); }; } &&
41159 { ac_try
='test -s conftest$ac_exeext'
41160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41161 (eval $ac_try) 2>&5
41163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41164 (exit $ac_status); }; }; then
41165 ac_cv_func_localtime_r
=yes
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.
$ac_ext >&5
41170 ac_cv_func_localtime_r
=no
41172 rm -f conftest.err conftest.
$ac_objext \
41173 conftest
$ac_exeext conftest.
$ac_ext
41175 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41176 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41177 if test $ac_cv_func_localtime_r = yes; then
41178 cat >>confdefs.h
<<\_ACEOF
41179 #define HAVE_LOCALTIME_R 1
41184 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41185 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41186 if test "${ac_cv_func_gmtime_r+set}" = set; then
41187 echo $ECHO_N "(cached) $ECHO_C" >&6
41189 cat >conftest.
$ac_ext <<_ACEOF
41192 cat confdefs.h
>>conftest.
$ac_ext
41193 cat >>conftest.
$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41195 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41197 #define gmtime_r innocuous_gmtime_r
41199 /* System header to define __stub macros and hopefully few prototypes,
41200 which can conflict with char gmtime_r (); below.
41201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41202 <limits.h> exists even on freestanding compilers. */
41205 # include <limits.h>
41207 # include <assert.h>
41212 /* Override any gcc2 internal prototype to avoid an error. */
41217 /* We use char because int might match the return type of a gcc2
41218 builtin and then its argument prototype would still apply. */
41220 /* The GNU C library defines this for functions which it implements
41221 to always fail with ENOSYS. Some functions are actually named
41222 something starting with __ and the normal name is an alias. */
41223 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41226 char (*f) () = gmtime_r;
41235 return f != gmtime_r;
41240 rm -f conftest.
$ac_objext conftest
$ac_exeext
41241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41242 (eval $ac_link) 2>conftest.er1
41244 grep -v '^ *+' conftest.er1
>conftest.err
41246 cat conftest.err
>&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); } &&
41249 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41251 (eval $ac_try) 2>&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); }; } &&
41255 { ac_try
='test -s conftest$ac_exeext'
41256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41257 (eval $ac_try) 2>&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); }; }; then
41261 ac_cv_func_gmtime_r
=yes
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.
$ac_ext >&5
41266 ac_cv_func_gmtime_r
=no
41268 rm -f conftest.err conftest.
$ac_objext \
41269 conftest
$ac_exeext conftest.
$ac_ext
41271 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41272 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41273 if test $ac_cv_func_gmtime_r = yes; then
41274 cat >>confdefs.h
<<\_ACEOF
41275 #define HAVE_GMTIME_R 1
41280 echo "$as_me:$LINENO: checking for readdir_r" >&5
41281 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41282 if test "${ac_cv_func_readdir_r+set}" = set; then
41283 echo $ECHO_N "(cached) $ECHO_C" >&6
41285 cat >conftest.
$ac_ext <<_ACEOF
41288 cat confdefs.h
>>conftest.
$ac_ext
41289 cat >>conftest.
$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41291 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41293 #define readdir_r innocuous_readdir_r
41295 /* System header to define __stub macros and hopefully few prototypes,
41296 which can conflict with char readdir_r (); below.
41297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41298 <limits.h> exists even on freestanding compilers. */
41301 # include <limits.h>
41303 # include <assert.h>
41308 /* Override any gcc2 internal prototype to avoid an error. */
41313 /* We use char because int might match the return type of a gcc2
41314 builtin and then its argument prototype would still apply. */
41316 /* The GNU C library defines this for functions which it implements
41317 to always fail with ENOSYS. Some functions are actually named
41318 something starting with __ and the normal name is an alias. */
41319 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41322 char (*f) () = readdir_r;
41331 return f != readdir_r;
41336 rm -f conftest.
$ac_objext conftest
$ac_exeext
41337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41338 (eval $ac_link) 2>conftest.er1
41340 grep -v '^ *+' conftest.er1
>conftest.err
41342 cat conftest.err
>&5
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); } &&
41345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41347 (eval $ac_try) 2>&5
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; } &&
41351 { ac_try
='test -s conftest$ac_exeext'
41352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41353 (eval $ac_try) 2>&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); }; }; then
41357 ac_cv_func_readdir_r
=yes
41359 echo "$as_me: failed program was:" >&5
41360 sed 's/^/| /' conftest.
$ac_ext >&5
41362 ac_cv_func_readdir_r
=no
41364 rm -f conftest.err conftest.
$ac_objext \
41365 conftest
$ac_exeext conftest.
$ac_ext
41367 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41368 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41369 if test $ac_cv_func_readdir_r = yes; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define HAVE_READDIR_R 1
41380 ac_cpp
='$CPP $CPPFLAGS'
41381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41385 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41386 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41388 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41389 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 ################################################################
41395 ac_cv_func_which_gethostbyname_r
=unknown
41398 # ONE ARGUMENT (sanity check)
41401 # This should fail, as there is no variant of gethostbyname_r() that takes
41402 # a single argument. If it actually compiles, then we can assume that
41403 # netdb.h is not declaring the function, and the compiler is thereby
41404 # assuming an implicit prototype. In which case, we're out of luck.
41406 cat >conftest.
$ac_ext <<_ACEOF
41409 cat confdefs.h
>>conftest.
$ac_ext
41410 cat >>conftest.
$ac_ext <<_ACEOF
41411 /* end confdefs.h. */
41417 char *name = "www.gnu.org";
41418 (void)gethostbyname_r(name) /* ; */
41424 rm -f conftest.
$ac_objext
41425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41426 (eval $ac_compile) 2>conftest.er1
41428 grep -v '^ *+' conftest.er1
>conftest.err
41430 cat conftest.err
>&5
41431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432 (exit $ac_status); } &&
41433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41435 (eval $ac_try) 2>&5
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); }; } &&
41439 { ac_try
='test -s conftest.$ac_objext'
41440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41441 (eval $ac_try) 2>&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); }; }; then
41445 ac_cv_func_which_gethostbyname_r
=no
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.
$ac_ext >&5
41451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41458 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41460 cat >conftest.
$ac_ext <<_ACEOF
41463 cat confdefs.h
>>conftest.
$ac_ext
41464 cat >>conftest.
$ac_ext <<_ACEOF
41465 /* end confdefs.h. */
41471 char *name = "www.gnu.org";
41472 struct hostent ret, *retp;
41476 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41482 rm -f conftest.
$ac_objext
41483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41484 (eval $ac_compile) 2>conftest.er1
41486 grep -v '^ *+' conftest.er1
>conftest.err
41488 cat conftest.err
>&5
41489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41490 (exit $ac_status); } &&
41491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41493 (eval $ac_try) 2>&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); }; } &&
41497 { ac_try
='test -s conftest.$ac_objext'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; }; then
41503 ac_cv_func_which_gethostbyname_r
=six
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.
$ac_ext >&5
41509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41518 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41520 cat >conftest.
$ac_ext <<_ACEOF
41523 cat confdefs.h
>>conftest.
$ac_ext
41524 cat >>conftest.
$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41531 char *name = "www.gnu.org";
41532 struct hostent ret;
41536 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41542 rm -f conftest.
$ac_objext
41543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41544 (eval $ac_compile) 2>conftest.er1
41546 grep -v '^ *+' conftest.er1
>conftest.err
41548 cat conftest.err
>&5
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); } &&
41551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41553 (eval $ac_try) 2>&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); }; } &&
41557 { ac_try
='test -s conftest.$ac_objext'
41558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559 (eval $ac_try) 2>&5
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; }; then
41563 ac_cv_func_which_gethostbyname_r
=five
41565 echo "$as_me: failed program was:" >&5
41566 sed 's/^/| /' conftest.
$ac_ext >&5
41569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41575 # (e.g. AIX, HP-UX, Tru64)
41578 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41580 cat >conftest.
$ac_ext <<_ACEOF
41583 cat confdefs.h
>>conftest.
$ac_ext
41584 cat >>conftest.
$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41591 char *name = "www.gnu.org";
41592 struct hostent ret;
41593 struct hostent_data data;
41594 (void)gethostbyname_r(name, &ret, &data) /* ; */
41600 rm -f conftest.
$ac_objext
41601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41602 (eval $ac_compile) 2>conftest.er1
41604 grep -v '^ *+' conftest.er1
>conftest.err
41606 cat conftest.err
>&5
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); } &&
41609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611 (eval $ac_try) 2>&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); }; } &&
41615 { ac_try
='test -s conftest.$ac_objext'
41616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617 (eval $ac_try) 2>&5
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); }; }; then
41621 ac_cv_func_which_gethostbyname_r
=three
41623 echo "$as_me: failed program was:" >&5
41624 sed 's/^/| /' conftest.
$ac_ext >&5
41627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41631 ################################################################
41636 case "$ac_cv_func_which_gethostbyname_r" in
41638 echo "$as_me:$LINENO: result: three" >&5
41639 echo "${ECHO_T}three" >&6
41640 cat >>confdefs.h
<<\_ACEOF
41641 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41647 echo "$as_me:$LINENO: result: five" >&5
41648 echo "${ECHO_T}five" >&6
41649 cat >>confdefs.h
<<\_ACEOF
41650 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41656 echo "$as_me:$LINENO: result: six" >&5
41657 echo "${ECHO_T}six" >&6
41658 cat >>confdefs.h
<<\_ACEOF
41659 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41665 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41666 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41670 echo "$as_me:$LINENO: result: can't tell" >&5
41671 echo "${ECHO_T}can't tell" >&6
41675 { { echo "$as_me:$LINENO: error: internal error" >&5
41676 echo "$as_me: error: internal error" >&2;}
41677 { (exit 1); exit 1; }; }
41682 ac_cpp
='$CXXCPP $CPPFLAGS'
41683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41689 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41690 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41691 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41692 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41693 if test "${ac_cv_func_gethostbyname+set}" = set; then
41694 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 cat >conftest.
$ac_ext <<_ACEOF
41699 cat confdefs.h
>>conftest.
$ac_ext
41700 cat >>conftest.
$ac_ext <<_ACEOF
41701 /* end confdefs.h. */
41702 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41704 #define gethostbyname innocuous_gethostbyname
41706 /* System header to define __stub macros and hopefully few prototypes,
41707 which can conflict with char gethostbyname (); below.
41708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41709 <limits.h> exists even on freestanding compilers. */
41712 # include <limits.h>
41714 # include <assert.h>
41717 #undef gethostbyname
41719 /* Override any gcc2 internal prototype to avoid an error. */
41724 /* We use char because int might match the return type of a gcc2
41725 builtin and then its argument prototype would still apply. */
41726 char gethostbyname ();
41727 /* The GNU C library defines this for functions which it implements
41728 to always fail with ENOSYS. Some functions are actually named
41729 something starting with __ and the normal name is an alias. */
41730 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41733 char (*f) () = gethostbyname;
41742 return f != gethostbyname;
41747 rm -f conftest.
$ac_objext conftest
$ac_exeext
41748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41749 (eval $ac_link) 2>conftest.er1
41751 grep -v '^ *+' conftest.er1
>conftest.err
41753 cat conftest.err
>&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); } &&
41756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; } &&
41762 { ac_try
='test -s conftest$ac_exeext'
41763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41764 (eval $ac_try) 2>&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); }; }; then
41768 ac_cv_func_gethostbyname
=yes
41770 echo "$as_me: failed program was:" >&5
41771 sed 's/^/| /' conftest.
$ac_ext >&5
41773 ac_cv_func_gethostbyname
=no
41775 rm -f conftest.err conftest.
$ac_objext \
41776 conftest
$ac_exeext conftest.
$ac_ext
41778 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41779 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41780 if test $ac_cv_func_gethostbyname = yes; then
41781 cat >>confdefs.h
<<\_ACEOF
41782 #define HAVE_GETHOSTBYNAME 1
41789 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41790 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41791 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41795 cat >conftest.
$ac_ext <<_ACEOF
41798 cat confdefs.h
>>conftest.
$ac_ext
41799 cat >>conftest.
$ac_ext <<_ACEOF
41800 /* end confdefs.h. */
41808 struct servent *se, *res;
41811 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41817 rm -f conftest.
$ac_objext
41818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41819 (eval $ac_compile) 2>conftest.er1
41821 grep -v '^ *+' conftest.er1
>conftest.err
41823 cat conftest.err
>&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } &&
41826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828 (eval $ac_try) 2>&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; } &&
41832 { ac_try
='test -s conftest.$ac_objext'
41833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41834 (eval $ac_try) 2>&5
41836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837 (exit $ac_status); }; }; then
41838 ac_cv_func_which_getservbyname_r
=six
41840 echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.
$ac_ext >&5
41844 cat >conftest.
$ac_ext <<_ACEOF
41847 cat confdefs.h
>>conftest.
$ac_ext
41848 cat >>conftest.
$ac_ext <<_ACEOF
41849 /* end confdefs.h. */
41857 struct servent *se;
41860 (void) getservbyname_r(name, proto, se, buffer, buflen)
41866 rm -f conftest.
$ac_objext
41867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41868 (eval $ac_compile) 2>conftest.er1
41870 grep -v '^ *+' conftest.er1
>conftest.err
41872 cat conftest.err
>&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); } &&
41875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41877 (eval $ac_try) 2>&5
41879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41880 (exit $ac_status); }; } &&
41881 { ac_try
='test -s conftest.$ac_objext'
41882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41883 (eval $ac_try) 2>&5
41885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41886 (exit $ac_status); }; }; then
41887 ac_cv_func_which_getservbyname_r
=five
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.
$ac_ext >&5
41893 cat >conftest.
$ac_ext <<_ACEOF
41896 cat confdefs.h
>>conftest.
$ac_ext
41897 cat >>conftest.
$ac_ext <<_ACEOF
41898 /* end confdefs.h. */
41906 struct servent *se;
41907 struct servent_data data;
41908 (void) getservbyname_r(name, proto, se, &data);
41914 rm -f conftest.
$ac_objext
41915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41916 (eval $ac_compile) 2>conftest.er1
41918 grep -v '^ *+' conftest.er1
>conftest.err
41920 cat conftest.err
>&5
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); } &&
41923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41925 (eval $ac_try) 2>&5
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; } &&
41929 { ac_try
='test -s conftest.$ac_objext'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; }; then
41935 ac_cv_func_which_getservbyname_r
=four
41937 echo "$as_me: failed program was:" >&5
41938 sed 's/^/| /' conftest.
$ac_ext >&5
41940 ac_cv_func_which_getservbyname_r
=no
41943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41955 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41956 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41958 if test $ac_cv_func_which_getservbyname_r = six
; then
41959 cat >>confdefs.h
<<\_ACEOF
41960 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41963 elif test $ac_cv_func_which_getservbyname_r = five
; then
41964 cat >>confdefs.h
<<\_ACEOF
41965 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41968 elif test $ac_cv_func_which_getservbyname_r = four
; then
41969 cat >>confdefs.h
<<\_ACEOF
41970 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41976 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41977 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41979 for ac_func
in getservbyname
41981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41982 echo "$as_me:$LINENO: checking for $ac_func" >&5
41983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41984 if eval "test \"\${$as_ac_var+set}\" = set"; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 cat >conftest.
$ac_ext <<_ACEOF
41990 cat confdefs.h
>>conftest.
$ac_ext
41991 cat >>conftest.
$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41995 #define $ac_func innocuous_$ac_func
41997 /* System header to define __stub macros and hopefully few prototypes,
41998 which can conflict with char $ac_func (); below.
41999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42000 <limits.h> exists even on freestanding compilers. */
42003 # include <limits.h>
42005 # include <assert.h>
42010 /* Override any gcc2 internal prototype to avoid an error. */
42015 /* We use char because int might match the return type of a gcc2
42016 builtin and then its argument prototype would still apply. */
42018 /* The GNU C library defines this for functions which it implements
42019 to always fail with ENOSYS. Some functions are actually named
42020 something starting with __ and the normal name is an alias. */
42021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42024 char (*f) () = $ac_func;
42033 return f != $ac_func;
42038 rm -f conftest.
$ac_objext conftest
$ac_exeext
42039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42040 (eval $ac_link) 2>conftest.er1
42042 grep -v '^ *+' conftest.er1
>conftest.err
42044 cat conftest.err
>&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); } &&
42047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; } &&
42053 { ac_try
='test -s conftest$ac_exeext'
42054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42055 (eval $ac_try) 2>&5
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); }; }; then
42059 eval "$as_ac_var=yes"
42061 echo "$as_me: failed program was:" >&5
42062 sed 's/^/| /' conftest.
$ac_ext >&5
42064 eval "$as_ac_var=no"
42066 rm -f conftest.err conftest.
$ac_objext \
42067 conftest
$ac_exeext conftest.
$ac_ext
42069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42071 if test `eval echo '${'$as_ac_var'}'` = yes; then
42072 cat >>confdefs.h
<<_ACEOF
42073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42075 cat >>confdefs.h
<<\_ACEOF
42076 #define HAVE_GETSERVBYNAME 1
42084 if test "$wxUSE_THREADS" = "yes"; then
42085 cat >>confdefs.h
<<\_ACEOF
42086 #define wxUSE_THREADS 1
42090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
42092 if test "$wx_cv_func_strtok_r" = "yes"; then
42093 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42094 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42095 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42096 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42097 echo "$as_me:$LINENO: result: yes" >&5
42098 echo "${ECHO_T}yes" >&6
42100 echo "$as_me:$LINENO: result: no" >&5
42101 echo "${ECHO_T}no" >&6
42106 if test "$WXGTK20" = 1 ; then
42107 cat >>confdefs.h
<<_ACEOF
42108 #define __WXGTK20__ $WXGTK20
42114 if test "$WXGTK12" = 1 ; then
42115 cat >>confdefs.h
<<_ACEOF
42116 #define __WXGTK12__ $WXGTK12
42121 if test "$WXGTK127" = 1 ; then
42122 cat >>confdefs.h
<<_ACEOF
42123 #define __WXGTK127__ $WXGTK127
42128 if test "$WXGPE" = 1 ; then
42129 cat >>confdefs.h
<<_ACEOF
42130 #define __WXGPE__ $WXGPE
42136 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42141 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42142 wxUSE_DEBUG_INFO
=yes
42143 if test "$GCC" = yes; then
42144 DEBUG_CFLAGS
="-ggdb"
42148 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42149 cat >>confdefs.h
<<\_ACEOF
42153 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42155 if test "$wxUSE_GTK" = 1 ; then
42156 if test "x$wxGTK_VERSION" = "x1" ; then
42157 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42162 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42163 cat >>confdefs.h
<<\_ACEOF
42164 #define wxUSE_MEMORY_TRACING 1
42167 cat >>confdefs.h
<<\_ACEOF
42168 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42171 cat >>confdefs.h
<<\_ACEOF
42172 #define wxUSE_DEBUG_NEW_ALWAYS 1
42175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42178 if test "$wxUSE_DMALLOC" = "yes" ; then
42179 DMALLOC_LIBS
="-ldmallocthcxx"
42183 if test "$wxUSE_PROFILE" = "yes" ; then
42184 PROFILE_FLAGS
=" -pg"
42187 if test "$GCC" = "yes" ; then
42188 if test "$wxUSE_NO_RTTI" = "yes" ; then
42189 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42191 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42192 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42194 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42195 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42200 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42203 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42209 if test "$wxUSE_OPTIMISE" = "no" ; then
42210 if test "$GCC" = yes ; then
42211 OPTIMISE_CFLAGS
="-O0"
42214 if test "$GCC" = yes ; then
42216 *-pc-os2_emx | *-pc-os2-emx )
42217 OPTIMISE_CFLAGS
="-O2"
42220 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42224 OPTIMISE_CFLAGS
="-O"
42229 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42230 cat >>confdefs.h
<<\_ACEOF
42231 #define WXWIN_COMPATIBILITY_2_4 1
42235 WXWIN_COMPATIBILITY_2_6
="yes"
42238 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42239 cat >>confdefs.h
<<\_ACEOF
42240 #define WXWIN_COMPATIBILITY_2_6 1
42246 if test "$wxUSE_GUI" = "yes"; then
42247 cat >>confdefs.h
<<\_ACEOF
42248 #define wxUSE_GUI 1
42255 if test "$wxUSE_UNIX" = "yes"; then
42256 cat >>confdefs.h
<<\_ACEOF
42257 #define wxUSE_UNIX 1
42263 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42267 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42268 if test "$USE_DARWIN" = 1; then
42270 elif test "$USE_DOS" = 1; then
42274 for ac_func
in dlopen
42276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42277 echo "$as_me:$LINENO: checking for $ac_func" >&5
42278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42279 if eval "test \"\${$as_ac_var+set}\" = set"; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42282 cat >conftest.
$ac_ext <<_ACEOF
42285 cat confdefs.h
>>conftest.
$ac_ext
42286 cat >>conftest.
$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42290 #define $ac_func innocuous_$ac_func
42292 /* System header to define __stub macros and hopefully few prototypes,
42293 which can conflict with char $ac_func (); below.
42294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295 <limits.h> exists even on freestanding compilers. */
42298 # include <limits.h>
42300 # include <assert.h>
42305 /* Override any gcc2 internal prototype to avoid an error. */
42310 /* We use char because int might match the return type of a gcc2
42311 builtin and then its argument prototype would still apply. */
42313 /* The GNU C library defines this for functions which it implements
42314 to always fail with ENOSYS. Some functions are actually named
42315 something starting with __ and the normal name is an alias. */
42316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42319 char (*f) () = $ac_func;
42328 return f != $ac_func;
42333 rm -f conftest.
$ac_objext conftest
$ac_exeext
42334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42335 (eval $ac_link) 2>conftest.er1
42337 grep -v '^ *+' conftest.er1
>conftest.err
42339 cat conftest.err
>&5
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); } &&
42342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42344 (eval $ac_try) 2>&5
42346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42347 (exit $ac_status); }; } &&
42348 { ac_try
='test -s conftest$ac_exeext'
42349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42350 (eval $ac_try) 2>&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); }; }; then
42354 eval "$as_ac_var=yes"
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.
$ac_ext >&5
42359 eval "$as_ac_var=no"
42361 rm -f conftest.err conftest.
$ac_objext \
42362 conftest
$ac_exeext conftest.
$ac_ext
42364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42366 if test `eval echo '${'$as_ac_var'}'` = yes; then
42367 cat >>confdefs.h
<<_ACEOF
42368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42371 cat >>confdefs.h
<<\_ACEOF
42372 #define HAVE_DLOPEN 1
42379 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42380 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42381 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42382 echo $ECHO_N "(cached) $ECHO_C" >&6
42384 ac_check_lib_save_LIBS
=$LIBS
42386 cat >conftest.
$ac_ext <<_ACEOF
42389 cat confdefs.h
>>conftest.
$ac_ext
42390 cat >>conftest.
$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42393 /* Override any gcc2 internal prototype to avoid an error. */
42397 /* We use char because int might match the return type of a gcc2
42398 builtin and then its argument prototype would still apply. */
42408 rm -f conftest.
$ac_objext conftest
$ac_exeext
42409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42410 (eval $ac_link) 2>conftest.er1
42412 grep -v '^ *+' conftest.er1
>conftest.err
42414 cat conftest.err
>&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); } &&
42417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; } &&
42423 { ac_try
='test -s conftest$ac_exeext'
42424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42425 (eval $ac_try) 2>&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); }; }; then
42429 ac_cv_lib_dl_dlopen
=yes
42431 echo "$as_me: failed program was:" >&5
42432 sed 's/^/| /' conftest.
$ac_ext >&5
42434 ac_cv_lib_dl_dlopen
=no
42436 rm -f conftest.err conftest.
$ac_objext \
42437 conftest
$ac_exeext conftest.
$ac_ext
42438 LIBS
=$ac_check_lib_save_LIBS
42440 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42441 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42442 if test $ac_cv_lib_dl_dlopen = yes; then
42444 cat >>confdefs.h
<<\_ACEOF
42445 #define HAVE_DLOPEN 1
42449 DL_LINK
=" -ldl$DL_LINK"
42454 for ac_func
in shl_load
42456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42457 echo "$as_me:$LINENO: checking for $ac_func" >&5
42458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42459 if eval "test \"\${$as_ac_var+set}\" = set"; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42462 cat >conftest.
$ac_ext <<_ACEOF
42465 cat confdefs.h
>>conftest.
$ac_ext
42466 cat >>conftest.
$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42470 #define $ac_func innocuous_$ac_func
42472 /* System header to define __stub macros and hopefully few prototypes,
42473 which can conflict with char $ac_func (); below.
42474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42475 <limits.h> exists even on freestanding compilers. */
42478 # include <limits.h>
42480 # include <assert.h>
42485 /* Override any gcc2 internal prototype to avoid an error. */
42490 /* We use char because int might match the return type of a gcc2
42491 builtin and then its argument prototype would still apply. */
42493 /* The GNU C library defines this for functions which it implements
42494 to always fail with ENOSYS. Some functions are actually named
42495 something starting with __ and the normal name is an alias. */
42496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42499 char (*f) () = $ac_func;
42508 return f != $ac_func;
42513 rm -f conftest.
$ac_objext conftest
$ac_exeext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 (eval $ac_link) 2>conftest.er1
42517 grep -v '^ *+' conftest.er1
>conftest.err
42519 cat conftest.err
>&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; } &&
42528 { ac_try
='test -s conftest$ac_exeext'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; }; then
42534 eval "$as_ac_var=yes"
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.
$ac_ext >&5
42539 eval "$as_ac_var=no"
42541 rm -f conftest.err conftest.
$ac_objext \
42542 conftest
$ac_exeext conftest.
$ac_ext
42544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42546 if test `eval echo '${'$as_ac_var'}'` = yes; then
42547 cat >>confdefs.h
<<_ACEOF
42548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42551 cat >>confdefs.h
<<\_ACEOF
42552 #define HAVE_SHL_LOAD 1
42559 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42560 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42561 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42562 echo $ECHO_N "(cached) $ECHO_C" >&6
42564 ac_check_lib_save_LIBS
=$LIBS
42565 LIBS
="-lshl_load $LIBS"
42566 cat >conftest.
$ac_ext <<_ACEOF
42569 cat confdefs.h
>>conftest.
$ac_ext
42570 cat >>conftest.
$ac_ext <<_ACEOF
42571 /* end confdefs.h. */
42573 /* Override any gcc2 internal prototype to avoid an error. */
42577 /* We use char because int might match the return type of a gcc2
42578 builtin and then its argument prototype would still apply. */
42588 rm -f conftest.
$ac_objext conftest
$ac_exeext
42589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42590 (eval $ac_link) 2>conftest.er1
42592 grep -v '^ *+' conftest.er1
>conftest.err
42594 cat conftest.err
>&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } &&
42597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42599 (eval $ac_try) 2>&5
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); }; } &&
42603 { ac_try
='test -s conftest$ac_exeext'
42604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42605 (eval $ac_try) 2>&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); }; }; then
42609 ac_cv_lib_shl_load_dld
=yes
42611 echo "$as_me: failed program was:" >&5
42612 sed 's/^/| /' conftest.
$ac_ext >&5
42614 ac_cv_lib_shl_load_dld
=no
42616 rm -f conftest.err conftest.
$ac_objext \
42617 conftest
$ac_exeext conftest.
$ac_ext
42618 LIBS
=$ac_check_lib_save_LIBS
42620 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42621 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42622 if test $ac_cv_lib_shl_load_dld = yes; then
42625 DL_LINK
=" -ldld$DL_LINK"
42641 if test "$HAVE_DL_FUNCS" = 1; then
42643 for ac_func
in dlerror
42645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42646 echo "$as_me:$LINENO: checking for $ac_func" >&5
42647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42648 if eval "test \"\${$as_ac_var+set}\" = set"; then
42649 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 cat >conftest.
$ac_ext <<_ACEOF
42654 cat confdefs.h
>>conftest.
$ac_ext
42655 cat >>conftest.
$ac_ext <<_ACEOF
42656 /* end confdefs.h. */
42657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42659 #define $ac_func innocuous_$ac_func
42661 /* System header to define __stub macros and hopefully few prototypes,
42662 which can conflict with char $ac_func (); below.
42663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42664 <limits.h> exists even on freestanding compilers. */
42667 # include <limits.h>
42669 # include <assert.h>
42674 /* Override any gcc2 internal prototype to avoid an error. */
42679 /* We use char because int might match the return type of a gcc2
42680 builtin and then its argument prototype would still apply. */
42682 /* The GNU C library defines this for functions which it implements
42683 to always fail with ENOSYS. Some functions are actually named
42684 something starting with __ and the normal name is an alias. */
42685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42688 char (*f) () = $ac_func;
42697 return f != $ac_func;
42702 rm -f conftest.
$ac_objext conftest
$ac_exeext
42703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42704 (eval $ac_link) 2>conftest.er1
42706 grep -v '^ *+' conftest.er1
>conftest.err
42708 cat conftest.err
>&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } &&
42711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; } &&
42717 { ac_try
='test -s conftest$ac_exeext'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; }; then
42723 eval "$as_ac_var=yes"
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.
$ac_ext >&5
42728 eval "$as_ac_var=no"
42730 rm -f conftest.err conftest.
$ac_objext \
42731 conftest
$ac_exeext conftest.
$ac_ext
42733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42735 if test `eval echo '${'$as_ac_var'}'` = yes; then
42736 cat >>confdefs.h
<<_ACEOF
42737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42739 cat >>confdefs.h
<<\_ACEOF
42740 #define HAVE_DLERROR 1
42745 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42746 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42747 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42748 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 ac_check_lib_save_LIBS
=$LIBS
42752 cat >conftest.
$ac_ext <<_ACEOF
42755 cat confdefs.h
>>conftest.
$ac_ext
42756 cat >>conftest.
$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42759 /* Override any gcc2 internal prototype to avoid an error. */
42763 /* We use char because int might match the return type of a gcc2
42764 builtin and then its argument prototype would still apply. */
42774 rm -f conftest.
$ac_objext conftest
$ac_exeext
42775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42776 (eval $ac_link) 2>conftest.er1
42778 grep -v '^ *+' conftest.er1
>conftest.err
42780 cat conftest.err
>&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } &&
42783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try
='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 ac_cv_lib_dl_dlerror
=yes
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.
$ac_ext >&5
42800 ac_cv_lib_dl_dlerror
=no
42802 rm -f conftest.err conftest.
$ac_objext \
42803 conftest
$ac_exeext conftest.
$ac_ext
42804 LIBS
=$ac_check_lib_save_LIBS
42806 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42807 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42808 if test $ac_cv_lib_dl_dlerror = yes; then
42809 cat >>confdefs.h
<<\_ACEOF
42810 #define HAVE_DLERROR 1
42823 if test "$HAVE_DL_FUNCS" = 0; then
42824 if test "$HAVE_SHL_FUNCS" = 0; then
42825 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42826 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42827 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42828 wxUSE_DYNAMIC_LOADER
=no
42829 wxUSE_DYNLIB_CLASS
=no
42831 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42832 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42839 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42840 cat >>confdefs.h
<<\_ACEOF
42841 #define wxUSE_DYNAMIC_LOADER 1
42845 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42846 cat >>confdefs.h
<<\_ACEOF
42847 #define wxUSE_DYNLIB_CLASS 1
42854 if test "$wxUSE_PLUGINS" = "yes" ; then
42855 if test "$wxUSE_SHARED" = "no" ; then
42856 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42857 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42860 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42861 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42862 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42865 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42866 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42867 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42870 if test "$wxUSE_PLUGINS" = "yes" ; then
42871 cat >>confdefs.h
<<\_ACEOF
42872 #define wxUSE_PLUGINS 1
42879 if test "$wxUSE_STL" = "yes"; then
42880 cat >>confdefs.h
<<\_ACEOF
42881 #define wxUSE_STL 1
42886 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42887 cat >>confdefs.h
<<\_ACEOF
42888 #define wxUSE_APPLE_IEEE 1
42893 if test "$wxUSE_TIMER" = "yes"; then
42894 cat >>confdefs.h
<<\_ACEOF
42895 #define wxUSE_TIMER 1
42900 if test "$USE_UNIX" = "1" ; then
42901 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42902 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42903 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42904 echo $ECHO_N "(cached) $ECHO_C" >&6
42907 cat >conftest.
$ac_ext <<_ACEOF
42910 cat confdefs.h
>>conftest.
$ac_ext
42911 cat >>conftest.
$ac_ext <<_ACEOF
42912 /* end confdefs.h. */
42914 #include <sys/ioctl.h>
42915 #include <sys/soundcard.h>
42921 ioctl(0, SNDCTL_DSP_SPEED, 0);
42927 rm -f conftest.
$ac_objext conftest
$ac_exeext
42928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42929 (eval $ac_link) 2>conftest.er1
42931 grep -v '^ *+' conftest.er1
>conftest.err
42933 cat conftest.err
>&5
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); } &&
42936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42938 (eval $ac_try) 2>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); }; } &&
42942 { ac_try
='test -s conftest$ac_exeext'
42943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42944 (eval $ac_try) 2>&5
42946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42947 (exit $ac_status); }; }; then
42948 ac_cv_header_sys_soundcard
=yes
42950 echo "$as_me: failed program was:" >&5
42951 sed 's/^/| /' conftest.
$ac_ext >&5
42955 LIBS
="$saveLibs -lossaudio"
42956 cat >conftest.
$ac_ext <<_ACEOF
42959 cat confdefs.h
>>conftest.
$ac_ext
42960 cat >>conftest.
$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42963 #include <sys/ioctl.h>
42964 #include <sys/soundcard.h>
42970 ioctl(0, SNDCTL_DSP_SPEED, 0);
42976 rm -f conftest.
$ac_objext conftest
$ac_exeext
42977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42978 (eval $ac_link) 2>conftest.er1
42980 grep -v '^ *+' conftest.er1
>conftest.err
42982 cat conftest.err
>&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } &&
42985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42987 (eval $ac_try) 2>&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; } &&
42991 { ac_try
='test -s conftest$ac_exeext'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; }; then
42997 ac_cv_header_sys_soundcard
=yes
42999 echo "$as_me: failed program was:" >&5
43000 sed 's/^/| /' conftest.
$ac_ext >&5
43004 ac_cv_header_sys_soundcard
=no
43008 rm -f conftest.err conftest.
$ac_objext \
43009 conftest
$ac_exeext conftest.
$ac_ext
43013 rm -f conftest.err conftest.
$ac_objext \
43014 conftest
$ac_exeext conftest.
$ac_ext
43017 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43018 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43020 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43021 cat >>confdefs.h
<<\_ACEOF
43022 #define HAVE_SYS_SOUNDCARD_H 1
43026 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
43030 if test "$wxUSE_SOUND" = "yes"; then
43031 if test "$USE_UNIX" = "1" ; then
43032 if test "$wxUSE_LIBSDL" != "no"; then
43034 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43035 if test "${with_sdl_prefix+set}" = set; then
43036 withval
="$with_sdl_prefix"
43037 sdl_prefix
="$withval"
43042 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43043 if test "${with_sdl_exec_prefix+set}" = set; then
43044 withval
="$with_sdl_exec_prefix"
43045 sdl_exec_prefix
="$withval"
43049 # Check whether --enable-sdltest or --disable-sdltest was given.
43050 if test "${enable_sdltest+set}" = set; then
43051 enableval
="$enable_sdltest"
43057 if test x
$sdl_exec_prefix != x
; then
43058 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
43059 if test x
${SDL_CONFIG+set} != xset
; then
43060 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
43063 if test x
$sdl_prefix != x
; then
43064 sdl_args
="$sdl_args --prefix=$sdl_prefix"
43065 if test x
${SDL_CONFIG+set} != xset
; then
43066 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
43070 if test "x$prefix" != xNONE
; then
43071 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
43073 # Extract the first word of "sdl-config", so it can be a program name with args.
43074 set dummy sdl
-config; ac_word
=$2
43075 echo "$as_me:$LINENO: checking for $ac_word" >&5
43076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43077 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43078 echo $ECHO_N "(cached) $ECHO_C" >&6
43080 case $SDL_CONFIG in
43082 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
43085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43086 for as_dir
in $PATH
43089 test -z "$as_dir" && as_dir
=.
43090 for ac_exec_ext
in '' $ac_executable_extensions; do
43091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43092 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43099 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
43103 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
43105 if test -n "$SDL_CONFIG"; then
43106 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43107 echo "${ECHO_T}$SDL_CONFIG" >&6
43109 echo "$as_me:$LINENO: result: no" >&5
43110 echo "${ECHO_T}no" >&6
43113 min_sdl_version
=1.2.0
43114 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43115 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43117 if test "$SDL_CONFIG" = "no" ; then
43120 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
43121 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
43123 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
43124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43125 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
43126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43127 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
43128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43129 if test "x$enable_sdltest" = "xyes" ; then
43130 ac_save_CFLAGS
="$CFLAGS"
43131 ac_save_CXXFLAGS
="$CXXFLAGS"
43132 ac_save_LIBS
="$LIBS"
43133 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43134 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43135 LIBS
="$LIBS $SDL_LIBS"
43137 if test "$cross_compiling" = yes; then
43138 echo $ac_n "cross compiling; assumed OK... $ac_c"
43140 cat >conftest.
$ac_ext <<_ACEOF
43143 cat confdefs.h
>>conftest.
$ac_ext
43144 cat >>conftest.
$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43148 #include <stdlib.h>
43149 #include <string.h>
43153 my_strdup (char *str)
43159 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43160 strcpy (new_str, str);
43168 int main (int argc, char *argv[])
43170 int major, minor, micro;
43173 /* This hangs on some systems (?)
43174 system ("touch conf.sdltest");
43176 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43178 /* HP/UX 9 (%@#!) writes to sscanf strings */
43179 tmp_version = my_strdup("$min_sdl_version");
43180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43181 printf("%s, bad version string\n", "$min_sdl_version");
43185 if (($sdl_major_version > major) ||
43186 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43187 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43193 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43194 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43195 printf("*** best to upgrade to the required version.\n");
43196 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43197 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43198 printf("*** config.cache before re-running configure\n");
43205 rm -f conftest
$ac_exeext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43207 (eval $ac_link) 2>&5
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43212 (eval $ac_try) 2>&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; }; then
43218 echo "$as_me: program exited with status $ac_status" >&5
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.
$ac_ext >&5
43222 ( exit $ac_status )
43225 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43227 CFLAGS
="$ac_save_CFLAGS"
43228 CXXFLAGS
="$ac_save_CXXFLAGS"
43229 LIBS
="$ac_save_LIBS"
43232 if test "x$no_sdl" = x
; then
43233 echo "$as_me:$LINENO: result: yes" >&5
43234 echo "${ECHO_T}yes" >&6
43236 EXTRALIBS_SDL
="$SDL_LIBS"
43237 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43238 cat >>confdefs.h
<<\_ACEOF
43239 #define wxUSE_LIBSDL 1
43244 echo "$as_me:$LINENO: result: no" >&5
43245 echo "${ECHO_T}no" >&6
43246 if test "$SDL_CONFIG" = "no" ; then
43247 echo "*** The sdl-config script installed by SDL could not be found"
43248 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43249 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43250 echo "*** full path to sdl-config."
43252 if test -f conf.sdltest
; then
43255 echo "*** Could not run SDL test program, checking why..."
43256 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43257 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43258 LIBS
="$LIBS $SDL_LIBS"
43259 cat >conftest.
$ac_ext <<_ACEOF
43262 cat confdefs.h
>>conftest.
$ac_ext
43263 cat >>conftest.
$ac_ext <<_ACEOF
43264 /* end confdefs.h. */
43269 int main(int argc, char *argv[])
43272 #define main K_and_R_C_main
43282 rm -f conftest.
$ac_objext conftest
$ac_exeext
43283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43284 (eval $ac_link) 2>conftest.er1
43286 grep -v '^ *+' conftest.er1
>conftest.err
43288 cat conftest.err
>&5
43289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43290 (exit $ac_status); } &&
43291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43293 (eval $ac_try) 2>&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); }; } &&
43297 { ac_try
='test -s conftest$ac_exeext'
43298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43299 (eval $ac_try) 2>&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); }; }; then
43303 echo "*** The test program compiled, but did not run. This usually means"
43304 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43305 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43306 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43307 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43308 echo "*** is required on your system"
43310 echo "*** If you have an old version installed, it is best to remove it, although"
43311 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43313 echo "$as_me: failed program was:" >&5
43314 sed 's/^/| /' conftest.
$ac_ext >&5
43316 echo "*** The test program failed to compile or link. See the file config.log for the"
43317 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43318 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43319 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43321 rm -f conftest.err conftest.
$ac_objext \
43322 conftest
$ac_exeext conftest.
$ac_ext
43323 CFLAGS
="$ac_save_CFLAGS"
43324 CXXFLAGS
="$ac_save_CXXFLAGS"
43325 LIBS
="$ac_save_LIBS"
43336 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43342 cat >>confdefs.h
<<\_ACEOF
43343 #define wxUSE_SOUND 1
43346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43349 if test "$WXGTK20" = 1; then
43352 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43353 if test -n "$ac_tool_prefix"; then
43354 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43355 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43356 echo "$as_me:$LINENO: checking for $ac_word" >&5
43357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43358 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 case $PKG_CONFIG in
43363 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43367 for as_dir
in $PATH
43370 test -z "$as_dir" && as_dir
=.
43371 for ac_exec_ext
in '' $ac_executable_extensions; do
43372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43373 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43383 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43385 if test -n "$PKG_CONFIG"; then
43386 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43387 echo "${ECHO_T}$PKG_CONFIG" >&6
43389 echo "$as_me:$LINENO: result: no" >&5
43390 echo "${ECHO_T}no" >&6
43394 if test -z "$ac_cv_path_PKG_CONFIG"; then
43395 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43396 # Extract the first word of "pkg-config", so it can be a program name with args.
43397 set dummy pkg
-config; ac_word
=$2
43398 echo "$as_me:$LINENO: checking for $ac_word" >&5
43399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43400 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43401 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 case $ac_pt_PKG_CONFIG in
43405 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43409 for as_dir
in $PATH
43412 test -z "$as_dir" && as_dir
=.
43413 for ac_exec_ext
in '' $ac_executable_extensions; do
43414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43415 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43425 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43427 if test -n "$ac_pt_PKG_CONFIG"; then
43428 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43429 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43431 echo "$as_me:$LINENO: result: no" >&5
43432 echo "${ECHO_T}no" >&6
43435 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43437 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43441 if test -n "$PKG_CONFIG"; then
43442 _pkg_min_version
=0.9.0
43443 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43444 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43445 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43446 echo "$as_me:$LINENO: result: yes" >&5
43447 echo "${ECHO_T}yes" >&6
43449 echo "$as_me:$LINENO: result: no" >&5
43450 echo "${ECHO_T}no" >&6
43456 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43457 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43461 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43462 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43464 if test -n "$PKG_CONFIG"; then
43465 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43466 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43468 if test -n "$PKG_CONFIG" && \
43469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43470 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; then
43474 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43482 if test -n "$PKG_CONFIG"; then
43483 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43484 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43486 if test -n "$PKG_CONFIG" && \
43487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43488 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); }; then
43492 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43503 if test $pkg_failed = yes; then
43505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43506 _pkg_short_errors_supported
=yes
43508 _pkg_short_errors_supported
=no
43510 if test $_pkg_short_errors_supported = yes; then
43511 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43513 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43515 # Put the nasty error message in config.log where it belongs
43516 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43519 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43520 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43521 wxUSE_LIBGNOMEPRINT
="no"
43524 elif test $pkg_failed = untried
; then
43526 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43527 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43528 wxUSE_LIBGNOMEPRINT
="no"
43532 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43533 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43534 echo "$as_me:$LINENO: result: yes" >&5
43535 echo "${ECHO_T}yes" >&6
43537 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43538 cat >>confdefs.h
<<\_ACEOF
43539 #define wxUSE_LIBGNOMEPRINT 1
43547 if test "$wxUSE_MIMETYPE" = "yes" ; then
43548 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43552 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43553 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43555 if test -n "$PKG_CONFIG"; then
43556 if test -n "$GNOMEVFS_CFLAGS"; then
43557 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43559 if test -n "$PKG_CONFIG" && \
43560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43561 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; then
43565 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43573 if test -n "$PKG_CONFIG"; then
43574 if test -n "$GNOMEVFS_LIBS"; then
43575 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43577 if test -n "$PKG_CONFIG" && \
43578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43579 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); }; then
43583 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43594 if test $pkg_failed = yes; then
43596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43597 _pkg_short_errors_supported
=yes
43599 _pkg_short_errors_supported
=no
43601 if test $_pkg_short_errors_supported = yes; then
43602 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43604 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43606 # Put the nasty error message in config.log where it belongs
43607 echo "$GNOMEVFS_PKG_ERRORS" >&5
43610 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43611 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43612 wxUSE_LIBGNOMEVFS
="no"
43615 elif test $pkg_failed = untried
; then
43617 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43618 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43619 wxUSE_LIBGNOMEVFS
="no"
43623 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43624 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43625 echo "$as_me:$LINENO: result: yes" >&5
43626 echo "${ECHO_T}yes" >&6
43628 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43629 cat >>confdefs.h
<<\_ACEOF
43630 #define wxUSE_LIBGNOMEVFS 1
43638 if test "$wxUSE_LIBHILDON" = "yes" ; then
43641 echo "$as_me:$LINENO: checking for HILDON" >&5
43642 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43644 if test -n "$PKG_CONFIG"; then
43645 if test -n "$HILDON_CFLAGS"; then
43646 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43648 if test -n "$PKG_CONFIG" && \
43649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43650 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); }; then
43654 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43662 if test -n "$PKG_CONFIG"; then
43663 if test -n "$HILDON_LIBS"; then
43664 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43666 if test -n "$PKG_CONFIG" && \
43667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43668 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; then
43672 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43683 if test $pkg_failed = yes; then
43685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43686 _pkg_short_errors_supported
=yes
43688 _pkg_short_errors_supported
=no
43690 if test $_pkg_short_errors_supported = yes; then
43691 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43693 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43695 # Put the nasty error message in config.log where it belongs
43696 echo "$HILDON_PKG_ERRORS" >&5
43699 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43700 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43701 wxUSE_LIBHILDON
="no"
43704 elif test $pkg_failed = untried
; then
43706 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43707 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43708 wxUSE_LIBHILDON
="no"
43712 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43713 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43714 echo "$as_me:$LINENO: result: yes" >&5
43715 echo "${ECHO_T}yes" >&6
43717 EXTRALIBS_HILDON
="$HILDON_LIBS"
43718 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43719 cat >>confdefs.h
<<\_ACEOF
43720 #define wxUSE_LIBHILDON 1
43728 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43729 cat >>confdefs.h
<<\_ACEOF
43730 #define wxUSE_CMDLINE_PARSER 1
43735 if test "$wxUSE_STOPWATCH" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_STOPWATCH 1
43742 if test "$wxUSE_DATETIME" = "yes"; then
43743 cat >>confdefs.h
<<\_ACEOF
43744 #define wxUSE_DATETIME 1
43749 if test "$wxUSE_FILE" = "yes"; then
43750 cat >>confdefs.h
<<\_ACEOF
43751 #define wxUSE_FILE 1
43756 if test "$wxUSE_FFILE" = "yes"; then
43757 cat >>confdefs.h
<<\_ACEOF
43758 #define wxUSE_FFILE 1
43763 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43764 if test "$wxUSE_STREAMS" != yes; then
43765 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43766 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43767 wxUSE_ARCHIVE_STREAMS
=no
43769 cat >>confdefs.h
<<\_ACEOF
43770 #define wxUSE_ARCHIVE_STREAMS 1
43776 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43777 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43778 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43779 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43780 elif test "$wxUSE_ZLIB" = "no"; then
43781 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43782 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43784 cat >>confdefs.h
<<\_ACEOF
43785 #define wxUSE_ZIPSTREAM 1
43791 if test "$wxUSE_TARSTREAM" = "yes"; then
43792 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43793 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43794 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43796 cat >>confdefs.h
<<\_ACEOF
43797 #define wxUSE_TARSTREAM 1
43803 if test "$wxUSE_FILESYSTEM" = "yes"; then
43804 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43805 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43806 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43807 wxUSE_FILESYSTEM
=no
43809 cat >>confdefs.h
<<\_ACEOF
43810 #define wxUSE_FILESYSTEM 1
43816 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43817 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43818 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43819 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43821 cat >>confdefs.h
<<\_ACEOF
43822 #define wxUSE_FS_ARCHIVE 1
43828 if test "$wxUSE_FS_ZIP" = "yes"; then
43829 if test "$wxUSE_FS_ARCHIVE" != yes; then
43830 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43831 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43833 cat >>confdefs.h
<<\_ACEOF
43834 #define wxUSE_FS_ZIP 1
43840 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43841 if test "$USE_UNIX" != 1; then
43842 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43843 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43844 wxUSE_ON_FATAL_EXCEPTION
=no
43846 cat >>confdefs.h
<<\_ACEOF
43847 #define wxUSE_ON_FATAL_EXCEPTION 1
43853 if test "$wxUSE_STACKWALKER" = "yes"; then
43854 cat >>confdefs.h
<<\_ACEOF
43855 #define wxUSE_STACKWALKER 1
43860 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43861 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43862 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43863 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43864 wxUSE_DEBUGREPORT
=no
43866 cat >>confdefs.h
<<\_ACEOF
43867 #define wxUSE_DEBUGREPORT 1
43870 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43876 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43877 cat >>confdefs.h
<<\_ACEOF
43878 #define wxUSE_SNGLINST_CHECKER 1
43883 if test "$wxUSE_BUSYINFO" = "yes"; then
43884 cat >>confdefs.h
<<\_ACEOF
43885 #define wxUSE_BUSYINFO 1
43890 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_STD_IOSTREAM 1
43897 if test "$wxUSE_STD_STRING" = "yes"; then
43898 cat >>confdefs.h
<<\_ACEOF
43899 #define wxUSE_STD_STRING 1
43904 if test "$wxUSE_STDPATHS" = "yes"; then
43905 cat >>confdefs.h
<<\_ACEOF
43906 #define wxUSE_STDPATHS 1
43911 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_TEXTBUFFER 1
43918 if test "$wxUSE_TEXTFILE" = "yes"; then
43919 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43920 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43921 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43923 cat >>confdefs.h
<<\_ACEOF
43924 #define wxUSE_TEXTFILE 1
43930 if test "$wxUSE_CONFIG" = "yes" ; then
43931 if test "$wxUSE_TEXTFILE" != "yes"; then
43932 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43933 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43935 cat >>confdefs.h
<<\_ACEOF
43936 #define wxUSE_CONFIG 1
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_CONFIG_NATIVE 1
43943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43947 if test "$wxUSE_INTL" = "yes" ; then
43948 if test "$wxUSE_FILE" != "yes"; then
43949 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43950 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43952 cat >>confdefs.h
<<\_ACEOF
43953 #define wxUSE_INTL 1
43956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43957 GUIDIST
="$GUIDIST INTL_DIST"
43961 if test "$wxUSE_LOG" = "yes"; then
43962 cat >>confdefs.h
<<\_ACEOF
43963 #define wxUSE_LOG 1
43967 if test "$wxUSE_LOGGUI" = "yes"; then
43968 cat >>confdefs.h
<<\_ACEOF
43969 #define wxUSE_LOGGUI 1
43974 if test "$wxUSE_LOGWINDOW" = "yes"; then
43975 cat >>confdefs.h
<<\_ACEOF
43976 #define wxUSE_LOGWINDOW 1
43981 if test "$wxUSE_LOGDIALOG" = "yes"; then
43982 cat >>confdefs.h
<<\_ACEOF
43983 #define wxUSE_LOG_DIALOG 1
43988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43991 if test "$wxUSE_LONGLONG" = "yes"; then
43992 cat >>confdefs.h
<<\_ACEOF
43993 #define wxUSE_LONGLONG 1
43998 if test "$wxUSE_GEOMETRY" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_GEOMETRY 1
44005 if test "$wxUSE_STREAMS" = "yes" ; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_STREAMS 1
44012 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44013 cat >>confdefs.h
<<\_ACEOF
44014 #define wxUSE_PRINTF_POS_PARAMS 1
44021 if test "$wxUSE_DATETIME" = "yes"; then
44023 for ac_func
in strptime
44025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44026 echo "$as_me:$LINENO: checking for $ac_func" >&5
44027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44028 if eval "test \"\${$as_ac_var+set}\" = set"; then
44029 echo $ECHO_N "(cached) $ECHO_C" >&6
44031 cat >conftest.
$ac_ext <<_ACEOF
44034 cat confdefs.h
>>conftest.
$ac_ext
44035 cat >>conftest.
$ac_ext <<_ACEOF
44036 /* end confdefs.h. */
44037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44039 #define $ac_func innocuous_$ac_func
44041 /* System header to define __stub macros and hopefully few prototypes,
44042 which can conflict with char $ac_func (); below.
44043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44044 <limits.h> exists even on freestanding compilers. */
44047 # include <limits.h>
44049 # include <assert.h>
44054 /* Override any gcc2 internal prototype to avoid an error. */
44059 /* We use char because int might match the return type of a gcc2
44060 builtin and then its argument prototype would still apply. */
44062 /* The GNU C library defines this for functions which it implements
44063 to always fail with ENOSYS. Some functions are actually named
44064 something starting with __ and the normal name is an alias. */
44065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44068 char (*f) () = $ac_func;
44077 return f != $ac_func;
44082 rm -f conftest.
$ac_objext conftest
$ac_exeext
44083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44084 (eval $ac_link) 2>conftest.er1
44086 grep -v '^ *+' conftest.er1
>conftest.err
44088 cat conftest.err
>&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } &&
44091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44093 (eval $ac_try) 2>&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); }; } &&
44097 { ac_try
='test -s conftest$ac_exeext'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; }; then
44103 eval "$as_ac_var=yes"
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.
$ac_ext >&5
44108 eval "$as_ac_var=no"
44110 rm -f conftest.err conftest.
$ac_objext \
44111 conftest
$ac_exeext conftest.
$ac_ext
44113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44115 if test `eval echo '${'$as_ac_var'}'` = yes; then
44116 cat >>confdefs.h
<<_ACEOF
44117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44123 if test "$ac_cv_func_strptime" = "yes"; then
44124 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44125 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44126 if test "${wx_cv_func_strptime_decl+set}" = set; then
44127 echo $ECHO_N "(cached) $ECHO_C" >&6
44130 cat >conftest.
$ac_ext <<_ACEOF
44133 cat confdefs.h
>>conftest.
$ac_ext
44134 cat >>conftest.
$ac_ext <<_ACEOF
44135 /* end confdefs.h. */
44144 strptime("foo", "bar", &t);
44150 rm -f conftest.
$ac_objext
44151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44152 (eval $ac_compile) 2>conftest.er1
44154 grep -v '^ *+' conftest.er1
>conftest.err
44156 cat conftest.err
>&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } &&
44159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44161 (eval $ac_try) 2>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); }; } &&
44165 { ac_try
='test -s conftest.$ac_objext'
44166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44167 (eval $ac_try) 2>&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; }; then
44171 wx_cv_func_strptime_decl
=yes
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.
$ac_ext >&5
44176 wx_cv_func_strptime_decl
=no
44179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44183 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44184 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44186 if test "$wx_cv_func_strptime_decl" = "yes"; then
44187 cat >>confdefs.h
<<\_ACEOF
44188 #define HAVE_STRPTIME_DECL 1
44193 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44194 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44195 if test "${wx_cv_var_timezone+set}" = set; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 cat >conftest.
$ac_ext <<_ACEOF
44202 cat confdefs.h
>>conftest.
$ac_ext
44203 cat >>conftest.
$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44219 rm -f conftest.
$ac_objext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44221 (eval $ac_compile) 2>conftest.er1
44223 grep -v '^ *+' conftest.er1
>conftest.err
44225 cat conftest.err
>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230 (eval $ac_try) 2>&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; } &&
44234 { ac_try
='test -s conftest.$ac_objext'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; }; then
44241 wx_cv_var_timezone
=timezone
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.
$ac_ext >&5
44248 cat >conftest.
$ac_ext <<_ACEOF
44251 cat confdefs.h
>>conftest.
$ac_ext
44252 cat >>conftest.
$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44268 rm -f conftest.
$ac_objext
44269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44270 (eval $ac_compile) 2>conftest.er1
44272 grep -v '^ *+' conftest.er1
>conftest.err
44274 cat conftest.err
>&5
44275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276 (exit $ac_status); } &&
44277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279 (eval $ac_try) 2>&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); }; } &&
44283 { ac_try
='test -s conftest.$ac_objext'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; }; then
44290 wx_cv_var_timezone
=_timezone
44293 echo "$as_me: failed program was:" >&5
44294 sed 's/^/| /' conftest.
$ac_ext >&5
44297 cat >conftest.
$ac_ext <<_ACEOF
44300 cat confdefs.h
>>conftest.
$ac_ext
44301 cat >>conftest.
$ac_ext <<_ACEOF
44302 /* end confdefs.h. */
44317 rm -f conftest.
$ac_objext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44319 (eval $ac_compile) 2>conftest.er1
44321 grep -v '^ *+' conftest.er1
>conftest.err
44323 cat conftest.err
>&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); } &&
44326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44328 (eval $ac_try) 2>&5
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); }; } &&
44332 { ac_try
='test -s conftest.$ac_objext'
44333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44334 (eval $ac_try) 2>&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); }; }; then
44339 wx_cv_var_timezone
=__timezone
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.
$ac_ext >&5
44346 if test "$USE_DOS" = 0 ; then
44347 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44348 echo "$as_me: WARNING: no timezone variable" >&2;}
44353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44365 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44366 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44368 if test "x$wx_cv_var_timezone" != x
; then
44369 cat >>confdefs.h
<<_ACEOF
44370 #define WX_TIMEZONE $wx_cv_var_timezone
44376 for ac_func
in localtime
44378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44379 echo "$as_me:$LINENO: checking for $ac_func" >&5
44380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44381 if eval "test \"\${$as_ac_var+set}\" = set"; then
44382 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 cat >conftest.
$ac_ext <<_ACEOF
44387 cat confdefs.h
>>conftest.
$ac_ext
44388 cat >>conftest.
$ac_ext <<_ACEOF
44389 /* end confdefs.h. */
44390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44392 #define $ac_func innocuous_$ac_func
44394 /* System header to define __stub macros and hopefully few prototypes,
44395 which can conflict with char $ac_func (); below.
44396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44397 <limits.h> exists even on freestanding compilers. */
44400 # include <limits.h>
44402 # include <assert.h>
44407 /* Override any gcc2 internal prototype to avoid an error. */
44412 /* We use char because int might match the return type of a gcc2
44413 builtin and then its argument prototype would still apply. */
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44421 char (*f) () = $ac_func;
44430 return f != $ac_func;
44435 rm -f conftest.
$ac_objext conftest
$ac_exeext
44436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44437 (eval $ac_link) 2>conftest.er1
44439 grep -v '^ *+' conftest.er1
>conftest.err
44441 cat conftest.err
>&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } &&
44444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44446 (eval $ac_try) 2>&5
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); }; } &&
44450 { ac_try
='test -s conftest$ac_exeext'
44451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44452 (eval $ac_try) 2>&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; }; then
44456 eval "$as_ac_var=yes"
44458 echo "$as_me: failed program was:" >&5
44459 sed 's/^/| /' conftest.
$ac_ext >&5
44461 eval "$as_ac_var=no"
44463 rm -f conftest.err conftest.
$ac_objext \
44464 conftest
$ac_exeext conftest.
$ac_ext
44466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44468 if test `eval echo '${'$as_ac_var'}'` = yes; then
44469 cat >>confdefs.h
<<_ACEOF
44470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44477 if test "$ac_cv_func_localtime" = "yes"; then
44478 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44479 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44480 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44484 cat >conftest.
$ac_ext <<_ACEOF
44487 cat confdefs.h
>>conftest.
$ac_ext
44488 cat >>conftest.
$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44504 rm -f conftest.
$ac_objext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44506 (eval $ac_compile) 2>conftest.er1
44508 grep -v '^ *+' conftest.er1
>conftest.err
44510 cat conftest.err
>&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515 (eval $ac_try) 2>&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; } &&
44519 { ac_try
='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44526 wx_cv_struct_tm_has_gmtoff
=yes
44529 echo "$as_me: failed program was:" >&5
44530 sed 's/^/| /' conftest.
$ac_ext >&5
44532 wx_cv_struct_tm_has_gmtoff
=no
44535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44538 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44539 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44542 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44543 cat >>confdefs.h
<<\_ACEOF
44544 #define WX_GMTOFF_IN_TM 1
44551 for ac_func
in gettimeofday ftime
44553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44554 echo "$as_me:$LINENO: checking for $ac_func" >&5
44555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44556 if eval "test \"\${$as_ac_var+set}\" = set"; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 cat >conftest.
$ac_ext <<_ACEOF
44562 cat confdefs.h
>>conftest.
$ac_ext
44563 cat >>conftest.
$ac_ext <<_ACEOF
44564 /* end confdefs.h. */
44565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44567 #define $ac_func innocuous_$ac_func
44569 /* System header to define __stub macros and hopefully few prototypes,
44570 which can conflict with char $ac_func (); below.
44571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44572 <limits.h> exists even on freestanding compilers. */
44575 # include <limits.h>
44577 # include <assert.h>
44582 /* Override any gcc2 internal prototype to avoid an error. */
44587 /* We use char because int might match the return type of a gcc2
44588 builtin and then its argument prototype would still apply. */
44590 /* The GNU C library defines this for functions which it implements
44591 to always fail with ENOSYS. Some functions are actually named
44592 something starting with __ and the normal name is an alias. */
44593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44596 char (*f) () = $ac_func;
44605 return f != $ac_func;
44610 rm -f conftest.
$ac_objext conftest
$ac_exeext
44611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44612 (eval $ac_link) 2>conftest.er1
44614 grep -v '^ *+' conftest.er1
>conftest.err
44616 cat conftest.err
>&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); } &&
44619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; } &&
44625 { ac_try
='test -s conftest$ac_exeext'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; }; then
44631 eval "$as_ac_var=yes"
44633 echo "$as_me: failed program was:" >&5
44634 sed 's/^/| /' conftest.
$ac_ext >&5
44636 eval "$as_ac_var=no"
44638 rm -f conftest.err conftest.
$ac_objext \
44639 conftest
$ac_exeext conftest.
$ac_ext
44641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44643 if test `eval echo '${'$as_ac_var'}'` = yes; then
44644 cat >>confdefs.h
<<_ACEOF
44645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44652 if test "$ac_cv_func_gettimeofday" = "yes"; then
44653 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44654 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44655 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44656 echo $ECHO_N "(cached) $ECHO_C" >&6
44659 cat >conftest.
$ac_ext <<_ACEOF
44662 cat confdefs.h
>>conftest.
$ac_ext
44663 cat >>conftest.
$ac_ext <<_ACEOF
44664 /* end confdefs.h. */
44666 #include <sys/time.h>
44667 #include <unistd.h>
44674 gettimeofday(&tv, NULL);
44680 rm -f conftest.
$ac_objext
44681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44682 (eval $ac_compile) 2>conftest.er1
44684 grep -v '^ *+' conftest.er1
>conftest.err
44686 cat conftest.err
>&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } &&
44689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44691 (eval $ac_try) 2>&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; } &&
44695 { ac_try
='test -s conftest.$ac_objext'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; }; then
44701 wx_cv_func_gettimeofday_has_2_args
=yes
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.
$ac_ext >&5
44706 cat >conftest.
$ac_ext <<_ACEOF
44709 cat confdefs.h
>>conftest.
$ac_ext
44710 cat >>conftest.
$ac_ext <<_ACEOF
44711 /* end confdefs.h. */
44713 #include <sys/time.h>
44714 #include <unistd.h>
44727 rm -f conftest.
$ac_objext
44728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44729 (eval $ac_compile) 2>conftest.er1
44731 grep -v '^ *+' conftest.er1
>conftest.err
44733 cat conftest.err
>&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } &&
44736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44738 (eval $ac_try) 2>&5
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); }; } &&
44742 { ac_try
='test -s conftest.$ac_objext'
44743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44744 (eval $ac_try) 2>&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); }; }; then
44748 wx_cv_func_gettimeofday_has_2_args
=no
44750 echo "$as_me: failed program was:" >&5
44751 sed 's/^/| /' conftest.
$ac_ext >&5
44754 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44755 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44756 wx_cv_func_gettimeofday_has_2_args
=unknown
44760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44766 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44767 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44769 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define WX_GETTIMEOFDAY_NO_TZ 1
44777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44781 if test "$wxUSE_SOCKETS" = "yes"; then
44782 if test "$wxUSE_MGL" = "1"; then
44783 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44784 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44789 if test "$wxUSE_SOCKETS" = "yes"; then
44790 if test "$TOOLKIT" != "MSW"; then
44791 echo "$as_me:$LINENO: checking for socket" >&5
44792 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44793 if test "${ac_cv_func_socket+set}" = set; then
44794 echo $ECHO_N "(cached) $ECHO_C" >&6
44796 cat >conftest.
$ac_ext <<_ACEOF
44799 cat confdefs.h
>>conftest.
$ac_ext
44800 cat >>conftest.
$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44802 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44804 #define socket innocuous_socket
44806 /* System header to define __stub macros and hopefully few prototypes,
44807 which can conflict with char socket (); below.
44808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44809 <limits.h> exists even on freestanding compilers. */
44812 # include <limits.h>
44814 # include <assert.h>
44819 /* Override any gcc2 internal prototype to avoid an error. */
44824 /* We use char because int might match the return type of a gcc2
44825 builtin and then its argument prototype would still apply. */
44827 /* The GNU C library defines this for functions which it implements
44828 to always fail with ENOSYS. Some functions are actually named
44829 something starting with __ and the normal name is an alias. */
44830 #if defined (__stub_socket) || defined (__stub___socket)
44833 char (*f) () = socket;
44842 return f != socket;
44847 rm -f conftest.
$ac_objext conftest
$ac_exeext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44849 (eval $ac_link) 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_exeext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 ac_cv_func_socket
=yes
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.
$ac_ext >&5
44873 ac_cv_func_socket
=no
44875 rm -f conftest.err conftest.
$ac_objext \
44876 conftest
$ac_exeext conftest.
$ac_ext
44878 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44879 echo "${ECHO_T}$ac_cv_func_socket" >&6
44880 if test $ac_cv_func_socket = yes; then
44884 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44885 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44886 if test "${ac_cv_lib_socket_socket+set}" = set; then
44887 echo $ECHO_N "(cached) $ECHO_C" >&6
44889 ac_check_lib_save_LIBS
=$LIBS
44890 LIBS
="-lsocket $LIBS"
44891 cat >conftest.
$ac_ext <<_ACEOF
44894 cat confdefs.h
>>conftest.
$ac_ext
44895 cat >>conftest.
$ac_ext <<_ACEOF
44896 /* end confdefs.h. */
44898 /* Override any gcc2 internal prototype to avoid an error. */
44902 /* We use char because int might match the return type of a gcc2
44903 builtin and then its argument prototype would still apply. */
44913 rm -f conftest.
$ac_objext conftest
$ac_exeext
44914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44915 (eval $ac_link) 2>conftest.er1
44917 grep -v '^ *+' conftest.er1
>conftest.err
44919 cat conftest.err
>&5
44920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44921 (exit $ac_status); } &&
44922 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44924 (eval $ac_try) 2>&5
44926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927 (exit $ac_status); }; } &&
44928 { ac_try
='test -s conftest$ac_exeext'
44929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44930 (eval $ac_try) 2>&5
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); }; }; then
44934 ac_cv_lib_socket_socket
=yes
44936 echo "$as_me: failed program was:" >&5
44937 sed 's/^/| /' conftest.
$ac_ext >&5
44939 ac_cv_lib_socket_socket
=no
44941 rm -f conftest.err conftest.
$ac_objext \
44942 conftest
$ac_exeext conftest.
$ac_ext
44943 LIBS
=$ac_check_lib_save_LIBS
44945 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44946 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44947 if test $ac_cv_lib_socket_socket = yes; then
44948 if test "$INET_LINK" != " -lsocket"; then
44949 INET_LINK
="$INET_LINK -lsocket"
44953 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44954 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44967 if test "$wxUSE_SOCKETS" = "yes" ; then
44968 if test "$TOOLKIT" != "MSW"; then
44969 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44970 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44971 if test "${wx_cv_type_getsockname3+set}" = set; then
44972 echo $ECHO_N "(cached) $ECHO_C" >&6
44975 cat >conftest.
$ac_ext <<_ACEOF
44978 cat confdefs.h
>>conftest.
$ac_ext
44979 cat >>conftest.
$ac_ext <<_ACEOF
44980 /* end confdefs.h. */
44982 #include <sys/types.h>
44983 #include <sys/socket.h>
44990 getsockname(0, 0, &len);
44996 rm -f conftest.
$ac_objext
44997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44998 (eval $ac_compile) 2>conftest.er1
45000 grep -v '^ *+' conftest.er1
>conftest.err
45002 cat conftest.err
>&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } &&
45005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45007 (eval $ac_try) 2>&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); }; } &&
45011 { ac_try
='test -s conftest.$ac_objext'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; }; then
45017 wx_cv_type_getsockname3
=socklen_t
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.
$ac_ext >&5
45023 CXXFLAGS_OLD
="$CXXFLAGS"
45024 if test "$GCC" = yes ; then
45025 CXXFLAGS
="-Werror $CXXFLAGS"
45028 cat >conftest.
$ac_ext <<_ACEOF
45031 cat confdefs.h
>>conftest.
$ac_ext
45032 cat >>conftest.
$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45035 #include <sys/types.h>
45036 #include <sys/socket.h>
45043 getsockname(0, 0, &len);
45049 rm -f conftest.
$ac_objext
45050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45051 (eval $ac_compile) 2>conftest.er1
45053 grep -v '^ *+' conftest.er1
>conftest.err
45055 cat conftest.err
>&5
45056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45057 (exit $ac_status); } &&
45058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45060 (eval $ac_try) 2>&5
45062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45063 (exit $ac_status); }; } &&
45064 { ac_try
='test -s conftest.$ac_objext'
45065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45066 (eval $ac_try) 2>&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); }; }; then
45070 wx_cv_type_getsockname3
=size_t
45072 echo "$as_me: failed program was:" >&5
45073 sed 's/^/| /' conftest.
$ac_ext >&5
45075 cat >conftest.
$ac_ext <<_ACEOF
45078 cat confdefs.h
>>conftest.
$ac_ext
45079 cat >>conftest.
$ac_ext <<_ACEOF
45080 /* end confdefs.h. */
45082 #include <sys/types.h>
45083 #include <sys/socket.h>
45090 getsockname(0, 0, &len);
45096 rm -f conftest.
$ac_objext
45097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45098 (eval $ac_compile) 2>conftest.er1
45100 grep -v '^ *+' conftest.er1
>conftest.err
45102 cat conftest.err
>&5
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); } &&
45105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45107 (eval $ac_try) 2>&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); }; } &&
45111 { ac_try
='test -s conftest.$ac_objext'
45112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45113 (eval $ac_try) 2>&5
45115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116 (exit $ac_status); }; }; then
45117 wx_cv_type_getsockname3
=int
45119 echo "$as_me: failed program was:" >&5
45120 sed 's/^/| /' conftest.
$ac_ext >&5
45122 wx_cv_type_getsockname3
=unknown
45125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45130 CXXFLAGS
="$CXXFLAGS_OLD"
45134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45137 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45138 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45140 if test "$wx_cv_type_getsockname3" = "unknown"; then
45142 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45143 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45145 cat >>confdefs.h
<<_ACEOF
45146 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45150 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45151 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45152 if test "${wx_cv_type_getsockopt5+set}" = set; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45156 cat >conftest.
$ac_ext <<_ACEOF
45159 cat confdefs.h
>>conftest.
$ac_ext
45160 cat >>conftest.
$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45163 #include <sys/types.h>
45164 #include <sys/socket.h>
45171 getsockopt(0, 0, 0, 0, &len);
45177 rm -f conftest.
$ac_objext
45178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45179 (eval $ac_compile) 2>conftest.er1
45181 grep -v '^ *+' conftest.er1
>conftest.err
45183 cat conftest.err
>&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } &&
45186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; } &&
45192 { ac_try
='test -s conftest.$ac_objext'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; }; then
45198 wx_cv_type_getsockopt5
=socklen_t
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.
$ac_ext >&5
45204 CXXFLAGS_OLD
="$CXXFLAGS"
45205 if test "$GCC" = yes ; then
45206 CXXFLAGS
="-Werror $CXXFLAGS"
45209 cat >conftest.
$ac_ext <<_ACEOF
45212 cat confdefs.h
>>conftest.
$ac_ext
45213 cat >>conftest.
$ac_ext <<_ACEOF
45214 /* end confdefs.h. */
45216 #include <sys/types.h>
45217 #include <sys/socket.h>
45224 getsockopt(0, 0, 0, 0, &len);
45230 rm -f conftest.
$ac_objext
45231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45232 (eval $ac_compile) 2>conftest.er1
45234 grep -v '^ *+' conftest.er1
>conftest.err
45236 cat conftest.err
>&5
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); } &&
45239 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45241 (eval $ac_try) 2>&5
45243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244 (exit $ac_status); }; } &&
45245 { ac_try
='test -s conftest.$ac_objext'
45246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45247 (eval $ac_try) 2>&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45251 wx_cv_type_getsockopt5
=size_t
45253 echo "$as_me: failed program was:" >&5
45254 sed 's/^/| /' conftest.
$ac_ext >&5
45256 cat >conftest.
$ac_ext <<_ACEOF
45259 cat confdefs.h
>>conftest.
$ac_ext
45260 cat >>conftest.
$ac_ext <<_ACEOF
45261 /* end confdefs.h. */
45263 #include <sys/types.h>
45264 #include <sys/socket.h>
45271 getsockopt(0, 0, 0, 0, &len);
45277 rm -f conftest.
$ac_objext
45278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45279 (eval $ac_compile) 2>conftest.er1
45281 grep -v '^ *+' conftest.er1
>conftest.err
45283 cat conftest.err
>&5
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); } &&
45286 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45288 (eval $ac_try) 2>&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); }; } &&
45292 { ac_try
='test -s conftest.$ac_objext'
45293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45294 (eval $ac_try) 2>&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; }; then
45298 wx_cv_type_getsockopt5
=int
45300 echo "$as_me: failed program was:" >&5
45301 sed 's/^/| /' conftest.
$ac_ext >&5
45303 wx_cv_type_getsockopt5
=unknown
45306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45311 CXXFLAGS
="$CXXFLAGS_OLD"
45315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45318 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45319 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45321 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45323 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45324 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45326 cat >>confdefs.h
<<_ACEOF
45327 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45334 if test "$wxUSE_SOCKETS" = "yes" ; then
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_SOCKETS 1
45339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45342 if test "$wxUSE_PROTOCOL" = "yes"; then
45343 if test "$wxUSE_SOCKETS" != "yes"; then
45344 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45345 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45350 if test "$wxUSE_PROTOCOL" = "yes"; then
45351 cat >>confdefs.h
<<\_ACEOF
45352 #define wxUSE_PROTOCOL 1
45356 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45357 cat >>confdefs.h
<<\_ACEOF
45358 #define wxUSE_PROTOCOL_HTTP 1
45362 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_PROTOCOL_FTP 1
45368 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45369 cat >>confdefs.h
<<\_ACEOF
45370 #define wxUSE_PROTOCOL_FILE 1
45375 if test "$wxUSE_FS_INET" = "yes"; then
45376 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45377 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45382 if test "$wxUSE_URL" = "yes"; then
45383 if test "$wxUSE_PROTOCOL" != "yes"; then
45384 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45385 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45388 if test "$wxUSE_URL" = "yes"; then
45389 cat >>confdefs.h
<<\_ACEOF
45390 #define wxUSE_URL 1
45396 if test "$wxUSE_VARIANT" = "yes"; then
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_VARIANT 1
45403 if test "$wxUSE_FS_INET" = "yes"; then
45404 cat >>confdefs.h
<<\_ACEOF
45405 #define wxUSE_FS_INET 1
45411 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45414 if test "$TOOLKIT" = "MSW"; then
45417 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45418 if test "$USE_DARWIN" = 1; then
45419 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45420 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45421 cat >conftest.
$ac_ext <<_ACEOF
45424 cat confdefs.h
>>conftest.
$ac_ext
45425 cat >>conftest.
$ac_ext <<_ACEOF
45426 /* end confdefs.h. */
45427 #include <IOKit/hid/IOHIDLib.h>
45431 IOHIDQueueInterface *qi = NULL;
45432 IOHIDCallbackFunction cb = NULL;
45433 qi->setEventCallout(NULL, cb, NULL, NULL);
45438 rm -f conftest.
$ac_objext
45439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45440 (eval $ac_compile) 2>conftest.er1
45442 grep -v '^ *+' conftest.er1
>conftest.err
45444 cat conftest.err
>&5
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); } &&
45447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45449 (eval $ac_try) 2>&5
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; } &&
45453 { ac_try
='test -s conftest.$ac_objext'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; }; then
45462 echo "$as_me: failed program was:" >&5
45463 sed 's/^/| /' conftest.
$ac_ext >&5
45466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45467 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45468 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45473 for ac_header
in linux
/joystick.h
45475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45477 echo "$as_me:$LINENO: checking for $ac_header" >&5
45478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45480 echo $ECHO_N "(cached) $ECHO_C" >&6
45482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45485 # Is the header compilable?
45486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45488 cat >conftest.
$ac_ext <<_ACEOF
45491 cat confdefs.h
>>conftest.
$ac_ext
45492 cat >>conftest.
$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 $ac_includes_default
45495 #include <$ac_header>
45497 rm -f conftest.
$ac_objext
45498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45499 (eval $ac_compile) 2>conftest.er1
45501 grep -v '^ *+' conftest.er1
>conftest.err
45503 cat conftest.err
>&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } &&
45506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45508 (eval $ac_try) 2>&5
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); }; } &&
45512 { ac_try
='test -s conftest.$ac_objext'
45513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45514 (eval $ac_try) 2>&5
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); }; }; then
45518 ac_header_compiler
=yes
45520 echo "$as_me: failed program was:" >&5
45521 sed 's/^/| /' conftest.
$ac_ext >&5
45523 ac_header_compiler
=no
45525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45527 echo "${ECHO_T}$ac_header_compiler" >&6
45529 # Is the header present?
45530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45532 cat >conftest.
$ac_ext <<_ACEOF
45535 cat confdefs.h
>>conftest.
$ac_ext
45536 cat >>conftest.
$ac_ext <<_ACEOF
45537 /* end confdefs.h. */
45538 #include <$ac_header>
45540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45543 grep -v '^ *+' conftest.er1
>conftest.err
45545 cat conftest.err
>&5
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); } >/dev
/null
; then
45548 if test -s conftest.err
; then
45549 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45550 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45557 if test -z "$ac_cpp_err"; then
45558 ac_header_preproc
=yes
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.
$ac_ext >&5
45563 ac_header_preproc
=no
45565 rm -f conftest.err conftest.
$ac_ext
45566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45567 echo "${ECHO_T}$ac_header_preproc" >&6
45569 # So? What about this header?
45570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45576 ac_header_preproc
=yes
45579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45593 ## ----------------------------------------- ##
45594 ## Report this to wx-dev@lists.wxwidgets.org ##
45595 ## ----------------------------------------- ##
45598 sed "s/^/$as_me: WARNING: /" >&2
45601 echo "$as_me:$LINENO: checking for $ac_header" >&5
45602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45604 echo $ECHO_N "(cached) $ECHO_C" >&6
45606 eval "$as_ac_Header=\$ac_header_preproc"
45608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45613 cat >>confdefs.h
<<_ACEOF
45614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45623 if test "$wxUSE_JOYSTICK" = "yes"; then
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_JOYSTICK 1
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45630 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45631 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45637 if test "$wxUSE_FONTMAP" = "yes" ; then
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_FONTMAP 1
45644 if test "$wxUSE_UNICODE" = "yes" ; then
45645 cat >>confdefs.h
<<\_ACEOF
45646 #define wxUSE_UNICODE 1
45650 if test "$USE_WIN32" != 1; then
45651 wxUSE_UNICODE_MSLU
=no
45654 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45655 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45656 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45657 if test "${ac_cv_lib_unicows_main+set}" = set; then
45658 echo $ECHO_N "(cached) $ECHO_C" >&6
45660 ac_check_lib_save_LIBS
=$LIBS
45661 LIBS
="-lunicows $LIBS"
45662 cat >conftest.
$ac_ext <<_ACEOF
45665 cat confdefs.h
>>conftest.
$ac_ext
45666 cat >>conftest.
$ac_ext <<_ACEOF
45667 /* end confdefs.h. */
45678 rm -f conftest.
$ac_objext conftest
$ac_exeext
45679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45680 (eval $ac_link) 2>conftest.er1
45682 grep -v '^ *+' conftest.er1
>conftest.err
45684 cat conftest.err
>&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } &&
45687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45689 (eval $ac_try) 2>&5
45691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45692 (exit $ac_status); }; } &&
45693 { ac_try
='test -s conftest$ac_exeext'
45694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45695 (eval $ac_try) 2>&5
45697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698 (exit $ac_status); }; }; then
45699 ac_cv_lib_unicows_main
=yes
45701 echo "$as_me: failed program was:" >&5
45702 sed 's/^/| /' conftest.
$ac_ext >&5
45704 ac_cv_lib_unicows_main
=no
45706 rm -f conftest.err conftest.
$ac_objext \
45707 conftest
$ac_exeext conftest.
$ac_ext
45708 LIBS
=$ac_check_lib_save_LIBS
45710 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45711 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45712 if test $ac_cv_lib_unicows_main = yes; then
45714 cat >>confdefs.h
<<\_ACEOF
45715 #define wxUSE_UNICODE_MSLU 1
45721 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45722 Applications will only run on Windows NT/2000/XP!" >&5
45723 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45724 Applications will only run on Windows NT/2000/XP!" >&2;}
45725 wxUSE_UNICODE_MSLU
=no
45732 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_EXPERIMENTAL_PRINTF 1
45740 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45741 cat >>confdefs.h
<<\_ACEOF
45742 #define wxUSE_POSTSCRIPT 1
45747 cat >>confdefs.h
<<\_ACEOF
45748 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45752 cat >>confdefs.h
<<\_ACEOF
45753 #define wxUSE_NORMALIZED_PS_FONTS 1
45758 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45759 cat >>confdefs.h
<<\_ACEOF
45760 #define wxUSE_CONSTRAINTS 1
45763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45766 if test "$wxUSE_MDI" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_MDI 1
45772 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_MDI_ARCHITECTURE 1
45777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45781 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45787 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45792 if test "$wxUSE_HELP" = "yes"; then
45793 cat >>confdefs.h
<<\_ACEOF
45794 #define wxUSE_HELP 1
45797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45799 if test "$wxUSE_MSW" = 1; then
45800 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45801 cat >>confdefs.h
<<\_ACEOF
45802 #define wxUSE_MS_HTML_HELP 1
45808 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45809 if test "$wxUSE_HTML" = "yes"; then
45810 cat >>confdefs.h
<<\_ACEOF
45811 #define wxUSE_WXHTML_HELP 1
45815 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45816 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45817 wxUSE_WXHTML_HELP
=no
45822 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45823 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45824 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45825 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_PRINTING_ARCHITECTURE 1
45832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45835 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45836 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45837 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45838 { (exit 1); exit 1; }; }
45842 if test "$wxUSE_METAFILE" = "yes"; then
45843 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45844 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45845 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45851 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45852 -o "$wxUSE_CLIPBOARD" = "yes" \
45853 -o "$wxUSE_OLE" = "yes" \
45854 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45856 for ac_header
in ole2.h
45858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45860 echo "$as_me:$LINENO: checking for $ac_header" >&5
45861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45868 # Is the header compilable?
45869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45871 cat >conftest.
$ac_ext <<_ACEOF
45874 cat confdefs.h
>>conftest.
$ac_ext
45875 cat >>conftest.
$ac_ext <<_ACEOF
45876 /* end confdefs.h. */
45877 $ac_includes_default
45878 #include <$ac_header>
45880 rm -f conftest.
$ac_objext
45881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45882 (eval $ac_compile) 2>conftest.er1
45884 grep -v '^ *+' conftest.er1
>conftest.err
45886 cat conftest.err
>&5
45887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888 (exit $ac_status); } &&
45889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45891 (eval $ac_try) 2>&5
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); }; } &&
45895 { ac_try
='test -s conftest.$ac_objext'
45896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45897 (eval $ac_try) 2>&5
45899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900 (exit $ac_status); }; }; then
45901 ac_header_compiler
=yes
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.
$ac_ext >&5
45906 ac_header_compiler
=no
45908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45910 echo "${ECHO_T}$ac_header_compiler" >&6
45912 # Is the header present?
45913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45915 cat >conftest.
$ac_ext <<_ACEOF
45918 cat confdefs.h
>>conftest.
$ac_ext
45919 cat >>conftest.
$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45921 #include <$ac_header>
45923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45926 grep -v '^ *+' conftest.er1
>conftest.err
45928 cat conftest.err
>&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } >/dev
/null
; then
45931 if test -s conftest.err
; then
45932 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45933 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45940 if test -z "$ac_cpp_err"; then
45941 ac_header_preproc
=yes
45943 echo "$as_me: failed program was:" >&5
45944 sed 's/^/| /' conftest.
$ac_ext >&5
45946 ac_header_preproc
=no
45948 rm -f conftest.err conftest.
$ac_ext
45949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45950 echo "${ECHO_T}$ac_header_preproc" >&6
45952 # So? What about this header?
45953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45959 ac_header_preproc
=yes
45962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45976 ## ----------------------------------------- ##
45977 ## Report this to wx-dev@lists.wxwidgets.org ##
45978 ## ----------------------------------------- ##
45981 sed "s/^/$as_me: WARNING: /" >&2
45984 echo "$as_me:$LINENO: checking for $ac_header" >&5
45985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45987 echo $ECHO_N "(cached) $ECHO_C" >&6
45989 eval "$as_ac_Header=\$ac_header_preproc"
45991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45996 cat >>confdefs.h
<<_ACEOF
45997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46005 if test "$ac_cv_header_ole2_h" = "yes" ; then
46006 if test "$GCC" = yes ; then
46007 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46008 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46009 cat >conftest.
$ac_ext <<_ACEOF
46012 cat confdefs.h
>>conftest.
$ac_ext
46013 cat >>conftest.
$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015 #include <windows.h>
46025 rm -f conftest.
$ac_objext
46026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46027 (eval $ac_compile) 2>conftest.er1
46029 grep -v '^ *+' conftest.er1
>conftest.err
46031 cat conftest.err
>&5
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); } &&
46034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036 (eval $ac_try) 2>&5
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); }; } &&
46040 { ac_try
='test -s conftest.$ac_objext'
46041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46042 (eval $ac_try) 2>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); }; }; then
46046 echo "$as_me:$LINENO: result: no" >&5
46047 echo "${ECHO_T}no" >&6
46049 echo "$as_me: failed program was:" >&5
46050 sed 's/^/| /' conftest.
$ac_ext >&5
46052 echo "$as_me:$LINENO: result: yes" >&5
46053 echo "${ECHO_T}yes" >&6
46054 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46057 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46058 if test "$wxUSE_OLE" = "yes" ; then
46059 cat >>confdefs.h
<<\_ACEOF
46060 #define wxUSE_OLE 1
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_OLE_AUTOMATION 1
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_OLE_ACTIVEX 1
46071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46075 if test "$wxUSE_DATAOBJ" = "yes" ; then
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_DATAOBJ 1
46082 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46083 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46086 wxUSE_DRAG_AND_DROP
=no
46091 if test "$wxUSE_METAFILE" = "yes"; then
46092 cat >>confdefs.h
<<\_ACEOF
46093 #define wxUSE_METAFILE 1
46097 cat >>confdefs.h
<<\_ACEOF
46098 #define wxUSE_ENH_METAFILE 1
46104 if test "$wxUSE_IPC" = "yes"; then
46105 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46106 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46107 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46111 if test "$wxUSE_IPC" = "yes"; then
46112 cat >>confdefs.h
<<\_ACEOF
46113 #define wxUSE_IPC 1
46116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46120 if test "$wxUSE_DATAOBJ" = "yes"; then
46121 if test "$wxUSE_MGL" = 1; then
46122 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46123 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_DATAOBJ 1
46132 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46133 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46135 wxUSE_DRAG_AND_DROP
=no
46138 if test "$wxUSE_CLIPBOARD" = "yes"; then
46139 if test "$wxUSE_MGL" = 1; then
46140 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46141 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46145 if test "$wxUSE_CLIPBOARD" = "yes"; then
46146 cat >>confdefs.h
<<\_ACEOF
46147 #define wxUSE_CLIPBOARD 1
46153 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46154 if test "$wxUSE_GTK" = 1; then
46155 if test "$WXGTK12" != 1; then
46156 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46157 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46158 wxUSE_DRAG_AND_DROP
=no
46162 if test "$wxUSE_MOTIF" = 1; then
46163 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46164 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46165 wxUSE_DRAG_AND_DROP
=no
46168 if test "$wxUSE_X11" = 1; then
46169 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46170 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46171 wxUSE_DRAG_AND_DROP
=no
46174 if test "$wxUSE_MGL" = 1; then
46175 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46176 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46177 wxUSE_DRAG_AND_DROP
=no
46180 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46181 cat >>confdefs.h
<<\_ACEOF
46182 #define wxUSE_DRAG_AND_DROP 1
46189 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46193 if test "$wxUSE_SPLINES" = "yes" ; then
46194 cat >>confdefs.h
<<\_ACEOF
46195 #define wxUSE_SPLINES 1
46200 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46201 cat >>confdefs.h
<<\_ACEOF
46202 #define wxUSE_MOUSEWHEEL 1
46209 if test "$wxUSE_CONTROLS" = "yes"; then
46213 if test "$wxUSE_ACCEL" = "yes"; then
46214 cat >>confdefs.h
<<\_ACEOF
46215 #define wxUSE_ACCEL 1
46221 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46222 cat >>confdefs.h
<<\_ACEOF
46223 #define wxUSE_ANIMATIONCTRL 1
46227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46230 if test "$wxUSE_BUTTON" = "yes"; then
46231 cat >>confdefs.h
<<\_ACEOF
46232 #define wxUSE_BUTTON 1
46238 if test "$wxUSE_BMPBUTTON" = "yes"; then
46239 cat >>confdefs.h
<<\_ACEOF
46240 #define wxUSE_BMPBUTTON 1
46246 if test "$wxUSE_CALCTRL" = "yes"; then
46247 cat >>confdefs.h
<<\_ACEOF
46248 #define wxUSE_CALENDARCTRL 1
46252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46255 if test "$wxUSE_CARET" = "yes"; then
46256 cat >>confdefs.h
<<\_ACEOF
46257 #define wxUSE_CARET 1
46261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46264 if test "$wxUSE_COLLPANE" = "yes"; then
46265 cat >>confdefs.h
<<\_ACEOF
46266 #define wxUSE_COLLPANE 1
46270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46273 if test "$wxUSE_COMBOBOX" = "yes"; then
46274 cat >>confdefs.h
<<\_ACEOF
46275 #define wxUSE_COMBOBOX 1
46281 if test "$wxUSE_COMBOCTRL" = "yes"; then
46282 cat >>confdefs.h
<<\_ACEOF
46283 #define wxUSE_COMBOCTRL 1
46289 if test "$wxUSE_CHOICE" = "yes"; then
46290 cat >>confdefs.h
<<\_ACEOF
46291 #define wxUSE_CHOICE 1
46297 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46298 cat >>confdefs.h
<<\_ACEOF
46299 #define wxUSE_CHOICEBOOK 1
46305 if test "$wxUSE_CHECKBOX" = "yes"; then
46306 cat >>confdefs.h
<<\_ACEOF
46307 #define wxUSE_CHECKBOX 1
46313 if test "$wxUSE_CHECKLST" = "yes"; then
46314 cat >>confdefs.h
<<\_ACEOF
46315 #define wxUSE_CHECKLISTBOX 1
46319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46322 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46323 cat >>confdefs.h
<<\_ACEOF
46324 #define wxUSE_COLOURPICKERCTRL 1
46330 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46331 cat >>confdefs.h
<<\_ACEOF
46332 #define wxUSE_DATEPICKCTRL 1
46338 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46339 cat >>confdefs.h
<<\_ACEOF
46340 #define wxUSE_DIRPICKERCTRL 1
46346 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46347 cat >>confdefs.h
<<\_ACEOF
46348 #define wxUSE_FILEPICKERCTRL 1
46354 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46355 cat >>confdefs.h
<<\_ACEOF
46356 #define wxUSE_FONTPICKERCTRL 1
46362 if test "$wxUSE_DISPLAY" = "yes"; then
46363 cat >>confdefs.h
<<\_ACEOF
46364 #define wxUSE_DISPLAY 1
46367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46370 if test "$wxUSE_DETECT_SM" = "yes"; then
46371 cat >>confdefs.h
<<\_ACEOF
46372 #define wxUSE_DETECT_SM 1
46377 if test "$wxUSE_GAUGE" = "yes"; then
46378 cat >>confdefs.h
<<\_ACEOF
46379 #define wxUSE_GAUGE 1
46385 if test "$wxUSE_GRID" = "yes"; then
46386 cat >>confdefs.h
<<\_ACEOF
46387 #define wxUSE_GRID 1
46391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46394 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46395 cat >>confdefs.h
<<\_ACEOF
46396 #define wxUSE_HYPERLINKCTRL 1
46402 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46403 cat >>confdefs.h
<<\_ACEOF
46404 #define wxUSE_BITMAPCOMBOBOX 1
46410 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46411 cat >>confdefs.h
<<\_ACEOF
46412 #define wxUSE_DATAVIEWCTRL 1
46416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46419 if test "$wxUSE_IMAGLIST" = "yes"; then
46420 cat >>confdefs.h
<<\_ACEOF
46421 #define wxUSE_IMAGLIST 1
46426 if test "$wxUSE_LISTBOOK" = "yes"; then
46427 cat >>confdefs.h
<<\_ACEOF
46428 #define wxUSE_LISTBOOK 1
46434 if test "$wxUSE_LISTBOX" = "yes"; then
46435 cat >>confdefs.h
<<\_ACEOF
46436 #define wxUSE_LISTBOX 1
46440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46443 if test "$wxUSE_LISTCTRL" = "yes"; then
46444 if test "$wxUSE_IMAGLIST" = "yes"; then
46445 cat >>confdefs.h
<<\_ACEOF
46446 #define wxUSE_LISTCTRL 1
46450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46452 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46453 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46457 if test "$wxUSE_NOTEBOOK" = "yes"; then
46458 cat >>confdefs.h
<<\_ACEOF
46459 #define wxUSE_NOTEBOOK 1
46463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46466 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46467 cat >>confdefs.h
<<\_ACEOF
46468 #define wxUSE_ODCOMBOBOX 1
46472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46476 if test "$wxUSE_RADIOBOX" = "yes"; then
46477 cat >>confdefs.h
<<\_ACEOF
46478 #define wxUSE_RADIOBOX 1
46484 if test "$wxUSE_RADIOBTN" = "yes"; then
46485 cat >>confdefs.h
<<\_ACEOF
46486 #define wxUSE_RADIOBTN 1
46492 if test "$wxUSE_SASH" = "yes"; then
46493 cat >>confdefs.h
<<\_ACEOF
46494 #define wxUSE_SASH 1
46497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46500 if test "$wxUSE_SCROLLBAR" = "yes"; then
46501 cat >>confdefs.h
<<\_ACEOF
46502 #define wxUSE_SCROLLBAR 1
46506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46509 if test "$wxUSE_SLIDER" = "yes"; then
46510 cat >>confdefs.h
<<\_ACEOF
46511 #define wxUSE_SLIDER 1
46517 if test "$wxUSE_SPINBTN" = "yes"; then
46518 cat >>confdefs.h
<<\_ACEOF
46519 #define wxUSE_SPINBTN 1
46525 if test "$wxUSE_SPINCTRL" = "yes"; then
46526 cat >>confdefs.h
<<\_ACEOF
46527 #define wxUSE_SPINCTRL 1
46533 if test "$wxUSE_SPLITTER" = "yes"; then
46534 cat >>confdefs.h
<<\_ACEOF
46535 #define wxUSE_SPLITTER 1
46538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46541 if test "$wxUSE_STATBMP" = "yes"; then
46542 cat >>confdefs.h
<<\_ACEOF
46543 #define wxUSE_STATBMP 1
46549 if test "$wxUSE_STATBOX" = "yes"; then
46550 cat >>confdefs.h
<<\_ACEOF
46551 #define wxUSE_STATBOX 1
46557 if test "$wxUSE_STATTEXT" = "yes"; then
46558 cat >>confdefs.h
<<\_ACEOF
46559 #define wxUSE_STATTEXT 1
46565 if test "$wxUSE_STATLINE" = "yes"; then
46566 cat >>confdefs.h
<<\_ACEOF
46567 #define wxUSE_STATLINE 1
46573 if test "$wxUSE_STATUSBAR" = "yes"; then
46574 cat >>confdefs.h
<<\_ACEOF
46575 #define wxUSE_NATIVE_STATUSBAR 1
46578 cat >>confdefs.h
<<\_ACEOF
46579 #define wxUSE_STATUSBAR 1
46584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46587 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46588 cat >>confdefs.h
<<\_ACEOF
46589 #define wxUSE_TAB_DIALOG 1
46594 if test "$wxUSE_TEXTCTRL" = "yes"; then
46595 cat >>confdefs.h
<<\_ACEOF
46596 #define wxUSE_TEXTCTRL 1
46600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46603 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46604 if test "$wxUSE_COCOA" = 1 ; then
46605 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46606 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46610 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46611 cat >>confdefs.h
<<\_ACEOF
46612 #define wxUSE_TOGGLEBTN 1
46619 if test "$wxUSE_TOOLBAR" = "yes"; then
46620 cat >>confdefs.h
<<\_ACEOF
46621 #define wxUSE_TOOLBAR 1
46626 if test "$wxUSE_UNIVERSAL" = "yes"; then
46627 wxUSE_TOOLBAR_NATIVE
="no"
46629 wxUSE_TOOLBAR_NATIVE
="yes"
46630 cat >>confdefs.h
<<\_ACEOF
46631 #define wxUSE_TOOLBAR_NATIVE 1
46636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46639 if test "$wxUSE_TOOLTIPS" = "yes"; then
46640 if test "$wxUSE_MOTIF" = 1; then
46641 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46642 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46644 if test "$wxUSE_UNIVERSAL" = "yes"; then
46645 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46646 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46648 cat >>confdefs.h
<<\_ACEOF
46649 #define wxUSE_TOOLTIPS 1
46656 if test "$wxUSE_TREEBOOK" = "yes"; then
46657 cat >>confdefs.h
<<\_ACEOF
46658 #define wxUSE_TREEBOOK 1
46664 if test "$wxUSE_TOOLBOOK" = "yes"; then
46665 cat >>confdefs.h
<<\_ACEOF
46666 #define wxUSE_TOOLBOOK 1
46672 if test "$wxUSE_TREECTRL" = "yes"; then
46673 if test "$wxUSE_IMAGLIST" = "yes"; then
46674 cat >>confdefs.h
<<\_ACEOF
46675 #define wxUSE_TREECTRL 1
46679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46681 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46682 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46686 if test "$wxUSE_POPUPWIN" = "yes"; then
46687 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46688 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46689 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46691 if test "$wxUSE_PM" = 1; then
46692 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46693 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46695 cat >>confdefs.h
<<\_ACEOF
46696 #define wxUSE_POPUPWIN 1
46699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46706 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46707 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46708 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46709 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46711 cat >>confdefs.h
<<\_ACEOF
46712 #define wxUSE_DIALUP_MANAGER 1
46715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46719 if test "$wxUSE_TIPWINDOW" = "yes"; then
46720 if test "$wxUSE_PM" = 1; then
46721 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46722 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_TIPWINDOW 1
46731 if test "$USES_CONTROLS" = 1; then
46732 cat >>confdefs.h
<<\_ACEOF
46733 #define wxUSE_CONTROLS 1
46739 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46740 cat >>confdefs.h
<<\_ACEOF
46741 #define wxUSE_ACCESSIBILITY 1
46744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46747 if test "$wxUSE_DC_CACHEING" = "yes"; then
46748 cat >>confdefs.h
<<\_ACEOF
46749 #define wxUSE_DC_CACHEING 1
46754 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46755 cat >>confdefs.h
<<\_ACEOF
46756 #define wxUSE_DRAGIMAGE 1
46759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46762 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46763 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46764 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46765 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46767 cat >>confdefs.h
<<\_ACEOF
46768 #define wxUSE_EXCEPTIONS 1
46771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46776 if test "$wxUSE_HTML" = "yes"; then
46777 cat >>confdefs.h
<<\_ACEOF
46778 #define wxUSE_HTML 1
46782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46783 if test "$wxUSE_MAC" = 1; then
46784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46787 if test "$wxUSE_WEBKIT" = "yes"; then
46788 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46789 old_CPPFLAGS
="$CPPFLAGS"
46790 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46791 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46792 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46793 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46794 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 cat >conftest.
$ac_ext <<_ACEOF
46799 cat confdefs.h
>>conftest.
$ac_ext
46800 cat >>conftest.
$ac_ext <<_ACEOF
46801 /* end confdefs.h. */
46802 #include <Carbon/Carbon.h>
46804 #include <WebKit/HIWebView.h>
46806 rm -f conftest.
$ac_objext
46807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46808 (eval $ac_compile) 2>conftest.er1
46810 grep -v '^ *+' conftest.er1
>conftest.err
46812 cat conftest.err
>&5
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); } &&
46815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817 (eval $ac_try) 2>&5
46819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820 (exit $ac_status); }; } &&
46821 { ac_try
='test -s conftest.$ac_objext'
46822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46823 (eval $ac_try) 2>&5
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); }; }; then
46827 ac_cv_header_WebKit_HIWebView_h
=yes
46829 echo "$as_me: failed program was:" >&5
46830 sed 's/^/| /' conftest.
$ac_ext >&5
46832 ac_cv_header_WebKit_HIWebView_h
=no
46834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46836 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46837 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46838 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46840 cat >>confdefs.h
<<\_ACEOF
46841 #define wxUSE_WEBKIT 1
46844 WEBKIT_LINK
="-framework WebKit"
46848 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46849 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46855 CPPFLAGS
="$old_CPPFLAGS"
46856 elif test "$wxUSE_COCOA" = 1; then
46857 cat >>confdefs.h
<<\_ACEOF
46858 #define wxUSE_WEBKIT 1
46867 if test "$wxUSE_XRC" = "yes"; then
46868 if test "$wxUSE_XML" != "yes"; then
46869 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46870 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46873 cat >>confdefs.h
<<\_ACEOF
46874 #define wxUSE_XRC 1
46878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46883 if test "$wxUSE_AUI" = "yes"; then
46884 cat >>confdefs.h
<<\_ACEOF
46885 #define wxUSE_AUI 1
46889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46892 if test "$wxUSE_MENUS" = "yes"; then
46893 cat >>confdefs.h
<<\_ACEOF
46894 #define wxUSE_MENUS 1
46897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46900 if test "$wxUSE_METAFILE" = "yes"; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_METAFILE 1
46907 if test "$wxUSE_MIMETYPE" = "yes"; then
46908 cat >>confdefs.h
<<\_ACEOF
46909 #define wxUSE_MIMETYPE 1
46914 if test "$wxUSE_MINIFRAME" = "yes"; then
46915 cat >>confdefs.h
<<\_ACEOF
46916 #define wxUSE_MINIFRAME 1
46919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46922 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46923 cat >>confdefs.h
<<\_ACEOF
46924 #define wxUSE_SYSTEM_OPTIONS 1
46927 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46928 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46934 if test "$wxUSE_VALIDATORS" = "yes"; then
46935 cat >>confdefs.h
<<\_ACEOF
46936 #define wxUSE_VALIDATORS 1
46939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46942 if test "$wxUSE_PALETTE" = "yes" ; then
46943 cat >>confdefs.h
<<\_ACEOF
46944 #define wxUSE_PALETTE 1
46949 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46950 LIBS
=" -lunicows $LIBS"
46954 if test "$wxUSE_RICHTEXT" = "yes"; then
46955 cat >>confdefs.h
<<\_ACEOF
46956 #define wxUSE_RICHTEXT 1
46960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46964 if test "$wxUSE_IMAGE" = "yes" ; then
46965 cat >>confdefs.h
<<\_ACEOF
46966 #define wxUSE_IMAGE 1
46970 if test "$wxUSE_GIF" = "yes" ; then
46971 cat >>confdefs.h
<<\_ACEOF
46972 #define wxUSE_GIF 1
46977 if test "$wxUSE_PCX" = "yes" ; then
46978 cat >>confdefs.h
<<\_ACEOF
46979 #define wxUSE_PCX 1
46984 if test "$wxUSE_TGA" = "yes" ; then
46985 cat >>confdefs.h
<<\_ACEOF
46986 #define wxUSE_TGA 1
46991 if test "$wxUSE_IFF" = "yes" ; then
46992 cat >>confdefs.h
<<\_ACEOF
46993 #define wxUSE_IFF 1
46998 if test "$wxUSE_PNM" = "yes" ; then
46999 cat >>confdefs.h
<<\_ACEOF
47000 #define wxUSE_PNM 1
47005 if test "$wxUSE_XPM" = "yes" ; then
47006 cat >>confdefs.h
<<\_ACEOF
47007 #define wxUSE_XPM 1
47012 if test "$wxUSE_ICO_CUR" = "yes" ; then
47013 cat >>confdefs.h
<<\_ACEOF
47014 #define wxUSE_ICO_CUR 1
47021 if test "$wxUSE_ABOUTDLG" = "yes"; then
47022 cat >>confdefs.h
<<\_ACEOF
47023 #define wxUSE_ABOUTDLG 1
47028 if test "$wxUSE_CHOICEDLG" = "yes"; then
47029 cat >>confdefs.h
<<\_ACEOF
47030 #define wxUSE_CHOICEDLG 1
47035 if test "$wxUSE_COLOURDLG" = "yes"; then
47036 cat >>confdefs.h
<<\_ACEOF
47037 #define wxUSE_COLOURDLG 1
47042 if test "$wxUSE_FILEDLG" = "yes"; then
47043 cat >>confdefs.h
<<\_ACEOF
47044 #define wxUSE_FILEDLG 1
47049 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47050 cat >>confdefs.h
<<\_ACEOF
47051 #define wxUSE_FINDREPLDLG 1
47056 if test "$wxUSE_FONTDLG" = "yes"; then
47057 cat >>confdefs.h
<<\_ACEOF
47058 #define wxUSE_FONTDLG 1
47063 if test "$wxUSE_DIRDLG" = "yes"; then
47064 if test "$wxUSE_TREECTRL" != "yes"; then
47065 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47066 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47068 cat >>confdefs.h
<<\_ACEOF
47069 #define wxUSE_DIRDLG 1
47075 if test "$wxUSE_MSGDLG" = "yes"; then
47076 cat >>confdefs.h
<<\_ACEOF
47077 #define wxUSE_MSGDLG 1
47082 if test "$wxUSE_NUMBERDLG" = "yes"; then
47083 cat >>confdefs.h
<<\_ACEOF
47084 #define wxUSE_NUMBERDLG 1
47089 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47090 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47091 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47092 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47094 cat >>confdefs.h
<<\_ACEOF
47095 #define wxUSE_PROGRESSDLG 1
47101 if test "$wxUSE_SPLASH" = "yes"; then
47102 cat >>confdefs.h
<<\_ACEOF
47103 #define wxUSE_SPLASH 1
47106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47109 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47111 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47112 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47114 cat >>confdefs.h
<<\_ACEOF
47115 #define wxUSE_STARTUP_TIPS 1
47121 if test "$wxUSE_TEXTDLG" = "yes"; then
47122 cat >>confdefs.h
<<\_ACEOF
47123 #define wxUSE_TEXTDLG 1
47128 if test "$wxUSE_WIZARDDLG" = "yes"; then
47129 cat >>confdefs.h
<<\_ACEOF
47130 #define wxUSE_WIZARDDLG 1
47133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47137 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47138 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47139 cat >>confdefs.h
<<\_ACEOF
47140 #define wxUSE_GRAPHICS_CONTEXT 1
47143 elif test "$wxUSE_GTK" != 1; then
47144 cat >>confdefs.h
<<\_ACEOF
47145 #define wxUSE_GRAPHICS_CONTEXT 1
47151 echo "$as_me:$LINENO: checking for CAIRO" >&5
47152 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47154 if test -n "$PKG_CONFIG"; then
47155 if test -n "$CAIRO_CFLAGS"; then
47156 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47158 if test -n "$PKG_CONFIG" && \
47159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47160 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); }; then
47164 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47172 if test -n "$PKG_CONFIG"; then
47173 if test -n "$CAIRO_LIBS"; then
47174 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47176 if test -n "$PKG_CONFIG" && \
47177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47178 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47181 (exit $ac_status); }; then
47182 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47193 if test $pkg_failed = yes; then
47195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47196 _pkg_short_errors_supported
=yes
47198 _pkg_short_errors_supported
=no
47200 if test $_pkg_short_errors_supported = yes; then
47201 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47203 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47205 # Put the nasty error message in config.log where it belongs
47206 echo "$CAIRO_PKG_ERRORS" >&5
47208 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47209 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47211 elif test $pkg_failed = untried
; then
47212 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47213 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47216 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47217 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47218 echo "$as_me:$LINENO: result: yes" >&5
47219 echo "${ECHO_T}yes" >&6
47220 cat >>confdefs.h
<<\_ACEOF
47221 #define wxUSE_GRAPHICS_CONTEXT 1
47231 if test "$wxUSE_MEDIACTRL" = "yes"; then
47234 if test "$wxUSE_GTK" = 1; then
47235 wxUSE_GSTREAMER
="no"
47237 GST_VERSION_MAJOR
=0
47238 GST_VERSION_MINOR
=10
47239 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47241 if test "$wxUSE_GSTREAMER8" = "no"; then
47244 echo "$as_me:$LINENO: checking for GST" >&5
47245 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47247 if test -n "$PKG_CONFIG"; then
47248 if test -n "$GST_CFLAGS"; then
47249 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47251 if test -n "$PKG_CONFIG" && \
47252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47253 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); }; then
47257 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47265 if test -n "$PKG_CONFIG"; then
47266 if test -n "$GST_LIBS"; then
47267 pkg_cv_GST_LIBS
="$GST_LIBS"
47269 if test -n "$PKG_CONFIG" && \
47270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47271 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }; then
47275 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47286 if test $pkg_failed = yes; then
47288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47289 _pkg_short_errors_supported
=yes
47291 _pkg_short_errors_supported
=no
47293 if test $_pkg_short_errors_supported = yes; then
47294 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47296 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47298 # Put the nasty error message in config.log where it belongs
47299 echo "$GST_PKG_ERRORS" >&5
47302 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47303 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47304 GST_VERSION_MINOR
=8
47307 elif test $pkg_failed = untried
; then
47309 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47310 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47311 GST_VERSION_MINOR
=8
47315 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47316 GST_LIBS
=$pkg_cv_GST_LIBS
47317 echo "$as_me:$LINENO: result: yes" >&5
47318 echo "${ECHO_T}yes" >&6
47320 wxUSE_GSTREAMER
="yes"
47321 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47325 GST_VERSION_MINOR
=8
47328 if test $GST_VERSION_MINOR = "8"; then
47329 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47332 echo "$as_me:$LINENO: checking for GST" >&5
47333 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47335 if test -n "$PKG_CONFIG"; then
47336 if test -n "$GST_CFLAGS"; then
47337 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47339 if test -n "$PKG_CONFIG" && \
47340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47341 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; then
47345 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47353 if test -n "$PKG_CONFIG"; then
47354 if test -n "$GST_LIBS"; then
47355 pkg_cv_GST_LIBS
="$GST_LIBS"
47357 if test -n "$PKG_CONFIG" && \
47358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47359 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47362 (exit $ac_status); }; then
47363 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47374 if test $pkg_failed = yes; then
47376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47377 _pkg_short_errors_supported
=yes
47379 _pkg_short_errors_supported
=no
47381 if test $_pkg_short_errors_supported = yes; then
47382 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47384 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47386 # Put the nasty error message in config.log where it belongs
47387 echo "$GST_PKG_ERRORS" >&5
47390 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47391 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47393 elif test $pkg_failed = untried
; then
47395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47396 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47399 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47400 GST_LIBS
=$pkg_cv_GST_LIBS
47401 echo "$as_me:$LINENO: result: yes" >&5
47402 echo "${ECHO_T}yes" >&6
47403 wxUSE_GSTREAMER
="yes"
47408 if test "$wxUSE_GSTREAMER" = "yes"; then
47411 if "$GCC" = yes; then
47412 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47413 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47417 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47418 LIBS
="$GST_LIBS $LIBS"
47420 cat >>confdefs.h
<<\_ACEOF
47421 #define wxUSE_GSTREAMER 1
47429 if test $USE_MEDIA = 1; then
47430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47431 cat >>confdefs.h
<<\_ACEOF
47432 #define wxUSE_MEDIACTRL 1
47439 if test "$cross_compiling" = "yes"; then
47442 OSINFO
=`uname -s -r -m`
47443 OSINFO
="\"$OSINFO\""
47446 cat >>confdefs.h
<<_ACEOF
47447 #define WXWIN_OS_DESCRIPTION $OSINFO
47452 if test "x$prefix" != "xNONE"; then
47455 wxPREFIX
=$ac_default_prefix
47458 cat >>confdefs.h
<<_ACEOF
47459 #define wxINSTALL_PREFIX "$wxPREFIX"
47465 CORE_BASE_LIBS
="net base"
47466 CORE_GUI_LIBS
="adv core"
47468 if test "$wxUSE_XML" = "yes" ; then
47469 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47471 if test "$wxUSE_ODBC" != "no" ; then
47472 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47473 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47475 if test "$wxUSE_HTML" = "yes" ; then
47476 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47478 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47479 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47481 if test "$wxUSE_XRC" = "yes" ; then
47482 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47484 if test "$wxUSE_AUI" = "yes" ; then
47485 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47488 if test "$wxUSE_GUI" != "yes"; then
47497 ac_cpp
='$CPP $CPPFLAGS'
47498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47504 if test "$wxUSE_MAC" = 1 ; then
47505 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47506 if test "$USE_DARWIN" = 1; then
47507 LDFLAGS
="$LDFLAGS -framework QuickTime"
47509 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47512 if test "$USE_DARWIN" = 1; then
47513 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47515 LDFLAGS
="$LDFLAGS -lCarbonLib"
47518 if test "$wxUSE_COCOA" = 1 ; then
47519 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47520 if test "$wxUSE_MEDIACTRL" = "yes"; then
47521 LDFLAGS
="$LDFLAGS -framework QuickTime"
47524 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47525 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47528 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47530 if test "$wxUSE_GUI" = "yes"; then
47533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47534 dynamic erase event exec font image minimal mobile \
47535 mobile/wxedit mobile/styles propsize render \
47536 rotate shaped vscroll widgets"
47538 if test "$wxUSE_MONOLITHIC" != "yes"; then
47539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47541 if test "$TOOLKIT" = "MSW"; then
47542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47543 if test "$wxUSE_UNIVERSAL" != "yes"; then
47544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47547 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47551 SAMPLES_SUBDIRS
="console"
47555 if test "x$INTELCC" = "xyes" ; then
47556 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47557 elif test "$GCC" = yes ; then
47558 CWARNINGS
="-Wall -Wundef"
47561 if test "x$INTELCXX" = "xyes" ; then
47562 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47563 elif test "$GXX" = yes ; then
47564 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47568 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47569 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47572 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47573 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47574 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47577 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47578 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47579 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47581 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47584 if test "x$MWCC" = "xyes"; then
47586 CC
="$CC -cwd source -I-"
47587 CXX
="$CXX -cwd source -I-"
47592 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47593 EXTRALIBS_XML
="$EXPAT_LINK"
47594 EXTRALIBS_HTML
="$MSPACK_LINK"
47595 EXTRALIBS_ODBC
="$ODBC_LINK"
47596 if test "$wxUSE_GUI" = "yes"; then
47597 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47599 if test "$wxUSE_OPENGL" = "yes"; then
47600 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47603 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47605 WXCONFIG_LIBS
="$LIBS"
47607 if test "$wxUSE_REGEX" = "builtin" ; then
47608 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47610 if test "$wxUSE_EXPAT" = "builtin" ; then
47611 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47613 if test "$wxUSE_ODBC" = "builtin" ; then
47614 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47616 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47617 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47619 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47620 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47622 if test "$wxUSE_LIBPNG" = "builtin" ; then
47623 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47625 if test "$wxUSE_ZLIB" = "builtin" ; then
47626 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47629 for i
in $wxconfig_3rdparty ; do
47630 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47634 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47637 case "$wxUNIV_THEMES" in
47639 cat >>confdefs.h
<<\_ACEOF
47640 #define wxUSE_ALL_THEMES 1
47646 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47647 cat >>confdefs.h
<<_ACEOF
47648 #define wxUSE_THEME_$t 1
47665 if test $wxUSE_MONOLITHIC = "yes" ; then
47671 if test $wxUSE_PLUGINS = "yes" ; then
47677 if test $wxUSE_ODBC != "no" ; then
47683 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47689 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47719 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47730 TOOLKIT_DESC
="GTK+"
47731 if test "$WXGTK20" = 1; then
47732 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47733 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47734 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47736 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47737 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47739 if test "$wxUSE_LIBHILDON" = "yes"; then
47740 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47743 if test "$TOOLKIT_EXTRA" != ""; then
47744 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47750 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47754 TOOLKIT_DESC
="base only"
47758 if test "$wxUSE_WINE" = "yes"; then
47759 BAKEFILE_FORCE_PLATFORM
=win32
47762 if test "$wxUSE_MAC" = 1 ; then
47763 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47764 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47765 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47767 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47769 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47770 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47771 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47772 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47775 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47776 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47779 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47781 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47782 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47783 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47784 echo $ECHO_N "(cached) $ECHO_C" >&6
47787 echo '#include <stdio.h>
47788 const wchar_t test_var[] = L"awidetest";' > conftest.h
47790 echo '#include "conftest.h"
47793 printf("%ls", test_var);
47797 wx_cv_gcc_pch_bug
="pch not supported"
47799 if $CXX conftest.h
>/dev
/null
2>&1
47803 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47805 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47806 grep awidetest
>/dev
/null
47808 wx_cv_gcc_pch_bug
=no
47810 wx_cv_gcc_pch_bug
=yes
47815 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47818 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47819 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47821 if test "$wx_cv_gcc_pch_bug" = yes; then
47829 if test "x$BAKEFILE_HOST" = "x"; then
47830 if test "x${host}" = "x" ; then
47831 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47832 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47833 { (exit 1); exit 1; }; }
47836 BAKEFILE_HOST
="${host}"
47839 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47841 if test -n "$ac_tool_prefix"; then
47842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47843 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47844 echo "$as_me:$LINENO: checking for $ac_word" >&5
47845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47846 if test "${ac_cv_prog_RANLIB+set}" = set; then
47847 echo $ECHO_N "(cached) $ECHO_C" >&6
47849 if test -n "$RANLIB"; then
47850 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47853 for as_dir
in $PATH
47856 test -z "$as_dir" && as_dir
=.
47857 for ac_exec_ext
in '' $ac_executable_extensions; do
47858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47859 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47868 RANLIB
=$ac_cv_prog_RANLIB
47869 if test -n "$RANLIB"; then
47870 echo "$as_me:$LINENO: result: $RANLIB" >&5
47871 echo "${ECHO_T}$RANLIB" >&6
47873 echo "$as_me:$LINENO: result: no" >&5
47874 echo "${ECHO_T}no" >&6
47878 if test -z "$ac_cv_prog_RANLIB"; then
47879 ac_ct_RANLIB
=$RANLIB
47880 # Extract the first word of "ranlib", so it can be a program name with args.
47881 set dummy ranlib
; ac_word
=$2
47882 echo "$as_me:$LINENO: checking for $ac_word" >&5
47883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47884 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47885 echo $ECHO_N "(cached) $ECHO_C" >&6
47887 if test -n "$ac_ct_RANLIB"; then
47888 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47891 for as_dir
in $PATH
47894 test -z "$as_dir" && as_dir
=.
47895 for ac_exec_ext
in '' $ac_executable_extensions; do
47896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47897 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47904 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47907 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47908 if test -n "$ac_ct_RANLIB"; then
47909 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47910 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47912 echo "$as_me:$LINENO: result: no" >&5
47913 echo "${ECHO_T}no" >&6
47916 RANLIB
=$ac_ct_RANLIB
47918 RANLIB
="$ac_cv_prog_RANLIB"
47921 # Find a good install program. We prefer a C program (faster),
47922 # so one script is as good as another. But avoid the broken or
47923 # incompatible versions:
47924 # SysV /etc/install, /usr/sbin/install
47925 # SunOS /usr/etc/install
47926 # IRIX /sbin/install
47928 # AmigaOS /C/install, which installs bootblocks on floppy discs
47929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47932 # OS/2's system install, which has a completely different semantic
47933 # ./install, which can be erroneously created by make from ./install.sh.
47934 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47936 if test -z "$INSTALL"; then
47937 if test "${ac_cv_path_install+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47941 for as_dir
in $PATH
47944 test -z "$as_dir" && as_dir
=.
47945 # Account for people who put trailing slashes in PATH elements.
47947 .
/ | .
// | /cC
/* | \
47948 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47949 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47952 # OSF1 and SCO ODT 3.0 have their own names for install.
47953 # Don't use installbsd from OSF since it installs stuff as root
47955 for ac_prog
in ginstall scoinst
install; do
47956 for ac_exec_ext
in '' $ac_executable_extensions; do
47957 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47958 if test $ac_prog = install &&
47959 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47960 # AIX install. It has an incompatible calling convention.
47962 elif test $ac_prog = install &&
47963 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47964 # program-specific install script used by HP pwplus--don't use.
47967 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47979 if test "${ac_cv_path_install+set}" = set; then
47980 INSTALL
=$ac_cv_path_install
47982 # As a last resort, use the slow shell script. We don't cache a
47983 # path for INSTALL within a source directory, because that will
47984 # break other packages using the cache if that directory is
47985 # removed, or if the path is relative.
47986 INSTALL
=$ac_install_sh
47989 echo "$as_me:$LINENO: result: $INSTALL" >&5
47990 echo "${ECHO_T}$INSTALL" >&6
47992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47993 # It thinks the first close brace ends the variable substitution.
47994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
48000 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48001 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48003 if test "$LN_S" = "ln -s"; then
48004 echo "$as_me:$LINENO: result: yes" >&5
48005 echo "${ECHO_T}yes" >&6
48007 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48008 echo "${ECHO_T}no, using $LN_S" >&6
48012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48014 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 cat >conftest.
make <<\_ACEOF
48020 @
echo 'ac_maketemp="$(MAKE)"'
48022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48024 if test -n "$ac_maketemp"; then
48025 eval ac_cv_prog_make_
${ac_make}_set
=yes
48027 eval ac_cv_prog_make_
${ac_make}_set
=no
48029 rm -f conftest.
make
48031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48032 echo "$as_me:$LINENO: result: yes" >&5
48033 echo "${ECHO_T}yes" >&6
48036 echo "$as_me:$LINENO: result: no" >&5
48037 echo "${ECHO_T}no" >&6
48038 SET_MAKE
="MAKE=${MAKE-make}"
48043 if test "x$SUNCXX" = "xyes"; then
48046 AROPTIONS
="-xar -o"
48048 if test -n "$ac_tool_prefix"; then
48049 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48050 set dummy
${ac_tool_prefix}ar; ac_word
=$2
48051 echo "$as_me:$LINENO: checking for $ac_word" >&5
48052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48053 if test "${ac_cv_prog_AR+set}" = set; then
48054 echo $ECHO_N "(cached) $ECHO_C" >&6
48056 if test -n "$AR"; then
48057 ac_cv_prog_AR
="$AR" # Let the user override the test.
48059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48060 for as_dir
in $PATH
48063 test -z "$as_dir" && as_dir
=.
48064 for ac_exec_ext
in '' $ac_executable_extensions; do
48065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48066 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48076 if test -n "$AR"; then
48077 echo "$as_me:$LINENO: result: $AR" >&5
48078 echo "${ECHO_T}$AR" >&6
48080 echo "$as_me:$LINENO: result: no" >&5
48081 echo "${ECHO_T}no" >&6
48085 if test -z "$ac_cv_prog_AR"; then
48087 # Extract the first word of "ar", so it can be a program name with args.
48088 set dummy
ar; ac_word
=$2
48089 echo "$as_me:$LINENO: checking for $ac_word" >&5
48090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48091 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48092 echo $ECHO_N "(cached) $ECHO_C" >&6
48094 if test -n "$ac_ct_AR"; then
48095 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48098 for as_dir
in $PATH
48101 test -z "$as_dir" && as_dir
=.
48102 for ac_exec_ext
in '' $ac_executable_extensions; do
48103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48104 ac_cv_prog_ac_ct_AR
="ar"
48105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48111 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
48114 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48115 if test -n "$ac_ct_AR"; then
48116 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48117 echo "${ECHO_T}$ac_ct_AR" >&6
48119 echo "$as_me:$LINENO: result: no" >&5
48120 echo "${ECHO_T}no" >&6
48125 AR
="$ac_cv_prog_AR"
48132 if test -n "$ac_tool_prefix"; then
48133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48134 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48135 echo "$as_me:$LINENO: checking for $ac_word" >&5
48136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48137 if test "${ac_cv_prog_STRIP+set}" = set; then
48138 echo $ECHO_N "(cached) $ECHO_C" >&6
48140 if test -n "$STRIP"; then
48141 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48144 for as_dir
in $PATH
48147 test -z "$as_dir" && as_dir
=.
48148 for ac_exec_ext
in '' $ac_executable_extensions; do
48149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48150 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48159 STRIP
=$ac_cv_prog_STRIP
48160 if test -n "$STRIP"; then
48161 echo "$as_me:$LINENO: result: $STRIP" >&5
48162 echo "${ECHO_T}$STRIP" >&6
48164 echo "$as_me:$LINENO: result: no" >&5
48165 echo "${ECHO_T}no" >&6
48169 if test -z "$ac_cv_prog_STRIP"; then
48171 # Extract the first word of "strip", so it can be a program name with args.
48172 set dummy strip
; ac_word
=$2
48173 echo "$as_me:$LINENO: checking for $ac_word" >&5
48174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48175 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48176 echo $ECHO_N "(cached) $ECHO_C" >&6
48178 if test -n "$ac_ct_STRIP"; then
48179 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48182 for as_dir
in $PATH
48185 test -z "$as_dir" && as_dir
=.
48186 for ac_exec_ext
in '' $ac_executable_extensions; do
48187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48188 ac_cv_prog_ac_ct_STRIP
="strip"
48189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48195 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48198 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48199 if test -n "$ac_ct_STRIP"; then
48200 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48201 echo "${ECHO_T}$ac_ct_STRIP" >&6
48203 echo "$as_me:$LINENO: result: no" >&5
48204 echo "${ECHO_T}no" >&6
48209 STRIP
="$ac_cv_prog_STRIP"
48212 if test -n "$ac_tool_prefix"; then
48213 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48214 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48215 echo "$as_me:$LINENO: checking for $ac_word" >&5
48216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48217 if test "${ac_cv_prog_NM+set}" = set; then
48218 echo $ECHO_N "(cached) $ECHO_C" >&6
48220 if test -n "$NM"; then
48221 ac_cv_prog_NM
="$NM" # Let the user override the test.
48223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48224 for as_dir
in $PATH
48227 test -z "$as_dir" && as_dir
=.
48228 for ac_exec_ext
in '' $ac_executable_extensions; do
48229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48230 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48240 if test -n "$NM"; then
48241 echo "$as_me:$LINENO: result: $NM" >&5
48242 echo "${ECHO_T}$NM" >&6
48244 echo "$as_me:$LINENO: result: no" >&5
48245 echo "${ECHO_T}no" >&6
48249 if test -z "$ac_cv_prog_NM"; then
48251 # Extract the first word of "nm", so it can be a program name with args.
48252 set dummy nm
; ac_word
=$2
48253 echo "$as_me:$LINENO: checking for $ac_word" >&5
48254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48255 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48256 echo $ECHO_N "(cached) $ECHO_C" >&6
48258 if test -n "$ac_ct_NM"; then
48259 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48262 for as_dir
in $PATH
48265 test -z "$as_dir" && as_dir
=.
48266 for ac_exec_ext
in '' $ac_executable_extensions; do
48267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48268 ac_cv_prog_ac_ct_NM
="nm"
48269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48275 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48278 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48279 if test -n "$ac_ct_NM"; then
48280 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48281 echo "${ECHO_T}$ac_ct_NM" >&6
48283 echo "$as_me:$LINENO: result: no" >&5
48284 echo "${ECHO_T}no" >&6
48289 NM
="$ac_cv_prog_NM"
48293 case ${BAKEFILE_HOST} in
48295 INSTALL_DIR
="mkdir -p"
48298 INSTALL_DIR
='$(INSTALL) -d'
48304 case ${BAKEFILE_HOST} in
48305 *-*-cygwin* | *-*-mingw32* )
48306 LDFLAGS_GUI
="-mwindows"
48312 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48313 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48314 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48315 echo $ECHO_N "(cached) $ECHO_C" >&6
48318 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48319 egrep -s GNU
> /dev
/null
); then
48320 bakefile_cv_prog_makeisgnu
="yes"
48322 bakefile_cv_prog_makeisgnu
="no"
48326 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48327 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48329 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48346 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48347 case "${BAKEFILE_HOST}" in
48354 *-pc-os2_emx | *-pc-os2-emx )
48364 powerpc
-apple-macos* )
48373 case "$BAKEFILE_FORCE_PLATFORM" in
48394 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48395 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48396 { (exit 1); exit 1; }; }
48411 # Check whether --enable-omf or --disable-omf was given.
48412 if test "${enable_omf+set}" = set; then
48413 enableval
="$enable_omf"
48414 bk_os2_use_omf
="$enableval"
48417 case "${BAKEFILE_HOST}" in
48419 if test "x$GCC" = "xyes"; then
48420 CFLAGS
="$CFLAGS -fno-common"
48421 CXXFLAGS
="$CXXFLAGS -fno-common"
48423 if test "x$XLCC" = "xyes"; then
48424 CFLAGS
="$CFLAGS -qnocommon"
48425 CXXFLAGS
="$CXXFLAGS -qnocommon"
48429 *-pc-os2_emx | *-pc-os2-emx )
48430 if test "x$bk_os2_use_omf" = "xyes" ; then
48433 LDFLAGS
="-Zomf $LDFLAGS"
48434 CFLAGS
="-Zomf $CFLAGS"
48435 CXXFLAGS
="-Zomf $CXXFLAGS"
48443 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48449 SO_SUFFIX_MODULE
="so"
48454 DLLPREFIX_MODULE
=""
48458 case "${BAKEFILE_HOST}" in
48461 SO_SUFFIX_MODULE
="sl"
48465 SO_SUFFIX_MODULE
="a"
48469 SO_SUFFIX_MODULE
="dll"
48470 DLLIMP_SUFFIX
="dll.a"
48477 SO_SUFFIX_MODULE
="dll"
48478 DLLIMP_SUFFIX
="dll.a"
48488 *-pc-os2_emx | *-pc-os2-emx )
48490 SO_SUFFIX_MODULE
="dll"
48491 DLLIMP_SUFFIX
=$OS2_LIBEXT
48495 LIBEXT
=".$OS2_LIBEXT"
48500 SO_SUFFIX_MODULE
="bundle"
48504 if test "x$DLLIMP_SUFFIX" = "x" ; then
48505 DLLIMP_SUFFIX
="$SO_SUFFIX"
48520 if test "x$GCC" = "xyes"; then
48524 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48525 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48528 case "${BAKEFILE_HOST}" in
48530 if test "x$GCC" != "xyes"; then
48531 LDFLAGS
="$LDFLAGS -L/usr/lib"
48533 SHARED_LD_CC
="${CC} -b -o"
48534 SHARED_LD_CXX
="${CXX} -b -o"
48540 if test "x$GCC" != "xyes"; then
48541 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48542 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48543 if test "${bakefile_cv_prog_icc+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48547 cat >conftest.
$ac_ext <<_ACEOF
48550 cat confdefs.h
>>conftest.
$ac_ext
48551 cat >>conftest.
$ac_ext <<_ACEOF
48552 /* end confdefs.h. */
48558 #ifndef __INTEL_COMPILER
48566 rm -f conftest.
$ac_objext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48568 (eval $ac_compile) 2>conftest.er1
48570 grep -v '^ *+' conftest.er1
>conftest.err
48572 cat conftest.err
>&5
48573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48574 (exit $ac_status); } &&
48575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48577 (eval $ac_try) 2>&5
48579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48580 (exit $ac_status); }; } &&
48581 { ac_try
='test -s conftest.$ac_objext'
48582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48583 (eval $ac_try) 2>&5
48585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48586 (exit $ac_status); }; }; then
48587 bakefile_cv_prog_icc
=yes
48589 echo "$as_me: failed program was:" >&5
48590 sed 's/^/| /' conftest.
$ac_ext >&5
48592 bakefile_cv_prog_icc
=no
48595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48598 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48599 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48600 if test "$bakefile_cv_prog_icc" = "yes"; then
48607 if test "x$GCC" != xyes
; then
48608 SHARED_LD_CC
="${CC} -G -o"
48609 SHARED_LD_CXX
="${CXX} -G -o"
48617 cat <<EOF >shared-ld-sh
48619 #-----------------------------------------------------------------------------
48620 #-- Name: distrib/mac/shared-ld-sh
48621 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48622 #-- Author: Gilles Depeyrot
48623 #-- Copyright: (c) 2002 Gilles Depeyrot
48624 #-- Licence: any use permitted
48625 #-----------------------------------------------------------------------------
48630 linking_flag="-dynamiclib"
48631 ldargs="-r -keep_private_externs -nostdlib"
48633 while test ${D}# -gt 0; do
48640 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48641 # collect these options and values
48642 args="${D}{args} ${D}1 ${D}2"
48647 # collect these load args
48648 ldargs="${D}{ldargs} ${D}1"
48651 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48652 # collect these options
48653 args="${D}{args} ${D}1"
48656 -dynamiclib|-bundle)
48657 linking_flag="${D}1"
48661 echo "shared-ld: unhandled option '${D}1'"
48665 *.o | *.a | *.dylib)
48666 # collect object files
48667 objects="${D}{objects} ${D}1"
48671 echo "shared-ld: unhandled argument '${D}1'"
48682 # Link one module containing all the others
48684 if test ${D}{verbose} = 1; then
48685 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48687 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48691 # Link the shared library from the single module created, but only if the
48692 # previous command didn't fail:
48694 if test ${D}{status} = 0; then
48695 if test ${D}{verbose} = 1; then
48696 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48698 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48703 # Remove intermediate module
48705 rm -f master.${D}${D}.o
48710 chmod +x shared
-ld-sh
48712 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48713 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48716 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48717 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48718 if test "${bakefile_cv_gcc31+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48722 cat >conftest.
$ac_ext <<_ACEOF
48725 cat confdefs.h
>>conftest.
$ac_ext
48726 cat >>conftest.
$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48733 #if (__GNUC__ < 3) || \
48734 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48742 rm -f conftest.
$ac_objext
48743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48744 (eval $ac_compile) 2>conftest.er1
48746 grep -v '^ *+' conftest.er1
>conftest.err
48748 cat conftest.err
>&5
48749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750 (exit $ac_status); } &&
48751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48753 (eval $ac_try) 2>&5
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; } &&
48757 { ac_try
='test -s conftest.$ac_objext'
48758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48759 (eval $ac_try) 2>&5
48761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48762 (exit $ac_status); }; }; then
48764 bakefile_cv_gcc31
=yes
48767 echo "$as_me: failed program was:" >&5
48768 sed 's/^/| /' conftest.
$ac_ext >&5
48771 bakefile_cv_gcc31
=no
48775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48778 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48779 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48780 if test "$bakefile_cv_gcc31" = "no"; then
48781 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48782 SHARED_LD_CXX
="$SHARED_LD_CC"
48784 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48785 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48788 if test "x$GCC" == "xyes"; then
48789 PIC_FLAG
="-dynamic -fPIC"
48791 if test "x$XLCC" = "xyes"; then
48792 PIC_FLAG
="-dynamic -DPIC"
48797 if test "x$GCC" = "xyes"; then
48800 case "${BAKEFILE_HOST}" in
48802 LD_EXPFULL
="-Wl,-bexpfull"
48806 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48807 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48810 set dummy makeC
++SharedLib
; ac_word
=$2
48811 echo "$as_me:$LINENO: checking for $ac_word" >&5
48812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48814 echo $ECHO_N "(cached) $ECHO_C" >&6
48816 if test -n "$AIX_CXX_LD"; then
48817 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48820 for as_dir
in $PATH
48823 test -z "$as_dir" && as_dir
=.
48824 for ac_exec_ext
in '' $ac_executable_extensions; do
48825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48826 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48836 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48837 if test -n "$AIX_CXX_LD"; then
48838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48839 echo "${ECHO_T}$AIX_CXX_LD" >&6
48841 echo "$as_me:$LINENO: result: no" >&5
48842 echo "${ECHO_T}no" >&6
48845 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48846 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48851 SHARED_LD_CC
="${LD} -nostart -o"
48852 SHARED_LD_CXX
="${LD} -nostart -o"
48856 if test "x$GCC" != "xyes"; then
48861 *-*-cygwin* | *-*-mingw32* )
48863 SHARED_LD_CC
="\$(CC) -shared -o"
48864 SHARED_LD_CXX
="\$(CXX) -shared -o"
48868 *-pc-os2_emx | *-pc-os2-emx )
48869 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48870 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48874 cat <<EOF >dllar.sh
48877 # dllar - a tool to build both a .dll and an .a file
48878 # from a set of object (.o) files for EMX/OS2.
48880 # Written by Andrew Zabolotny, bit@freya.etu.ru
48881 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48883 # This script will accept a set of files on the command line.
48884 # All the public symbols from the .o files will be exported into
48885 # a .DEF file, then linker will be run (through gcc) against them to
48886 # build a shared library consisting of all given .o files. All libraries
48887 # (.a) will be first decompressed into component .o files then act as
48888 # described above. You can optionally give a description (-d "description")
48889 # which will be put into .DLL. To see the list of accepted options (as well
48890 # as command-line format) simply run this program without options. The .DLL
48891 # is built to be imported by name (there is no guarantee that new versions
48892 # of the library you build will have same ordinals for same symbols).
48894 # dllar is free software; you can redistribute it and/or modify
48895 # it under the terms of the GNU General Public License as published by
48896 # the Free Software Foundation; either version 2, or (at your option)
48897 # any later version.
48899 # dllar is distributed in the hope that it will be useful,
48900 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48901 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48902 # GNU General Public License for more details.
48904 # You should have received a copy of the GNU General Public License
48905 # along with dllar; see the file COPYING. If not, write to the Free
48906 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48909 # To successfuly run this program you will need:
48910 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48911 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48913 # (used to build the .dll)
48915 # (used to create .def file from .o files)
48917 # (used to create .a file from .def file)
48918 # - GNU text utilites (cat, sort, uniq)
48919 # used to process emxexp output
48920 # - GNU file utilities (mv, rm)
48922 # - lxlite (optional, see flag below)
48923 # (used for general .dll cleanup)
48930 # basnam, variant of basename, which does _not_ remove the path, _iff_
48931 # second argument (suffix to remove) is given
48935 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48938 echo ${D}1 | sed 's/'${D}2'${D}//'
48941 echo "error in basnam ${D}*"
48947 # Cleanup temporary files and output
48950 for i in ${D}inputFiles ; do
48953 rm -rf \`basnam ${D}i !\`
48960 # Kill result in case of failure as there is just to many stupid make/nmake
48961 # things out there which doesn't do this.
48962 if [ ${D}# -eq 0 ]; then
48963 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48967 # Print usage and exit script with rc=1.
48969 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48970 echo ' [-name-mangler-script script.sh]'
48971 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48972 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48973 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48974 echo ' [*.o] [*.a]'
48975 echo '*> "output_file" should have no extension.'
48976 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48977 echo ' The import library name is derived from this and is set to "name".a,'
48978 echo ' unless overridden by -import'
48979 echo '*> "importlib_name" should have no extension.'
48980 echo ' If it has the .o, or .a extension, it is automatically removed.'
48981 echo ' This name is used as the import library name and may be longer and'
48982 echo ' more descriptive than the DLL name which has to follow the old '
48983 echo ' 8.3 convention of FAT.'
48984 echo '*> "script.sh may be given to override the output_file name by a'
48985 echo ' different name. It is mainly useful if the regular make process'
48986 echo ' of some package does not take into account OS/2 restriction of'
48987 echo ' DLL name lengths. It takes the importlib name as input and is'
48988 echo ' supposed to procude a shorter name as output. The script should'
48989 echo ' expect to get importlib_name without extension and should produce'
48990 echo ' a (max.) 8 letter name without extension.'
48991 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48992 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48993 echo ' These flags will be put at the start of GCC command line.'
48994 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48995 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48996 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48997 echo ' If the last character of a symbol is "*", all symbols beginning'
48998 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48999 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49000 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49001 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49002 echo ' C runtime DLLs.'
49003 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49004 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49005 echo ' unchanged to GCC at the end of command line.'
49006 echo '*> If you create a DLL from a library and you do not specify -o,'
49007 echo ' the basename for DLL and import library will be set to library name,'
49008 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49009 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49010 echo ' library will be renamed into gcc_s.a.'
49013 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49014 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49019 # Execute a command.
49020 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49021 # @Uses Whatever CleanUp() uses.
49027 if [ ${D}rcCmd -ne 0 ]; then
49028 echo "command failed, exit code="${D}rcCmd
49043 CFLAGS="-s -Zcrtdll"
49045 EXPORT_BY_ORDINALS=0
49050 case ${D}curDirS in
49054 curDirS=${D}{curDirS}"/"
49057 # Parse commandline
49060 while [ ${D}1 ]; do
49063 EXPORT_BY_ORDINALS=1;
49073 -name-mangler-script)
49094 exclude_symbols=${D}{exclude_symbols}${D}1" "
49098 library_flags=${D}{library_flags}${D}1" "
49117 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49121 if [ ${D}omfLinking -eq 1 ]; then
49122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49124 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49129 if [ ${D}libsToLink -ne 0 ]; then
49130 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49132 for file in ${D}1 ; do
49133 if [ -f ${D}file ]; then
49134 inputFiles="${D}{inputFiles} ${D}file"
49138 if [ ${D}found -eq 0 ]; then
49139 echo "ERROR: No file(s) found: "${D}1
49146 done # iterate cmdline words
49149 if [ -z "${D}inputFiles" ]; then
49150 echo "dllar: no input files"
49154 # Now extract all .o files from .a files
49156 for file in ${D}inputFiles ; do
49167 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49172 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49174 if [ ${D}? -ne 0 ]; then
49175 echo "Failed to create subdirectory ./${D}dirname"
49179 # Append '!' to indicate archive
49180 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49181 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49184 for subfile in ${D}dirname/*.o* ; do
49185 if [ -f ${D}subfile ]; then
49187 if [ -s ${D}subfile ]; then
49188 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49189 newInputFiles="${D}newInputFiles ${D}subfile"
49193 if [ ${D}found -eq 0 ]; then
49194 echo "WARNING: there are no files in archive \\'${D}file\\'"
49198 newInputFiles="${D}{newInputFiles} ${D}file"
49202 inputFiles="${D}newInputFiles"
49204 # Output filename(s).
49206 if [ -z ${D}outFile ]; then
49208 set outFile ${D}inputFiles; outFile=${D}2
49211 # If it is an archive, remove the '!' and the '_%' suffixes
49212 case ${D}outFile in
49214 outFile=\`basnam ${D}outFile _%!\`
49219 case ${D}outFile in
49221 outFile=\`basnam ${D}outFile .dll\`
49224 outFile=\`basnam ${D}outFile .DLL\`
49227 outFile=\`basnam ${D}outFile .o\`
49230 outFile=\`basnam ${D}outFile .obj\`
49233 outFile=\`basnam ${D}outFile .a\`
49236 outFile=\`basnam ${D}outFile .lib\`
49241 case ${D}outimpFile in
49243 outimpFile=\`basnam ${D}outimpFile .a\`
49246 outimpFile=\`basnam ${D}outimpFile .lib\`
49251 if [ -z ${D}outimpFile ]; then
49252 outimpFile=${D}outFile
49254 defFile="${D}{outFile}.def"
49255 arcFile="${D}{outimpFile}.a"
49256 arcFile2="${D}{outimpFile}.lib"
49258 #create ${D}dllFile as something matching 8.3 restrictions,
49259 if [ -z ${D}renameScript ] ; then
49260 dllFile="${D}outFile"
49262 dllFile=\`${D}renameScript ${D}outimpFile\`
49265 if [ ${D}do_backup -ne 0 ] ; then
49266 if [ -f ${D}arcFile ] ; then
49267 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49269 if [ -f ${D}arcFile2 ] ; then
49270 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49274 # Extract public symbols from all the object files.
49275 tmpdefFile=${D}{defFile}_%
49276 rm -f ${D}tmpdefFile
49277 for file in ${D}inputFiles ; do
49282 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49287 # Create the def file.
49289 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49290 dllFile="${D}{dllFile}.dll"
49291 if [ ! -z ${D}description ]; then
49292 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49294 echo "EXPORTS" >> ${D}defFile
49296 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49297 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49299 # Checks if the export is ok or not.
49300 for word in ${D}exclude_symbols; do
49301 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49302 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49306 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49307 sed "=" < ${D}tmpdefFile | \\
49311 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49313 ' > ${D}{tmpdefFile}%
49314 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49316 rm -f ${D}{tmpdefFile}%
49318 cat ${D}tmpdefFile >> ${D}defFile
49319 rm -f ${D}tmpdefFile
49321 # Do linking, create implib, and apply lxlite.
49323 for file in ${D}inputFiles ; do
49328 gccCmdl="${D}gccCmdl ${D}file"
49332 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49333 touch "${D}{outFile}.dll"
49335 doCommand "emximp -o ${D}arcFile ${D}defFile"
49336 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49338 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49341 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49343 doCommand "emxomf -s -l ${D}arcFile"
49353 powerpc
-apple-macos* | \
49354 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49366 if test "x$PIC_FLAG" != "x" ; then
49367 PIC_FLAG
="$PIC_FLAG -DPIC"
49370 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49371 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49373 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49374 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49393 case "${BAKEFILE_HOST}" in
49394 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49395 SONAME_FLAG
="-Wl,-soname,"
49429 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49430 if test "${enable_dependency_tracking+set}" = set; then
49431 enableval
="$enable_dependency_tracking"
49432 bk_use_trackdeps
="$enableval"
49435 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49436 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49439 if test "x$bk_use_trackdeps" = "xno" ; then
49441 echo "$as_me:$LINENO: result: disabled" >&5
49442 echo "${ECHO_T}disabled" >&6
49446 if test "x$GCC" = "xyes"; then
49448 case "${BAKEFILE_HOST}" in
49450 DEPSFLAG
="-no-cpp-precomp -MMD"
49456 echo "$as_me:$LINENO: result: gcc" >&5
49457 echo "${ECHO_T}gcc" >&6
49458 elif test "x$MWCC" = "xyes"; then
49461 echo "$as_me:$LINENO: result: mwcc" >&5
49462 echo "${ECHO_T}mwcc" >&6
49463 elif test "x$SUNCC" = "xyes"; then
49466 echo "$as_me:$LINENO: result: Sun cc" >&5
49467 echo "${ECHO_T}Sun cc" >&6
49468 elif test "x$SGICC" = "xyes"; then
49471 echo "$as_me:$LINENO: result: SGI cc" >&5
49472 echo "${ECHO_T}SGI cc" >&6
49473 elif test "x$HPCC" = "xyes"; then
49476 echo "$as_me:$LINENO: result: HP cc" >&5
49477 echo "${ECHO_T}HP cc" >&6
49478 elif test "x$COMPAQCC" = "xyes"; then
49481 echo "$as_me:$LINENO: result: Compaq cc" >&5
49482 echo "${ECHO_T}Compaq cc" >&6
49485 echo "$as_me:$LINENO: result: none" >&5
49486 echo "${ECHO_T}none" >&6
49489 if test $DEPS_TRACKING = 1 ; then
49495 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49496 # script. It is used to track C/C++ files dependencies in portable way.
49498 # Permission is given to use this file in any way.
49500 DEPSMODE=${DEPSMODE}
49502 DEPSFLAG="${DEPSFLAG}"
49504 mkdir -p ${D}DEPSDIR
49506 if test ${D}DEPSMODE = gcc ; then
49507 ${D}* ${D}{DEPSFLAG}
49509 if test ${D}{status} != 0 ; then
49512 # move created file to the location we want it in:
49513 while test ${D}# -gt 0; do
49527 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49528 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49529 if test -f ${D}depfile ; then
49530 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49533 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49534 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49535 if test ! -f ${D}depfile ; then
49536 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49537 depfile="${D}objfile.d"
49539 if test -f ${D}depfile ; then
49540 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49545 elif test ${D}DEPSMODE = mwcc ; then
49546 ${D}* || exit ${D}?
49547 # Run mwcc again with -MM and redirect into the dep file we want
49548 # NOTE: We can't use shift here because we need ${D}* to be valid
49550 for arg in ${D}* ; do
49551 if test "${D}prevarg" = "-o"; then
49564 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49566 elif test ${D}DEPSMODE = unixcc; then
49567 ${D}* || exit ${D}?
49568 # Run compiler again with deps flag and redirect into the dep file.
49569 # It doesn't work if the '-o FILE' option is used, but without it the
49570 # dependency file will contain the wrong name for the object. So it is
49571 # removed from the command line, and the dep file is fixed with sed.
49573 while test ${D}# -gt 0; do
49580 eval arg${D}#=\\${D}1
49581 cmd="${D}cmd \\${D}arg${D}#"
49586 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49595 BK_DEPS
="`pwd`/bk-deps"
49603 case ${BAKEFILE_HOST} in
49604 *-*-cygwin* | *-*-mingw32* )
49605 if test -n "$ac_tool_prefix"; then
49606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49607 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49608 echo "$as_me:$LINENO: checking for $ac_word" >&5
49609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49610 if test "${ac_cv_prog_WINDRES+set}" = set; then
49611 echo $ECHO_N "(cached) $ECHO_C" >&6
49613 if test -n "$WINDRES"; then
49614 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49617 for as_dir
in $PATH
49620 test -z "$as_dir" && as_dir
=.
49621 for ac_exec_ext
in '' $ac_executable_extensions; do
49622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49623 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49632 WINDRES
=$ac_cv_prog_WINDRES
49633 if test -n "$WINDRES"; then
49634 echo "$as_me:$LINENO: result: $WINDRES" >&5
49635 echo "${ECHO_T}$WINDRES" >&6
49637 echo "$as_me:$LINENO: result: no" >&5
49638 echo "${ECHO_T}no" >&6
49642 if test -z "$ac_cv_prog_WINDRES"; then
49643 ac_ct_WINDRES
=$WINDRES
49644 # Extract the first word of "windres", so it can be a program name with args.
49645 set dummy windres
; ac_word
=$2
49646 echo "$as_me:$LINENO: checking for $ac_word" >&5
49647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49651 if test -n "$ac_ct_WINDRES"; then
49652 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49655 for as_dir
in $PATH
49658 test -z "$as_dir" && as_dir
=.
49659 for ac_exec_ext
in '' $ac_executable_extensions; do
49660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49661 ac_cv_prog_ac_ct_WINDRES
="windres"
49662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49670 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49671 if test -n "$ac_ct_WINDRES"; then
49672 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49673 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49675 echo "$as_me:$LINENO: result: no" >&5
49676 echo "${ECHO_T}no" >&6
49679 WINDRES
=$ac_ct_WINDRES
49681 WINDRES
="$ac_cv_prog_WINDRES"
49686 *-*-darwin* | powerpc
-apple-macos* )
49687 # Extract the first word of "Rez", so it can be a program name with args.
49688 set dummy Rez
; ac_word
=$2
49689 echo "$as_me:$LINENO: checking for $ac_word" >&5
49690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49691 if test "${ac_cv_prog_REZ+set}" = set; then
49692 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 if test -n "$REZ"; then
49695 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49698 for as_dir
in $PATH
49701 test -z "$as_dir" && as_dir
=.
49702 for ac_exec_ext
in '' $ac_executable_extensions; do
49703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49704 ac_cv_prog_REZ
="Rez"
49705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49711 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49714 REZ
=$ac_cv_prog_REZ
49715 if test -n "$REZ"; then
49716 echo "$as_me:$LINENO: result: $REZ" >&5
49717 echo "${ECHO_T}$REZ" >&6
49719 echo "$as_me:$LINENO: result: no" >&5
49720 echo "${ECHO_T}no" >&6
49723 # Extract the first word of "SetFile", so it can be a program name with args.
49724 set dummy SetFile
; ac_word
=$2
49725 echo "$as_me:$LINENO: checking for $ac_word" >&5
49726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49727 if test "${ac_cv_prog_SETFILE+set}" = set; then
49728 echo $ECHO_N "(cached) $ECHO_C" >&6
49730 if test -n "$SETFILE"; then
49731 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49734 for as_dir
in $PATH
49737 test -z "$as_dir" && as_dir
=.
49738 for ac_exec_ext
in '' $ac_executable_extensions; do
49739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49740 ac_cv_prog_SETFILE
="SetFile"
49741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49747 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49750 SETFILE
=$ac_cv_prog_SETFILE
49751 if test -n "$SETFILE"; then
49752 echo "$as_me:$LINENO: result: $SETFILE" >&5
49753 echo "${ECHO_T}$SETFILE" >&6
49755 echo "$as_me:$LINENO: result: no" >&5
49756 echo "${ECHO_T}no" >&6
49767 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49770 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49774 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49775 if test "${enable_precomp_headers+set}" = set; then
49776 enableval
="$enable_precomp_headers"
49777 bk_use_pch
="$enableval"
49785 case ${BAKEFILE_HOST} in
49791 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49792 if test "x$GCC" = "xyes"; then
49793 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49794 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49795 cat >conftest.
$ac_ext <<_ACEOF
49798 cat confdefs.h
>>conftest.
$ac_ext
49799 cat >>conftest.
$ac_ext <<_ACEOF
49800 /* end confdefs.h. */
49806 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49807 There is no PCH support
49810 There is no PCH support
49812 #if (__GNUC__ == 3) && \
49813 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49814 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49815 ( defined(__INTEL_COMPILER) )
49816 There is no PCH support
49823 rm -f conftest.
$ac_objext
49824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49825 (eval $ac_compile) 2>conftest.er1
49827 grep -v '^ *+' conftest.er1
>conftest.err
49829 cat conftest.err
>&5
49830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831 (exit $ac_status); } &&
49832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49834 (eval $ac_try) 2>&5
49836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837 (exit $ac_status); }; } &&
49838 { ac_try
='test -s conftest.$ac_objext'
49839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49840 (eval $ac_try) 2>&5
49842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49843 (exit $ac_status); }; }; then
49845 echo "$as_me:$LINENO: result: yes" >&5
49846 echo "${ECHO_T}yes" >&6
49850 echo "$as_me: failed program was:" >&5
49851 sed 's/^/| /' conftest.
$ac_ext >&5
49854 cat >conftest.
$ac_ext <<_ACEOF
49857 cat confdefs.h
>>conftest.
$ac_ext
49858 cat >>conftest.
$ac_ext <<_ACEOF
49859 /* end confdefs.h. */
49865 #if !defined(__INTEL_COMPILER) || \
49866 (__INTEL_COMPILER < 800)
49867 There is no PCH support
49874 rm -f conftest.
$ac_objext
49875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49876 (eval $ac_compile) 2>conftest.er1
49878 grep -v '^ *+' conftest.er1
>conftest.err
49880 cat conftest.err
>&5
49881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49882 (exit $ac_status); } &&
49883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49885 (eval $ac_try) 2>&5
49887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49888 (exit $ac_status); }; } &&
49889 { ac_try
='test -s conftest.$ac_objext'
49890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49891 (eval $ac_try) 2>&5
49893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49894 (exit $ac_status); }; }; then
49896 echo "$as_me:$LINENO: result: yes" >&5
49897 echo "${ECHO_T}yes" >&6
49901 echo "$as_me: failed program was:" >&5
49902 sed 's/^/| /' conftest.
$ac_ext >&5
49905 echo "$as_me:$LINENO: result: no" >&5
49906 echo "${ECHO_T}no" >&6
49909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49913 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49917 cat <<EOF >bk-make-pch
49920 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49921 # script. It is used to generated precompiled headers.
49923 # Permission is given to use this file in any way.
49933 while test ${D}{#} -gt 0; do
49937 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49938 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49939 headerfile="${D}{incdir}/${D}{header}"
49942 -use-pch|-use_pch )
49947 if test ${D}add_to_cmdline = 1 ; then
49948 compiler="${D}{compiler} ${D}{1}"
49953 if test "x${D}{headerfile}" = "x" ; then
49954 echo "error: can't find header ${D}{header} in include paths" >&2
49956 if test -f ${D}{outfile} ; then
49957 rm -f ${D}{outfile}
49959 mkdir -p \`dirname ${D}{outfile}\`
49961 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49963 if test "x${GCC_PCH}" = "x1" ; then
49964 # can do this because gcc is >= 3.4:
49965 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49966 elif test "x${ICC_PCH}" = "x1" ; then
49967 filename=pch_gen-${D}${D}
49968 file=${D}{filename}.c
49969 dfile=${D}{filename}.d
49970 cat > ${D}file <<EOT
49971 #include "${D}header"
49973 # using -MF icc complains about differing command lines in creation/use
49974 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49975 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49976 rm -f ${D}file ${D}dfile ${D}{filename}.o
49982 chmod +x bk
-make-pch
49983 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49992 COND_BUILD_DEBUG
="#"
49993 if test "x$BUILD" = "xdebug" ; then
49994 COND_BUILD_DEBUG
=""
49997 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49998 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49999 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
50002 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
50003 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50004 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
50007 COND_BUILD_DEBUG_UNICODE_0
="#"
50008 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50009 COND_BUILD_DEBUG_UNICODE_0
=""
50012 COND_BUILD_DEBUG_UNICODE_1
="#"
50013 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50014 COND_BUILD_DEBUG_UNICODE_1
=""
50017 COND_BUILD_RELEASE
="#"
50018 if test "x$BUILD" = "xrelease" ; then
50019 COND_BUILD_RELEASE
=""
50022 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
50023 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50024 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
50027 COND_BUILD_RELEASE_UNICODE_0
="#"
50028 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50029 COND_BUILD_RELEASE_UNICODE_0
=""
50032 COND_BUILD_RELEASE_UNICODE_1
="#"
50033 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50034 COND_BUILD_RELEASE_UNICODE_1
=""
50037 COND_DEBUG_FLAG_1
="#"
50038 if test "x$DEBUG_FLAG" = "x1" ; then
50039 COND_DEBUG_FLAG_1
=""
50042 COND_DEBUG_INFO_0
="#"
50043 if test "x$DEBUG_INFO" = "x0" ; then
50044 COND_DEBUG_INFO_0
=""
50047 COND_DEBUG_INFO_1
="#"
50048 if test "x$DEBUG_INFO" = "x1" ; then
50049 COND_DEBUG_INFO_1
=""
50052 COND_DEPS_TRACKING_0
="#"
50053 if test "x$DEPS_TRACKING" = "x0" ; then
50054 COND_DEPS_TRACKING_0
=""
50057 COND_DEPS_TRACKING_1
="#"
50058 if test "x$DEPS_TRACKING" = "x1" ; then
50059 COND_DEPS_TRACKING_1
=""
50063 if test "x$GCC_PCH" = "x1" ; then
50068 if test "x$ICC_PCH" = "x1" ; then
50072 COND_MONOLITHIC_0
="#"
50073 if test "x$MONOLITHIC" = "x0" ; then
50074 COND_MONOLITHIC_0
=""
50077 COND_MONOLITHIC_0_SHARED_0
="#"
50078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50079 COND_MONOLITHIC_0_SHARED_0
=""
50082 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50084 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
50103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
50107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50112 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
50113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50114 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
50117 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50119 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50122 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50124 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50127 COND_MONOLITHIC_0_SHARED_1
="#"
50128 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50129 COND_MONOLITHIC_0_SHARED_1
=""
50132 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50133 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50134 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50138 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50144 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
50153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
50157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50159 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50162 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
50163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50164 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50167 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50169 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50172 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50173 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50174 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50177 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50178 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50179 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50182 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50183 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50184 COND_MONOLITHIC_0_USE_ODBC_1
=""
50187 COND_MONOLITHIC_1
="#"
50188 if test "x$MONOLITHIC" = "x1" ; then
50189 COND_MONOLITHIC_1
=""
50192 COND_MONOLITHIC_1_SHARED_0
="#"
50193 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50194 COND_MONOLITHIC_1_SHARED_0
=""
50197 COND_MONOLITHIC_1_SHARED_1
="#"
50198 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50199 COND_MONOLITHIC_1_SHARED_1
=""
50202 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50203 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50204 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50207 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50208 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50209 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50212 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50213 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50214 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50217 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50218 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50219 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50222 COND_PLATFORM_MACOSX_1
="#"
50223 if test "x$PLATFORM_MACOSX" = "x1" ; then
50224 COND_PLATFORM_MACOSX_1
=""
50227 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
50228 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50229 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
50232 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50233 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50234 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50237 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50238 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50239 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50242 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50243 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50244 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50247 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50248 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50249 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50252 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50253 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50254 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50257 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50258 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50259 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50262 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50263 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50264 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50267 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50268 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50269 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50272 COND_PLATFORM_MACOS_1
="#"
50273 if test "x$PLATFORM_MACOS" = "x1" ; then
50274 COND_PLATFORM_MACOS_1
=""
50277 COND_PLATFORM_MAC_1
="#"
50278 if test "x$PLATFORM_MAC" = "x1" ; then
50279 COND_PLATFORM_MAC_1
=""
50282 COND_PLATFORM_MSDOS_0
="#"
50283 if test "x$PLATFORM_MSDOS" = "x0" ; then
50284 COND_PLATFORM_MSDOS_0
=""
50287 COND_PLATFORM_MSDOS_1
="#"
50288 if test "x$PLATFORM_MSDOS" = "x1" ; then
50289 COND_PLATFORM_MSDOS_1
=""
50292 COND_PLATFORM_OS2_1
="#"
50293 if test "x$PLATFORM_OS2" = "x1" ; then
50294 COND_PLATFORM_OS2_1
=""
50297 COND_PLATFORM_UNIX_0
="#"
50298 if test "x$PLATFORM_UNIX" = "x0" ; then
50299 COND_PLATFORM_UNIX_0
=""
50302 COND_PLATFORM_UNIX_1
="#"
50303 if test "x$PLATFORM_UNIX" = "x1" ; then
50304 COND_PLATFORM_UNIX_1
=""
50307 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50308 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50309 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50312 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50313 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50314 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50317 COND_PLATFORM_WIN32_0
="#"
50318 if test "x$PLATFORM_WIN32" = "x0" ; then
50319 COND_PLATFORM_WIN32_0
=""
50322 COND_PLATFORM_WIN32_1
="#"
50323 if test "x$PLATFORM_WIN32" = "x1" ; then
50324 COND_PLATFORM_WIN32_1
=""
50328 if test "x$SHARED" = "x0" ; then
50332 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50333 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50334 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50337 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50338 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50339 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50342 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50343 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50344 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50347 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50348 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50349 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50352 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50353 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50359 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50367 COND_SHARED_0_USE_XRC_1
="#"
50368 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50369 COND_SHARED_0_USE_XRC_1
=""
50372 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50373 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50374 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50377 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50378 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50379 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50382 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50383 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50384 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50387 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50388 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50389 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50393 if test "x$SHARED" = "x1" ; then
50397 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50398 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50399 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50402 COND_SHARED_1_USE_XRC_1
="#"
50403 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50404 COND_SHARED_1_USE_XRC_1
=""
50408 if test "x$TOOLKIT" = "x" ; then
50412 COND_TOOLKIT_COCOA
="#"
50413 if test "x$TOOLKIT" = "xCOCOA" ; then
50414 COND_TOOLKIT_COCOA
=""
50417 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50418 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50419 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50422 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50423 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50424 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50427 COND_TOOLKIT_DFB
="#"
50428 if test "x$TOOLKIT" = "xDFB" ; then
50429 COND_TOOLKIT_DFB
=""
50432 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50433 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50434 COND_TOOLKIT_DFB_USE_GUI_1
=""
50437 COND_TOOLKIT_GTK
="#"
50438 if test "x$TOOLKIT" = "xGTK" ; then
50439 COND_TOOLKIT_GTK
=""
50442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50443 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50444 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50448 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50449 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50453 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50454 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50458 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50459 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50463 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50468 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50469 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50472 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50473 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50474 COND_TOOLKIT_GTK_USE_GUI_1
=""
50477 COND_TOOLKIT_MAC
="#"
50478 if test "x$TOOLKIT" = "xMAC" ; then
50479 COND_TOOLKIT_MAC
=""
50482 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50483 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50484 COND_TOOLKIT_MAC_USE_GUI_1
=""
50487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50488 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50489 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50492 COND_TOOLKIT_MGL
="#"
50493 if test "x$TOOLKIT" = "xMGL" ; then
50494 COND_TOOLKIT_MGL
=""
50497 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50498 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50499 COND_TOOLKIT_MGL_USE_GUI_1
=""
50502 COND_TOOLKIT_MOTIF
="#"
50503 if test "x$TOOLKIT" = "xMOTIF" ; then
50504 COND_TOOLKIT_MOTIF
=""
50507 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50508 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50509 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50513 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50517 COND_TOOLKIT_MSW
="#"
50518 if test "x$TOOLKIT" = "xMSW" ; then
50519 COND_TOOLKIT_MSW
=""
50522 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50523 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50524 COND_TOOLKIT_MSW_USE_GUI_1
=""
50527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50528 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50529 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50532 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50533 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50534 COND_TOOLKIT_MSW_WXUNIV_0
=""
50537 COND_TOOLKIT_PM
="#"
50538 if test "x$TOOLKIT" = "xPM" ; then
50542 COND_TOOLKIT_PM_USE_GUI_1
="#"
50543 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50544 COND_TOOLKIT_PM_USE_GUI_1
=""
50547 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50548 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50549 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50552 COND_TOOLKIT_WINCE
="#"
50553 if test "x$TOOLKIT" = "xWINCE" ; then
50554 COND_TOOLKIT_WINCE
=""
50557 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50558 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50559 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50562 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50563 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50564 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50567 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50568 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50569 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50572 COND_TOOLKIT_X11
="#"
50573 if test "x$TOOLKIT" = "xX11" ; then
50574 COND_TOOLKIT_X11
=""
50577 COND_TOOLKIT_X11_USE_GUI_1
="#"
50578 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50579 COND_TOOLKIT_X11_USE_GUI_1
=""
50583 if test "x$UNICODE" = "x1" ; then
50587 COND_USE_EXCEPTIONS_0
="#"
50588 if test "x$USE_EXCEPTIONS" = "x0" ; then
50589 COND_USE_EXCEPTIONS_0
=""
50592 COND_USE_EXCEPTIONS_1
="#"
50593 if test "x$USE_EXCEPTIONS" = "x1" ; then
50594 COND_USE_EXCEPTIONS_1
=""
50598 if test "x$USE_GUI" = "x0" ; then
50603 if test "x$USE_GUI" = "x1" ; then
50607 COND_USE_GUI_1_WXUNIV_0
="#"
50608 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50609 COND_USE_GUI_1_WXUNIV_0
=""
50612 COND_USE_GUI_1_WXUNIV_1
="#"
50613 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50614 COND_USE_GUI_1_WXUNIV_1
=""
50617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50618 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50619 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50623 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50624 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50628 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50629 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50632 COND_USE_ODBC_1
="#"
50633 if test "x$USE_ODBC" = "x1" ; then
50637 COND_USE_OPENGL_1
="#"
50638 if test "x$USE_OPENGL" = "x1" ; then
50639 COND_USE_OPENGL_1
=""
50643 if test "x$USE_PCH" = "x1" ; then
50647 COND_USE_PLUGINS_0
="#"
50648 if test "x$USE_PLUGINS" = "x0" ; then
50649 COND_USE_PLUGINS_0
=""
50652 COND_USE_RTTI_0
="#"
50653 if test "x$USE_RTTI" = "x0" ; then
50657 COND_USE_RTTI_1
="#"
50658 if test "x$USE_RTTI" = "x1" ; then
50662 COND_USE_SOSYMLINKS_1
="#"
50663 if test "x$USE_SOSYMLINKS" = "x1" ; then
50664 COND_USE_SOSYMLINKS_1
=""
50667 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50668 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50669 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50672 COND_USE_SOVERLINUX_1
="#"
50673 if test "x$USE_SOVERLINUX" = "x1" ; then
50674 COND_USE_SOVERLINUX_1
=""
50677 COND_USE_SOVERSION_0
="#"
50678 if test "x$USE_SOVERSION" = "x0" ; then
50679 COND_USE_SOVERSION_0
=""
50682 COND_USE_SOVERSOLARIS_1
="#"
50683 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50684 COND_USE_SOVERSOLARIS_1
=""
50687 COND_USE_THREADS_0
="#"
50688 if test "x$USE_THREADS" = "x0" ; then
50689 COND_USE_THREADS_0
=""
50692 COND_USE_THREADS_1
="#"
50693 if test "x$USE_THREADS" = "x1" ; then
50694 COND_USE_THREADS_1
=""
50698 if test "x$USE_XRC" = "x1" ; then
50702 COND_WINDOWS_IMPLIB_1
="#"
50703 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50704 COND_WINDOWS_IMPLIB_1
=""
50707 COND_WITH_PLUGIN_SDL_1
="#"
50708 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50709 COND_WITH_PLUGIN_SDL_1
=""
50713 if test "x$WXUNIV" = "x0" ; then
50718 if test "x$WXUNIV" = "x1" ; then
50722 COND_WXUSE_EXPAT_BUILTIN
="#"
50723 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50724 COND_WXUSE_EXPAT_BUILTIN
=""
50727 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50728 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50729 COND_WXUSE_LIBJPEG_BUILTIN
=""
50732 COND_WXUSE_LIBPNG_BUILTIN
="#"
50733 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50734 COND_WXUSE_LIBPNG_BUILTIN
=""
50737 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50738 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50739 COND_WXUSE_LIBTIFF_BUILTIN
=""
50742 COND_WXUSE_ODBC_BUILTIN
="#"
50743 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50744 COND_WXUSE_ODBC_BUILTIN
=""
50747 COND_WXUSE_REGEX_BUILTIN
="#"
50748 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50749 COND_WXUSE_REGEX_BUILTIN
=""
50752 COND_WXUSE_ZLIB_BUILTIN
="#"
50753 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50754 COND_WXUSE_ZLIB_BUILTIN
=""
50759 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50760 { { 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
50761 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;}
50762 { (exit 1); exit 1; }; }
50765 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50766 { { 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
50767 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;}
50768 { (exit 1); exit 1; }; }
50772 if test $GCC_PCH = 1
50774 if test "$wx_cv_gcc_pch_bug" = yes; then
50775 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50776 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50777 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50778 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50779 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50780 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50783 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50787 if test "$wxUSE_MAC" = 1 ; then
50788 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50789 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50795 if test "$wxUSE_SHARED" = "yes"; then
50797 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50798 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50801 *-pc-os2_emx | *-pc-os2-emx )
50802 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50803 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50804 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50805 cp -p ${srcdir}/src
/os
2/dllar.sh .
50810 EXE_LINKER
="$CXX -o"
50813 if test "$wxUSE_OMF" = "yes"; then
50815 *-pc-os2_emx | *-pc-os2-emx )
50816 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50817 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50818 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50823 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50825 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50887 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50888 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50889 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50890 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50891 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 cat >conftest.
make <<\_ACEOF
50895 @
echo 'ac_maketemp="$(MAKE)"'
50897 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50898 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50899 if test -n "$ac_maketemp"; then
50900 eval ac_cv_prog_make_
${ac_make}_set
=yes
50902 eval ac_cv_prog_make_
${ac_make}_set
=no
50904 rm -f conftest.
make
50906 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50907 echo "$as_me:$LINENO: result: yes" >&5
50908 echo "${ECHO_T}yes" >&6
50911 echo "$as_me:$LINENO: result: no" >&5
50912 echo "${ECHO_T}no" >&6
50913 SET_MAKE
="MAKE=${MAKE-make}"
50918 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50921 if test "$USE_WIN32" = 1; then
50922 ac_config_commands
="$ac_config_commands
50928 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50931 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50934 ac_config_files
="$ac_config_files version-script Makefile"
50937 ac_config_commands
="$ac_config_commands wx-config"
50941 if test "$wxWITH_SUBDIRS" != "no"; then
50942 if test "$wxUSE_GUI" = "yes"; then
50943 SUBDIRS
="samples demos utils contrib"
50944 else SUBDIRS
="samples utils"
50949 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50950 if test "${with_cppunit_prefix+set}" = set; then
50951 withval
="$with_cppunit_prefix"
50952 cppunit_config_prefix
="$withval"
50954 cppunit_config_prefix
=""
50957 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50958 if test "${with_cppunit_exec_prefix+set}" = set; then
50959 withval
="$with_cppunit_exec_prefix"
50960 cppunit_config_exec_prefix
="$withval"
50962 cppunit_config_exec_prefix
=""
50965 if test x
$cppunit_config_exec_prefix != x
; then
50966 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50967 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50968 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50971 if test x
$cppunit_config_prefix != x
; then
50972 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50973 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50974 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50978 # Extract the first word of "cppunit-config", so it can be a program name with args.
50979 set dummy cppunit
-config; ac_word
=$2
50980 echo "$as_me:$LINENO: checking for $ac_word" >&5
50981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50982 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50983 echo $ECHO_N "(cached) $ECHO_C" >&6
50985 case $CPPUNIT_CONFIG in
50987 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50991 for as_dir
in $PATH
50994 test -z "$as_dir" && as_dir
=.
50995 for ac_exec_ext
in '' $ac_executable_extensions; do
50996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50997 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51004 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51008 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51010 if test -n "$CPPUNIT_CONFIG"; then
51011 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51012 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51014 echo "$as_me:$LINENO: result: no" >&5
51015 echo "${ECHO_T}no" >&6
51018 cppunit_version_min
=1.8.0
51020 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51021 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51023 if test "$CPPUNIT_CONFIG" = "no" ; then
51024 echo "$as_me:$LINENO: result: no" >&5
51025 echo "${ECHO_T}no" >&6
51028 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51029 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51030 cppunit_version
=`$CPPUNIT_CONFIG --version`
51032 cppunit_major_version
=`echo $cppunit_version | \
51033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51034 cppunit_minor_version
=`echo $cppunit_version | \
51035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51036 cppunit_micro_version
=`echo $cppunit_version | \
51037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51039 cppunit_major_min
=`echo $cppunit_version_min | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51041 cppunit_minor_min
=`echo $cppunit_version_min | \
51042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51043 cppunit_micro_min
=`echo $cppunit_version_min | \
51044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51046 cppunit_version_proper
=`expr \
51047 $cppunit_major_version \> $cppunit_major_min \| \
51048 $cppunit_major_version \= $cppunit_major_min \& \
51049 $cppunit_minor_version \> $cppunit_minor_min \| \
51050 $cppunit_major_version \= $cppunit_major_min \& \
51051 $cppunit_minor_version \= $cppunit_minor_min \& \
51052 $cppunit_micro_version \>= $cppunit_micro_min `
51054 if test "$cppunit_version_proper" = "1" ; then
51055 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51056 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51058 echo "$as_me:$LINENO: result: no" >&5
51059 echo "${ECHO_T}no" >&6
51064 if test "x$no_cppunit" = x
; then
51065 SUBDIRS
="$SUBDIRS tests"
51076 for subdir
in `echo $SUBDIRS`; do
51077 if test -d ${srcdir}/${subdir} ; then
51078 if test "$wxUSE_GUI" = "yes"; then
51079 if test ${subdir} = "samples"; then
51080 makefiles
="samples/Makefile.in $makefiles"
51081 for sample
in `echo $SAMPLES_SUBDIRS`; do
51082 if test -d $srcdir/samples
/$sample; then
51083 makefiles
="samples/$sample/Makefile.in $makefiles"
51087 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
51088 eval "disabled=\$$disabled_var"
51089 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51090 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51092 else if test ${subdir} = "samples"; then
51093 makefiles
="samples/Makefile.in samples/console/Makefile.in"
51094 elif test ${subdir} = "utils"; then
51096 for util
in HelpGen tex2rtf
; do
51097 if test -d $srcdir/utils
/$util ; then
51098 makefiles
="utils/$util/Makefile.in \
51099 utils/$util/src/Makefile.in \
51103 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51107 for mkin
in $makefiles ; do
51108 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51109 ac_config_files
="$ac_config_files $mk"
51115 cat >confcache
<<\_ACEOF
51116 # This file is a shell script that caches the results of configure
51117 # tests run on this system so they can be shared between configure
51118 # scripts and configure runs, see configure's option --config-cache.
51119 # It is not useful on other systems. If it contains results you don't
51120 # want to keep, you may remove or edit it.
51122 # config.status only pays attention to the cache file if you give it
51123 # the --recheck option to rerun configure.
51125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51127 # following values.
51131 # The following way of writing the cache mishandles newlines in values,
51132 # but we know of no workaround that is simple, portable, and efficient.
51133 # So, don't put newlines in cache variables' values.
51134 # Ultrix sh set writes to stderr and can't be redirected directly,
51135 # and sets the high bit in the cache file unless we assign to the vars.
51138 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51140 # `set' does not quote correctly, so add quotes (double-quote
51141 # substitution turns \\\\ into \\, and sed turns \\ into \).
51144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51147 # `set' quotes correctly as required by POSIX, so do not add quotes.
51149 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51158 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51160 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
51161 if test -w $cache_file; then
51162 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51163 cat confcache
>$cache_file
51165 echo "not updating unwritable cache $cache_file"
51170 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51171 # Let make expand exec_prefix.
51172 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51174 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51175 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51176 # trailing colons and then remove the whole line if VPATH becomes empty
51177 # (actually we leave an empty line to preserve line numbers).
51178 if test "x$srcdir" = x.
; then
51179 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51180 s/:*\$(srcdir):*/:/;
51181 s/:*\${srcdir}:*/:/;
51183 s/^\([^=]*=[ ]*\):*/\1/;
51189 DEFS
=-DHAVE_CONFIG_H
51193 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51194 # 1. Remove the extension, and $U if already installed.
51195 ac_i
=`echo "$ac_i" |
51196 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51198 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
51199 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
51201 LIBOBJS
=$ac_libobjs
51203 LTLIBOBJS
=$ac_ltlibobjs
51207 : ${CONFIG_STATUS=./config.status}
51208 ac_clean_files_save
=$ac_clean_files
51209 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51210 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51211 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51212 cat >$CONFIG_STATUS <<_ACEOF
51214 # Generated by $as_me.
51215 # Run this file to recreate the current configuration.
51216 # Compiler output produced by configure, useful for debugging
51217 # configure, is in config.log if it exists.
51220 ac_cs_recheck=false
51222 SHELL=\${CONFIG_SHELL-$SHELL}
51225 cat >>$CONFIG_STATUS <<\_ACEOF
51226 ## --------------------- ##
51227 ## M4sh Initialization. ##
51228 ## --------------------- ##
51230 # Be Bourne compatible
51231 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51234 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51235 # is contrary to our usage. Disable this feature.
51236 alias -g '${1+"$@"}'='"$@"'
51237 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51240 DUALCASE
=1; export DUALCASE
# for MKS sh
51242 # Support unset when possible.
51243 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51250 # Work around bugs in pre-3.0 UWIN ksh.
51251 $as_unset ENV MAIL MAILPATH
51258 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51259 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51260 LC_TELEPHONE LC_TIME
51262 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51263 eval $as_var=C
; export $as_var
51269 # Required to use basename.
51270 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51276 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51277 as_basename
=basename
51283 # Name of the executable.
51284 as_me
=`$as_basename "$0" ||
51285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51286 X"$0" : 'X\(//\)$' \| \
51287 X"$0" : 'X\(/\)$' \| \
51288 . : '\(.\)' 2>/dev/null ||
51290 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51291 /^X\/\(\/\/\)$/{ s//\1/; q; }
51292 /^X\/\(\/\).*/{ s//\1/; q; }
51296 # PATH needs CR, and LINENO needs CR and PATH.
51297 # Avoid depending upon Character Ranges.
51298 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51299 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51300 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51301 as_cr_digits
='0123456789'
51302 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51304 # The user is always right.
51305 if test "${PATH_SEPARATOR+set}" != set; then
51306 echo "#! /bin/sh" >conf$$.sh
51307 echo "exit 0" >>conf$$.sh
51309 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51318 as_lineno_1
=$LINENO
51319 as_lineno_2
=$LINENO
51320 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51321 test "x$as_lineno_1" != "x$as_lineno_2" &&
51322 test "x$as_lineno_3" = "x$as_lineno_2" || {
51323 # Find who we are. Look in the path if we contain no path at all
51326 *[\\/]* ) as_myself
=$0 ;;
51327 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51328 for as_dir
in $PATH
51331 test -z "$as_dir" && as_dir
=.
51332 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51337 # We did not find ourselves, most probably we were run as `sh COMMAND'
51338 # in which case we are not to be found in the path.
51339 if test "x$as_myself" = x
; then
51342 if test ! -f "$as_myself"; then
51343 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51344 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51345 { (exit 1); exit 1; }; }
51347 case $CONFIG_SHELL in
51349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51350 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51353 test -z "$as_dir" && as_dir
=.
51354 for as_base
in sh bash ksh sh5
; do
51357 if ("$as_dir/$as_base" -c '
51358 as_lineno_1=$LINENO
51359 as_lineno_2=$LINENO
51360 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51361 test "x$as_lineno_1" != "x$as_lineno_2" &&
51362 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51363 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51364 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51365 CONFIG_SHELL
=$as_dir/$as_base
51366 export CONFIG_SHELL
51367 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51375 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51376 # uniformly replaced by the line number. The first 'sed' inserts a
51377 # line-number line before each line; the second 'sed' does the real
51378 # work. The second script uses 'N' to pair each line-number line
51379 # with the numbered line, and appends trailing '-' during
51380 # substitution so that $LINENO is not a special case at line end.
51381 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51382 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51383 sed '=' <$as_myself |
51388 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51391 s,^['$as_cr_digits']*\n,,
51392 ' >$as_me.lineno
&&
51393 chmod +x
$as_me.lineno
||
51394 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51395 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51396 { (exit 1); exit 1; }; }
51398 # Don't try to exec as it changes $[0], causing all sort of problems
51399 # (the dirname of $[0] is not the place where we might find the
51400 # original and so on. Autoconf is especially sensible to this).
51402 # Exit status is that of the last command.
51407 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51408 *c
*,-n*) ECHO_N
= ECHO_C
='
51410 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51411 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51414 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51420 rm -f conf$$ conf$$.exe conf$$.
file
51422 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51423 # We could just check for DJGPP; but this test a) works b) is more generic
51424 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51425 if test -f conf$$.exe
; then
51426 # Don't use ln at all; we don't have any links
51431 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51436 rm -f conf$$ conf$$.exe conf$$.
file
51438 if mkdir -p .
2>/dev
/null
; then
51441 test -d .
/-p && rmdir .
/-p
51445 as_executable_p
="test -f"
51447 # Sed expression to map a string onto a valid CPP name.
51448 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51450 # Sed expression to map a string onto a valid variable name.
51451 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51455 # We need space, tab and new line, in precisely that order.
51465 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51466 # report actual input values of CONFIG_FILES etc. instead of their
51467 # values after options handling. Logging --version etc. is OK.
51471 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51472 ## Running $as_me. ##
51477 This file was extended by wxWidgets $as_me 2.7.1, which was
51478 generated by GNU Autoconf 2.59. Invocation command line was
51480 CONFIG_FILES = $CONFIG_FILES
51481 CONFIG_HEADERS = $CONFIG_HEADERS
51482 CONFIG_LINKS = $CONFIG_LINKS
51483 CONFIG_COMMANDS = $CONFIG_COMMANDS
51487 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51491 # Files that config.status was made for.
51492 if test -n "$ac_config_files"; then
51493 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51496 if test -n "$ac_config_headers"; then
51497 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51500 if test -n "$ac_config_links"; then
51501 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51504 if test -n "$ac_config_commands"; then
51505 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51508 cat >>$CONFIG_STATUS <<\_ACEOF
51511 \`$as_me' instantiates files from templates according to the
51512 current configuration.
51514 Usage: $0 [OPTIONS] [FILE]...
51516 -h, --help print this help, then exit
51517 -V, --version print version number, then exit
51518 -q, --quiet do not print progress messages
51519 -d, --debug don't remove temporary files
51520 --recheck update $as_me by reconfiguring in the same conditions
51521 --file=FILE[:TEMPLATE]
51522 instantiate the configuration file FILE
51523 --header=FILE[:TEMPLATE]
51524 instantiate the configuration header FILE
51526 Configuration files:
51529 Configuration headers:
51532 Configuration commands:
51535 Report bugs to <bug-autoconf@gnu.org>."
51538 cat >>$CONFIG_STATUS <<_ACEOF
51540 wxWidgets config.status 2.7.1
51541 configured by $0, generated by GNU Autoconf 2.59,
51542 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51544 Copyright (C) 2003 Free Software Foundation, Inc.
51545 This config.status script is free software; the Free Software Foundation
51546 gives unlimited permission to copy, distribute and modify it."
51551 cat >>$CONFIG_STATUS <<\_ACEOF
51552 # If no file are specified by the user, then we need to provide default
51553 # value. By we need to know if files were specified by the user.
51559 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51560 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51568 *) # This is not an option, so the user has probably given explicit
51571 ac_need_defaults
=false
;;
51575 # Handling of the options.
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51580 --version | --vers* | -V )
51581 echo "$ac_cs_version"; exit 0 ;;
51583 # Conflict between --help and --header
51584 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51585 Try \`$0 --help' for more information." >&5
51586 echo "$as_me: error: ambiguous option: $1
51587 Try \`$0 --help' for more information." >&2;}
51588 { (exit 1); exit 1; }; };;
51589 --help | --hel | -h )
51590 echo "$ac_cs_usage"; exit 0 ;;
51591 --debug | --d* | -d )
51593 --file | --fil | --fi | --f )
51595 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51596 ac_need_defaults
=false
;;
51597 --header | --heade | --head | --hea )
51599 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51600 ac_need_defaults
=false
;;
51601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51602 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51605 # This is an error.
51606 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51607 Try \`$0 --help' for more information." >&5
51608 echo "$as_me: error: unrecognized option: $1
51609 Try \`$0 --help' for more information." >&2;}
51610 { (exit 1); exit 1; }; } ;;
51612 *) ac_config_targets
="$ac_config_targets $1" ;;
51618 ac_configure_extra_args
=
51620 if $ac_cs_silent; then
51622 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51626 cat >>$CONFIG_STATUS <<_ACEOF
51627 if \$ac_cs_recheck; then
51628 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51629 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51634 cat >>$CONFIG_STATUS <<_ACEOF
51636 # INIT-COMMANDS section.
51641 infile="$srcdir/include/wx/msw/genrcdefs.h"
51642 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51645 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51646 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51647 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51655 cat >>$CONFIG_STATUS <<\_ACEOF
51656 for ac_config_target
in $ac_config_targets
51658 case "$ac_config_target" in
51659 # Handling of arguments.
51660 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51661 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51662 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51663 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51664 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51665 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51666 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51667 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51668 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51669 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51670 { (exit 1); exit 1; }; };;
51674 # If the user did not use the arguments to specify the items to instantiate,
51675 # then the envvar interface is used. Set only those that are not.
51676 # We use the long form for the default assignment because of an extremely
51677 # bizarre bug on SunOS 4.1.3.
51678 if $ac_need_defaults; then
51679 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51680 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51681 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51684 # Have a temporary directory for convenience. Make it in the build tree
51685 # simply because there is no reason to put it here, and in addition,
51686 # creating and moving files from /tmp can sometimes cause problems.
51687 # Create a temporary directory, and hook for its removal unless debugging.
51690 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51691 trap '{ (exit 1); exit 1; }' 1 2 13 15
51694 # Create a (secure) tmp directory for tmp files.
51697 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51698 test -n "$tmp" && test -d "$tmp"
51701 tmp
=.
/confstat$$
-$RANDOM
51702 (umask 077 && mkdir $tmp)
51705 echo "$me: cannot create a temporary directory in ." >&2
51706 { (exit 1); exit 1; }
51711 cat >>$CONFIG_STATUS <<_ACEOF
51714 # CONFIG_FILES section.
51717 # No need to generate the scripts if there are no CONFIG_FILES.
51718 # This happens for instance when ./config.status config.h
51719 if test -n "\$CONFIG_FILES"; then
51720 # Protect against being on the right side of a sed subst in config.status.
51721 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51722 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51723 s,@SHELL@,$SHELL,;t t
51724 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51725 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51726 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51727 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51728 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51729 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51730 s,@exec_prefix@,$exec_prefix,;t t
51731 s,@prefix@,$prefix,;t t
51732 s,@program_transform_name@,$program_transform_name,;t t
51733 s,@bindir@,$bindir,;t t
51734 s,@sbindir@,$sbindir,;t t
51735 s,@libexecdir@,$libexecdir,;t t
51736 s,@datadir@,$datadir,;t t
51737 s,@sysconfdir@,$sysconfdir,;t t
51738 s,@sharedstatedir@,$sharedstatedir,;t t
51739 s,@localstatedir@,$localstatedir,;t t
51740 s,@libdir@,$libdir,;t t
51741 s,@includedir@,$includedir,;t t
51742 s,@oldincludedir@,$oldincludedir,;t t
51743 s,@infodir@,$infodir,;t t
51744 s,@mandir@,$mandir,;t t
51745 s,@build_alias@,$build_alias,;t t
51746 s,@host_alias@,$host_alias,;t t
51747 s,@target_alias@,$target_alias,;t t
51748 s,@DEFS@,$DEFS,;t t
51749 s,@ECHO_C@,$ECHO_C,;t t
51750 s,@ECHO_N@,$ECHO_N,;t t
51751 s,@ECHO_T@,$ECHO_T,;t t
51752 s,@LIBS@,$LIBS,;t t
51753 s,@build@,$build,;t t
51754 s,@build_cpu@,$build_cpu,;t t
51755 s,@build_vendor@,$build_vendor,;t t
51756 s,@build_os@,$build_os,;t t
51757 s,@host@,$host,;t t
51758 s,@host_cpu@,$host_cpu,;t t
51759 s,@host_vendor@,$host_vendor,;t t
51760 s,@host_os@,$host_os,;t t
51761 s,@target@,$target,;t t
51762 s,@target_cpu@,$target_cpu,;t t
51763 s,@target_vendor@,$target_vendor,;t t
51764 s,@target_os@,$target_os,;t t
51765 s,@wx_top_builddir@,$wx_top_builddir,;t t
51767 s,@CFLAGS@,$CFLAGS,;t t
51768 s,@LDFLAGS@,$LDFLAGS,;t t
51769 s,@CPPFLAGS@,$CPPFLAGS,;t t
51770 s,@ac_ct_CC@,$ac_ct_CC,;t t
51771 s,@EXEEXT@,$EXEEXT,;t t
51772 s,@OBJEXT@,$OBJEXT,;t t
51774 s,@EGREP@,$EGREP,;t t
51776 s,@CXXFLAGS@,$CXXFLAGS,;t t
51777 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51778 s,@RANLIB@,$RANLIB,;t t
51779 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51781 s,@ac_ct_AR@,$ac_ct_AR,;t t
51782 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51783 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51784 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51785 s,@STRIP@,$STRIP,;t t
51786 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51787 s,@WINDRES@,$WINDRES,;t t
51788 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51789 s,@DLLTOOL@,$DLLTOOL,;t t
51790 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51791 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51792 s,@LN_S@,$LN_S,;t t
51793 s,@CXXCPP@,$CXXCPP,;t t
51794 s,@subdirs@,$subdirs,;t t
51795 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51796 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51797 s,@GTK_LIBS@,$GTK_LIBS,;t t
51798 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51799 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51800 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51801 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51802 s,@X_CFLAGS@,$X_CFLAGS,;t t
51803 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51804 s,@X_LIBS@,$X_LIBS,;t t
51805 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51806 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51807 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51808 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51809 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51810 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51811 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51813 s,@DEREZ@,$DEREZ,;t t
51814 s,@SETFILE@,$SETFILE,;t t
51815 s,@LIBICONV@,$LIBICONV,;t t
51816 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51817 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51818 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51819 s,@SDL_LIBS@,$SDL_LIBS,;t t
51820 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51821 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51822 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51823 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51824 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51825 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51826 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51827 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51828 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51829 s,@GST_LIBS@,$GST_LIBS,;t t
51830 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51831 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51832 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51833 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51834 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51835 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51836 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51837 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51838 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51839 s,@VENDOR@,$VENDOR,;t t
51840 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51841 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51842 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51843 s,@WXUNIV@,$WXUNIV,;t t
51844 s,@MONOLITHIC@,$MONOLITHIC,;t t
51845 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51846 s,@EXTRALIBS@,$EXTRALIBS,;t t
51847 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51848 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51849 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51850 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51851 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51852 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51853 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51854 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51855 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51856 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51857 s,@UNICODE@,$UNICODE,;t t
51858 s,@BUILD@,$BUILD,;t t
51859 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51860 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51861 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51862 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51863 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51864 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51865 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51866 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51867 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51868 s,@SET_MAKE@,$SET_MAKE,;t t
51869 s,@MAKE_SET@,$MAKE_SET,;t t
51870 s,@AROPTIONS@,$AROPTIONS,;t t
51872 s,@ac_ct_NM@,$ac_ct_NM,;t t
51873 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51874 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51875 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51876 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51877 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51878 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51879 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51880 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51881 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51882 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51883 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51884 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51885 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51886 s,@LIBPREFIX@,$LIBPREFIX,;t t
51887 s,@LIBEXT@,$LIBEXT,;t t
51888 s,@DLLPREFIX@,$DLLPREFIX,;t t
51889 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51890 s,@dlldir@,$dlldir,;t t
51891 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51892 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51893 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51894 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51895 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51896 s,@PIC_FLAG@,$PIC_FLAG,;t t
51897 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51898 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51899 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51900 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51901 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51902 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51903 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51904 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51905 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51906 s,@BK_DEPS@,$BK_DEPS,;t t
51907 s,@GCC_PCH@,$GCC_PCH,;t t
51908 s,@ICC_PCH@,$ICC_PCH,;t t
51909 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51910 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51911 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51912 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51913 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51914 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51915 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51916 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51917 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51918 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51919 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51920 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51921 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51922 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51923 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51924 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51925 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51926 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51927 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51928 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51929 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51930 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
51931 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
51932 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
51933 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
51934 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51935 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51936 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51937 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51938 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51939 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51940 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
51941 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
51942 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
51943 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
51944 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51945 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51946 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51947 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51948 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51949 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51950 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51951 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51952 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51953 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51954 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51955 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51956 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51957 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51958 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51959 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51960 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51961 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51962 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51963 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51964 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51965 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51966 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51967 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51968 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51969 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51970 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51971 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51972 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51973 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51974 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51975 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51976 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51977 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51978 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51979 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51980 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51981 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51982 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51983 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51984 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51985 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51986 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51987 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51988 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51989 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51990 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51991 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51992 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51993 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51994 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51995 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51996 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51997 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51998 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51999 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52000 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52001 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52002 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52003 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
52004 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52005 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52006 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52007 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52008 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52009 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52010 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52011 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52012 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52013 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52014 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52015 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52016 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52017 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52018 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52019 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52020 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52021 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52022 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52023 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52024 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52025 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52026 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52027 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52028 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52029 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52030 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52031 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52032 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52033 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52034 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52035 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52036 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52037 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52038 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52039 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52040 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52041 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52042 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52043 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52044 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52045 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52046 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52047 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52048 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52049 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52050 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52051 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52052 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52053 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52054 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52055 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52056 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52057 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52058 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52059 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52060 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52061 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52062 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52063 s,@SHARED@,$SHARED,;t t
52064 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52065 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52066 s,@USE_GUI@,$USE_GUI,;t t
52067 s,@AFMINSTALL@,$AFMINSTALL,;t t
52068 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52069 s,@TOOLKIT@,$TOOLKIT,;t t
52070 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52071 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52072 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52073 s,@cross_compiling@,$cross_compiling,;t t
52074 s,@WIDGET_SET@,$WIDGET_SET,;t t
52075 s,@WX_RELEASE@,$WX_RELEASE,;t t
52076 s,@WX_VERSION@,$WX_VERSION,;t t
52077 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52078 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52079 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52080 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52081 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52082 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52083 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52084 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52085 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52086 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52087 s,@EXE_LINKER@,$EXE_LINKER,;t t
52088 s,@GUIDIST@,$GUIDIST,;t t
52089 s,@DISTDIR@,$DISTDIR,;t t
52090 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52091 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52092 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52093 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52094 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52095 s,@RESCOMP@,$RESCOMP,;t t
52096 s,@RESFLAGS@,$RESFLAGS,;t t
52097 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52098 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52099 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52100 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52101 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52102 s,@MACSETFILE@,$MACSETFILE,;t t
52104 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52105 s,@LIBOBJS@,$LIBOBJS,;t t
52106 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52111 cat >>$CONFIG_STATUS <<\_ACEOF
52112 # Split the substitutions into bite-sized pieces for seds with
52113 # small command number limits, like on Digital OSF/1 and HP-UX.
52114 ac_max_sed_lines
=48
52115 ac_sed_frag
=1 # Number of current file.
52116 ac_beg
=1 # First line for current file.
52117 ac_end
=$ac_max_sed_lines # Line after last line for current file.
52120 while $ac_more_lines; do
52121 if test $ac_beg -gt 1; then
52122 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52124 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52126 if test ! -s $tmp/subs.frag
; then
52127 ac_more_lines
=false
52129 # The purpose of the label and of the branching condition is to
52130 # speed up the sed processing (if there are no `@' at all, there
52131 # is no need to browse any of the substitutions).
52132 # These are the two extra sed commands mentioned above.
52134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
52135 if test -z "$ac_sed_cmds"; then
52136 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
52138 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52140 ac_sed_frag
=`expr $ac_sed_frag + 1`
52142 ac_end
=`expr $ac_end + $ac_max_sed_lines`
52145 if test -z "$ac_sed_cmds"; then
52148 fi # test -n "$CONFIG_FILES"
52151 cat >>$CONFIG_STATUS <<\_ACEOF
52152 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
52153 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52155 - | *:- | *:-:* ) # input from stdin
52157 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52158 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52159 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52160 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52161 * ) ac_file_in
=$ac_file.
in ;;
52164 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52165 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52167 X"$ac_file" : 'X\(//\)[^/]' \| \
52168 X"$ac_file" : 'X\(//\)$' \| \
52169 X"$ac_file" : 'X\(/\)' \| \
52170 . : '\(.\)' 2>/dev/null ||
52172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52174 /^X\(\/\/\)$/{ s//\1/; q; }
52175 /^X\(\/\).*/{ s//\1/; q; }
52177 { if $as_mkdir_p; then
52182 while test ! -d "$as_dir"; do
52183 as_dirs
="$as_dir $as_dirs"
52184 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52186 X"$as_dir" : 'X\(//\)[^/]' \| \
52187 X"$as_dir" : 'X\(//\)$' \| \
52188 X"$as_dir" : 'X\(/\)' \| \
52189 . : '\(.\)' 2>/dev/null ||
52191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52193 /^X\(\/\/\)$/{ s//\1/; q; }
52194 /^X\(\/\).*/{ s//\1/; q; }
52197 test ! -n "$as_dirs" || mkdir $as_dirs
52198 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52199 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52200 { (exit 1); exit 1; }; }; }
52204 if test "$ac_dir" != .
; then
52205 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52206 # A "../" for each directory in $ac_dir_suffix.
52207 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52209 ac_dir_suffix
= ac_top_builddir
=
52213 .
) # No --srcdir option. We are building in place.
52215 if test -z "$ac_top_builddir"; then
52218 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52220 [\\/]* | ?
:[\\/]* ) # Absolute path.
52221 ac_srcdir
=$srcdir$ac_dir_suffix;
52222 ac_top_srcdir
=$srcdir ;;
52223 *) # Relative path.
52224 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52225 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52228 # Do not use `cd foo && pwd` to compute absolute paths, because
52229 # the directories may not exist.
52231 .
) ac_abs_builddir
="$ac_dir";;
52234 .
) ac_abs_builddir
=`pwd`;;
52235 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52236 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52239 case $ac_abs_builddir in
52240 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52242 case ${ac_top_builddir}.
in
52243 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52244 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52245 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52248 case $ac_abs_builddir in
52249 .
) ac_abs_srcdir
=$ac_srcdir;;
52252 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52253 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52254 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52257 case $ac_abs_builddir in
52258 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52260 case $ac_top_srcdir in
52261 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52262 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52263 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52269 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52270 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52273 # Let's still pretend it is `configure' which instantiates (i.e., don't
52274 # use $as_me), people would be surprised to read:
52275 # /* config.h. Generated by config.status. */
52276 if test x
"$ac_file" = x
-; then
52279 configure_input
="$ac_file. "
52281 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52282 sed 's,.*/,,'` by configure."
52284 # First look for the input files in the build tree, otherwise in the
52286 ac_file_inputs
=`IFS=:
52287 for f in $ac_file_in; do
52289 -) echo $tmp/stdin ;;
52291 # Absolute (can't be DOS-style, as IFS=:)
52292 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52293 echo "$as_me: error: cannot find input file: $f" >&2;}
52294 { (exit 1); exit 1; }; }
52297 if test -f "$f"; then
52300 elif test -f "$srcdir/$f"; then
52305 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52306 echo "$as_me: error: cannot find input file: $f" >&2;}
52307 { (exit 1); exit 1; }; }
52310 done` || { (exit 1); exit 1; }
52312 if test x
"$ac_file" != x
-; then
52313 { echo "$as_me:$LINENO: creating $ac_file" >&5
52314 echo "$as_me: creating $ac_file" >&6;}
52318 cat >>$CONFIG_STATUS <<_ACEOF
52322 cat >>$CONFIG_STATUS <<\_ACEOF
52324 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52325 s
,@configure_input@
,$configure_input,;t t
52326 s
,@srcdir@
,$ac_srcdir,;t t
52327 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52328 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52329 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52330 s
,@builddir@
,$ac_builddir,;t t
52331 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52332 s
,@top_builddir@
,$ac_top_builddir,;t t
52333 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52334 s
,@INSTALL@
,$ac_INSTALL,;t t
52335 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52337 if test x"$ac_file" != x-; then
52338 mv $tmp/out $ac_file
52344 # Run the commands associated with the file.
52346 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52347 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52351 cat >>$CONFIG_STATUS <<\_ACEOF
52354 # CONFIG_HEADER section.
52357 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52358 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52360 # ac_d sets the value in "#define NAME VALUE" lines.
52361 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52362 ac_dB
='[ ].*$,\1#\2'
52365 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52366 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52367 ac_uB
='$,\1#\2define\3'
52371 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52374 - | *:- | *:-:* ) # input from stdin
52376 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52377 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52378 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52379 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52380 * ) ac_file_in
=$ac_file.
in ;;
52383 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52384 echo "$as_me: creating $ac_file" >&6;}
52386 # First look for the input files in the build tree, otherwise in the
52388 ac_file_inputs
=`IFS=:
52389 for f in $ac_file_in; do
52391 -) echo $tmp/stdin ;;
52393 # Absolute (can't be DOS-style, as IFS=:)
52394 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52395 echo "$as_me: error: cannot find input file: $f" >&2;}
52396 { (exit 1); exit 1; }; }
52397 # Do quote $f, to prevent DOS paths from being IFS'd.
52400 if test -f "$f"; then
52403 elif test -f "$srcdir/$f"; then
52408 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52409 echo "$as_me: error: cannot find input file: $f" >&2;}
52410 { (exit 1); exit 1; }; }
52413 done` || { (exit 1); exit 1; }
52414 # Remove the trailing spaces.
52415 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52419 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52420 # `conftest.undefs', that substitutes the proper values into
52421 # config.h.in to produce config.h. The first handles `#define'
52422 # templates, and the second `#undef' templates.
52423 # And first: Protect against being on the right side of a sed subst in
52424 # config.status. Protect against being in an unquoted here document
52425 # in config.status.
52426 rm -f conftest.defines conftest.undefs
52427 # Using a here document instead of a string reduces the quoting nightmare.
52428 # Putting comments in sed scripts is not portable.
52430 # `end' is used to avoid that the second main sed command (meant for
52431 # 0-ary CPP macros) applies to n-ary macro definitions.
52432 # See the Autoconf documentation for `clear'.
52433 cat >confdef2sed.
sed <<\_ACEOF
52438 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52440 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52443 # If some macros were called several times there might be several times
52444 # the same #defines, which is useless. Nevertheless, we may not want to
52445 # sort them, since we want the *last* AC-DEFINE to be honored.
52446 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52447 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52448 rm -f confdef2sed.sed
52450 # This sed command replaces #undef with comments. This is necessary, for
52451 # example, in the case of _POSIX_SOURCE, which is predefined and required
52452 # on some systems where configure will not decide to define it.
52453 cat >>conftest.undefs <<\_ACEOF
52454 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52457 # Break up conftest.defines because some shells have a limit on the size
52458 # of here documents, and old seds have small limits too (100 cmds).
52459 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52460 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52461 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52462 echo ' :' >>$CONFIG_STATUS
52463 rm -f conftest.tail
52464 while grep . conftest.defines >/dev/null
52466 # Write a limited-size here document to $tmp/defines.sed.
52467 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52468 # Speed up: don't consider the non `#define' lines.
52469 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52470 # Work around the forget-to-reset-the-flag bug.
52471 echo 't clr' >>$CONFIG_STATUS
52472 echo ': clr' >>$CONFIG_STATUS
52473 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52475 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52477 mv $tmp/out $tmp/in
52479 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52480 rm -f conftest.defines
52481 mv conftest.
tail conftest.defines
52483 rm -f conftest.defines
52484 echo ' fi # grep' >>$CONFIG_STATUS
52485 echo >>$CONFIG_STATUS
52487 # Break up conftest.undefs because some shells have a limit on the size
52488 # of here documents, and old seds have small limits too (100 cmds).
52489 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52490 rm -f conftest.
tail
52491 while grep . conftest.undefs
>/dev
/null
52493 # Write a limited-size here document to $tmp/undefs.sed.
52494 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52495 # Speed up: don't consider the non
`#undef'
52496 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52497 # Work around the forget-to-reset-the-flag bug.
52498 echo 't clr' >>$CONFIG_STATUS
52499 echo ': clr' >>$CONFIG_STATUS
52500 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52502 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52504 mv $tmp/out $tmp/in
52506 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52507 rm -f conftest.undefs
52508 mv conftest.tail conftest.undefs
52510 rm -f conftest.undefs
52512 cat >>$CONFIG_STATUS <<\_ACEOF
52513 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52514 # use $as_me), people would be surprised to read:
52515 # /* config.h. Generated by config.status. */
52516 if test x
"$ac_file" = x
-; then
52517 echo "/* Generated by configure. */" >$tmp/config.h
52519 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52521 cat $tmp/in >>$tmp/config.h
52523 if test x
"$ac_file" != x
-; then
52524 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52525 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52526 echo "$as_me: $ac_file is unchanged" >&6;}
52528 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52530 X"$ac_file" : 'X\(//\)[^/]' \| \
52531 X"$ac_file" : 'X\(//\)$' \| \
52532 X"$ac_file" : 'X\(/\)' \| \
52533 . : '\(.\)' 2>/dev/null ||
52535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52536 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52537 /^X\(\/\/\)$/{ s//\1/; q; }
52538 /^X\(\/\).*/{ s//\1/; q; }
52540 { if $as_mkdir_p; then
52545 while test ! -d "$as_dir"; do
52546 as_dirs
="$as_dir $as_dirs"
52547 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52549 X"$as_dir" : 'X\(//\)[^/]' \| \
52550 X"$as_dir" : 'X\(//\)$' \| \
52551 X"$as_dir" : 'X\(/\)' \| \
52552 . : '\(.\)' 2>/dev/null ||
52554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52555 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52556 /^X\(\/\/\)$/{ s//\1/; q; }
52557 /^X\(\/\).*/{ s//\1/; q; }
52560 test ! -n "$as_dirs" || mkdir $as_dirs
52561 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52562 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52563 { (exit 1); exit 1; }; }; }
52566 mv $tmp/config.h
$ac_file
52570 rm -f $tmp/config.h
52574 cat >>$CONFIG_STATUS <<\_ACEOF
52577 # CONFIG_COMMANDS section.
52579 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52580 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52581 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52582 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52583 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52584 X"$ac_dest" : 'X\(//\)[^/]' \| \
52585 X"$ac_dest" : 'X\(//\)$' \| \
52586 X"$ac_dest" : 'X\(/\)' \| \
52587 . : '\(.\)' 2>/dev/null ||
52589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52590 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52591 /^X\(\/\/\)$/{ s//\1/; q; }
52592 /^X\(\/\).*/{ s//\1/; q; }
52594 { if $as_mkdir_p; then
52599 while test ! -d "$as_dir"; do
52600 as_dirs
="$as_dir $as_dirs"
52601 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52602 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52603 X"$as_dir" : 'X\(//\)[^/]' \| \
52604 X"$as_dir" : 'X\(//\)$' \| \
52605 X"$as_dir" : 'X\(/\)' \| \
52606 . : '\(.\)' 2>/dev/null ||
52608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52610 /^X\(\/\/\)$/{ s//\1/; q; }
52611 /^X\(\/\).*/{ s//\1/; q; }
52614 test ! -n "$as_dirs" || mkdir $as_dirs
52615 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52616 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52617 { (exit 1); exit 1; }; }; }
52621 if test "$ac_dir" != .
; then
52622 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52623 # A "../" for each directory in $ac_dir_suffix.
52624 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52626 ac_dir_suffix
= ac_top_builddir
=
52630 .
) # No --srcdir option. We are building in place.
52632 if test -z "$ac_top_builddir"; then
52635 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52637 [\\/]* | ?
:[\\/]* ) # Absolute path.
52638 ac_srcdir
=$srcdir$ac_dir_suffix;
52639 ac_top_srcdir
=$srcdir ;;
52640 *) # Relative path.
52641 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52642 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52645 # Do not use `cd foo && pwd` to compute absolute paths, because
52646 # the directories may not exist.
52648 .
) ac_abs_builddir
="$ac_dir";;
52651 .
) ac_abs_builddir
=`pwd`;;
52652 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52653 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52656 case $ac_abs_builddir in
52657 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52659 case ${ac_top_builddir}.
in
52660 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52661 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52662 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52665 case $ac_abs_builddir in
52666 .
) ac_abs_srcdir
=$ac_srcdir;;
52669 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52670 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52671 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52674 case $ac_abs_builddir in
52675 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52677 case $ac_top_srcdir in
52678 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52679 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52680 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52685 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52686 echo "$as_me: executing $ac_dest commands" >&6;}
52689 mkdir -p $outdir &&
52690 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52692 wx
-config ) rm -f wx
-config
52693 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52699 cat >>$CONFIG_STATUS <<\_ACEOF
52701 { (exit 0); exit 0; }
52703 chmod +x
$CONFIG_STATUS
52704 ac_clean_files
=$ac_clean_files_save
52707 # configure is writing to config.log, and then calls config.status.
52708 # config.status does its own redirection, appending to config.log.
52709 # Unfortunately, on DOS this fails, as config.log is still kept open
52710 # by configure, so config.status won't be able to write to it; its
52711 # output is simply discarded. So we exec the FD to /dev/null,
52712 # effectively closing config.log, so it can be properly (re)opened and
52713 # appended to by config.status. When coming back to configure, we
52714 # need to make the FD available again.
52715 if test "$no_create" != yes; then
52717 ac_config_status_args
=
52718 test "$silent" = yes &&
52719 ac_config_status_args
="$ac_config_status_args --quiet"
52721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52724 # would make configure fail if this is the last instruction.
52725 $ac_cs_success || { (exit 1); exit 1; }
52729 # CONFIG_SUBDIRS section.
52731 if test "$no_recursion" != yes; then
52733 # Remove --cache-file and --srcdir arguments so they do not pile up.
52734 ac_sub_configure_args
=
52736 for ac_arg
in $ac_configure_args; do
52737 if test -n "$ac_prev"; then
52742 -cache-file | --cache-file | --cache-fil | --cache-fi \
52743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52744 ac_prev
=cache_file
;;
52745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52749 --config-cache | -C)
52751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52755 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52757 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52759 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52763 # Always prepend --prefix to ensure using the same prefix
52764 # in subdir configurations.
52765 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52768 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52770 # Do not complain, so a configure script can configure whichever
52771 # parts of a large source tree are present.
52772 test -d $srcdir/$ac_dir || continue
52774 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52775 echo "$as_me: configuring in $ac_dir" >&6;}
52776 { if $as_mkdir_p; then
52781 while test ! -d "$as_dir"; do
52782 as_dirs
="$as_dir $as_dirs"
52783 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52785 X"$as_dir" : 'X\(//\)[^/]' \| \
52786 X"$as_dir" : 'X\(//\)$' \| \
52787 X"$as_dir" : 'X\(/\)' \| \
52788 . : '\(.\)' 2>/dev/null ||
52790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52792 /^X\(\/\/\)$/{ s//\1/; q; }
52793 /^X\(\/\).*/{ s//\1/; q; }
52796 test ! -n "$as_dirs" || mkdir $as_dirs
52797 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52798 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52799 { (exit 1); exit 1; }; }; }
52803 if test "$ac_dir" != .
; then
52804 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52805 # A "../" for each directory in $ac_dir_suffix.
52806 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52808 ac_dir_suffix
= ac_top_builddir
=
52812 .
) # No --srcdir option. We are building in place.
52814 if test -z "$ac_top_builddir"; then
52817 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52819 [\\/]* | ?
:[\\/]* ) # Absolute path.
52820 ac_srcdir
=$srcdir$ac_dir_suffix;
52821 ac_top_srcdir
=$srcdir ;;
52822 *) # Relative path.
52823 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52824 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52827 # Do not use `cd foo && pwd` to compute absolute paths, because
52828 # the directories may not exist.
52830 .
) ac_abs_builddir
="$ac_dir";;
52833 .
) ac_abs_builddir
=`pwd`;;
52834 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52835 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52838 case $ac_abs_builddir in
52839 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52841 case ${ac_top_builddir}.
in
52842 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52843 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52844 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52847 case $ac_abs_builddir in
52848 .
) ac_abs_srcdir
=$ac_srcdir;;
52851 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52852 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52853 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52856 case $ac_abs_builddir in
52857 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52859 case $ac_top_srcdir in
52860 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52861 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52862 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52869 # Check for guested configure; otherwise get Cygnus style configure.
52870 if test -f $ac_srcdir/configure.gnu
; then
52871 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52872 elif test -f $ac_srcdir/configure
; then
52873 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52874 elif test -f $ac_srcdir/configure.
in; then
52875 ac_sub_configure
=$ac_configure
52877 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52878 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52882 # The recursion is here.
52883 if test -n "$ac_sub_configure"; then
52884 # Make the cache file name correct relative to the subdirectory.
52885 case $cache_file in
52886 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52887 *) # Relative path.
52888 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52891 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52892 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52893 # The eval makes quoting arguments work.
52894 eval $ac_sub_configure $ac_sub_configure_args \
52895 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52896 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52897 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52898 { (exit 1); exit 1; }; }
52907 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52909 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52910 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52912 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52913 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52914 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52916 echo " What level of wxWidgets compatibility should be enabled?"
52917 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52918 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52920 echo " Which libraries should wxWidgets use?"
52921 echo " jpeg ${wxUSE_LIBJPEG-none}"
52922 echo " png ${wxUSE_LIBPNG-none}"
52923 echo " regex ${wxUSE_REGEX}"
52924 echo " tiff ${wxUSE_LIBTIFF-none}"
52925 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52926 echo " xpm ${wxUSE_LIBXPM-none}"
52928 echo " zlib ${wxUSE_ZLIB}"
52929 echo " odbc ${wxUSE_ODBC}"
52930 echo " expat ${wxUSE_EXPAT}"
52931 echo " libmspack ${wxUSE_LIBMSPACK}"
52932 echo " sdl ${wxUSE_LIBSDL}"