2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C
++ stream classes
1007 --enable-std_string use standard C
++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support
in wxProtocol
1026 --enable-protocol-ftp FTP support
in wxProtocol
1027 --enable-protocol-file FILE support
in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use
help subsystem
1031 --enable-mshtmlhelp use MS HTML Help
(win32
)
1032 --enable-html use wxHTML sub
-library
1033 --enable-htmlhelp use wxHTML
-based help
1034 --enable-xrc use XRC resources sub
-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout
-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl
(Mac
)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context
2D drawing API
1046 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1047 --enable-prologio not available
; see contrib
1048 --enable-resources not available
; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag
'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile
(Win32 only
)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images
(GIF
file format
)
1137 --enable-pcx use pcx images
(PCX
file format
)
1138 --enable-tga use tga images
(TGA
file format
)
1139 --enable-iff use iff images
(IFF
file format
)
1140 --enable-pnm use pnm images
(PNM
file format
)
1141 --enable-xpm use xpm images
(XPM
file format
)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1144 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1145 --disable-largefile omit support
for large files
1146 --disable-gtktest do not try to compile and run a
test GTK
+ program
1147 --disable-gtktest Do not try to compile and run a
test GTK program
1148 --disable-sdltest Do not try to compile and run a
test SDL program
1149 --enable-omf use OMF object format
(OS
/2)
1150 --disable-dependency-tracking
1151 don
't use dependency tracking even if the compiler
1153 --disable-precomp-headers
1154 don't use precompiled headers even
if compiler can
1157 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1158 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1159 --without-subdirs don
't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1210 C compiler flags for DIRECTFB, overriding pkg-config
1212 linker flags for DIRECTFB, overriding pkg-config
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1217 C compiler flags for PANGOFT2, overriding pkg-config
1219 linker flags for PANGOFT2, overriding pkg-config
1221 C compiler flags for PANGOXFT, overriding pkg-config
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1231 linker flags for GNOMEVFS, overriding pkg-config
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1241 Use these variables to override the choices made by `configure' or to
help
1242 it to
find libraries and programs with nonstandard names
/locations.
1244 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1251 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1252 test -d $ac_dir || continue
1255 if test "$ac_dir" != .
; then
1256 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 ac_dir_suffix
= ac_top_builddir
=
1264 .
) # No --srcdir option. We are building in place.
1266 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1271 [\\/]* | ?
:[\\/]* ) # Absolute path.
1272 ac_srcdir
=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir
=$srcdir ;;
1275 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1282 .
) ac_abs_builddir
="$ac_dir";;
1285 .
) ac_abs_builddir
=`pwd`;;
1286 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1287 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1290 case $ac_abs_builddir in
1291 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1293 case ${ac_top_builddir}.
in
1294 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1295 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1296 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1299 case $ac_abs_builddir in
1300 .
) ac_abs_srcdir
=$ac_srcdir;;
1303 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1304 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1305 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1308 case $ac_abs_builddir in
1309 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1311 case $ac_top_srcdir in
1312 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1313 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu
; then
1322 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1323 elif test -f $ac_srcdir/configure
; then
1325 $SHELL $ac_srcdir/configure
--help=recursive
1326 elif test -f $ac_srcdir/configure.ac
||
1327 test -f $ac_srcdir/configure.
in; then
1329 $ac_configure --help
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1340 wxWidgets configure
2.7.1
1341 generated by GNU Autoconf
2.59
1343 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1344 This configure
script is free software
; the Free Software Foundation
1345 gives unlimited permission to copy
, distribute and modify it.
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 echo "PATH: $as_dir"
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next
=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true
; then
1432 ac_must_keep_next
=false
# Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next
=true
;;
1446 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1453 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1454 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1472 # The following way of writing the cache mishandles newlines in values,
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1495 for ac_var in $ac_subst_vars
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1502 if test -n "$ac_subst_files"; then
1509 for ac_var in $ac_subst_files
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1517 if test -s confdefs.h; then
1524 sed "/^$/d" confdefs.h | sort
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1535 for ac_signal
in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest
* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 # Predefined preprocessor variables.
1547 cat >>confdefs.h
<<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h
<<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 cat >>confdefs.h
<<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 cat >>confdefs.h
<<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 cat >>confdefs.h
<<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE
; then
1576 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1578 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 for ac_site_file
in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1597 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1598 *) . .
/$cache_file;;
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1607 # Check that the precious variables saved in the cache have kept the same
1609 ac_cache_corrupted
=false
1610 for ac_var
in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1613 eval ac_new_set
=\
$ac_env_${ac_var}_set
1614 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val
="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted
=: ;;
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted
=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted
=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg
=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1659 ac_cpp
='$CPP $CPPFLAGS'
1660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1694 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1695 if test -f $ac_dir/install-sh; then
1697 ac_install_sh
="$ac_aux_dir/install-sh -c"
1699 elif test -f $ac_dir/install.sh
; then
1701 ac_install_sh
="$ac_aux_dir/install.sh -c"
1703 elif test -f $ac_dir/shtool
; then
1705 ac_install_sh
="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1714 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_build_alias
=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias
=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1745 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_host_alias
=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias
=$ac_cv_build_alias
1758 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1767 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_target_alias
=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias
=$ac_cv_host_alias
1780 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target
=$ac_cv_target
1789 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix
=${target_alias}-
1803 wx_major_version_number
=2
1804 wx_minor_version_number
=7
1806 wx_subrelease_number
=0
1808 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1809 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1810 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1812 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1825 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1831 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1839 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1841 DEFAULT_wxUSE_COCOA
=0
1845 DEFAULT_wxUSE_MICROWIN
=0
1846 DEFAULT_wxUSE_MOTIF
=0
1852 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1853 DEFAULT_DEFAULT_wxUSE_GTK
=0
1854 DEFAULT_DEFAULT_wxUSE_MAC
=0
1855 DEFAULT_DEFAULT_wxUSE_MGL
=0
1856 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1857 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1858 DEFAULT_DEFAULT_wxUSE_MSW
=0
1859 DEFAULT_DEFAULT_wxUSE_PM
=0
1860 DEFAULT_DEFAULT_wxUSE_X11
=0
1861 DEFAULT_DEFAULT_wxUSE_DFB
=0
1866 SAMPLES_RPATH_POSTLINK
=
1868 DEFAULT_STD_FLAG
=yes
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1881 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1890 if test "x$TMP" = "xalpha"; then
1892 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_GTK
=1
1899 *-*-gnu* | *-*-k*bsd
*-gnu )
1902 if test "x$TMP" = "xalpha"; then
1904 cat >>confdefs.h
<<\_ACEOF
1909 DEFAULT_DEFAULT_wxUSE_GTK
=1
1911 *-*-irix5* | *-*-irix6* )
1914 cat >>confdefs.h
<<\_ACEOF
1918 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1928 cat >>confdefs.h
<<\_ACEOF
1932 cat >>confdefs.h
<<\_ACEOF
1933 #define __SOLARIS__ 1
1936 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1941 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1947 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1955 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1964 cat >>confdefs.h
<<\_ACEOF
1965 #define __FREEBSD__ 1
1968 cat >>confdefs.h
<<\_ACEOF
1972 DEFAULT_DEFAULT_wxUSE_GTK
=1
1974 *-*-openbsd*|*-*-mirbsd*)
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __OPENBSD__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1985 DEFAULT_DEFAULT_wxUSE_GTK
=1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define __NETBSD__ 1
1994 cat >>confdefs.h
<<\_ACEOF
1998 DEFAULT_DEFAULT_wxUSE_GTK
=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2001 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2015 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2020 cat >>confdefs.h
<<\_ACEOF
2024 cat >>confdefs.h
<<\_ACEOF
2028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2033 cat >>confdefs.h
<<\_ACEOF
2037 cat >>confdefs.h
<<\_ACEOF
2041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2048 cat >>confdefs.h
<<\_ACEOF
2052 cat >>confdefs.h
<<\_ACEOF
2056 cat >>confdefs.h
<<\_ACEOF
2060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2067 cat >>confdefs.h
<<\_ACEOF
2068 #define __UNIXWARE__ 1
2073 *-*-cygwin* | *-*-mingw32* )
2076 DEFAULT_DEFAULT_wxUSE_MSW
=1
2082 cat >>confdefs.h
<<\_ACEOF
2087 DEFAULT_DEFAULT_wxUSE_MGL
=1
2090 *-pc-os2_emx | *-pc-os2-emx )
2091 cat >>confdefs.h
<<\_ACEOF
2096 cat >>confdefs.h
<<\_ACEOF
2101 DEFAULT_DEFAULT_wxUSE_PM
=1
2103 LDFLAGS
="$LDFLAGS -Zcrtdll"
2104 ac_executable_extensions
=".exe"
2105 export ac_executable_extensions
2109 for ac_dir
in $PATH; do
2111 if test -z "$ac_TEMP_PATH"; then
2112 ac_TEMP_PATH
="$ac_dir"
2114 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2117 export PATH
="$ac_TEMP_PATH"
2126 cat >>confdefs.h
<<\_ACEOF
2130 cat >>confdefs.h
<<\_ACEOF
2131 #define __DARWIN__ 1
2134 cat >>confdefs.h
<<\_ACEOF
2135 #define TARGET_CARBON 1
2138 DEFAULT_DEFAULT_wxUSE_MAC
=1
2141 powerpc
-apple-macos* )
2143 ac_cv_c_bigendian
=yes
2145 DEFAULT_DEFAULT_wxUSE_MAC
=1
2151 cat >>confdefs.h
<<\_ACEOF
2158 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2159 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2160 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2161 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2163 DEFAULT_DEFAULT_wxUSE_X11
=1
2164 DEFAULT_wxUSE_SHARED
=no
2170 wx_arg_cache_file
="configarg.cache"
2171 echo "loading argument cache $wx_arg_cache_file"
2172 rm -f ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}.tmp
2174 touch ${wx_arg_cache_file}
2178 if test $DEBUG_CONFIGURE = 1; then
2179 DEFAULT_wxUSE_UNIVERSAL
=no
2180 DEFAULT_wxUSE_STL
=no
2182 DEFAULT_wxUSE_NANOX
=no
2184 DEFAULT_wxUSE_THREADS
=yes
2186 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2187 DEFAULT_wxUSE_OPTIMISE
=no
2188 DEFAULT_wxUSE_PROFILE
=no
2189 DEFAULT_wxUSE_NO_DEPS
=no
2190 DEFAULT_wxUSE_NO_RTTI
=no
2191 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2192 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2193 DEFAULT_wxUSE_RPATH
=yes
2194 DEFAULT_wxUSE_PERMISSIVE
=no
2195 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2196 DEFAULT_wxUSE_DEBUG_INFO
=yes
2197 DEFAULT_wxUSE_DEBUG_GDB
=yes
2198 DEFAULT_wxUSE_MEM_TRACING
=no
2199 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2200 DEFAULT_wxUSE_DMALLOC
=no
2201 DEFAULT_wxUSE_APPLE_IEEE
=no
2203 DEFAULT_wxUSE_EXCEPTIONS
=no
2204 DEFAULT_wxUSE_LOG
=yes
2205 DEFAULT_wxUSE_LOGWINDOW
=no
2206 DEFAULT_wxUSE_LOGGUI
=no
2207 DEFAULT_wxUSE_LOGDIALOG
=no
2209 DEFAULT_wxUSE_GUI
=yes
2210 DEFAULT_wxUSE_CONTROLS
=no
2212 DEFAULT_wxUSE_REGEX
=no
2213 DEFAULT_wxUSE_XML
=no
2214 DEFAULT_wxUSE_EXPAT
=no
2215 DEFAULT_wxUSE_ZLIB
=no
2216 DEFAULT_wxUSE_LIBPNG
=no
2217 DEFAULT_wxUSE_LIBJPEG
=no
2218 DEFAULT_wxUSE_LIBTIFF
=no
2219 DEFAULT_wxUSE_LIBXPM
=no
2220 DEFAULT_wxUSE_LIBMSPACK
=no
2221 DEFAULT_wxUSE_LIBSDL
=no
2222 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2223 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2224 DEFAULT_wxUSE_LIBHILDON
=no
2225 DEFAULT_wxUSE_ODBC
=no
2226 DEFAULT_wxUSE_OPENGL
=no
2228 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2229 DEFAULT_wxUSE_STACKWALKER
=no
2230 DEFAULT_wxUSE_DEBUGREPORT
=no
2231 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2232 DEFAULT_wxUSE_STD_IOSTREAM
=no
2233 DEFAULT_wxUSE_STD_STRING
=no
2234 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2235 DEFAULT_wxUSE_DATETIME
=no
2236 DEFAULT_wxUSE_TIMER
=no
2237 DEFAULT_wxUSE_STOPWATCH
=no
2238 DEFAULT_wxUSE_FILE
=no
2239 DEFAULT_wxUSE_FFILE
=no
2240 DEFAULT_wxUSE_STDPATHS
=no
2241 DEFAULT_wxUSE_TEXTBUFFER
=no
2242 DEFAULT_wxUSE_TEXTFILE
=no
2243 DEFAULT_wxUSE_SOUND
=no
2244 DEFAULT_wxUSE_MEDIACTRL
=no
2245 DEFAULT_wxUSE_GSTREAMER8
=no
2246 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2247 DEFAULT_wxUSE_INTL
=no
2248 DEFAULT_wxUSE_CONFIG
=no
2249 DEFAULT_wxUSE_FONTMAP
=no
2250 DEFAULT_wxUSE_STREAMS
=no
2251 DEFAULT_wxUSE_SOCKETS
=no
2252 DEFAULT_wxUSE_OLE
=no
2253 DEFAULT_wxUSE_DATAOBJ
=no
2254 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2255 DEFAULT_wxUSE_JOYSTICK
=no
2256 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2257 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2258 DEFAULT_wxUSE_LONGLONG
=no
2259 DEFAULT_wxUSE_GEOMETRY
=no
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2263 DEFAULT_wxUSE_POSTSCRIPT
=no
2265 DEFAULT_wxUSE_CLIPBOARD
=no
2266 DEFAULT_wxUSE_TOOLTIPS
=no
2267 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2268 DEFAULT_wxUSE_DRAGIMAGE
=no
2269 DEFAULT_wxUSE_SPLINES
=no
2270 DEFAULT_wxUSE_MOUSEWHEEL
=no
2272 DEFAULT_wxUSE_MDI
=no
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2277 DEFAULT_wxUSE_RESOURCES
=no
2278 DEFAULT_wxUSE_CONSTRAINTS
=no
2279 DEFAULT_wxUSE_IPC
=no
2280 DEFAULT_wxUSE_HELP
=no
2281 DEFAULT_wxUSE_MS_HTML_HELP
=no
2282 DEFAULT_wxUSE_WXHTML_HELP
=no
2283 DEFAULT_wxUSE_TREELAYOUT
=no
2284 DEFAULT_wxUSE_METAFILE
=no
2285 DEFAULT_wxUSE_MIMETYPE
=no
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2287 DEFAULT_wxUSE_PROTOCOL
=no
2288 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2289 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2290 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2291 DEFAULT_wxUSE_URL
=no
2292 DEFAULT_wxUSE_VARIANT
=no
2294 DEFAULT_wxUSE_ABOUTDLG
=no
2295 DEFAULT_wxUSE_COMMONDLGS
=no
2296 DEFAULT_wxUSE_CHOICEDLG
=no
2297 DEFAULT_wxUSE_COLOURDLG
=no
2298 DEFAULT_wxUSE_DIRDLG
=no
2299 DEFAULT_wxUSE_FILEDLG
=no
2300 DEFAULT_wxUSE_FINDREPLDLG
=no
2301 DEFAULT_wxUSE_FONTDLG
=no
2302 DEFAULT_wxUSE_MSGDLG
=no
2303 DEFAULT_wxUSE_NUMBERDLG
=no
2304 DEFAULT_wxUSE_TEXTDLG
=no
2305 DEFAULT_wxUSE_SPLASH
=no
2306 DEFAULT_wxUSE_STARTUP_TIPS
=no
2307 DEFAULT_wxUSE_PROGRESSDLG
=no
2308 DEFAULT_wxUSE_WIZARDDLG
=no
2310 DEFAULT_wxUSE_MENUS
=no
2311 DEFAULT_wxUSE_MINIFRAME
=no
2312 DEFAULT_wxUSE_HTML
=no
2313 DEFAULT_wxUSE_RICHTEXT
=no
2314 DEFAULT_wxUSE_XRC
=no
2315 DEFAULT_wxUSE_AUI
=no
2316 DEFAULT_wxUSE_WEBKIT
=no
2317 DEFAULT_wxUSE_FILESYSTEM
=no
2318 DEFAULT_wxUSE_FS_INET
=no
2319 DEFAULT_wxUSE_FS_ZIP
=no
2320 DEFAULT_wxUSE_FS_ARCHIVE
=no
2321 DEFAULT_wxUSE_BUSYINFO
=no
2322 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2323 DEFAULT_wxUSE_ZIPSTREAM
=no
2324 DEFAULT_wxUSE_TARSTREAM
=no
2325 DEFAULT_wxUSE_VALIDATORS
=no
2327 DEFAULT_wxUSE_ACCEL
=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2329 DEFAULT_wxUSE_BUTTON
=no
2330 DEFAULT_wxUSE_BMPBUTTON
=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2332 DEFAULT_wxUSE_CALCTRL
=no
2333 DEFAULT_wxUSE_CARET
=no
2334 DEFAULT_wxUSE_CHECKBOX
=no
2335 DEFAULT_wxUSE_CHECKLST
=no
2336 DEFAULT_wxUSE_CHOICE
=no
2337 DEFAULT_wxUSE_CHOICEBOOK
=no
2338 DEFAULT_wxUSE_COLLPANE
=no
2339 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2340 DEFAULT_wxUSE_COMBOBOX
=no
2341 DEFAULT_wxUSE_COMBOCTRL
=no
2342 DEFAULT_wxUSE_DATEPICKCTRL
=no
2343 DEFAULT_wxUSE_DISPLAY
=no
2344 DEFAULT_wxUSE_DETECT_SM
=no
2345 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2346 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2347 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2348 DEFAULT_wxUSE_GAUGE
=no
2349 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2350 DEFAULT_wxUSE_GRID
=no
2351 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2352 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2353 DEFAULT_wxUSE_IMAGLIST
=no
2354 DEFAULT_wxUSE_LISTBOOK
=no
2355 DEFAULT_wxUSE_LISTBOX
=no
2356 DEFAULT_wxUSE_LISTCTRL
=no
2357 DEFAULT_wxUSE_NOTEBOOK
=no
2358 DEFAULT_wxUSE_ODCOMBOBOX
=no
2359 DEFAULT_wxUSE_RADIOBOX
=no
2360 DEFAULT_wxUSE_RADIOBTN
=no
2361 DEFAULT_wxUSE_SASH
=no
2362 DEFAULT_wxUSE_SCROLLBAR
=no
2363 DEFAULT_wxUSE_SLIDER
=no
2364 DEFAULT_wxUSE_SPINBTN
=no
2365 DEFAULT_wxUSE_SPINCTRL
=no
2366 DEFAULT_wxUSE_SPLITTER
=no
2367 DEFAULT_wxUSE_STATBMP
=no
2368 DEFAULT_wxUSE_STATBOX
=no
2369 DEFAULT_wxUSE_STATLINE
=no
2370 DEFAULT_wxUSE_STATTEXT
=no
2371 DEFAULT_wxUSE_STATUSBAR
=yes
2372 DEFAULT_wxUSE_TAB_DIALOG
=no
2373 DEFAULT_wxUSE_TEXTCTRL
=no
2374 DEFAULT_wxUSE_TOGGLEBTN
=no
2375 DEFAULT_wxUSE_TOOLBAR
=no
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2377 DEFAULT_wxUSE_TREEBOOK
=no
2378 DEFAULT_wxUSE_TOOLBOOK
=no
2379 DEFAULT_wxUSE_TREECTRL
=no
2380 DEFAULT_wxUSE_POPUPWIN
=no
2381 DEFAULT_wxUSE_TIPWINDOW
=no
2383 DEFAULT_wxUSE_UNICODE
=no
2384 DEFAULT_wxUSE_UNICODE_MSLU
=no
2385 DEFAULT_wxUSE_WCSRTOMBS
=no
2387 DEFAULT_wxUSE_PALETTE
=no
2388 DEFAULT_wxUSE_IMAGE
=no
2389 DEFAULT_wxUSE_GIF
=no
2390 DEFAULT_wxUSE_PCX
=no
2391 DEFAULT_wxUSE_TGA
=no
2392 DEFAULT_wxUSE_PNM
=no
2393 DEFAULT_wxUSE_IFF
=no
2394 DEFAULT_wxUSE_XPM
=no
2395 DEFAULT_wxUSE_ICO_CUR
=no
2396 DEFAULT_wxUSE_ACCESSIBILITY
=no
2398 DEFAULT_wxUSE_MONOLITHIC
=no
2399 DEFAULT_wxUSE_PLUGINS
=no
2400 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2402 DEFAULT_wxUSE_UNIVERSAL
=no
2403 DEFAULT_wxUSE_STL
=no
2405 DEFAULT_wxUSE_NANOX
=no
2407 DEFAULT_wxUSE_THREADS
=yes
2409 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2410 DEFAULT_wxUSE_OPTIMISE
=yes
2411 DEFAULT_wxUSE_PROFILE
=no
2412 DEFAULT_wxUSE_NO_DEPS
=no
2413 DEFAULT_wxUSE_NO_RTTI
=no
2414 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2415 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2416 DEFAULT_wxUSE_RPATH
=yes
2417 DEFAULT_wxUSE_PERMISSIVE
=no
2418 DEFAULT_wxUSE_DEBUG_FLAG
=no
2419 DEFAULT_wxUSE_DEBUG_INFO
=no
2420 DEFAULT_wxUSE_DEBUG_GDB
=no
2421 DEFAULT_wxUSE_MEM_TRACING
=no
2422 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2423 DEFAULT_wxUSE_DMALLOC
=no
2424 DEFAULT_wxUSE_APPLE_IEEE
=yes
2426 DEFAULT_wxUSE_EXCEPTIONS
=yes
2427 DEFAULT_wxUSE_LOG
=yes
2428 DEFAULT_wxUSE_LOGWINDOW
=yes
2429 DEFAULT_wxUSE_LOGGUI
=yes
2430 DEFAULT_wxUSE_LOGDIALOG
=yes
2432 DEFAULT_wxUSE_GUI
=yes
2434 DEFAULT_wxUSE_REGEX
=yes
2435 DEFAULT_wxUSE_XML
=yes
2436 DEFAULT_wxUSE_EXPAT
=yes
2437 DEFAULT_wxUSE_ZLIB
=yes
2438 DEFAULT_wxUSE_LIBPNG
=yes
2439 DEFAULT_wxUSE_LIBJPEG
=yes
2440 DEFAULT_wxUSE_LIBTIFF
=yes
2441 DEFAULT_wxUSE_LIBXPM
=yes
2442 DEFAULT_wxUSE_LIBMSPACK
=yes
2443 DEFAULT_wxUSE_LIBSDL
=no
2444 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2445 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2446 DEFAULT_wxUSE_LIBHILDON
=no
2447 DEFAULT_wxUSE_ODBC
=no
2448 DEFAULT_wxUSE_OPENGL
=no
2450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2451 DEFAULT_wxUSE_STACKWALKER
=yes
2452 DEFAULT_wxUSE_DEBUGREPORT
=yes
2453 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2454 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2455 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2456 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2457 DEFAULT_wxUSE_DATETIME
=yes
2458 DEFAULT_wxUSE_TIMER
=yes
2459 DEFAULT_wxUSE_STOPWATCH
=yes
2460 DEFAULT_wxUSE_FILE
=yes
2461 DEFAULT_wxUSE_FFILE
=yes
2462 DEFAULT_wxUSE_STDPATHS
=yes
2463 DEFAULT_wxUSE_TEXTBUFFER
=yes
2464 DEFAULT_wxUSE_TEXTFILE
=yes
2465 DEFAULT_wxUSE_SOUND
=yes
2466 DEFAULT_wxUSE_MEDIACTRL
=no
2467 DEFAULT_wxUSE_GSTREAMER8
=no
2468 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2469 DEFAULT_wxUSE_INTL
=yes
2470 DEFAULT_wxUSE_CONFIG
=yes
2471 DEFAULT_wxUSE_FONTMAP
=yes
2472 DEFAULT_wxUSE_STREAMS
=yes
2473 DEFAULT_wxUSE_SOCKETS
=yes
2474 DEFAULT_wxUSE_OLE
=yes
2475 DEFAULT_wxUSE_DATAOBJ
=yes
2476 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2477 DEFAULT_wxUSE_JOYSTICK
=yes
2478 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2479 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2480 DEFAULT_wxUSE_LONGLONG
=yes
2481 DEFAULT_wxUSE_GEOMETRY
=yes
2483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2485 DEFAULT_wxUSE_POSTSCRIPT
=yes
2487 DEFAULT_wxUSE_CLIPBOARD
=yes
2488 DEFAULT_wxUSE_TOOLTIPS
=yes
2489 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2490 DEFAULT_wxUSE_DRAGIMAGE
=yes
2491 DEFAULT_wxUSE_SPLINES
=yes
2492 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2494 DEFAULT_wxUSE_MDI
=yes
2495 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2496 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2497 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2499 DEFAULT_wxUSE_RESOURCES
=no
2500 DEFAULT_wxUSE_CONSTRAINTS
=yes
2501 DEFAULT_wxUSE_IPC
=yes
2502 DEFAULT_wxUSE_HELP
=yes
2503 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2504 DEFAULT_wxUSE_WXHTML_HELP
=yes
2505 DEFAULT_wxUSE_TREELAYOUT
=yes
2506 DEFAULT_wxUSE_METAFILE
=yes
2507 DEFAULT_wxUSE_MIMETYPE
=yes
2508 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2509 DEFAULT_wxUSE_PROTOCOL
=yes
2510 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2511 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2512 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2513 DEFAULT_wxUSE_URL
=yes
2514 DEFAULT_wxUSE_VARIANT
=yes
2516 DEFAULT_wxUSE_ABOUTDLG
=yes
2517 DEFAULT_wxUSE_COMMONDLGS
=yes
2518 DEFAULT_wxUSE_CHOICEDLG
=yes
2519 DEFAULT_wxUSE_COLOURDLG
=yes
2520 DEFAULT_wxUSE_DIRDLG
=yes
2521 DEFAULT_wxUSE_FILEDLG
=yes
2522 DEFAULT_wxUSE_FINDREPLDLG
=yes
2523 DEFAULT_wxUSE_FONTDLG
=yes
2524 DEFAULT_wxUSE_MSGDLG
=yes
2525 DEFAULT_wxUSE_NUMBERDLG
=yes
2526 DEFAULT_wxUSE_TEXTDLG
=yes
2527 DEFAULT_wxUSE_SPLASH
=yes
2528 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2529 DEFAULT_wxUSE_PROGRESSDLG
=yes
2530 DEFAULT_wxUSE_WIZARDDLG
=yes
2532 DEFAULT_wxUSE_MENUS
=yes
2533 DEFAULT_wxUSE_MINIFRAME
=yes
2534 DEFAULT_wxUSE_HTML
=yes
2535 DEFAULT_wxUSE_RICHTEXT
=yes
2536 DEFAULT_wxUSE_XRC
=yes
2537 DEFAULT_wxUSE_AUI
=yes
2538 DEFAULT_wxUSE_WEBKIT
=yes
2539 DEFAULT_wxUSE_FILESYSTEM
=yes
2540 DEFAULT_wxUSE_FS_INET
=yes
2541 DEFAULT_wxUSE_FS_ZIP
=yes
2542 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2543 DEFAULT_wxUSE_BUSYINFO
=yes
2544 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2545 DEFAULT_wxUSE_ZIPSTREAM
=yes
2546 DEFAULT_wxUSE_TARSTREAM
=yes
2547 DEFAULT_wxUSE_VALIDATORS
=yes
2549 DEFAULT_wxUSE_ACCEL
=yes
2550 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2551 DEFAULT_wxUSE_BUTTON
=yes
2552 DEFAULT_wxUSE_BMPBUTTON
=yes
2553 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2554 DEFAULT_wxUSE_CALCTRL
=yes
2555 DEFAULT_wxUSE_CARET
=yes
2556 DEFAULT_wxUSE_CHECKBOX
=yes
2557 DEFAULT_wxUSE_CHECKLST
=yes
2558 DEFAULT_wxUSE_CHOICE
=yes
2559 DEFAULT_wxUSE_CHOICEBOOK
=yes
2560 DEFAULT_wxUSE_COLLPANE
=yes
2561 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2562 DEFAULT_wxUSE_COMBOBOX
=yes
2563 DEFAULT_wxUSE_COMBOCTRL
=yes
2564 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2565 DEFAULT_wxUSE_DISPLAY
=yes
2566 DEFAULT_wxUSE_DETECT_SM
=yes
2567 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2568 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2569 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2570 DEFAULT_wxUSE_GAUGE
=yes
2571 DEFAULT_wxUSE_GRID
=yes
2572 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2573 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2574 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2575 DEFAULT_wxUSE_IMAGLIST
=yes
2576 DEFAULT_wxUSE_LISTBOOK
=yes
2577 DEFAULT_wxUSE_LISTBOX
=yes
2578 DEFAULT_wxUSE_LISTCTRL
=yes
2579 DEFAULT_wxUSE_NOTEBOOK
=yes
2580 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2581 DEFAULT_wxUSE_RADIOBOX
=yes
2582 DEFAULT_wxUSE_RADIOBTN
=yes
2583 DEFAULT_wxUSE_SASH
=yes
2584 DEFAULT_wxUSE_SCROLLBAR
=yes
2585 DEFAULT_wxUSE_SLIDER
=yes
2586 DEFAULT_wxUSE_SPINBTN
=yes
2587 DEFAULT_wxUSE_SPINCTRL
=yes
2588 DEFAULT_wxUSE_SPLITTER
=yes
2589 DEFAULT_wxUSE_STATBMP
=yes
2590 DEFAULT_wxUSE_STATBOX
=yes
2591 DEFAULT_wxUSE_STATLINE
=yes
2592 DEFAULT_wxUSE_STATTEXT
=yes
2593 DEFAULT_wxUSE_STATUSBAR
=yes
2594 DEFAULT_wxUSE_TAB_DIALOG
=no
2595 DEFAULT_wxUSE_TEXTCTRL
=yes
2596 DEFAULT_wxUSE_TOGGLEBTN
=yes
2597 DEFAULT_wxUSE_TOOLBAR
=yes
2598 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2599 DEFAULT_wxUSE_TREEBOOK
=yes
2600 DEFAULT_wxUSE_TOOLBOOK
=yes
2601 DEFAULT_wxUSE_TREECTRL
=yes
2602 DEFAULT_wxUSE_POPUPWIN
=yes
2603 DEFAULT_wxUSE_TIPWINDOW
=yes
2605 DEFAULT_wxUSE_UNICODE
=no
2606 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2607 DEFAULT_wxUSE_WCSRTOMBS
=no
2609 DEFAULT_wxUSE_PALETTE
=yes
2610 DEFAULT_wxUSE_IMAGE
=yes
2611 DEFAULT_wxUSE_GIF
=yes
2612 DEFAULT_wxUSE_PCX
=yes
2613 DEFAULT_wxUSE_TGA
=yes
2614 DEFAULT_wxUSE_IFF
=no DEFAULT_wxUSE_PNM
=yes
2615 DEFAULT_wxUSE_XPM
=yes
2616 DEFAULT_wxUSE_ICO_CUR
=yes
2617 DEFAULT_wxUSE_ACCESSIBILITY
=no
2619 DEFAULT_wxUSE_MONOLITHIC
=no
2620 DEFAULT_wxUSE_PLUGINS
=no
2621 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2623 DEFAULT_wxUSE_GTK2
=yes
2629 for toolkit
in `echo $ALL_TOOLKITS`; do
2630 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2631 if test "x$LINE" != "x" ; then
2632 has_toolkit_in_cache
=1
2633 eval "DEFAULT_$LINE"
2634 eval "CACHE_$toolkit=1"
2636 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 eval "DEFAULT_$LINE"
2646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2647 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2649 # Check whether --enable-gui or --disable-gui was given.
2650 if test "${enable_gui+set}" = set; then
2651 enableval
="$enable_gui"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_gui
='wxUSE_GUI=yes'
2656 ac_cv_use_gui
='wxUSE_GUI=no'
2661 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672 eval "$ac_cv_use_gui"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_GUI" = yes; then
2678 echo "$as_me:$LINENO: result: yes" >&5
2679 echo "${ECHO_T}yes" >&6
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2688 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2690 # Check whether --enable-monolithic or --disable-monolithic was given.
2691 if test "${enable_monolithic+set}" = set; then
2692 enableval
="$enable_monolithic"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2697 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2702 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713 eval "$ac_cv_use_monolithic"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_MONOLITHIC" = yes; then
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2729 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2731 # Check whether --enable-plugins or --disable-plugins was given.
2732 if test "${enable_plugins+set}" = set; then
2733 enableval
="$enable_plugins"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2738 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2743 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754 eval "$ac_cv_use_plugins"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_PLUGINS" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2769 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2770 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2773 # Check whether --with-subdirs or --without-subdirs was given.
2774 if test "${with_subdirs+set}" = set; then
2775 withval
="$with_subdirs"
2777 if test "$withval" = yes; then
2778 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2780 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2785 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796 eval "$ac_cv_use_subdirs"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2801 if test "$wxWITH_SUBDIRS" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2810 if test "$wxUSE_GUI" = "yes"; then
2814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2815 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2817 # Check whether --enable-universal or --disable-universal was given.
2818 if test "${enable_universal+set}" = set; then
2819 enableval
="$enable_universal"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2824 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2829 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840 eval "$ac_cv_use_universal"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_UNIVERSAL" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2854 # Check whether --with-gtk or --without-gtk was given.
2855 if test "${with_gtk+set}" = set; then
2857 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2860 # Check whether --with-motif or --without-motif was given.
2861 if test "${with_motif+set}" = set; then
2862 withval
="$with_motif"
2863 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-mac or --without-mac was given.
2867 if test "${with_mac+set}" = set; then
2869 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-cocoa or --without-cocoa was given.
2873 if test "${with_cocoa+set}" = set; then
2874 withval
="$with_cocoa"
2875 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-wine or --without-wine was given.
2879 if test "${with_wine+set}" = set; then
2880 withval
="$with_wine"
2881 wxUSE_WINE
="$withval" CACHE_WINE
=1
2884 # Check whether --with-msw or --without-msw was given.
2885 if test "${with_msw+set}" = set; then
2887 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2890 # Check whether --with-pm or --without-pm was given.
2891 if test "${with_pm+set}" = set; then
2893 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2896 # Check whether --with-mgl or --without-mgl was given.
2897 if test "${with_mgl+set}" = set; then
2899 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2902 # Check whether --with-directfb or --without-directfb was given.
2903 if test "${with_directfb+set}" = set; then
2904 withval
="$with_directfb"
2905 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2908 # Check whether --with-microwin or --without-microwin was given.
2909 if test "${with_microwin+set}" = set; then
2910 withval
="$with_microwin"
2911 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2914 # Check whether --with-x11 or --without-x11 was given.
2915 if test "${with_x11+set}" = set; then
2917 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2922 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2924 # Check whether --enable-nanox or --disable-nanox was given.
2925 if test "${enable_nanox+set}" = set; then
2926 enableval
="$enable_nanox"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2931 ac_cv_use_nanox
='wxUSE_NANOX=no'
2936 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947 eval "$ac_cv_use_nanox"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_NANOX" = yes; then
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2962 if test "${enable_gtk2+set}" = set; then
2963 enableval
="$enable_gtk2"
2964 wxUSE_GTK2
="$enableval"
2968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2971 # Check whether --enable-gpe or --disable-gpe was given.
2972 if test "${enable_gpe+set}" = set; then
2973 enableval
="$enable_gpe"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gpe
='wxUSE_GPE=yes'
2978 ac_cv_use_gpe
='wxUSE_GPE=no'
2983 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994 eval "$ac_cv_use_gpe"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_GPE" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3009 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3010 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3013 # Check whether --with-libpng or --without-libpng was given.
3014 if test "${with_libpng+set}" = set; then
3015 withval
="$with_libpng"
3017 if test "$withval" = yes; then
3018 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3019 elif test "$withval" = no
; then
3020 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3021 elif test "$withval" = sys
; then
3022 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3033 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x
; then
3035 eval "DEFAULT_$LINE"
3040 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044 eval "$ac_cv_use_libpng"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_LIBPNG" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_LIBPNG" = no
; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_LIBPNG" = sys
; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_LIBPNG" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3068 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3069 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3072 # Check whether --with-libjpeg or --without-libjpeg was given.
3073 if test "${with_libjpeg+set}" = set; then
3074 withval
="$with_libjpeg"
3076 if test "$withval" = yes; then
3077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3078 elif test "$withval" = no
; then
3079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3080 elif test "$withval" = sys
; then
3081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3092 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103 eval "$ac_cv_use_libjpeg"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_LIBJPEG" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_LIBJPEG" = no
; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_LIBJPEG" = sys
; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_LIBJPEG" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3128 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3131 # Check whether --with-libtiff or --without-libtiff was given.
3132 if test "${with_libtiff+set}" = set; then
3133 withval
="$with_libtiff"
3135 if test "$withval" = yes; then
3136 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3137 elif test "$withval" = no
; then
3138 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3139 elif test "$withval" = sys
; then
3140 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3151 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162 eval "$ac_cv_use_libtiff"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_LIBTIFF" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_LIBTIFF" = no
; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_LIBTIFF" = sys
; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_LIBTIFF" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3186 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3187 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3190 # Check whether --with-libxpm or --without-libxpm was given.
3191 if test "${with_libxpm+set}" = set; then
3192 withval
="$with_libxpm"
3194 if test "$withval" = yes; then
3195 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3196 elif test "$withval" = no
; then
3197 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3198 elif test "$withval" = sys
; then
3199 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3210 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221 eval "$ac_cv_use_libxpm"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_LIBXPM" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_LIBXPM" = no
; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_LIBXPM" = sys
; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_LIBXPM" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3247 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3250 # Check whether --with-libmspack or --without-libmspack was given.
3251 if test "${with_libmspack+set}" = set; then
3252 withval
="$with_libmspack"
3254 if test "$withval" = yes; then
3255 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3257 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3262 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273 eval "$ac_cv_use_libmspack"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3278 if test "$wxUSE_LIBMSPACK" = yes; then
3279 echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3288 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3289 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3292 # Check whether --with-sdl or --without-sdl was given.
3293 if test "${with_sdl+set}" = set; then
3296 if test "$withval" = yes; then
3297 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3299 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3304 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315 eval "$ac_cv_use_sdl"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_LIBSDL" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3334 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3335 if test "${with_gnomeprint+set}" = set; then
3336 withval
="$with_gnomeprint"
3338 if test "$withval" = yes; then
3339 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3341 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3346 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357 eval "$ac_cv_use_gnomeprint"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3372 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3373 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3376 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3377 if test "${with_gnomevfs+set}" = set; then
3378 withval
="$with_gnomevfs"
3380 if test "$withval" = yes; then
3381 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3383 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3388 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399 eval "$ac_cv_use_gnomevfs"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3414 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3415 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3418 # Check whether --with-hildon or --without-hildon was given.
3419 if test "${with_hildon+set}" = set; then
3420 withval
="$with_hildon"
3422 if test "$withval" = yes; then
3423 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3425 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3430 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441 eval "$ac_cv_use_hildon"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_LIBHILDON" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3456 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3457 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3460 # Check whether --with-opengl or --without-opengl was given.
3461 if test "${with_opengl+set}" = set; then
3462 withval
="$with_opengl"
3464 if test "$withval" = yes; then
3465 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3467 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3472 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483 eval "$ac_cv_use_opengl"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_OPENGL" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3497 if test "$wxUSE_UNIVERSAL" = "yes"; then
3499 # Check whether --with-themes or --without-themes was given.
3500 if test "${with_themes+set}" = set; then
3501 withval
="$with_themes"
3502 wxUNIV_THEMES
="$withval"
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3514 # Check whether --with-dmalloc or --without-dmalloc was given.
3515 if test "${with_dmalloc+set}" = set; then
3516 withval
="$with_dmalloc"
3518 if test "$withval" = yes; then
3519 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3521 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3526 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537 eval "$ac_cv_use_dmalloc"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_DMALLOC" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3551 echo "$as_me:$LINENO: checking for --with-regex" >&5
3552 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3555 # Check whether --with-regex or --without-regex was given.
3556 if test "${with_regex+set}" = set; then
3557 withval
="$with_regex"
3559 if test "$withval" = yes; then
3560 ac_cv_use_regex
='wxUSE_REGEX=yes'
3561 elif test "$withval" = no
; then
3562 ac_cv_use_regex
='wxUSE_REGEX=no'
3563 elif test "$withval" = sys
; then
3564 ac_cv_use_regex
='wxUSE_REGEX=sys'
3565 elif test "$withval" = builtin; then
3566 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3575 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586 eval "$ac_cv_use_regex"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_REGEX" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 elif test "$wxUSE_REGEX" = no
; then
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 elif test "$wxUSE_REGEX" = sys
; then
3598 echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6
3600 elif test "$wxUSE_REGEX" = builtin; then
3601 echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3610 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3611 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3614 # Check whether --with-zlib or --without-zlib was given.
3615 if test "${with_zlib+set}" = set; then
3616 withval
="$with_zlib"
3618 if test "$withval" = yes; then
3619 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3620 elif test "$withval" = no
; then
3621 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3622 elif test "$withval" = sys
; then
3623 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3624 elif test "$withval" = builtin; then
3625 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3634 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645 eval "$ac_cv_use_zlib"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_ZLIB" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3653 elif test "$wxUSE_ZLIB" = no
; then
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3656 elif test "$wxUSE_ZLIB" = sys
; then
3657 echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6
3659 elif test "$wxUSE_ZLIB" = builtin; then
3660 echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3669 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3670 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3673 # Check whether --with-odbc or --without-odbc was given.
3674 if test "${with_odbc+set}" = set; then
3675 withval
="$with_odbc"
3677 if test "$withval" = yes; then
3678 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3679 elif test "$withval" = no
; then
3680 ac_cv_use_odbc
='wxUSE_ODBC=no'
3681 elif test "$withval" = sys
; then
3682 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3683 elif test "$withval" = builtin; then
3684 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3693 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704 eval "$ac_cv_use_odbc"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_ODBC" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 elif test "$wxUSE_ODBC" = no
; then
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 elif test "$wxUSE_ODBC" = sys
; then
3716 echo "$as_me:$LINENO: result: system version" >&5
3717 echo "${ECHO_T}system version" >&6
3718 elif test "$wxUSE_ODBC" = builtin; then
3719 echo "$as_me:$LINENO: result: builtin version" >&5
3720 echo "${ECHO_T}builtin version" >&6
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3728 echo "$as_me:$LINENO: checking for --with-expat" >&5
3729 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3732 # Check whether --with-expat or --without-expat was given.
3733 if test "${with_expat+set}" = set; then
3734 withval
="$with_expat"
3736 if test "$withval" = yes; then
3737 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3738 elif test "$withval" = no
; then
3739 ac_cv_use_expat
='wxUSE_EXPAT=no'
3740 elif test "$withval" = sys
; then
3741 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3742 elif test "$withval" = builtin; then
3743 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3752 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763 eval "$ac_cv_use_expat"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_EXPAT" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3771 elif test "$wxUSE_EXPAT" = no
; then
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3774 elif test "$wxUSE_EXPAT" = sys
; then
3775 echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6
3777 elif test "$wxUSE_EXPAT" = builtin; then
3778 echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3793 # Check whether --enable-shared or --disable-shared was given.
3794 if test "${enable_shared+set}" = set; then
3795 enableval
="$enable_shared"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_shared
='wxUSE_SHARED=yes'
3800 ac_cv_use_shared
='wxUSE_SHARED=no'
3805 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816 eval "$ac_cv_use_shared"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3821 if test "$wxUSE_SHARED" = yes; then
3822 echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3832 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3834 # Check whether --enable-optimise or --disable-optimise was given.
3835 if test "${enable_optimise+set}" = set; then
3836 enableval
="$enable_optimise"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3841 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3846 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857 eval "$ac_cv_use_optimise"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3862 if test "$wxUSE_OPTIMISE" = yes; then
3863 echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3873 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3875 # Check whether --enable-debug or --disable-debug was given.
3876 if test "${enable_debug+set}" = set; then
3877 enableval
="$enable_debug"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3882 ac_cv_use_debug
='wxUSE_DEBUG=no'
3887 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898 eval "$ac_cv_use_debug"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_DEBUG" = yes; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3907 echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3916 # Check whether --enable-stl or --disable-stl was given.
3917 if test "${enable_stl+set}" = set; then
3918 enableval
="$enable_stl"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_stl
='wxUSE_STL=yes'
3923 ac_cv_use_stl
='wxUSE_STL=no'
3928 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3939 eval "$ac_cv_use_stl"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_STL" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3952 if test "$USE_OS2" = "1"; then
3953 DEFAULT_wxUSE_OMF
=no
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3959 # Check whether --enable-omf or --disable-omf was given.
3960 if test "${enable_omf+set}" = set; then
3961 enableval
="$enable_omf"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_omf
='wxUSE_OMF=yes'
3966 ac_cv_use_omf
='wxUSE_OMF=no'
3971 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982 eval "$ac_cv_use_omf"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_OMF" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 if test "$wxUSE_DEBUG" = "yes"; then
3998 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3999 DEFAULT_wxUSE_DEBUG_INFO
=yes
4001 elif test "$wxUSE_DEBUG" = "no"; then
4002 DEFAULT_wxUSE_DEBUG_FLAG
=no
4003 DEFAULT_wxUSE_DEBUG_INFO
=no
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4012 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4013 if test "${enable_debug_flag+set}" = set; then
4014 enableval
="$enable_debug_flag"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4019 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4024 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035 eval "$ac_cv_use_debug_flag"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_DEBUG_FLAG" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4053 # Check whether --enable-debug_info or --disable-debug_info was given.
4054 if test "${enable_debug_info+set}" = set; then
4055 enableval
="$enable_debug_info"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4060 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4065 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076 eval "$ac_cv_use_debug_info"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_DEBUG_INFO" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4094 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4095 if test "${enable_debug_gdb+set}" = set; then
4096 enableval
="$enable_debug_gdb"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4101 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4106 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117 eval "$ac_cv_use_debug_gdb"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_DEBUG_GDB" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4135 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4136 if test "${enable_debug_cntxt+set}" = set; then
4137 enableval
="$enable_debug_cntxt"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4142 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4147 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x
; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158 eval "$ac_cv_use_debug_cntxt"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4174 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4176 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4177 if test "${enable_mem_tracing+set}" = set; then
4178 enableval
="$enable_mem_tracing"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4183 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4188 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199 eval "$ac_cv_use_mem_tracing"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_MEM_TRACING" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4217 # Check whether --enable-profile or --disable-profile was given.
4218 if test "${enable_profile+set}" = set; then
4219 enableval
="$enable_profile"
4221 if test "$enableval" = yes; then
4222 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4224 ac_cv_use_profile
='wxUSE_PROFILE=no'
4229 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x
; then
4231 eval "DEFAULT_$LINE"
4236 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240 eval "$ac_cv_use_profile"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_PROFILE" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4259 if test "${enable_no_rtti+set}" = set; then
4260 enableval
="$enable_no_rtti"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4265 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4270 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281 eval "$ac_cv_use_no_rtti"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4286 if test "$wxUSE_NO_RTTI" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4299 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4300 if test "${enable_no_exceptions+set}" = set; then
4301 enableval
="$enable_no_exceptions"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4306 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4311 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322 eval "$ac_cv_use_no_exceptions"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4340 # Check whether --enable-permissive or --disable-permissive was given.
4341 if test "${enable_permissive+set}" = set; then
4342 enableval
="$enable_permissive"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4347 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4352 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363 eval "$ac_cv_use_permissive"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PERMISSIVE" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4381 # Check whether --enable-no_deps or --disable-no_deps was given.
4382 if test "${enable_no_deps+set}" = set; then
4383 enableval
="$enable_no_deps"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4388 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4393 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404 eval "$ac_cv_use_no_deps"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_NO_DEPS" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4422 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4423 if test "${enable_universal_binary+set}" = set; then
4424 enableval
="$enable_universal_binary"
4426 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4433 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4436 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4441 eval "$wx_cv_use_universal_binary"
4442 if test "$no_cache" != 1; then
4443 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4446 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4447 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4455 # Check whether --enable-compat24 or --disable-compat24 was given.
4456 if test "${enable_compat24+set}" = set; then
4457 enableval
="$enable_compat24"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4462 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4467 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478 eval "$ac_cv_use_compat24"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4483 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4484 echo "$as_me:$LINENO: result: yes" >&5
4485 echo "${ECHO_T}yes" >&6
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4492 enablestring
=disable
4493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4496 # Check whether --enable-compat26 or --disable-compat26 was given.
4497 if test "${enable_compat26+set}" = set; then
4498 enableval
="$enable_compat26"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4503 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4508 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519 eval "$ac_cv_use_compat26"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4524 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4538 # Check whether --enable-rpath or --disable-rpath was given.
4539 if test "${enable_rpath+set}" = set; then
4540 enableval
="$enable_rpath"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4545 ac_cv_use_rpath
='wxUSE_RPATH=no'
4550 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561 eval "$ac_cv_use_rpath"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_RPATH" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4582 # Check whether --enable-intl or --disable-intl was given.
4583 if test "${enable_intl+set}" = set; then
4584 enableval
="$enable_intl"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_intl
='wxUSE_INTL=yes'
4589 ac_cv_use_intl
='wxUSE_INTL=no'
4594 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605 eval "$ac_cv_use_intl"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_INTL" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4623 # Check whether --enable-config or --disable-config was given.
4624 if test "${enable_config+set}" = set; then
4625 enableval
="$enable_config"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_config
='wxUSE_CONFIG=yes'
4630 ac_cv_use_config
='wxUSE_CONFIG=no'
4635 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646 eval "$ac_cv_use_config"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_CONFIG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4665 # Check whether --enable-protocols or --disable-protocols was given.
4666 if test "${enable_protocols+set}" = set; then
4667 enableval
="$enable_protocols"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4672 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4677 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688 eval "$ac_cv_use_protocols"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_PROTOCOL" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4706 # Check whether --enable-ftp or --disable-ftp was given.
4707 if test "${enable_ftp+set}" = set; then
4708 enableval
="$enable_ftp"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4713 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4718 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729 eval "$ac_cv_use_ftp"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4747 # Check whether --enable-http or --disable-http was given.
4748 if test "${enable_http+set}" = set; then
4749 enableval
="$enable_http"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4754 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4759 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770 eval "$ac_cv_use_http"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4788 # Check whether --enable-fileproto or --disable-fileproto was given.
4789 if test "${enable_fileproto+set}" = set; then
4790 enableval
="$enable_fileproto"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4795 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4800 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811 eval "$ac_cv_use_fileproto"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4829 # Check whether --enable-sockets or --disable-sockets was given.
4830 if test "${enable_sockets+set}" = set; then
4831 enableval
="$enable_sockets"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4836 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4841 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x
; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852 eval "$ac_cv_use_sockets"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_SOCKETS" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4870 # Check whether --enable-ole or --disable-ole was given.
4871 if test "${enable_ole+set}" = set; then
4872 enableval
="$enable_ole"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_ole
='wxUSE_OLE=yes'
4877 ac_cv_use_ole
='wxUSE_OLE=no'
4882 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893 eval "$ac_cv_use_ole"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_OLE" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4911 # Check whether --enable-dataobj or --disable-dataobj was given.
4912 if test "${enable_dataobj+set}" = set; then
4913 enableval
="$enable_dataobj"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4918 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4923 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x
; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934 eval "$ac_cv_use_dataobj"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_DATAOBJ" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4953 # Check whether --enable-ipc or --disable-ipc was given.
4954 if test "${enable_ipc+set}" = set; then
4955 enableval
="$enable_ipc"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_ipc
='wxUSE_IPC=yes'
4960 ac_cv_use_ipc
='wxUSE_IPC=no'
4965 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976 eval "$ac_cv_use_ipc"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4981 if test "$wxUSE_IPC" = yes; then
4982 echo "$as_me:$LINENO: result: yes" >&5
4983 echo "${ECHO_T}yes" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4995 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4996 if test "${enable_apple_ieee+set}" = set; then
4997 enableval
="$enable_apple_ieee"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5002 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5007 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018 eval "$ac_cv_use_apple_ieee"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_APPLE_IEEE" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5036 # Check whether --enable-arcstream or --disable-arcstream was given.
5037 if test "${enable_arcstream+set}" = set; then
5038 enableval
="$enable_arcstream"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5043 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5048 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x
; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059 eval "$ac_cv_use_arcstream"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5077 # Check whether --enable-backtrace or --disable-backtrace was given.
5078 if test "${enable_backtrace+set}" = set; then
5079 enableval
="$enable_backtrace"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5084 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5089 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100 eval "$ac_cv_use_backtrace"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_STACKWALKER" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5118 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5119 if test "${enable_catch_segvs+set}" = set; then
5120 enableval
="$enable_catch_segvs"
5122 if test "$enableval" = yes; then
5123 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5125 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5130 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x
; then
5132 eval "DEFAULT_$LINE"
5137 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141 eval "$ac_cv_use_catch_segvs"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5159 # Check whether --enable-cmdline or --disable-cmdline was given.
5160 if test "${enable_cmdline+set}" = set; then
5161 enableval
="$enable_cmdline"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5166 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5171 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182 eval "$ac_cv_use_cmdline"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5200 # Check whether --enable-datetime or --disable-datetime was given.
5201 if test "${enable_datetime+set}" = set; then
5202 enableval
="$enable_datetime"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5207 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5212 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x
; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223 eval "$ac_cv_use_datetime"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_DATETIME" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5241 # Check whether --enable-debugreport or --disable-debugreport was given.
5242 if test "${enable_debugreport+set}" = set; then
5243 enableval
="$enable_debugreport"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5248 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5253 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264 eval "$ac_cv_use_debugreport"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_DEBUGREPORT" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5282 # Check whether --enable-dialupman or --disable-dialupman was given.
5283 if test "${enable_dialupman+set}" = set; then
5284 enableval
="$enable_dialupman"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5289 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5294 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x
; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305 eval "$ac_cv_use_dialupman"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5323 # Check whether --enable-dynlib or --disable-dynlib was given.
5324 if test "${enable_dynlib+set}" = set; then
5325 enableval
="$enable_dynlib"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5330 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5335 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346 eval "$ac_cv_use_dynlib"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5364 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5365 if test "${enable_dynamicloader+set}" = set; then
5366 enableval
="$enable_dynamicloader"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5371 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5376 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387 eval "$ac_cv_use_dynamicloader"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5405 # Check whether --enable-exceptions or --disable-exceptions was given.
5406 if test "${enable_exceptions+set}" = set; then
5407 enableval
="$enable_exceptions"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5412 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5417 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428 eval "$ac_cv_use_exceptions"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_EXCEPTIONS" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5446 # Check whether --enable-ffile or --disable-ffile was given.
5447 if test "${enable_ffile+set}" = set; then
5448 enableval
="$enable_ffile"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5453 ac_cv_use_ffile
='wxUSE_FFILE=no'
5458 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469 eval "$ac_cv_use_ffile"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_FFILE" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5487 # Check whether --enable-file or --disable-file was given.
5488 if test "${enable_file+set}" = set; then
5489 enableval
="$enable_file"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_file
='wxUSE_FILE=yes'
5494 ac_cv_use_file
='wxUSE_FILE=no'
5499 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510 eval "$ac_cv_use_file"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_FILE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5528 # Check whether --enable-filesystem or --disable-filesystem was given.
5529 if test "${enable_filesystem+set}" = set; then
5530 enableval
="$enable_filesystem"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5535 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5540 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551 eval "$ac_cv_use_filesystem"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_FILESYSTEM" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5569 # Check whether --enable-fontmap or --disable-fontmap was given.
5570 if test "${enable_fontmap+set}" = set; then
5571 enableval
="$enable_fontmap"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5576 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5581 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592 eval "$ac_cv_use_fontmap"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_FONTMAP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5610 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5611 if test "${enable_fs_archive+set}" = set; then
5612 enableval
="$enable_fs_archive"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5617 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5622 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633 eval "$ac_cv_use_fs_archive"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_FS_ARCHIVE" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5651 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5652 if test "${enable_fs_inet+set}" = set; then
5653 enableval
="$enable_fs_inet"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5658 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5663 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674 eval "$ac_cv_use_fs_inet"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_FS_INET" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5692 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5693 if test "${enable_fs_zip+set}" = set; then
5694 enableval
="$enable_fs_zip"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5699 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5704 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715 eval "$ac_cv_use_fs_zip"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_FS_ZIP" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5733 # Check whether --enable-geometry or --disable-geometry was given.
5734 if test "${enable_geometry+set}" = set; then
5735 enableval
="$enable_geometry"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5740 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5745 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756 eval "$ac_cv_use_geometry"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_GEOMETRY" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5774 # Check whether --enable-log or --disable-log was given.
5775 if test "${enable_log+set}" = set; then
5776 enableval
="$enable_log"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_log
='wxUSE_LOG=yes'
5781 ac_cv_use_log
='wxUSE_LOG=no'
5786 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797 eval "$ac_cv_use_log"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_LOG" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5815 # Check whether --enable-longlong or --disable-longlong was given.
5816 if test "${enable_longlong+set}" = set; then
5817 enableval
="$enable_longlong"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5822 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5827 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838 eval "$ac_cv_use_longlong"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_LONGLONG" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5856 # Check whether --enable-mimetype or --disable-mimetype was given.
5857 if test "${enable_mimetype+set}" = set; then
5858 enableval
="$enable_mimetype"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5863 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5868 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879 eval "$ac_cv_use_mimetype"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_MIMETYPE" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5897 # Check whether --enable-mslu or --disable-mslu was given.
5898 if test "${enable_mslu+set}" = set; then
5899 enableval
="$enable_mslu"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5904 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5909 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x
; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920 eval "$ac_cv_use_mslu"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_UNICODE_MSLU" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5938 # Check whether --enable-snglinst or --disable-snglinst was given.
5939 if test "${enable_snglinst+set}" = set; then
5940 enableval
="$enable_snglinst"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5945 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5950 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961 eval "$ac_cv_use_snglinst"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5979 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then
5981 enableval
="$enable_std_iostreams"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5986 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5991 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x
; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002 eval "$ac_cv_use_std_iostreams"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6007 if test "$wxUSE_STD_IOSTREAM" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6020 # Check whether --enable-std_string or --disable-std_string was given.
6021 if test "${enable_std_string+set}" = set; then
6022 enableval
="$enable_std_string"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6027 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6032 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043 eval "$ac_cv_use_std_string"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_STD_STRING" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6061 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6062 if test "${enable_stdpaths+set}" = set; then
6063 enableval
="$enable_stdpaths"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6068 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6073 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x
; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084 eval "$ac_cv_use_stdpaths"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_STDPATHS" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6102 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6103 if test "${enable_stopwatch+set}" = set; then
6104 enableval
="$enable_stopwatch"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6109 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6114 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125 eval "$ac_cv_use_stopwatch"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_STOPWATCH" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6143 # Check whether --enable-streams or --disable-streams was given.
6144 if test "${enable_streams+set}" = set; then
6145 enableval
="$enable_streams"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6150 ac_cv_use_streams
='wxUSE_STREAMS=no'
6155 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166 eval "$ac_cv_use_streams"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_STREAMS" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6184 # Check whether --enable-system_options or --disable-system_options was given.
6185 if test "${enable_system_options+set}" = set; then
6186 enableval
="$enable_system_options"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6191 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6196 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207 eval "$ac_cv_use_system_options"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6225 # Check whether --enable-tarstream or --disable-tarstream was given.
6226 if test "${enable_tarstream+set}" = set; then
6227 enableval
="$enable_tarstream"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6232 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6237 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248 eval "$ac_cv_use_tarstream"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_TARSTREAM" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6266 # Check whether --enable-textbuf or --disable-textbuf was given.
6267 if test "${enable_textbuf+set}" = set; then
6268 enableval
="$enable_textbuf"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6273 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6278 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289 eval "$ac_cv_use_textbuf"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_TEXTBUFFER" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6307 # Check whether --enable-textfile or --disable-textfile was given.
6308 if test "${enable_textfile+set}" = set; then
6309 enableval
="$enable_textfile"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6314 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6319 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330 eval "$ac_cv_use_textfile"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_TEXTFILE" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6348 # Check whether --enable-timer or --disable-timer was given.
6349 if test "${enable_timer+set}" = set; then
6350 enableval
="$enable_timer"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_timer
='wxUSE_TIMER=yes'
6355 ac_cv_use_timer
='wxUSE_TIMER=no'
6360 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371 eval "$ac_cv_use_timer"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_TIMER" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6389 # Check whether --enable-unicode or --disable-unicode was given.
6390 if test "${enable_unicode+set}" = set; then
6391 enableval
="$enable_unicode"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6396 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6401 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412 eval "$ac_cv_use_unicode"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_UNICODE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6430 # Check whether --enable-sound or --disable-sound was given.
6431 if test "${enable_sound+set}" = set; then
6432 enableval
="$enable_sound"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_sound
='wxUSE_SOUND=yes'
6437 ac_cv_use_sound
='wxUSE_SOUND=no'
6442 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453 eval "$ac_cv_use_sound"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_SOUND" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6471 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6472 if test "${enable_mediactrl+set}" = set; then
6473 enableval
="$enable_mediactrl"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6478 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6483 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494 eval "$ac_cv_use_mediactrl"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MEDIACTRL" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6512 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6513 if test "${enable_gstreamer8+set}" = set; then
6514 enableval
="$enable_gstreamer8"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6519 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6524 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535 eval "$ac_cv_use_gstreamer8"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_GSTREAMER8" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6553 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6554 if test "${enable_printfposparam+set}" = set; then
6555 enableval
="$enable_printfposparam"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6560 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6565 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576 eval "$ac_cv_use_printfposparam"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6594 # Check whether --enable-zipstream or --disable-zipstream was given.
6595 if test "${enable_zipstream+set}" = set; then
6596 enableval
="$enable_zipstream"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6601 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6606 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617 eval "$ac_cv_use_zipstream"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_ZIPSTREAM" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6636 # Check whether --enable-url or --disable-url was given.
6637 if test "${enable_url+set}" = set; then
6638 enableval
="$enable_url"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_url
='wxUSE_URL=yes'
6643 ac_cv_use_url
='wxUSE_URL=no'
6648 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6659 eval "$ac_cv_use_url"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_URL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6677 # Check whether --enable-variant or --disable-variant was given.
6678 if test "${enable_variant+set}" = set; then
6679 enableval
="$enable_variant"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6684 ac_cv_use_variant
='wxUSE_VARIANT=no'
6689 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x
; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700 eval "$ac_cv_use_variant"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_VARIANT" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6718 # Check whether --enable-protocol or --disable-protocol was given.
6719 if test "${enable_protocol+set}" = set; then
6720 enableval
="$enable_protocol"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6725 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6730 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741 eval "$ac_cv_use_protocol"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_PROTOCOL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6759 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6760 if test "${enable_protocol_http+set}" = set; then
6761 enableval
="$enable_protocol_http"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6766 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6771 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782 eval "$ac_cv_use_protocol_http"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6800 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6801 if test "${enable_protocol_ftp+set}" = set; then
6802 enableval
="$enable_protocol_ftp"
6804 if test "$enableval" = yes; then
6805 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6807 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6812 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x
; then
6814 eval "DEFAULT_$LINE"
6819 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823 eval "$ac_cv_use_protocol_ftp"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6841 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6842 if test "${enable_protocol_file+set}" = set; then
6843 enableval
="$enable_protocol_file"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6848 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6853 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864 eval "$ac_cv_use_protocol_file"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6885 # Check whether --enable-threads or --disable-threads was given.
6886 if test "${enable_threads+set}" = set; then
6887 enableval
="$enable_threads"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_threads
='wxUSE_THREADS=yes'
6892 ac_cv_use_threads
='wxUSE_THREADS=no'
6897 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908 eval "$ac_cv_use_threads"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_THREADS" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6922 if test "$wxUSE_GUI" = "yes"; then
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6930 # Check whether --enable-docview or --disable-docview was given.
6931 if test "${enable_docview+set}" = set; then
6932 enableval
="$enable_docview"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6937 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6942 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953 eval "$ac_cv_use_docview"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6971 # Check whether --enable-help or --disable-help was given.
6972 if test "${enable_help+set}" = set; then
6973 enableval
="$enable_help"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_help
='wxUSE_HELP=yes'
6978 ac_cv_use_help
='wxUSE_HELP=no'
6983 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994 eval "$ac_cv_use_help"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_HELP" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7012 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7013 if test "${enable_mshtmlhelp+set}" = set; then
7014 enableval
="$enable_mshtmlhelp"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7019 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7024 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035 eval "$ac_cv_use_mshtmlhelp"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_MS_HTML_HELP" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7053 # Check whether --enable-html or --disable-html was given.
7054 if test "${enable_html+set}" = set; then
7055 enableval
="$enable_html"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_html
='wxUSE_HTML=yes'
7060 ac_cv_use_html
='wxUSE_HTML=no'
7065 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076 eval "$ac_cv_use_html"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_HTML" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7094 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7095 if test "${enable_htmlhelp+set}" = set; then
7096 enableval
="$enable_htmlhelp"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7101 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7106 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117 eval "$ac_cv_use_htmlhelp"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_WXHTML_HELP" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7135 # Check whether --enable-xrc or --disable-xrc was given.
7136 if test "${enable_xrc+set}" = set; then
7137 enableval
="$enable_xrc"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_xrc
='wxUSE_XRC=yes'
7142 ac_cv_use_xrc
='wxUSE_XRC=no'
7147 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158 eval "$ac_cv_use_xrc"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_XRC" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7176 # Check whether --enable-aui or --disable-aui was given.
7177 if test "${enable_aui+set}" = set; then
7178 enableval
="$enable_aui"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_aui
='wxUSE_AUI=yes'
7183 ac_cv_use_aui
='wxUSE_AUI=no'
7188 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199 eval "$ac_cv_use_aui"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_AUI" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7217 # Check whether --enable-constraints or --disable-constraints was given.
7218 if test "${enable_constraints+set}" = set; then
7219 enableval
="$enable_constraints"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7224 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7229 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240 eval "$ac_cv_use_constraints"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONSTRAINTS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7258 # Check whether --enable-printarch or --disable-printarch was given.
7259 if test "${enable_printarch+set}" = set; then
7260 enableval
="$enable_printarch"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7265 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7270 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281 eval "$ac_cv_use_printarch"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7299 # Check whether --enable-mdi or --disable-mdi was given.
7300 if test "${enable_mdi+set}" = set; then
7301 enableval
="$enable_mdi"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_mdi
='wxUSE_MDI=yes'
7306 ac_cv_use_mdi
='wxUSE_MDI=no'
7311 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322 eval "$ac_cv_use_mdi"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_MDI" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7340 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7341 if test "${enable_mdidoc+set}" = set; then
7342 enableval
="$enable_mdidoc"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7347 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7352 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363 eval "$ac_cv_use_mdidoc"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7381 # Check whether --enable-loggui or --disable-loggui was given.
7382 if test "${enable_loggui+set}" = set; then
7383 enableval
="$enable_loggui"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7388 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7393 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404 eval "$ac_cv_use_loggui"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_LOGGUI" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7422 # Check whether --enable-logwin or --disable-logwin was given.
7423 if test "${enable_logwin+set}" = set; then
7424 enableval
="$enable_logwin"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7429 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7434 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445 eval "$ac_cv_use_logwin"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_LOGWINDOW" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7463 # Check whether --enable-logdialog or --disable-logdialog was given.
7464 if test "${enable_logdialog+set}" = set; then
7465 enableval
="$enable_logdialog"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7470 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7475 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486 eval "$ac_cv_use_logdialog"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_LOGDIALOG" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7504 # Check whether --enable-webkit or --disable-webkit was given.
7505 if test "${enable_webkit+set}" = set; then
7506 enableval
="$enable_webkit"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7511 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7516 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527 eval "$ac_cv_use_webkit"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_WEBKIT" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7545 # Check whether --enable-html or --disable-html was given.
7546 if test "${enable_html+set}" = set; then
7547 enableval
="$enable_html"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7552 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7557 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568 eval "$ac_cv_use_html"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_RICHTEXT" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7586 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7587 if test "${enable_graphics_ctx+set}" = set; then
7588 enableval
="$enable_graphics_ctx"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7593 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7598 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609 eval "$ac_cv_use_graphics_ctx"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7628 # Check whether --enable-postscript or --disable-postscript was given.
7629 if test "${enable_postscript+set}" = set; then
7630 enableval
="$enable_postscript"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7635 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7640 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651 eval "$ac_cv_use_postscript"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_POSTSCRIPT" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7672 # Check whether --enable-prologio or --disable-prologio was given.
7673 if test "${enable_prologio+set}" = set; then
7674 enableval
="$enable_prologio"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7679 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7684 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695 eval "$ac_cv_use_prologio"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_PROLOGIO" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7713 # Check whether --enable-resources or --disable-resources was given.
7714 if test "${enable_resources+set}" = set; then
7715 enableval
="$enable_resources"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7720 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7725 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736 eval "$ac_cv_use_resources"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_RESOURCES" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7756 # Check whether --enable-clipboard or --disable-clipboard was given.
7757 if test "${enable_clipboard+set}" = set; then
7758 enableval
="$enable_clipboard"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7763 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7768 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779 eval "$ac_cv_use_clipboard"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_CLIPBOARD" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7797 # Check whether --enable-dnd or --disable-dnd was given.
7798 if test "${enable_dnd+set}" = set; then
7799 enableval
="$enable_dnd"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7804 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7809 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820 eval "$ac_cv_use_dnd"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7838 # Check whether --enable-metafile or --disable-metafile was given.
7839 if test "${enable_metafile+set}" = set; then
7840 enableval
="$enable_metafile"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7845 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7850 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861 eval "$ac_cv_use_metafile"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_METAFILE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7882 # Check whether --enable-controls or --disable-controls was given.
7883 if test "${enable_controls+set}" = set; then
7884 enableval
="$enable_controls"
7886 if test "$enableval" = yes; then
7887 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7889 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7894 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x
; then
7896 eval "DEFAULT_$LINE"
7901 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905 eval "$ac_cv_use_controls"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_CONTROLS" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7919 if test "$wxUSE_CONTROLS" = "yes"; then
7920 DEFAULT_wxUSE_ACCEL
=yes
7921 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7922 DEFAULT_wxUSE_BMPBUTTON
=yes
7923 DEFAULT_wxUSE_BUTTON
=yes
7924 DEFAULT_wxUSE_CALCTRL
=yes
7925 DEFAULT_wxUSE_CARET
=yes
7926 DEFAULT_wxUSE_COMBOBOX
=yes
7927 DEFAULT_wxUSE_CHECKBOX
=yes
7928 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7929 DEFAULT_wxUSE_CHOICE
=yes
7930 DEFAULT_wxUSE_CHOICEBOOK
=yes
7931 DEFAULT_wxUSE_COLLPANE
=yes
7932 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7933 DEFAULT_wxUSE_COMBOBOX
=yes
7934 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7935 DEFAULT_wxUSE_DISPLAY
=yes
7936 DEFAULT_wxUSE_DETECT_SM
=yes
7937 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7938 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7939 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7940 DEFAULT_wxUSE_GAUGE
=yes
7941 DEFAULT_wxUSE_GRID
=yes
7942 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7943 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7944 DEFAULT_wxUSE_IMAGLIST
=yes
7945 DEFAULT_wxUSE_LISTBOOK
=yes
7946 DEFAULT_wxUSE_LISTBOX
=yes
7947 DEFAULT_wxUSE_LISTCTRL
=yes
7948 DEFAULT_wxUSE_NOTEBOOK
=yes
7949 DEFAULT_wxUSE_RADIOBOX
=yes
7950 DEFAULT_wxUSE_RADIOBTN
=yes
7951 DEFAULT_wxUSE_SASH
=yes
7952 DEFAULT_wxUSE_SCROLLBAR
=yes
7953 DEFAULT_wxUSE_SLIDER
=yes
7954 DEFAULT_wxUSE_SPINBTN
=yes
7955 DEFAULT_wxUSE_SPINCTRL
=yes
7956 DEFAULT_wxUSE_SPLITTER
=yes
7957 DEFAULT_wxUSE_STATBMP
=yes
7958 DEFAULT_wxUSE_STATBOX
=yes
7959 DEFAULT_wxUSE_STATLINE
=yes
7960 DEFAULT_wxUSE_STATUSBAR
=yes
7961 DEFAULT_wxUSE_TAB_DIALOG
=yes
7962 DEFAULT_wxUSE_TOGGLEBTN
=yes
7963 DEFAULT_wxUSE_TOOLBAR
=yes
7964 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7965 DEFAULT_wxUSE_TOOLTIPS
=yes
7966 DEFAULT_wxUSE_TREEBOOK
=yes
7967 DEFAULT_wxUSE_TOOLBOOK
=yes
7968 DEFAULT_wxUSE_TREECTRL
=yes
7969 DEFAULT_wxUSE_POPUPWIN
=yes
7970 DEFAULT_wxUSE_TIPWINDOW
=yes
7971 elif test "$wxUSE_CONTROLS" = "no"; then
7972 DEFAULT_wxUSE_ACCEL
=no
7973 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7974 DEFAULT_wxUSE_BMPBUTTON
=no
7975 DEFAULT_wxUSE_BUTTON
=no
7976 DEFAULT_wxUSE_CALCTRL
=no
7977 DEFAULT_wxUSE_CARET
=no
7978 DEFAULT_wxUSE_COLLPANE
=no
7979 DEFAULT_wxUSE_COMBOBOX
=no
7980 DEFAULT_wxUSE_CHECKBOX
=no
7981 DEFAULT_wxUSE_CHECKLISTBOX
=no
7982 DEFAULT_wxUSE_CHOICE
=no
7983 DEFAULT_wxUSE_CHOICEBOOK
=no
7984 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7985 DEFAULT_wxUSE_COMBOBOX
=no
7986 DEFAULT_wxUSE_DATEPICKCTRL
=no
7987 DEFAULT_wxUSE_DISPLAY
=no
7988 DEFAULT_wxUSE_DETECT_SM
=no
7989 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7990 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7991 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7992 DEFAULT_wxUSE_GAUGE
=no
7993 DEFAULT_wxUSE_GRID
=no
7994 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7995 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7996 DEFAULT_wxUSE_IMAGLIST
=no
7997 DEFAULT_wxUSE_LISTBOOK
=no
7998 DEFAULT_wxUSE_LISTBOX
=no
7999 DEFAULT_wxUSE_LISTCTRL
=no
8000 DEFAULT_wxUSE_NOTEBOOK
=no
8001 DEFAULT_wxUSE_RADIOBOX
=no
8002 DEFAULT_wxUSE_RADIOBTN
=no
8003 DEFAULT_wxUSE_SASH
=no
8004 DEFAULT_wxUSE_SCROLLBAR
=no
8005 DEFAULT_wxUSE_SLIDER
=no
8006 DEFAULT_wxUSE_SPINBTN
=no
8007 DEFAULT_wxUSE_SPINCTRL
=no
8008 DEFAULT_wxUSE_SPLITTER
=no
8009 DEFAULT_wxUSE_STATBMP
=no
8010 DEFAULT_wxUSE_STATBOX
=no
8011 DEFAULT_wxUSE_STATLINE
=no
8012 DEFAULT_wxUSE_STATUSBAR
=no
8013 DEFAULT_wxUSE_TAB_DIALOG
=no
8014 DEFAULT_wxUSE_TOGGLEBTN
=no
8015 DEFAULT_wxUSE_TOOLBAR
=no
8016 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8017 DEFAULT_wxUSE_TOOLTIPS
=no
8018 DEFAULT_wxUSE_TREEBOOK
=no
8019 DEFAULT_wxUSE_TOOLBOOK
=no
8020 DEFAULT_wxUSE_TREECTRL
=no
8021 DEFAULT_wxUSE_POPUPWIN
=no
8022 DEFAULT_wxUSE_TIPWINDOW
=no
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8030 # Check whether --enable-accel or --disable-accel was given.
8031 if test "${enable_accel+set}" = set; then
8032 enableval
="$enable_accel"
8034 if test "$enableval" = yes; then
8035 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8037 ac_cv_use_accel
='wxUSE_ACCEL=no'
8042 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x
; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053 eval "$ac_cv_use_accel"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8058 if test "$wxUSE_ACCEL" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8071 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8072 if test "${enable_animatectrl+set}" = set; then
8073 enableval
="$enable_animatectrl"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8078 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8083 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x
; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094 eval "$ac_cv_use_animatectrl"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8099 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8112 # Check whether --enable-button or --disable-button was given.
8113 if test "${enable_button+set}" = set; then
8114 enableval
="$enable_button"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_button
='wxUSE_BUTTON=yes'
8119 ac_cv_use_button
='wxUSE_BUTTON=no'
8124 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x
; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135 eval "$ac_cv_use_button"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_BUTTON" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8153 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8154 if test "${enable_bmpbutton+set}" = set; then
8155 enableval
="$enable_bmpbutton"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8160 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8165 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x
; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176 eval "$ac_cv_use_bmpbutton"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_BMPBUTTON" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8194 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8195 if test "${enable_bmpcombobox+set}" = set; then
8196 enableval
="$enable_bmpcombobox"
8198 if test "$enableval" = yes; then
8199 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8201 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8206 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x
; then
8208 eval "DEFAULT_$LINE"
8213 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217 eval "$ac_cv_use_bmpcombobox"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8235 # Check whether --enable-calendar or --disable-calendar was given.
8236 if test "${enable_calendar+set}" = set; then
8237 enableval
="$enable_calendar"
8239 if test "$enableval" = yes; then
8240 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8242 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8247 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x
; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258 eval "$ac_cv_use_calendar"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8263 if test "$wxUSE_CALCTRL" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8276 # Check whether --enable-caret or --disable-caret was given.
8277 if test "${enable_caret+set}" = set; then
8278 enableval
="$enable_caret"
8280 if test "$enableval" = yes; then
8281 ac_cv_use_caret
='wxUSE_CARET=yes'
8283 ac_cv_use_caret
='wxUSE_CARET=no'
8288 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x
; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299 eval "$ac_cv_use_caret"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8304 if test "$wxUSE_CARET" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8317 # Check whether --enable-checkbox or --disable-checkbox was given.
8318 if test "${enable_checkbox+set}" = set; then
8319 enableval
="$enable_checkbox"
8321 if test "$enableval" = yes; then
8322 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8324 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8329 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x
; then
8331 eval "DEFAULT_$LINE"
8336 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340 eval "$ac_cv_use_checkbox"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_CHECKBOX" = yes; then
8346 echo "$as_me:$LINENO: result: yes" >&5
8347 echo "${ECHO_T}yes" >&6
8349 echo "$as_me:$LINENO: result: no" >&5
8350 echo "${ECHO_T}no" >&6
8355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8358 # Check whether --enable-checklst or --disable-checklst was given.
8359 if test "${enable_checklst+set}" = set; then
8360 enableval
="$enable_checklst"
8362 if test "$enableval" = yes; then
8363 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8365 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8370 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x
; then
8372 eval "DEFAULT_$LINE"
8377 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381 eval "$ac_cv_use_checklst"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8386 if test "$wxUSE_CHECKLST" = yes; then
8387 echo "$as_me:$LINENO: result: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8390 echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6
8396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8399 # Check whether --enable-choice or --disable-choice was given.
8400 if test "${enable_choice+set}" = set; then
8401 enableval
="$enable_choice"
8403 if test "$enableval" = yes; then
8404 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8406 ac_cv_use_choice
='wxUSE_CHOICE=no'
8411 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x
; then
8413 eval "DEFAULT_$LINE"
8418 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422 eval "$ac_cv_use_choice"
8423 if test "$no_cache" != 1; then
8424 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8427 if test "$wxUSE_CHOICE" = yes; then
8428 echo "$as_me:$LINENO: result: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8431 echo "$as_me:$LINENO: result: no" >&5
8432 echo "${ECHO_T}no" >&6
8437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8438 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8440 # Check whether --enable-choicebook or --disable-choicebook was given.
8441 if test "${enable_choicebook+set}" = set; then
8442 enableval
="$enable_choicebook"
8444 if test "$enableval" = yes; then
8445 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8447 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8452 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x
; then
8454 eval "DEFAULT_$LINE"
8459 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463 eval "$ac_cv_use_choicebook"
8464 if test "$no_cache" != 1; then
8465 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8468 if test "$wxUSE_CHOICEBOOK" = yes; then
8469 echo "$as_me:$LINENO: result: yes" >&5
8470 echo "${ECHO_T}yes" >&6
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8481 # Check whether --enable-collpane or --disable-collpane was given.
8482 if test "${enable_collpane+set}" = set; then
8483 enableval
="$enable_collpane"
8485 if test "$enableval" = yes; then
8486 ac_cv_use_collpane
='wxUSE_COLLPANE=yes'
8488 ac_cv_use_collpane
='wxUSE_COLLPANE=no'
8493 LINE
=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x
; then
8495 eval "DEFAULT_$LINE"
8500 ac_cv_use_collpane
='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504 eval "$ac_cv_use_collpane"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8509 if test "$wxUSE_COLLPANE" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8520 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8522 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8523 if test "${enable_colourpicker+set}" = set; then
8524 enableval
="$enable_colourpicker"
8526 if test "$enableval" = yes; then
8527 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8529 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8534 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8535 if test "x$LINE" != x
; then
8536 eval "DEFAULT_$LINE"
8541 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545 eval "$ac_cv_use_colourpicker"
8546 if test "$no_cache" != 1; then
8547 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8550 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8551 echo "$as_me:$LINENO: result: yes" >&5
8552 echo "${ECHO_T}yes" >&6
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8563 # Check whether --enable-combobox or --disable-combobox was given.
8564 if test "${enable_combobox+set}" = set; then
8565 enableval
="$enable_combobox"
8567 if test "$enableval" = yes; then
8568 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8570 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8575 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8576 if test "x$LINE" != x
; then
8577 eval "DEFAULT_$LINE"
8582 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586 eval "$ac_cv_use_combobox"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8591 if test "$wxUSE_COMBOBOX" = yes; then
8592 echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8604 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8605 if test "${enable_comboctrl+set}" = set; then
8606 enableval
="$enable_comboctrl"
8608 if test "$enableval" = yes; then
8609 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8611 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8616 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x
; then
8618 eval "DEFAULT_$LINE"
8623 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627 eval "$ac_cv_use_comboctrl"
8628 if test "$no_cache" != 1; then
8629 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8632 if test "$wxUSE_COMBOCTRL" = yes; then
8633 echo "$as_me:$LINENO: result: yes" >&5
8634 echo "${ECHO_T}yes" >&6
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8645 # Check whether --enable-datepick or --disable-datepick was given.
8646 if test "${enable_datepick+set}" = set; then
8647 enableval
="$enable_datepick"
8649 if test "$enableval" = yes; then
8650 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8652 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8657 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x
; then
8659 eval "DEFAULT_$LINE"
8664 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668 eval "$ac_cv_use_datepick"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8673 if test "$wxUSE_DATEPICKCTRL" = yes; then
8674 echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6
8677 echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6
8683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8686 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8687 if test "${enable_dirpicker+set}" = set; then
8688 enableval
="$enable_dirpicker"
8690 if test "$enableval" = yes; then
8691 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8693 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8698 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8699 if test "x$LINE" != x
; then
8700 eval "DEFAULT_$LINE"
8705 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709 eval "$ac_cv_use_dirpicker"
8710 if test "$no_cache" != 1; then
8711 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8714 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8715 echo "$as_me:$LINENO: result: yes" >&5
8716 echo "${ECHO_T}yes" >&6
8718 echo "$as_me:$LINENO: result: no" >&5
8719 echo "${ECHO_T}no" >&6
8724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8727 # Check whether --enable-display or --disable-display was given.
8728 if test "${enable_display+set}" = set; then
8729 enableval
="$enable_display"
8731 if test "$enableval" = yes; then
8732 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8734 ac_cv_use_display
='wxUSE_DISPLAY=no'
8739 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8740 if test "x$LINE" != x
; then
8741 eval "DEFAULT_$LINE"
8746 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750 eval "$ac_cv_use_display"
8751 if test "$no_cache" != 1; then
8752 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8755 if test "$wxUSE_DISPLAY" = yes; then
8756 echo "$as_me:$LINENO: result: yes" >&5
8757 echo "${ECHO_T}yes" >&6
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8768 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8769 if test "${enable_detect_sm+set}" = set; then
8770 enableval
="$enable_detect_sm"
8772 if test "$enableval" = yes; then
8773 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8775 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8780 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x
; then
8782 eval "DEFAULT_$LINE"
8787 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791 eval "$ac_cv_use_detect_sm"
8792 if test "$no_cache" != 1; then
8793 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8796 if test "$wxUSE_DETECT_SM" = yes; then
8797 echo "$as_me:$LINENO: result: yes" >&5
8798 echo "${ECHO_T}yes" >&6
8800 echo "$as_me:$LINENO: result: no" >&5
8801 echo "${ECHO_T}no" >&6
8806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8809 # Check whether --enable-filepicker or --disable-filepicker was given.
8810 if test "${enable_filepicker+set}" = set; then
8811 enableval
="$enable_filepicker"
8813 if test "$enableval" = yes; then
8814 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8816 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8821 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8822 if test "x$LINE" != x
; then
8823 eval "DEFAULT_$LINE"
8828 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832 eval "$ac_cv_use_filepicker"
8833 if test "$no_cache" != 1; then
8834 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8837 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8838 echo "$as_me:$LINENO: result: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8841 echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6
8847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8850 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8851 if test "${enable_fontpicker+set}" = set; then
8852 enableval
="$enable_fontpicker"
8854 if test "$enableval" = yes; then
8855 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8857 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8862 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8863 if test "x$LINE" != x
; then
8864 eval "DEFAULT_$LINE"
8869 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873 eval "$ac_cv_use_fontpicker"
8874 if test "$no_cache" != 1; then
8875 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8878 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8879 echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6
8882 echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6
8888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8891 # Check whether --enable-gauge or --disable-gauge was given.
8892 if test "${enable_gauge+set}" = set; then
8893 enableval
="$enable_gauge"
8895 if test "$enableval" = yes; then
8896 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8898 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8903 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8904 if test "x$LINE" != x
; then
8905 eval "DEFAULT_$LINE"
8910 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914 eval "$ac_cv_use_gauge"
8915 if test "$no_cache" != 1; then
8916 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8919 if test "$wxUSE_GAUGE" = yes; then
8920 echo "$as_me:$LINENO: result: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8923 echo "$as_me:$LINENO: result: no" >&5
8924 echo "${ECHO_T}no" >&6
8929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8932 # Check whether --enable-grid or --disable-grid was given.
8933 if test "${enable_grid+set}" = set; then
8934 enableval
="$enable_grid"
8936 if test "$enableval" = yes; then
8937 ac_cv_use_grid
='wxUSE_GRID=yes'
8939 ac_cv_use_grid
='wxUSE_GRID=no'
8944 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8945 if test "x$LINE" != x
; then
8946 eval "DEFAULT_$LINE"
8951 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955 eval "$ac_cv_use_grid"
8956 if test "$no_cache" != 1; then
8957 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8960 if test "$wxUSE_GRID" = yes; then
8961 echo "$as_me:$LINENO: result: yes" >&5
8962 echo "${ECHO_T}yes" >&6
8964 echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6
8970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8973 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8974 if test "${enable_dataviewctrl+set}" = set; then
8975 enableval
="$enable_dataviewctrl"
8977 if test "$enableval" = yes; then
8978 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8980 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8985 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8986 if test "x$LINE" != x
; then
8987 eval "DEFAULT_$LINE"
8992 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996 eval "$ac_cv_use_dataviewctrl"
8997 if test "$no_cache" != 1; then
8998 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9001 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9002 echo "$as_me:$LINENO: result: yes" >&5
9003 echo "${ECHO_T}yes" >&6
9005 echo "$as_me:$LINENO: result: no" >&5
9006 echo "${ECHO_T}no" >&6
9011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9014 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9015 if test "${enable_hyperlink+set}" = set; then
9016 enableval
="$enable_hyperlink"
9018 if test "$enableval" = yes; then
9019 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9021 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9026 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9027 if test "x$LINE" != x
; then
9028 eval "DEFAULT_$LINE"
9033 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037 eval "$ac_cv_use_hyperlink"
9038 if test "$no_cache" != 1; then
9039 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9042 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9043 echo "$as_me:$LINENO: result: yes" >&5
9044 echo "${ECHO_T}yes" >&6
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9055 # Check whether --enable-imaglist or --disable-imaglist was given.
9056 if test "${enable_imaglist+set}" = set; then
9057 enableval
="$enable_imaglist"
9059 if test "$enableval" = yes; then
9060 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9062 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9067 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x
; then
9069 eval "DEFAULT_$LINE"
9074 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078 eval "$ac_cv_use_imaglist"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9083 if test "$wxUSE_IMAGLIST" = yes; then
9084 echo "$as_me:$LINENO: result: yes" >&5
9085 echo "${ECHO_T}yes" >&6
9087 echo "$as_me:$LINENO: result: no" >&5
9088 echo "${ECHO_T}no" >&6
9093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9096 # Check whether --enable-listbook or --disable-listbook was given.
9097 if test "${enable_listbook+set}" = set; then
9098 enableval
="$enable_listbook"
9100 if test "$enableval" = yes; then
9101 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9103 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9108 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9109 if test "x$LINE" != x
; then
9110 eval "DEFAULT_$LINE"
9115 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119 eval "$ac_cv_use_listbook"
9120 if test "$no_cache" != 1; then
9121 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9124 if test "$wxUSE_LISTBOOK" = yes; then
9125 echo "$as_me:$LINENO: result: yes" >&5
9126 echo "${ECHO_T}yes" >&6
9128 echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6
9134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9137 # Check whether --enable-listbox or --disable-listbox was given.
9138 if test "${enable_listbox+set}" = set; then
9139 enableval
="$enable_listbox"
9141 if test "$enableval" = yes; then
9142 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9144 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9149 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x
; then
9151 eval "DEFAULT_$LINE"
9156 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160 eval "$ac_cv_use_listbox"
9161 if test "$no_cache" != 1; then
9162 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9165 if test "$wxUSE_LISTBOX" = yes; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9169 echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6
9175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9178 # Check whether --enable-listctrl or --disable-listctrl was given.
9179 if test "${enable_listctrl+set}" = set; then
9180 enableval
="$enable_listctrl"
9182 if test "$enableval" = yes; then
9183 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9185 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9190 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9191 if test "x$LINE" != x
; then
9192 eval "DEFAULT_$LINE"
9197 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201 eval "$ac_cv_use_listctrl"
9202 if test "$no_cache" != 1; then
9203 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9206 if test "$wxUSE_LISTCTRL" = yes; then
9207 echo "$as_me:$LINENO: result: yes" >&5
9208 echo "${ECHO_T}yes" >&6
9210 echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6
9216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9219 # Check whether --enable-notebook or --disable-notebook was given.
9220 if test "${enable_notebook+set}" = set; then
9221 enableval
="$enable_notebook"
9223 if test "$enableval" = yes; then
9224 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9226 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9231 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9232 if test "x$LINE" != x
; then
9233 eval "DEFAULT_$LINE"
9238 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242 eval "$ac_cv_use_notebook"
9243 if test "$no_cache" != 1; then
9244 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9247 if test "$wxUSE_NOTEBOOK" = yes; then
9248 echo "$as_me:$LINENO: result: yes" >&5
9249 echo "${ECHO_T}yes" >&6
9251 echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6
9257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9260 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9261 if test "${enable_odcombobox+set}" = set; then
9262 enableval
="$enable_odcombobox"
9264 if test "$enableval" = yes; then
9265 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9267 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9272 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x
; then
9274 eval "DEFAULT_$LINE"
9279 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283 eval "$ac_cv_use_odcombobox"
9284 if test "$no_cache" != 1; then
9285 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9288 if test "$wxUSE_ODCOMBOBOX" = yes; then
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9292 echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6
9298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9301 # Check whether --enable-radiobox or --disable-radiobox was given.
9302 if test "${enable_radiobox+set}" = set; then
9303 enableval
="$enable_radiobox"
9305 if test "$enableval" = yes; then
9306 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9308 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9313 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9314 if test "x$LINE" != x
; then
9315 eval "DEFAULT_$LINE"
9320 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324 eval "$ac_cv_use_radiobox"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9329 if test "$wxUSE_RADIOBOX" = yes; then
9330 echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6
9333 echo "$as_me:$LINENO: result: no" >&5
9334 echo "${ECHO_T}no" >&6
9339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9342 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9343 if test "${enable_radiobtn+set}" = set; then
9344 enableval
="$enable_radiobtn"
9346 if test "$enableval" = yes; then
9347 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9349 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9354 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9355 if test "x$LINE" != x
; then
9356 eval "DEFAULT_$LINE"
9361 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365 eval "$ac_cv_use_radiobtn"
9366 if test "$no_cache" != 1; then
9367 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9370 if test "$wxUSE_RADIOBTN" = yes; then
9371 echo "$as_me:$LINENO: result: yes" >&5
9372 echo "${ECHO_T}yes" >&6
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9383 # Check whether --enable-sash or --disable-sash was given.
9384 if test "${enable_sash+set}" = set; then
9385 enableval
="$enable_sash"
9387 if test "$enableval" = yes; then
9388 ac_cv_use_sash
='wxUSE_SASH=yes'
9390 ac_cv_use_sash
='wxUSE_SASH=no'
9395 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9396 if test "x$LINE" != x
; then
9397 eval "DEFAULT_$LINE"
9402 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406 eval "$ac_cv_use_sash"
9407 if test "$no_cache" != 1; then
9408 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9411 if test "$wxUSE_SASH" = yes; then
9412 echo "$as_me:$LINENO: result: yes" >&5
9413 echo "${ECHO_T}yes" >&6
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9424 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9425 if test "${enable_scrollbar+set}" = set; then
9426 enableval
="$enable_scrollbar"
9428 if test "$enableval" = yes; then
9429 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9431 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9436 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x
; then
9438 eval "DEFAULT_$LINE"
9443 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447 eval "$ac_cv_use_scrollbar"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9452 if test "$wxUSE_SCROLLBAR" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9465 # Check whether --enable-slider or --disable-slider was given.
9466 if test "${enable_slider+set}" = set; then
9467 enableval
="$enable_slider"
9469 if test "$enableval" = yes; then
9470 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9472 ac_cv_use_slider
='wxUSE_SLIDER=no'
9477 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x
; then
9479 eval "DEFAULT_$LINE"
9484 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488 eval "$ac_cv_use_slider"
9489 if test "$no_cache" != 1; then
9490 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9493 if test "$wxUSE_SLIDER" = yes; then
9494 echo "$as_me:$LINENO: result: yes" >&5
9495 echo "${ECHO_T}yes" >&6
9497 echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9506 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9507 if test "${enable_spinbtn+set}" = set; then
9508 enableval
="$enable_spinbtn"
9510 if test "$enableval" = yes; then
9511 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9513 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9518 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x
; then
9520 eval "DEFAULT_$LINE"
9525 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529 eval "$ac_cv_use_spinbtn"
9530 if test "$no_cache" != 1; then
9531 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9534 if test "$wxUSE_SPINBTN" = yes; then
9535 echo "$as_me:$LINENO: result: yes" >&5
9536 echo "${ECHO_T}yes" >&6
9538 echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6
9544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9547 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9548 if test "${enable_spinctrl+set}" = set; then
9549 enableval
="$enable_spinctrl"
9551 if test "$enableval" = yes; then
9552 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9554 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9559 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x
; then
9561 eval "DEFAULT_$LINE"
9566 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570 eval "$ac_cv_use_spinctrl"
9571 if test "$no_cache" != 1; then
9572 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9575 if test "$wxUSE_SPINCTRL" = yes; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9579 echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6
9585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9588 # Check whether --enable-splitter or --disable-splitter was given.
9589 if test "${enable_splitter+set}" = set; then
9590 enableval
="$enable_splitter"
9592 if test "$enableval" = yes; then
9593 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9595 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9600 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x
; then
9602 eval "DEFAULT_$LINE"
9607 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611 eval "$ac_cv_use_splitter"
9612 if test "$no_cache" != 1; then
9613 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9616 if test "$wxUSE_SPLITTER" = yes; then
9617 echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6
9620 echo "$as_me:$LINENO: result: no" >&5
9621 echo "${ECHO_T}no" >&6
9626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9629 # Check whether --enable-statbmp or --disable-statbmp was given.
9630 if test "${enable_statbmp+set}" = set; then
9631 enableval
="$enable_statbmp"
9633 if test "$enableval" = yes; then
9634 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9636 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9641 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9642 if test "x$LINE" != x
; then
9643 eval "DEFAULT_$LINE"
9648 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652 eval "$ac_cv_use_statbmp"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9657 if test "$wxUSE_STATBMP" = yes; then
9658 echo "$as_me:$LINENO: result: yes" >&5
9659 echo "${ECHO_T}yes" >&6
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9670 # Check whether --enable-statbox or --disable-statbox was given.
9671 if test "${enable_statbox+set}" = set; then
9672 enableval
="$enable_statbox"
9674 if test "$enableval" = yes; then
9675 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9677 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9682 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x
; then
9684 eval "DEFAULT_$LINE"
9689 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693 eval "$ac_cv_use_statbox"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9698 if test "$wxUSE_STATBOX" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9711 # Check whether --enable-statline or --disable-statline was given.
9712 if test "${enable_statline+set}" = set; then
9713 enableval
="$enable_statline"
9715 if test "$enableval" = yes; then
9716 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9718 ac_cv_use_statline
='wxUSE_STATLINE=no'
9723 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9724 if test "x$LINE" != x
; then
9725 eval "DEFAULT_$LINE"
9730 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734 eval "$ac_cv_use_statline"
9735 if test "$no_cache" != 1; then
9736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9739 if test "$wxUSE_STATLINE" = yes; then
9740 echo "$as_me:$LINENO: result: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9752 # Check whether --enable-stattext or --disable-stattext was given.
9753 if test "${enable_stattext+set}" = set; then
9754 enableval
="$enable_stattext"
9756 if test "$enableval" = yes; then
9757 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9759 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9764 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x
; then
9766 eval "DEFAULT_$LINE"
9771 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775 eval "$ac_cv_use_stattext"
9776 if test "$no_cache" != 1; then
9777 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9780 if test "$wxUSE_STATTEXT" = yes; then
9781 echo "$as_me:$LINENO: result: yes" >&5
9782 echo "${ECHO_T}yes" >&6
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9793 # Check whether --enable-statusbar or --disable-statusbar was given.
9794 if test "${enable_statusbar+set}" = set; then
9795 enableval
="$enable_statusbar"
9797 if test "$enableval" = yes; then
9798 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9800 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9805 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x
; then
9807 eval "DEFAULT_$LINE"
9812 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816 eval "$ac_cv_use_statusbar"
9817 if test "$no_cache" != 1; then
9818 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9821 if test "$wxUSE_STATUSBAR" = yes; then
9822 echo "$as_me:$LINENO: result: yes" >&5
9823 echo "${ECHO_T}yes" >&6
9825 echo "$as_me:$LINENO: result: no" >&5
9826 echo "${ECHO_T}no" >&6
9831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9835 if test "${enable_tabdialog+set}" = set; then
9836 enableval
="$enable_tabdialog"
9838 if test "$enableval" = yes; then
9839 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9841 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9846 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x
; then
9848 eval "DEFAULT_$LINE"
9853 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857 eval "$ac_cv_use_tabdialog"
9858 if test "$no_cache" != 1; then
9859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9862 if test "$wxUSE_TAB_DIALOG" = yes; then
9863 echo "$as_me:$LINENO: result: yes" >&5
9864 echo "${ECHO_T}yes" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9875 # Check whether --enable-textctrl or --disable-textctrl was given.
9876 if test "${enable_textctrl+set}" = set; then
9877 enableval
="$enable_textctrl"
9879 if test "$enableval" = yes; then
9880 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9882 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9887 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9888 if test "x$LINE" != x
; then
9889 eval "DEFAULT_$LINE"
9894 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898 eval "$ac_cv_use_textctrl"
9899 if test "$no_cache" != 1; then
9900 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9903 if test "$wxUSE_TEXTCTRL" = yes; then
9904 echo "$as_me:$LINENO: result: yes" >&5
9905 echo "${ECHO_T}yes" >&6
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9916 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9917 if test "${enable_togglebtn+set}" = set; then
9918 enableval
="$enable_togglebtn"
9920 if test "$enableval" = yes; then
9921 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9923 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9928 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9929 if test "x$LINE" != x
; then
9930 eval "DEFAULT_$LINE"
9935 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939 eval "$ac_cv_use_togglebtn"
9940 if test "$no_cache" != 1; then
9941 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9944 if test "$wxUSE_TOGGLEBTN" = yes; then
9945 echo "$as_me:$LINENO: result: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9948 echo "$as_me:$LINENO: result: no" >&5
9949 echo "${ECHO_T}no" >&6
9954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9955 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9957 # Check whether --enable-toolbar or --disable-toolbar was given.
9958 if test "${enable_toolbar+set}" = set; then
9959 enableval
="$enable_toolbar"
9961 if test "$enableval" = yes; then
9962 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9964 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9969 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9970 if test "x$LINE" != x
; then
9971 eval "DEFAULT_$LINE"
9976 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980 eval "$ac_cv_use_toolbar"
9981 if test "$no_cache" != 1; then
9982 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9985 if test "$wxUSE_TOOLBAR" = yes; then
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9996 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9998 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9999 if test "${enable_tbarnative+set}" = set; then
10000 enableval
="$enable_tbarnative"
10002 if test "$enableval" = yes; then
10003 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10005 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10010 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10011 if test "x$LINE" != x
; then
10012 eval "DEFAULT_$LINE"
10017 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021 eval "$ac_cv_use_tbarnative"
10022 if test "$no_cache" != 1; then
10023 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10026 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10027 echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6
10030 echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10039 # Check whether --enable-treebook or --disable-treebook was given.
10040 if test "${enable_treebook+set}" = set; then
10041 enableval
="$enable_treebook"
10043 if test "$enableval" = yes; then
10044 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10046 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10051 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x
; then
10053 eval "DEFAULT_$LINE"
10058 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062 eval "$ac_cv_use_treebook"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10067 if test "$wxUSE_TREEBOOK" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10080 # Check whether --enable-toolbook or --disable-toolbook was given.
10081 if test "${enable_toolbook+set}" = set; then
10082 enableval
="$enable_toolbook"
10084 if test "$enableval" = yes; then
10085 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10087 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10092 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x
; then
10094 eval "DEFAULT_$LINE"
10099 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103 eval "$ac_cv_use_toolbook"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10108 if test "$wxUSE_TOOLBOOK" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10121 # Check whether --enable-treectrl or --disable-treectrl was given.
10122 if test "${enable_treectrl+set}" = set; then
10123 enableval
="$enable_treectrl"
10125 if test "$enableval" = yes; then
10126 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10128 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10133 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x
; then
10135 eval "DEFAULT_$LINE"
10140 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144 eval "$ac_cv_use_treectrl"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10149 if test "$wxUSE_TREECTRL" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10162 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10163 if test "${enable_tipwindow+set}" = set; then
10164 enableval
="$enable_tipwindow"
10166 if test "$enableval" = yes; then
10167 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10169 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10174 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x
; then
10176 eval "DEFAULT_$LINE"
10181 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185 eval "$ac_cv_use_tipwindow"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10190 if test "$wxUSE_TIPWINDOW" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10203 # Check whether --enable-popupwin or --disable-popupwin was given.
10204 if test "${enable_popupwin+set}" = set; then
10205 enableval
="$enable_popupwin"
10207 if test "$enableval" = yes; then
10208 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10210 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10215 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x
; then
10217 eval "DEFAULT_$LINE"
10222 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226 eval "$ac_cv_use_popupwin"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10231 if test "$wxUSE_POPUPWIN" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10246 # Check whether --enable-commondlg or --disable-commondlg was given.
10247 if test "${enable_commondlg+set}" = set; then
10248 enableval
="$enable_commondlg"
10250 if test "$enableval" = yes; then
10251 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10253 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10258 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x
; then
10260 eval "DEFAULT_$LINE"
10265 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269 eval "$ac_cv_use_commondlg"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10274 if test "$wxUSE_COMMONDLGS" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10287 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10288 if test "${enable_aboutdlg+set}" = set; then
10289 enableval
="$enable_aboutdlg"
10291 if test "$enableval" = yes; then
10292 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10294 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10299 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x
; then
10301 eval "DEFAULT_$LINE"
10306 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310 eval "$ac_cv_use_aboutdlg"
10311 if test "$no_cache" != 1; then
10312 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10315 if test "$wxUSE_ABOUTDLG" = yes; then
10316 echo "$as_me:$LINENO: result: yes" >&5
10317 echo "${ECHO_T}yes" >&6
10319 echo "$as_me:$LINENO: result: no" >&5
10320 echo "${ECHO_T}no" >&6
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10328 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10329 if test "${enable_choicedlg+set}" = set; then
10330 enableval
="$enable_choicedlg"
10332 if test "$enableval" = yes; then
10333 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10335 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10340 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x
; then
10342 eval "DEFAULT_$LINE"
10347 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351 eval "$ac_cv_use_choicedlg"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10356 if test "$wxUSE_CHOICEDLG" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10369 # Check whether --enable-coldlg or --disable-coldlg was given.
10370 if test "${enable_coldlg+set}" = set; then
10371 enableval
="$enable_coldlg"
10373 if test "$enableval" = yes; then
10374 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10376 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10381 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x
; then
10383 eval "DEFAULT_$LINE"
10388 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392 eval "$ac_cv_use_coldlg"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10397 if test "$wxUSE_COLOURDLG" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10410 # Check whether --enable-filedlg or --disable-filedlg was given.
10411 if test "${enable_filedlg+set}" = set; then
10412 enableval
="$enable_filedlg"
10414 if test "$enableval" = yes; then
10415 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10417 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10422 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x
; then
10424 eval "DEFAULT_$LINE"
10429 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433 eval "$ac_cv_use_filedlg"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10438 if test "$wxUSE_FILEDLG" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10451 # Check whether --enable-finddlg or --disable-finddlg was given.
10452 if test "${enable_finddlg+set}" = set; then
10453 enableval
="$enable_finddlg"
10455 if test "$enableval" = yes; then
10456 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10458 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10463 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x
; then
10465 eval "DEFAULT_$LINE"
10470 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474 eval "$ac_cv_use_finddlg"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10479 if test "$wxUSE_FINDREPLDLG" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10492 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10493 if test "${enable_fontdlg+set}" = set; then
10494 enableval
="$enable_fontdlg"
10496 if test "$enableval" = yes; then
10497 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10499 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10504 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x
; then
10506 eval "DEFAULT_$LINE"
10511 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515 eval "$ac_cv_use_fontdlg"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10520 if test "$wxUSE_FONTDLG" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10533 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10534 if test "${enable_dirdlg+set}" = set; then
10535 enableval
="$enable_dirdlg"
10537 if test "$enableval" = yes; then
10538 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10540 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10545 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x
; then
10547 eval "DEFAULT_$LINE"
10552 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556 eval "$ac_cv_use_dirdlg"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10561 if test "$wxUSE_DIRDLG" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10574 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10575 if test "${enable_msgdlg+set}" = set; then
10576 enableval
="$enable_msgdlg"
10578 if test "$enableval" = yes; then
10579 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10581 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10586 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x
; then
10588 eval "DEFAULT_$LINE"
10593 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597 eval "$ac_cv_use_msgdlg"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10602 if test "$wxUSE_MSGDLG" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10615 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10616 if test "${enable_numberdlg+set}" = set; then
10617 enableval
="$enable_numberdlg"
10619 if test "$enableval" = yes; then
10620 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10622 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10627 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x
; then
10629 eval "DEFAULT_$LINE"
10634 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638 eval "$ac_cv_use_numberdlg"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10643 if test "$wxUSE_NUMBERDLG" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10654 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10656 # Check whether --enable-splash or --disable-splash was given.
10657 if test "${enable_splash+set}" = set; then
10658 enableval
="$enable_splash"
10660 if test "$enableval" = yes; then
10661 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10663 ac_cv_use_splash
='wxUSE_SPLASH=no'
10668 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x
; then
10670 eval "DEFAULT_$LINE"
10675 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679 eval "$ac_cv_use_splash"
10680 if test "$no_cache" != 1; then
10681 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10684 if test "$wxUSE_SPLASH" = yes; then
10685 echo "$as_me:$LINENO: result: yes" >&5
10686 echo "${ECHO_T}yes" >&6
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10695 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10697 # Check whether --enable-textdlg or --disable-textdlg was given.
10698 if test "${enable_textdlg+set}" = set; then
10699 enableval
="$enable_textdlg"
10701 if test "$enableval" = yes; then
10702 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10704 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10709 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10710 if test "x$LINE" != x
; then
10711 eval "DEFAULT_$LINE"
10716 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720 eval "$ac_cv_use_textdlg"
10721 if test "$no_cache" != 1; then
10722 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10725 if test "$wxUSE_TEXTDLG" = yes; then
10726 echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10738 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10739 if test "${enable_tipdlg+set}" = set; then
10740 enableval
="$enable_tipdlg"
10742 if test "$enableval" = yes; then
10743 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10745 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10750 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x
; then
10752 eval "DEFAULT_$LINE"
10757 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761 eval "$ac_cv_use_tipdlg"
10762 if test "$no_cache" != 1; then
10763 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10766 if test "$wxUSE_STARTUP_TIPS" = yes; then
10767 echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10770 echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6
10776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10779 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10780 if test "${enable_progressdlg+set}" = set; then
10781 enableval
="$enable_progressdlg"
10783 if test "$enableval" = yes; then
10784 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10786 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10791 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10792 if test "x$LINE" != x
; then
10793 eval "DEFAULT_$LINE"
10798 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802 eval "$ac_cv_use_progressdlg"
10803 if test "$no_cache" != 1; then
10804 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10807 if test "$wxUSE_PROGRESSDLG" = yes; then
10808 echo "$as_me:$LINENO: result: yes" >&5
10809 echo "${ECHO_T}yes" >&6
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10820 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10821 if test "${enable_wizarddlg+set}" = set; then
10822 enableval
="$enable_wizarddlg"
10824 if test "$enableval" = yes; then
10825 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10827 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10832 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10833 if test "x$LINE" != x
; then
10834 eval "DEFAULT_$LINE"
10839 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843 eval "$ac_cv_use_wizarddlg"
10844 if test "$no_cache" != 1; then
10845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10848 if test "$wxUSE_WIZARDDLG" = yes; then
10849 echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10863 # Check whether --enable-menus or --disable-menus was given.
10864 if test "${enable_menus+set}" = set; then
10865 enableval
="$enable_menus"
10867 if test "$enableval" = yes; then
10868 ac_cv_use_menus
='wxUSE_MENUS=yes'
10870 ac_cv_use_menus
='wxUSE_MENUS=no'
10875 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x
; then
10877 eval "DEFAULT_$LINE"
10882 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886 eval "$ac_cv_use_menus"
10887 if test "$no_cache" != 1; then
10888 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10891 if test "$wxUSE_MENUS" = yes; then
10892 echo "$as_me:$LINENO: result: yes" >&5
10893 echo "${ECHO_T}yes" >&6
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10904 # Check whether --enable-miniframe or --disable-miniframe was given.
10905 if test "${enable_miniframe+set}" = set; then
10906 enableval
="$enable_miniframe"
10908 if test "$enableval" = yes; then
10909 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10911 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10916 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x
; then
10918 eval "DEFAULT_$LINE"
10923 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927 eval "$ac_cv_use_miniframe"
10928 if test "$no_cache" != 1; then
10929 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10932 if test "$wxUSE_MINIFRAME" = yes; then
10933 echo "$as_me:$LINENO: result: yes" >&5
10934 echo "${ECHO_T}yes" >&6
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10945 # Check whether --enable-tooltips or --disable-tooltips was given.
10946 if test "${enable_tooltips+set}" = set; then
10947 enableval
="$enable_tooltips"
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10952 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10957 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x
; then
10959 eval "DEFAULT_$LINE"
10964 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968 eval "$ac_cv_use_tooltips"
10969 if test "$no_cache" != 1; then
10970 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10973 if test "$wxUSE_TOOLTIPS" = yes; then
10974 echo "$as_me:$LINENO: result: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10986 # Check whether --enable-splines or --disable-splines was given.
10987 if test "${enable_splines+set}" = set; then
10988 enableval
="$enable_splines"
10990 if test "$enableval" = yes; then
10991 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10993 ac_cv_use_splines
='wxUSE_SPLINES=no'
10998 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x
; then
11000 eval "DEFAULT_$LINE"
11005 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009 eval "$ac_cv_use_splines"
11010 if test "$no_cache" != 1; then
11011 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11014 if test "$wxUSE_SPLINES" = yes; then
11015 echo "$as_me:$LINENO: result: yes" >&5
11016 echo "${ECHO_T}yes" >&6
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11027 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11028 if test "${enable_mousewheel+set}" = set; then
11029 enableval
="$enable_mousewheel"
11031 if test "$enableval" = yes; then
11032 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11034 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11039 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11040 if test "x$LINE" != x
; then
11041 eval "DEFAULT_$LINE"
11046 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050 eval "$ac_cv_use_mousewheel"
11051 if test "$no_cache" != 1; then
11052 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11055 if test "$wxUSE_MOUSEWHEEL" = yes; then
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11068 # Check whether --enable-validators or --disable-validators was given.
11069 if test "${enable_validators+set}" = set; then
11070 enableval
="$enable_validators"
11072 if test "$enableval" = yes; then
11073 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11075 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11080 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x
; then
11082 eval "DEFAULT_$LINE"
11087 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091 eval "$ac_cv_use_validators"
11092 if test "$no_cache" != 1; then
11093 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11096 if test "$wxUSE_VALIDATORS" = yes; then
11097 echo "$as_me:$LINENO: result: yes" >&5
11098 echo "${ECHO_T}yes" >&6
11100 echo "$as_me:$LINENO: result: no" >&5
11101 echo "${ECHO_T}no" >&6
11106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11109 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11110 if test "${enable_busyinfo+set}" = set; then
11111 enableval
="$enable_busyinfo"
11113 if test "$enableval" = yes; then
11114 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11116 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11121 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11122 if test "x$LINE" != x
; then
11123 eval "DEFAULT_$LINE"
11128 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132 eval "$ac_cv_use_busyinfo"
11133 if test "$no_cache" != 1; then
11134 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11137 if test "$wxUSE_BUSYINFO" = yes; then
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11148 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11150 # Check whether --enable-joystick or --disable-joystick was given.
11151 if test "${enable_joystick+set}" = set; then
11152 enableval
="$enable_joystick"
11154 if test "$enableval" = yes; then
11155 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11157 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11162 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11163 if test "x$LINE" != x
; then
11164 eval "DEFAULT_$LINE"
11169 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173 eval "$ac_cv_use_joystick"
11174 if test "$no_cache" != 1; then
11175 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11178 if test "$wxUSE_JOYSTICK" = yes; then
11179 echo "$as_me:$LINENO: result: yes" >&5
11180 echo "${ECHO_T}yes" >&6
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11191 # Check whether --enable-metafile or --disable-metafile was given.
11192 if test "${enable_metafile+set}" = set; then
11193 enableval
="$enable_metafile"
11195 if test "$enableval" = yes; then
11196 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11198 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11203 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11204 if test "x$LINE" != x
; then
11205 eval "DEFAULT_$LINE"
11210 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214 eval "$ac_cv_use_metafile"
11215 if test "$no_cache" != 1; then
11216 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11219 if test "$wxUSE_METAFILE" = yes; then
11220 echo "$as_me:$LINENO: result: yes" >&5
11221 echo "${ECHO_T}yes" >&6
11223 echo "$as_me:$LINENO: result: no" >&5
11224 echo "${ECHO_T}no" >&6
11229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11232 # Check whether --enable-dragimage or --disable-dragimage was given.
11233 if test "${enable_dragimage+set}" = set; then
11234 enableval
="$enable_dragimage"
11236 if test "$enableval" = yes; then
11237 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11239 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11244 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11245 if test "x$LINE" != x
; then
11246 eval "DEFAULT_$LINE"
11251 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255 eval "$ac_cv_use_dragimage"
11256 if test "$no_cache" != 1; then
11257 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11260 if test "$wxUSE_DRAGIMAGE" = yes; then
11261 echo "$as_me:$LINENO: result: yes" >&5
11262 echo "${ECHO_T}yes" >&6
11264 echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6
11270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11273 # Check whether --enable-accessibility or --disable-accessibility was given.
11274 if test "${enable_accessibility+set}" = set; then
11275 enableval
="$enable_accessibility"
11277 if test "$enableval" = yes; then
11278 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11280 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11285 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x
; then
11287 eval "DEFAULT_$LINE"
11292 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296 eval "$ac_cv_use_accessibility"
11297 if test "$no_cache" != 1; then
11298 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11301 if test "$wxUSE_ACCESSIBILITY" = yes; then
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11310 if test "$wxUSE_MSW" = "1"; then
11313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11314 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11316 # Check whether --enable-dccache or --disable-dccache was given.
11317 if test "${enable_dccache+set}" = set; then
11318 enableval
="$enable_dccache"
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11323 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11328 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x
; then
11330 eval "DEFAULT_$LINE"
11335 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339 eval "$ac_cv_use_dccache"
11340 if test "$no_cache" != 1; then
11341 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11344 if test "$wxUSE_DC_CACHEING" = yes; then
11345 echo "$as_me:$LINENO: result: yes" >&5
11346 echo "${ECHO_T}yes" >&6
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11358 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11360 # Check whether --enable-palette or --disable-palette was given.
11361 if test "${enable_palette+set}" = set; then
11362 enableval
="$enable_palette"
11364 if test "$enableval" = yes; then
11365 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11367 ac_cv_use_palette
='wxUSE_PALETTE=no'
11372 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11373 if test "x$LINE" != x
; then
11374 eval "DEFAULT_$LINE"
11379 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383 eval "$ac_cv_use_palette"
11384 if test "$no_cache" != 1; then
11385 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11388 if test "$wxUSE_PALETTE" = yes; then
11389 echo "$as_me:$LINENO: result: yes" >&5
11390 echo "${ECHO_T}yes" >&6
11392 echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6
11398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11399 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11401 # Check whether --enable-image or --disable-image was given.
11402 if test "${enable_image+set}" = set; then
11403 enableval
="$enable_image"
11405 if test "$enableval" = yes; then
11406 ac_cv_use_image
='wxUSE_IMAGE=yes'
11408 ac_cv_use_image
='wxUSE_IMAGE=no'
11413 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11414 if test "x$LINE" != x
; then
11415 eval "DEFAULT_$LINE"
11420 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424 eval "$ac_cv_use_image"
11425 if test "$no_cache" != 1; then
11426 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11429 if test "$wxUSE_IMAGE" = yes; then
11430 echo "$as_me:$LINENO: result: yes" >&5
11431 echo "${ECHO_T}yes" >&6
11433 echo "$as_me:$LINENO: result: no" >&5
11434 echo "${ECHO_T}no" >&6
11439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11442 # Check whether --enable-gif or --disable-gif was given.
11443 if test "${enable_gif+set}" = set; then
11444 enableval
="$enable_gif"
11446 if test "$enableval" = yes; then
11447 ac_cv_use_gif
='wxUSE_GIF=yes'
11449 ac_cv_use_gif
='wxUSE_GIF=no'
11454 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x
; then
11456 eval "DEFAULT_$LINE"
11461 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465 eval "$ac_cv_use_gif"
11466 if test "$no_cache" != 1; then
11467 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11470 if test "$wxUSE_GIF" = yes; then
11471 echo "$as_me:$LINENO: result: yes" >&5
11472 echo "${ECHO_T}yes" >&6
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11483 # Check whether --enable-pcx or --disable-pcx was given.
11484 if test "${enable_pcx+set}" = set; then
11485 enableval
="$enable_pcx"
11487 if test "$enableval" = yes; then
11488 ac_cv_use_pcx
='wxUSE_PCX=yes'
11490 ac_cv_use_pcx
='wxUSE_PCX=no'
11495 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x
; then
11497 eval "DEFAULT_$LINE"
11502 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506 eval "$ac_cv_use_pcx"
11507 if test "$no_cache" != 1; then
11508 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11511 if test "$wxUSE_PCX" = yes; then
11512 echo "$as_me:$LINENO: result: yes" >&5
11513 echo "${ECHO_T}yes" >&6
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11524 # Check whether --enable-tga or --disable-tga was given.
11525 if test "${enable_tga+set}" = set; then
11526 enableval
="$enable_tga"
11528 if test "$enableval" = yes; then
11529 ac_cv_use_tga
='wxUSE_TGA=yes'
11531 ac_cv_use_tga
='wxUSE_TGA=no'
11536 LINE
=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x
; then
11538 eval "DEFAULT_$LINE"
11543 ac_cv_use_tga
='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547 eval "$ac_cv_use_tga"
11548 if test "$no_cache" != 1; then
11549 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11552 if test "$wxUSE_TGA" = yes; then
11553 echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11565 # Check whether --enable-iff or --disable-iff was given.
11566 if test "${enable_iff+set}" = set; then
11567 enableval
="$enable_iff"
11569 if test "$enableval" = yes; then
11570 ac_cv_use_iff
='wxUSE_IFF=yes'
11572 ac_cv_use_iff
='wxUSE_IFF=no'
11577 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x
; then
11579 eval "DEFAULT_$LINE"
11584 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588 eval "$ac_cv_use_iff"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11593 if test "$wxUSE_IFF" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11606 # Check whether --enable-pnm or --disable-pnm was given.
11607 if test "${enable_pnm+set}" = set; then
11608 enableval
="$enable_pnm"
11610 if test "$enableval" = yes; then
11611 ac_cv_use_pnm
='wxUSE_PNM=yes'
11613 ac_cv_use_pnm
='wxUSE_PNM=no'
11618 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11619 if test "x$LINE" != x
; then
11620 eval "DEFAULT_$LINE"
11625 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629 eval "$ac_cv_use_pnm"
11630 if test "$no_cache" != 1; then
11631 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11634 if test "$wxUSE_PNM" = yes; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11647 # Check whether --enable-xpm or --disable-xpm was given.
11648 if test "${enable_xpm+set}" = set; then
11649 enableval
="$enable_xpm"
11651 if test "$enableval" = yes; then
11652 ac_cv_use_xpm
='wxUSE_XPM=yes'
11654 ac_cv_use_xpm
='wxUSE_XPM=no'
11659 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x
; then
11661 eval "DEFAULT_$LINE"
11666 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670 eval "$ac_cv_use_xpm"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11675 if test "$wxUSE_XPM" = yes; then
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11679 echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6
11685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11688 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11689 if test "${enable_ico_cur+set}" = set; then
11690 enableval
="$enable_ico_cur"
11692 if test "$enableval" = yes; then
11693 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11695 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11700 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x
; then
11702 eval "DEFAULT_$LINE"
11707 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711 eval "$ac_cv_use_ico_cur"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11716 if test "$wxUSE_ICO_CUR" = yes; then
11717 echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11729 # Check whether --with-flavour or --without-flavour was given.
11730 if test "${with_flavour+set}" = set; then
11731 withval
="$with_flavour"
11732 WX_FLAVOUR
="$withval"
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11741 # Check whether --enable-official_build or --disable-official_build was given.
11742 if test "${enable_official_build+set}" = set; then
11743 enableval
="$enable_official_build"
11745 if test "$enableval" = yes; then
11746 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11748 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11753 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x
; then
11755 eval "DEFAULT_$LINE"
11760 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764 eval "$ac_cv_use_official_build"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11769 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11777 # Check whether --enable-vendor or --disable-vendor was given.
11778 if test "${enable_vendor+set}" = set; then
11779 enableval
="$enable_vendor"
11780 VENDOR
="$enableval"
11782 if test "x$VENDOR" = "x"; then
11789 echo "saving argument cache $wx_arg_cache_file"
11790 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11794 echo "$as_me:$LINENO: checking for toolkit" >&5
11795 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11797 # In Wine, we need to default to MSW, not GTK or MOTIF
11798 if test "$wxUSE_WINE" = "yes"; then
11799 DEFAULT_DEFAULT_wxUSE_GTK
=0
11800 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11801 DEFAULT_DEFAULT_wxUSE_MSW
=1
11806 if test "$wxUSE_GUI" = "yes"; then
11808 if test "$USE_BEOS" = 1; then
11809 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11810 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11811 { (exit 1); exit 1; }; }
11814 if test "$TOOLKIT_GIVEN" = 1; then
11815 for toolkit
in `echo $ALL_TOOLKITS`; do
11817 eval "value=\$${var}"
11818 if test "x$value" = "xno"; then
11820 elif test "x$value" != "x"; then
11824 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11825 eval "wx${toolkit}_VERSION=$value"
11829 for toolkit
in `echo $ALL_TOOLKITS`; do
11830 if test "$has_toolkit_in_cache" != 1; then
11831 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11833 var
=DEFAULT_wxUSE_
$toolkit
11835 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11836 if test "x$version" != "x"; then
11837 eval "wx${toolkit}_VERSION=$version"
11840 eval "wxUSE_$toolkit=\$${var}"
11844 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11845 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11846 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11849 *-pc-os2_emx | *-pc-os2-emx )
11850 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11853 case "$NUM_TOOLKITS" in
11857 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11858 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11859 { (exit 1); exit 1; }; }
11862 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11863 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11864 { (exit 1); exit 1; }; }
11867 # to be removed when --disable-gtk2 isn't needed
11868 if test "x$wxUSE_GTK2" = "xyes"; then
11870 elif test "x$wxUSE_GTK2" = "xno"; then
11874 for toolkit
in `echo $ALL_TOOLKITS`; do
11876 eval "value=\$${var}"
11877 if test "x$value" != x
; then
11878 cache_var
=CACHE_
$toolkit
11879 eval "cache=\$${cache_var}"
11880 if test "$cache" = 1; then
11881 echo "$var=$value" >> ${wx_arg_cache_file}
11882 eval "version=\$wx${toolkit}_VERSION"
11883 if test "x$version" != "x"; then
11884 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11887 if test "$value" = 1; then
11888 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11889 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11890 echo "${ECHO_T}$toolkit_echo" >&6
11895 if test "x$host_alias" != "x"; then
11896 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11897 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11899 echo "$as_me:$LINENO: result: base only" >&5
11900 echo "${ECHO_T}base only" >&6
11905 doesnt_want_win32
=0
11908 if test "$wxUSE_MSW" = 1 ; then
11910 BAKEFILE_FORCE_PLATFORM
=win32
11912 doesnt_want_win32
=1
11920 if test "$wxUSE_WINE" = "yes"; then
11924 LDFLAGS_GUI
="-mwindows"
11927 if test "$wants_win32" = 1 ; then
11930 cat >>confdefs.h
<<\_ACEOF
11931 #define __WIN32__ 1
11934 cat >>confdefs.h
<<\_ACEOF
11935 #define __WIN95__ 1
11938 cat >>confdefs.h
<<\_ACEOF
11939 #define __WINDOWS__ 1
11942 cat >>confdefs.h
<<\_ACEOF
11943 #define __GNUWIN32__ 1
11946 cat >>confdefs.h
<<\_ACEOF
11951 if test "$doesnt_want_win32" = 1 ; then
11956 if test "$USE_UNIX" = 1 ; then
11958 cat >>confdefs.h
<<\_ACEOF
11965 cat >confcache
<<\_ACEOF
11966 # This file is a shell script that caches the results of configure
11967 # tests run on this system so they can be shared between configure
11968 # scripts and configure runs, see configure's option --config-cache.
11969 # It is not useful on other systems. If it contains results you don't
11970 # want to keep, you may remove or edit it.
11972 # config.status only pays attention to the cache file if you give it
11973 # the --recheck option to rerun configure.
11975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11977 # following values.
11981 # The following way of writing the cache mishandles newlines in values,
11982 # but we know of no workaround that is simple, portable, and efficient.
11983 # So, don't put newlines in cache variables' values.
11984 # Ultrix sh set writes to stderr and can't be redirected directly,
11985 # and sets the high bit in the cache file unless we assign to the vars.
11988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11990 # `set' does not quote correctly, so add quotes (double-quote
11991 # substitution turns \\\\ into \\, and sed turns \\ into \).
11994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11997 # `set' quotes correctly as required by POSIX, so do not add quotes.
11999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12010 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12011 if test -w $cache_file; then
12012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12013 cat confcache
>$cache_file
12015 echo "not updating unwritable cache $cache_file"
12025 ac_cpp
='$CPP $CPPFLAGS'
12026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12029 if test -n "$ac_tool_prefix"; then
12030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12032 echo "$as_me:$LINENO: checking for $ac_word" >&5
12033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12034 if test "${ac_cv_prog_CC+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 if test -n "$CC"; then
12038 ac_cv_prog_CC
="$CC" # Let the user override the test.
12040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12041 for as_dir
in $PATH
12044 test -z "$as_dir" && as_dir
=.
12045 for ac_exec_ext
in '' $ac_executable_extensions; do
12046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12057 if test -n "$CC"; then
12058 echo "$as_me:$LINENO: result: $CC" >&5
12059 echo "${ECHO_T}$CC" >&6
12061 echo "$as_me:$LINENO: result: no" >&5
12062 echo "${ECHO_T}no" >&6
12066 if test -z "$ac_cv_prog_CC"; then
12068 # Extract the first word of "gcc", so it can be a program name with args.
12069 set dummy gcc
; ac_word
=$2
12070 echo "$as_me:$LINENO: checking for $ac_word" >&5
12071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 if test -n "$ac_ct_CC"; then
12076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12079 for as_dir
in $PATH
12082 test -z "$as_dir" && as_dir
=.
12083 for ac_exec_ext
in '' $ac_executable_extensions; do
12084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12085 ac_cv_prog_ac_ct_CC
="gcc"
12086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12095 if test -n "$ac_ct_CC"; then
12096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12097 echo "${ECHO_T}$ac_ct_CC" >&6
12099 echo "$as_me:$LINENO: result: no" >&5
12100 echo "${ECHO_T}no" >&6
12105 CC
="$ac_cv_prog_CC"
12108 if test -z "$CC"; then
12109 if test -n "$ac_tool_prefix"; then
12110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12111 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12112 echo "$as_me:$LINENO: checking for $ac_word" >&5
12113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12114 if test "${ac_cv_prog_CC+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 if test -n "$CC"; then
12118 ac_cv_prog_CC
="$CC" # Let the user override the test.
12120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12121 for as_dir
in $PATH
12124 test -z "$as_dir" && as_dir
=.
12125 for ac_exec_ext
in '' $ac_executable_extensions; do
12126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12127 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12137 if test -n "$CC"; then
12138 echo "$as_me:$LINENO: result: $CC" >&5
12139 echo "${ECHO_T}$CC" >&6
12141 echo "$as_me:$LINENO: result: no" >&5
12142 echo "${ECHO_T}no" >&6
12146 if test -z "$ac_cv_prog_CC"; then
12148 # Extract the first word of "cc", so it can be a program name with args.
12149 set dummy cc
; ac_word
=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 if test -n "$ac_ct_CC"; then
12156 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12159 for as_dir
in $PATH
12162 test -z "$as_dir" && as_dir
=.
12163 for ac_exec_ext
in '' $ac_executable_extensions; do
12164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_prog_ac_ct_CC
="cc"
12166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12175 if test -n "$ac_ct_CC"; then
12176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12177 echo "${ECHO_T}$ac_ct_CC" >&6
12179 echo "$as_me:$LINENO: result: no" >&5
12180 echo "${ECHO_T}no" >&6
12185 CC
="$ac_cv_prog_CC"
12189 if test -z "$CC"; then
12190 # Extract the first word of "cc", so it can be a program name with args.
12191 set dummy cc
; 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 ac_prog_rejected
=no
12201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12202 for as_dir
in $PATH
12205 test -z "$as_dir" && as_dir
=.
12206 for ac_exec_ext
in '' $ac_executable_extensions; do
12207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12209 ac_prog_rejected
=yes
12213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12219 if test $ac_prog_rejected = yes; then
12220 # We found a bogon in the path, so make sure we never use it.
12221 set dummy
$ac_cv_prog_CC
12223 if test $# != 0; then
12224 # We chose a different compiler from the bogus one.
12225 # However, it has the same basename, so the bogon will be chosen
12226 # first if we set CC to just the basename; use the full file name.
12228 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12234 if test -n "$CC"; then
12235 echo "$as_me:$LINENO: result: $CC" >&5
12236 echo "${ECHO_T}$CC" >&6
12238 echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6
12243 if test -z "$CC"; then
12244 if test -n "$ac_tool_prefix"; then
12247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12248 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12249 echo "$as_me:$LINENO: checking for $ac_word" >&5
12250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12251 if test "${ac_cv_prog_CC+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 if test -n "$CC"; then
12255 ac_cv_prog_CC
="$CC" # Let the user override the test.
12257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12258 for as_dir
in $PATH
12261 test -z "$as_dir" && as_dir
=.
12262 for ac_exec_ext
in '' $ac_executable_extensions; do
12263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12264 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 if test -n "$CC"; then
12275 echo "$as_me:$LINENO: result: $CC" >&5
12276 echo "${ECHO_T}$CC" >&6
12278 echo "$as_me:$LINENO: result: no" >&5
12279 echo "${ECHO_T}no" >&6
12282 test -n "$CC" && break
12285 if test -z "$CC"; then
12289 # Extract the first word of "$ac_prog", so it can be a program name with args.
12290 set dummy
$ac_prog; ac_word
=$2
12291 echo "$as_me:$LINENO: checking for $ac_word" >&5
12292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 if test -n "$ac_ct_CC"; then
12297 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12300 for as_dir
in $PATH
12303 test -z "$as_dir" && as_dir
=.
12304 for ac_exec_ext
in '' $ac_executable_extensions; do
12305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12306 ac_cv_prog_ac_ct_CC
="$ac_prog"
12307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12316 if test -n "$ac_ct_CC"; then
12317 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12318 echo "${ECHO_T}$ac_ct_CC" >&6
12320 echo "$as_me:$LINENO: result: no" >&5
12321 echo "${ECHO_T}no" >&6
12324 test -n "$ac_ct_CC" && break
12333 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12334 See \`config.log' for more details." >&5
12335 echo "$as_me: error: no acceptable C compiler found in \$PATH
12336 See \`config.log' for more details." >&2;}
12337 { (exit 1); exit 1; }; }
12339 # Provide some information about the compiler.
12340 echo "$as_me:$LINENO:" \
12341 "checking for C compiler version" >&5
12342 ac_compiler
=`set X $ac_compile; echo $2`
12343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12344 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }
12348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12349 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }
12353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12354 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }
12359 cat >conftest.
$ac_ext <<_ACEOF
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12374 ac_clean_files_save
=$ac_clean_files
12375 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12376 # Try to create an executable without -o first, disregard a.out.
12377 # It will help us diagnose broken compilers, and finding out an intuition
12379 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12380 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12381 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12382 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12383 (eval $ac_link_default) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; then
12387 # Find the output, starting from the most likely. This scheme is
12388 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12391 # Be careful to initialize this variable, since it used to be cached.
12392 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12394 # b.out is created by i960 compilers.
12395 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12397 test -f "$ac_file" || continue
12399 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12402 # This is the source file.
12405 # We found the default executable, but exeext='' is most
12409 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12410 # FIXME: I believe we export ac_cv_exeext for Libtool,
12411 # but it would be cool to find out if it's true. Does anybody
12412 # maintain Libtool? --akim.
12413 export ac_cv_exeext
12420 echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.
$ac_ext >&5
12423 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12424 See \`config.log' for more details." >&5
12425 echo "$as_me: error: C compiler cannot create executables
12426 See \`config.log' for more details." >&2;}
12427 { (exit 77); exit 77; }; }
12430 ac_exeext
=$ac_cv_exeext
12431 echo "$as_me:$LINENO: result: $ac_file" >&5
12432 echo "${ECHO_T}$ac_file" >&6
12434 # Check the compiler produces executables we can run. If not, either
12435 # the compiler is broken, or we cross compile.
12436 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12437 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12438 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12439 # If not cross compiling, check that we can run a simple program.
12440 if test "$cross_compiling" != yes; then
12441 if { ac_try
='./$ac_file'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; }; then
12449 if test "$cross_compiling" = maybe
; then
12450 cross_compiling
=yes
12452 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12453 If you meant to cross compile, use \`--host'.
12454 See \`config.log' for more details." >&5
12455 echo "$as_me: error: cannot run C compiled programs.
12456 If you meant to cross compile, use \`--host'.
12457 See \`config.log' for more details." >&2;}
12458 { (exit 1); exit 1; }; }
12462 echo "$as_me:$LINENO: result: yes" >&5
12463 echo "${ECHO_T}yes" >&6
12465 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12466 ac_clean_files
=$ac_clean_files_save
12467 # Check the compiler produces executables we can run. If not, either
12468 # the compiler is broken, or we cross compile.
12469 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12470 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12471 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12472 echo "${ECHO_T}$cross_compiling" >&6
12474 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12475 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12477 (eval $ac_link) 2>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; then
12481 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12482 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12483 # work properly (i.e., refer to `conftest.exe'), while it won't with
12485 for ac_file
in conftest.exe conftest conftest.
*; do
12486 test -f "$ac_file" || continue
12488 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12489 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12490 export ac_cv_exeext
12496 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12497 See \`config.log' for more details." >&5
12498 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12499 See \`config.log' for more details." >&2;}
12500 { (exit 1); exit 1; }; }
12503 rm -f conftest
$ac_cv_exeext
12504 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12505 echo "${ECHO_T}$ac_cv_exeext" >&6
12507 rm -f conftest.
$ac_ext
12508 EXEEXT
=$ac_cv_exeext
12510 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12511 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12512 if test "${ac_cv_objext+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 cat >conftest.
$ac_ext <<_ACEOF
12518 cat confdefs.h
>>conftest.
$ac_ext
12519 cat >>conftest.
$ac_ext <<_ACEOF
12520 /* end confdefs.h. */
12530 rm -f conftest.o conftest.obj
12531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12532 (eval $ac_compile) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; then
12536 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12538 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12539 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.
$ac_ext >&5
12547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12548 See \`config.log' for more details." >&5
12549 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12550 See \`config.log' for more details." >&2;}
12551 { (exit 1); exit 1; }; }
12554 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12557 echo "${ECHO_T}$ac_cv_objext" >&6
12558 OBJEXT
=$ac_cv_objext
12560 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12562 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12563 echo $ECHO_N "(cached) $ECHO_C" >&6
12565 cat >conftest.
$ac_ext <<_ACEOF
12568 cat confdefs.h
>>conftest.
$ac_ext
12569 cat >>conftest.
$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12583 rm -f conftest.
$ac_objext
12584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12585 (eval $ac_compile) 2>conftest.er1
12587 grep -v '^ *+' conftest.er1
>conftest.err
12589 cat conftest.err
>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } &&
12592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; } &&
12598 { ac_try
='test -s conftest.$ac_objext'
12599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12600 (eval $ac_try) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }; }; then
12604 ac_compiler_gnu
=yes
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.
$ac_ext >&5
12611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12612 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12615 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12616 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12617 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12618 ac_test_CFLAGS
=${CFLAGS+set}
12619 ac_save_CFLAGS
=$CFLAGS
12621 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12622 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12623 if test "${ac_cv_prog_cc_g+set}" = set; then
12624 echo $ECHO_N "(cached) $ECHO_C" >&6
12626 cat >conftest.
$ac_ext <<_ACEOF
12629 cat confdefs.h
>>conftest.
$ac_ext
12630 cat >>conftest.
$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12641 rm -f conftest.
$ac_objext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12643 (eval $ac_compile) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_prog_cc_g
=yes
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12671 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12672 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12673 if test "$ac_test_CFLAGS" = set; then
12674 CFLAGS
=$ac_save_CFLAGS
12675 elif test $ac_cv_prog_cc_g = yes; then
12676 if test "$GCC" = yes; then
12682 if test "$GCC" = yes; then
12688 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12689 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12690 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 ac_cv_prog_cc_stdc
=no
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 #include <stdarg.h>
12703 #include <sys/types.h>
12704 #include <sys/stat.h>
12705 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12706 struct buf { int x; };
12707 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12708 static char *e (p, i)
12714 static char *f (char * (*g) (char **, int), char **p, ...)
12719 s = g (p, va_arg (v,int));
12724 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12725 function prototypes and stuff, but not '\xHH' hex character constants.
12726 These don't provoke an error unfortunately, instead are silently treated
12727 as 'x'. The following induces an error, until -std1 is added to get
12728 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12729 array size at least. It's necessary to write '\x00'==0 to get something
12730 that's true only with -std1. */
12731 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12733 int test (int i, double x);
12734 struct s1 {int (*f) (int a);};
12735 struct s2 {int (*f) (double a);};
12736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12747 # Don't try gcc -ansi; that turns off useful extensions and
12748 # breaks some systems' header files.
12749 # AIX -qlanglvl=ansi
12750 # Ultrix and OSF/1 -std1
12751 # HP-UX 10.20 and later -Ae
12752 # HP-UX older versions -Aa -D_HPUX_SOURCE
12753 # SVR4 -Xc -D__EXTENSIONS__
12754 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12756 CC
="$ac_save_CC $ac_arg"
12757 rm -f conftest.
$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>conftest.er1
12761 grep -v '^ *+' conftest.er1
>conftest.err
12763 cat conftest.err
>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } &&
12766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; } &&
12772 { ac_try
='test -s conftest.$ac_objext'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; }; then
12778 ac_cv_prog_cc_stdc
=$ac_arg
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12785 rm -f conftest.err conftest.
$ac_objext
12787 rm -f conftest.
$ac_ext conftest.
$ac_objext
12792 case "x$ac_cv_prog_cc_stdc" in
12794 echo "$as_me:$LINENO: result: none needed" >&5
12795 echo "${ECHO_T}none needed" >&6 ;;
12797 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12798 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12799 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12802 # Some people use a C++ compiler to compile C. Since we use `exit',
12803 # in C++ we need to declare it. In case someone uses the same compiler
12804 # for both compiling C and C++ we need to have the C++ compiler decide
12805 # the declaration of exit, since it's the most demanding environment.
12806 cat >conftest.
$ac_ext <<_ACEOF
12807 #ifndef __cplusplus
12811 rm -f conftest.
$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>conftest.er1
12815 grep -v '^ *+' conftest.er1
>conftest.err
12817 cat conftest.err
>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; } &&
12826 { ac_try
='test -s conftest.$ac_objext'
12827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; }; then
12832 for ac_declaration
in \
12834 'extern "C" void std::exit (int) throw (); using std::exit;' \
12835 'extern "C" void std::exit (int); using std::exit;' \
12836 'extern "C" void exit (int) throw ();' \
12837 'extern "C" void exit (int);' \
12840 cat >conftest.
$ac_ext <<_ACEOF
12843 cat confdefs.h
>>conftest.
$ac_ext
12844 cat >>conftest.
$ac_ext <<_ACEOF
12845 /* end confdefs.h. */
12847 #include <stdlib.h>
12856 rm -f conftest.
$ac_objext
12857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12858 (eval $ac_compile) 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } &&
12865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; } &&
12871 { ac_try
='test -s conftest.$ac_objext'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; }; then
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.
$ac_ext >&5
12884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12885 cat >conftest.
$ac_ext <<_ACEOF
12888 cat confdefs.h
>>conftest.
$ac_ext
12889 cat >>conftest.
$ac_ext <<_ACEOF
12890 /* end confdefs.h. */
12900 rm -f conftest.
$ac_objext
12901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12902 (eval $ac_compile) 2>conftest.er1
12904 grep -v '^ *+' conftest.er1
>conftest.err
12906 cat conftest.err
>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12930 if test -n "$ac_declaration"; then
12931 echo '#ifdef __cplusplus' >>confdefs.h
12932 echo $ac_declaration >>confdefs.h
12933 echo '#endif' >>confdefs.h
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.
$ac_ext >&5
12941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12943 ac_cpp
='$CPP $CPPFLAGS'
12944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12951 ac_cpp
='$CPP $CPPFLAGS'
12952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12956 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12957 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12958 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 cat >conftest.
$ac_ext <<_ACEOF
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12972 #ifndef __INTEL_COMPILER
12980 rm -f conftest.
$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try
='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13013 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13014 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13016 ac_cpp
='$CPP $CPPFLAGS'
13017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13021 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13028 if test "x$GCC" != "xyes"; then
13029 if test "xCC" = "xC"; then
13030 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13031 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13032 if test "${bakefile_cv_c_exto+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 cat >conftest.
$ac_ext <<_ACEOF
13038 cat confdefs.h
>>conftest.
$ac_ext
13039 cat >>conftest.
$ac_ext <<_ACEOF
13040 /* end confdefs.h. */
13050 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; then
13056 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13058 conftest.
$ac_ext.o
)
13059 bakefile_cv_c_exto
="-ext o"
13066 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13067 See \`config.log' for more details." >&5
13068 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13069 See \`config.log' for more details." >&2;}
13070 { (exit 1); exit 1; }; }
13074 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13077 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13078 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13079 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13080 if test "c" = "c"; then
13081 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13083 if test "c" = "cxx"; then
13084 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13088 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13089 unset ac_cv_prog_cc_g
13090 ac_test_CFLAGS
=${CFLAGS+set}
13091 ac_save_CFLAGS
=$CFLAGS
13093 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13094 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13095 if test "${ac_cv_prog_cc_g+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 cat >conftest.
$ac_ext <<_ACEOF
13101 cat confdefs.h
>>conftest.
$ac_ext
13102 cat >>conftest.
$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13113 rm -f conftest.
$ac_objext
13114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13115 (eval $ac_compile) 2>conftest.er1
13117 grep -v '^ *+' conftest.er1
>conftest.err
13119 cat conftest.err
>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; } &&
13128 { ac_try
='test -s conftest.$ac_objext'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; }; then
13134 ac_cv_prog_cc_g
=yes
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.
$ac_ext >&5
13141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13143 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13144 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13145 if test "$ac_test_CFLAGS" = set; then
13146 CFLAGS
=$ac_save_CFLAGS
13147 elif test $ac_cv_prog_cc_g = yes; then
13148 if test "$GCC" = yes; then
13154 if test "$GCC" = yes; then
13166 ac_cpp
='$CPP $CPPFLAGS'
13167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13171 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13172 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13173 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13174 echo $ECHO_N "(cached) $ECHO_C" >&6
13176 cat >conftest.
$ac_ext <<_ACEOF
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13194 rm -f conftest.
$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196 (eval $ac_compile) 2>conftest.er1
13198 grep -v '^ *+' conftest.er1
>conftest.err
13200 cat conftest.err
>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } &&
13203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try
='test -s conftest.$ac_objext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 bakefile_compiler_xlc
=yes
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 bakefile_compiler_xlc
=no
13222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13223 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13226 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13227 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13229 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13231 ac_cpp
='$CPP $CPPFLAGS'
13232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13241 ac_cpp
='$CPP $CPPFLAGS'
13242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13246 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13247 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13248 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 cat >conftest.
$ac_ext <<_ACEOF
13254 cat confdefs.h
>>conftest.
$ac_ext
13255 cat >>conftest.
$ac_ext <<_ACEOF
13256 /* end confdefs.h. */
13269 rm -f conftest.
$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>conftest.er1
13273 grep -v '^ *+' conftest.er1
>conftest.err
13275 cat conftest.err
>&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } &&
13278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; } &&
13284 { ac_try
='test -s conftest.$ac_objext'
13285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286 (eval $ac_try) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }; }; then
13290 bakefile_compiler_mwerks
=yes
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.
$ac_ext >&5
13295 bakefile_compiler_mwerks
=no
13297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13298 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13301 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13302 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13304 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13306 ac_cpp
='$CPP $CPPFLAGS'
13307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13313 ac_cpp
='$CPP $CPPFLAGS'
13314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13318 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13319 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13320 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 cat >conftest.
$ac_ext <<_ACEOF
13326 cat confdefs.h
>>conftest.
$ac_ext
13327 cat >>conftest.
$ac_ext <<_ACEOF
13328 /* end confdefs.h. */
13341 rm -f conftest.
$ac_objext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>conftest.er1
13345 grep -v '^ *+' conftest.er1
>conftest.err
13347 cat conftest.err
>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; } &&
13356 { ac_try
='test -s conftest.$ac_objext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 bakefile_compiler_xlc
=yes
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.
$ac_ext >&5
13367 bakefile_compiler_xlc
=no
13369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13370 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13373 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13374 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13376 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13378 ac_cpp
='$CPP $CPPFLAGS'
13379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13390 ac_cpp
='$CPP $CPPFLAGS'
13391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13395 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13396 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13397 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 cat >conftest.
$ac_ext <<_ACEOF
13403 cat confdefs.h
>>conftest.
$ac_ext
13404 cat >>conftest.
$ac_ext <<_ACEOF
13405 /* end confdefs.h. */
13411 #ifndef _SGI_COMPILER_VERSION
13419 rm -f conftest.
$ac_objext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13421 (eval $ac_compile) 2>conftest.er1
13423 grep -v '^ *+' conftest.er1
>conftest.err
13425 cat conftest.err
>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try
='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.
$ac_ext >&5
13445 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13452 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13453 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13455 ac_cpp
='$CPP $CPPFLAGS'
13456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13460 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13473 ac_cpp
='$CPP $CPPFLAGS'
13474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13478 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13479 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13480 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 cat >conftest.
$ac_ext <<_ACEOF
13486 cat confdefs.h
>>conftest.
$ac_ext
13487 cat >>conftest.
$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13502 rm -f conftest.
$ac_objext
13503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13504 (eval $ac_compile) 2>conftest.er1
13506 grep -v '^ *+' conftest.er1
>conftest.err
13508 cat conftest.err
>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } &&
13511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try
='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 bakefile_cv_c_compiler___HP_cc
=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.
$ac_ext >&5
13528 bakefile_cv_c_compiler___HP_cc
=no
13531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13535 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13536 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13538 ac_cpp
='$CPP $CPPFLAGS'
13539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13543 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13556 ac_cpp
='$CPP $CPPFLAGS'
13557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13561 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13562 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13563 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13564 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 cat >conftest.
$ac_ext <<_ACEOF
13569 cat confdefs.h
>>conftest.
$ac_ext
13570 cat >>conftest.
$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13585 rm -f conftest.
$ac_objext
13586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13587 (eval $ac_compile) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; } &&
13600 { ac_try
='test -s conftest.$ac_objext'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; }; then
13606 bakefile_cv_c_compiler___DECC
=yes
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.
$ac_ext >&5
13611 bakefile_cv_c_compiler___DECC
=no
13614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13618 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13619 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13621 ac_cpp
='$CPP $CPPFLAGS'
13622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13626 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13639 ac_cpp
='$CPP $CPPFLAGS'
13640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13644 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13645 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13646 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 cat >conftest.
$ac_ext <<_ACEOF
13652 cat confdefs.h
>>conftest.
$ac_ext
13653 cat >>conftest.
$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13668 rm -f conftest.
$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>conftest.er1
13672 grep -v '^ *+' conftest.er1
>conftest.err
13674 cat conftest.err
>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try
='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 bakefile_cv_c_compiler___SUNPRO_C
=yes
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.
$ac_ext >&5
13694 bakefile_cv_c_compiler___SUNPRO_C
=no
13697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13702 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13704 ac_cpp
='$CPP $CPPFLAGS'
13705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13709 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13723 ac_cpp
='$CPP $CPPFLAGS'
13724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13727 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13728 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13729 # On Suns, sometimes $CPP names a directory.
13730 if test -n "$CPP" && test -d "$CPP"; then
13733 if test -z "$CPP"; then
13734 if test "${ac_cv_prog_CPP+set}" = set; then
13735 echo $ECHO_N "(cached) $ECHO_C" >&6
13737 # Double quotes because CPP needs to be expanded
13738 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13740 ac_preproc_ok
=false
13741 for ac_c_preproc_warn_flag
in '' yes
13743 # Use a header file that comes with gcc, so configuring glibc
13744 # with a fresh cross-compiler works.
13745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 # <limits.h> exists even on freestanding compilers.
13747 # On the NeXT, cc -E runs the code through the compiler's parser,
13748 # not just through cpp. "Syntax error" is here to catch this case.
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13756 # include <limits.h>
13758 # include <assert.h>
13762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13765 grep -v '^ *+' conftest.er1
>conftest.err
13767 cat conftest.err
>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } >/dev
/null
; then
13770 if test -s conftest.err
; then
13771 ac_cpp_err
=$ac_c_preproc_warn_flag
13772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13779 if test -z "$ac_cpp_err"; then
13782 echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.
$ac_ext >&5
13785 # Broken: fails on valid input.
13788 rm -f conftest.err conftest.
$ac_ext
13790 # OK, works on sane cases. Now check whether non-existent headers
13791 # can be detected and how.
13792 cat >conftest.
$ac_ext <<_ACEOF
13795 cat confdefs.h
>>conftest.
$ac_ext
13796 cat >>conftest.
$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 #include <ac_nonexistent.h>
13800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13803 grep -v '^ *+' conftest.er1
>conftest.err
13805 cat conftest.err
>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } >/dev
/null
; then
13808 if test -s conftest.err
; then
13809 ac_cpp_err
=$ac_c_preproc_warn_flag
13810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13817 if test -z "$ac_cpp_err"; then
13818 # Broken: success on invalid input.
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.
$ac_ext >&5
13824 # Passes both tests.
13828 rm -f conftest.err conftest.
$ac_ext
13831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13832 rm -f conftest.err conftest.
$ac_ext
13833 if $ac_preproc_ok; then
13838 ac_cv_prog_CPP
=$CPP
13841 CPP
=$ac_cv_prog_CPP
13843 ac_cv_prog_CPP
=$CPP
13845 echo "$as_me:$LINENO: result: $CPP" >&5
13846 echo "${ECHO_T}$CPP" >&6
13847 ac_preproc_ok
=false
13848 for ac_c_preproc_warn_flag
in '' yes
13850 # Use a header file that comes with gcc, so configuring glibc
13851 # with a fresh cross-compiler works.
13852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13853 # <limits.h> exists even on freestanding compilers.
13854 # On the NeXT, cc -E runs the code through the compiler's parser,
13855 # not just through cpp. "Syntax error" is here to catch this case.
13856 cat >conftest.
$ac_ext <<_ACEOF
13859 cat confdefs.h
>>conftest.
$ac_ext
13860 cat >>conftest.
$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13863 # include <limits.h>
13865 # include <assert.h>
13869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13872 grep -v '^ *+' conftest.er1
>conftest.err
13874 cat conftest.err
>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); } >/dev
/null
; then
13877 if test -s conftest.err
; then
13878 ac_cpp_err
=$ac_c_preproc_warn_flag
13879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13886 if test -z "$ac_cpp_err"; then
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.
$ac_ext >&5
13892 # Broken: fails on valid input.
13895 rm -f conftest.err conftest.
$ac_ext
13897 # OK, works on sane cases. Now check whether non-existent headers
13898 # can be detected and how.
13899 cat >conftest.
$ac_ext <<_ACEOF
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 #include <ac_nonexistent.h>
13907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13910 grep -v '^ *+' conftest.er1
>conftest.err
13912 cat conftest.err
>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); } >/dev
/null
; then
13915 if test -s conftest.err
; then
13916 ac_cpp_err
=$ac_c_preproc_warn_flag
13917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13924 if test -z "$ac_cpp_err"; then
13925 # Broken: success on invalid input.
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 # Passes both tests.
13935 rm -f conftest.err conftest.
$ac_ext
13938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13939 rm -f conftest.err conftest.
$ac_ext
13940 if $ac_preproc_ok; then
13943 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13944 See \`config.log' for more details." >&5
13945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13946 See \`config.log' for more details." >&2;}
13947 { (exit 1); exit 1; }; }
13951 ac_cpp
='$CPP $CPPFLAGS'
13952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13957 echo "$as_me:$LINENO: checking for egrep" >&5
13958 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13959 if test "${ac_cv_prog_egrep+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13963 then ac_cv_prog_egrep
='grep -E'
13964 else ac_cv_prog_egrep
='egrep'
13967 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13968 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13969 EGREP
=$ac_cv_prog_egrep
13972 if test $ac_cv_c_compiler_gnu = yes; then
13973 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13974 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13975 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 ac_pattern
="Autoconf.*'x'"
13979 cat >conftest.
$ac_ext <<_ACEOF
13982 cat confdefs.h
>>conftest.
$ac_ext
13983 cat >>conftest.
$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13989 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13990 ac_cv_prog_gcc_traditional
=yes
13992 ac_cv_prog_gcc_traditional
=no
13997 if test $ac_cv_prog_gcc_traditional = no
; then
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <termio.h>
14007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14008 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14009 ac_cv_prog_gcc_traditional
=yes
14015 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14016 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14017 if test $ac_cv_prog_gcc_traditional = yes; then
14018 CC
="$CC -traditional"
14024 ac_cpp
='$CXXCPP $CPPFLAGS'
14025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14030 CXXFLAGS
=${CXXFLAGS:=}
14035 ac_cpp
='$CXXCPP $CPPFLAGS'
14036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14039 if test -n "$ac_tool_prefix"; then
14040 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14043 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14044 echo "$as_me:$LINENO: checking for $ac_word" >&5
14045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14046 if test "${ac_cv_prog_CXX+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 if test -n "$CXX"; then
14050 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14053 for as_dir
in $PATH
14056 test -z "$as_dir" && as_dir
=.
14057 for ac_exec_ext
in '' $ac_executable_extensions; do
14058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14068 CXX
=$ac_cv_prog_CXX
14069 if test -n "$CXX"; then
14070 echo "$as_me:$LINENO: result: $CXX" >&5
14071 echo "${ECHO_T}$CXX" >&6
14073 echo "$as_me:$LINENO: result: no" >&5
14074 echo "${ECHO_T}no" >&6
14077 test -n "$CXX" && break
14080 if test -z "$CXX"; then
14082 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14084 # Extract the first word of "$ac_prog", so it can be a program name with args.
14085 set dummy
$ac_prog; ac_word
=$2
14086 echo "$as_me:$LINENO: checking for $ac_word" >&5
14087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 if test -n "$ac_ct_CXX"; then
14092 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14095 for as_dir
in $PATH
14098 test -z "$as_dir" && as_dir
=.
14099 for ac_exec_ext
in '' $ac_executable_extensions; do
14100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14110 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14111 if test -n "$ac_ct_CXX"; then
14112 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14113 echo "${ECHO_T}$ac_ct_CXX" >&6
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14119 test -n "$ac_ct_CXX" && break
14121 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14127 # Provide some information about the compiler.
14128 echo "$as_me:$LINENO:" \
14129 "checking for C++ compiler version" >&5
14130 ac_compiler
=`set X $ac_compile; echo $2`
14131 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14132 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }
14136 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14137 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }
14141 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14142 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }
14147 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14148 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14149 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 ac_compiler_gnu
=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14202 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14203 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14204 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14205 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14206 ac_save_CXXFLAGS
=$CXXFLAGS
14208 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14209 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14210 if test "${ac_cv_prog_cxx_g+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 cat >conftest.
$ac_ext <<_ACEOF
14216 cat confdefs.h
>>conftest.
$ac_ext
14217 cat >>conftest.
$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14228 rm -f conftest.
$ac_objext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14230 (eval $ac_compile) 2>conftest.er1
14232 grep -v '^ *+' conftest.er1
>conftest.err
14234 cat conftest.err
>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try
='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_cv_prog_cxx_g
=yes
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.
$ac_ext >&5
14254 ac_cv_prog_cxx_g
=no
14256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14258 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14259 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14260 if test "$ac_test_CXXFLAGS" = set; then
14261 CXXFLAGS
=$ac_save_CXXFLAGS
14262 elif test $ac_cv_prog_cxx_g = yes; then
14263 if test "$GXX" = yes; then
14269 if test "$GXX" = yes; then
14275 for ac_declaration
in \
14277 'extern "C" void std::exit (int) throw (); using std::exit;' \
14278 'extern "C" void std::exit (int); using std::exit;' \
14279 'extern "C" void exit (int) throw ();' \
14280 'extern "C" void exit (int);' \
14283 cat >conftest.
$ac_ext <<_ACEOF
14286 cat confdefs.h
>>conftest.
$ac_ext
14287 cat >>conftest.
$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14290 #include <stdlib.h>
14299 rm -f conftest.
$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>conftest.er1
14303 grep -v '^ *+' conftest.er1
>conftest.err
14305 cat conftest.err
>&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; } &&
14314 { ac_try
='test -s conftest.$ac_objext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14322 echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.
$ac_ext >&5
14327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14328 cat >conftest.
$ac_ext <<_ACEOF
14331 cat confdefs.h
>>conftest.
$ac_ext
14332 cat >>conftest.
$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14343 rm -f conftest.
$ac_objext
14344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14345 (eval $ac_compile) 2>conftest.er1
14347 grep -v '^ *+' conftest.er1
>conftest.err
14349 cat conftest.err
>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } &&
14352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest.$ac_objext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14373 if test -n "$ac_declaration"; then
14374 echo '#ifdef __cplusplus' >>confdefs.h
14375 echo $ac_declaration >>confdefs.h
14376 echo '#endif' >>confdefs.h
14380 ac_cpp
='$CXXCPP $CPPFLAGS'
14381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14388 ac_cpp
='$CXXCPP $CPPFLAGS'
14389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14393 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14394 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14395 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 cat >conftest.
$ac_ext <<_ACEOF
14401 cat confdefs.h
>>conftest.
$ac_ext
14402 cat >>conftest.
$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14409 #ifndef __INTEL_COMPILER
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.
$ac_ext >&5
14443 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14453 ac_cpp
='$CXXCPP $CPPFLAGS'
14454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14458 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14465 if test "x$GCXX" != "xyes"; then
14466 if test "xCXX" = "xC"; then
14467 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14468 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14469 if test "${bakefile_cv_cxx_exto+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14487 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489 (eval $ac_compile) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; then
14493 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14495 conftest.
$ac_ext.o
)
14496 bakefile_cv_cxx_exto
="-ext o"
14503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14504 See \`config.log' for more details." >&5
14505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14506 See \`config.log' for more details." >&2;}
14507 { (exit 1); exit 1; }; }
14511 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14514 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14515 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14516 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14517 if test "cxx" = "c"; then
14518 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14520 if test "cxx" = "cxx"; then
14521 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14526 unset ac_cv_prog_cc_g
14527 ac_test_CFLAGS
=${CFLAGS+set}
14528 ac_save_CFLAGS
=$CFLAGS
14530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14532 if test "${ac_cv_prog_cc_g+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 cat >conftest.
$ac_ext <<_ACEOF
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14550 rm -f conftest.
$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; } &&
14565 { ac_try
='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_cv_prog_cc_g
=yes
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.
$ac_ext >&5
14578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14580 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14581 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14582 if test "$ac_test_CFLAGS" = set; then
14583 CFLAGS
=$ac_save_CFLAGS
14584 elif test $ac_cv_prog_cc_g = yes; then
14585 if test "$GCC" = yes; then
14591 if test "$GCC" = yes; then
14603 ac_cpp
='$CXXCPP $CPPFLAGS'
14604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14608 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14609 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14610 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 cat >conftest.
$ac_ext <<_ACEOF
14616 cat confdefs.h
>>conftest.
$ac_ext
14617 cat >>conftest.
$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14631 rm -f conftest.
$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>conftest.er1
14635 grep -v '^ *+' conftest.er1
>conftest.err
14637 cat conftest.err
>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; } &&
14646 { ac_try
='test -s conftest.$ac_objext'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; }; then
14652 bakefile_compiler_xlc
=yes
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.
$ac_ext >&5
14657 bakefile_compiler_xlc
=no
14659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14660 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14663 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14664 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14666 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14668 ac_cpp
='$CXXCPP $CPPFLAGS'
14669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14678 ac_cpp
='$CXXCPP $CPPFLAGS'
14679 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14680 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14681 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14683 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14684 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14685 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 cat >conftest.
$ac_ext <<_ACEOF
14691 cat confdefs.h
>>conftest.
$ac_ext
14692 cat >>conftest.
$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14706 rm -f conftest.
$ac_objext
14707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14708 (eval $ac_compile) 2>conftest.er1
14710 grep -v '^ *+' conftest.er1
>conftest.err
14712 cat conftest.err
>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } &&
14715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try
='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 bakefile_compiler_mwerks
=yes
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.
$ac_ext >&5
14732 bakefile_compiler_mwerks
=no
14734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14735 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14738 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14739 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14741 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14743 ac_cpp
='$CXXCPP $CPPFLAGS'
14744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14750 ac_cpp
='$CXXCPP $CPPFLAGS'
14751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14755 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14756 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14757 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 cat >conftest.
$ac_ext <<_ACEOF
14763 cat confdefs.h
>>conftest.
$ac_ext
14764 cat >>conftest.
$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14778 rm -f conftest.
$ac_objext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14780 (eval $ac_compile) 2>conftest.er1
14782 grep -v '^ *+' conftest.er1
>conftest.err
14784 cat conftest.err
>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } &&
14787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14789 (eval $ac_try) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); }; } &&
14793 { ac_try
='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 bakefile_compiler_xlc
=yes
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.
$ac_ext >&5
14804 bakefile_compiler_xlc
=no
14806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14807 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14810 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14811 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14813 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14815 ac_cpp
='$CXXCPP $CPPFLAGS'
14816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14827 ac_cpp
='$CXXCPP $CPPFLAGS'
14828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14832 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14833 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14834 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14835 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 cat >conftest.
$ac_ext <<_ACEOF
14840 cat confdefs.h
>>conftest.
$ac_ext
14841 cat >>conftest.
$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14848 #ifndef _SGI_COMPILER_VERSION
14856 rm -f conftest.
$ac_objext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14858 (eval $ac_compile) 2>conftest.er1
14860 grep -v '^ *+' conftest.er1
>conftest.err
14862 cat conftest.err
>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } &&
14865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; } &&
14871 { ac_try
='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.
$ac_ext >&5
14882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14889 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14890 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14892 ac_cpp
='$CXXCPP $CPPFLAGS'
14893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14897 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14910 ac_cpp
='$CXXCPP $CPPFLAGS'
14911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14915 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14916 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14917 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 cat >conftest.
$ac_ext <<_ACEOF
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14939 rm -f conftest.
$ac_objext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14941 (eval $ac_compile) 2>conftest.er1
14943 grep -v '^ *+' conftest.er1
>conftest.err
14945 cat conftest.err
>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } &&
14948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try
='test -s conftest.$ac_objext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 bakefile_cv_cxx_compiler___HP_aCC
=yes
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.
$ac_ext >&5
14965 bakefile_cv_cxx_compiler___HP_aCC
=no
14968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14972 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14973 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14975 ac_cpp
='$CXXCPP $CPPFLAGS'
14976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14980 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14993 ac_cpp
='$CXXCPP $CPPFLAGS'
14994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14998 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14999 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15000 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 cat >conftest.
$ac_ext <<_ACEOF
15006 cat confdefs.h
>>conftest.
$ac_ext
15007 cat >>conftest.
$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15022 rm -f conftest.
$ac_objext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>conftest.er1
15026 grep -v '^ *+' conftest.er1
>conftest.err
15028 cat conftest.err
>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try
='test -s conftest.$ac_objext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 bakefile_cv_cxx_compiler___DECCXX
=yes
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.
$ac_ext >&5
15048 bakefile_cv_cxx_compiler___DECCXX
=no
15051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15055 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15058 ac_cpp
='$CXXCPP $CPPFLAGS'
15059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15063 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15076 ac_cpp
='$CXXCPP $CPPFLAGS'
15077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15081 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15082 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15083 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15084 echo $ECHO_N "(cached) $ECHO_C" >&6
15086 cat >conftest.
$ac_ext <<_ACEOF
15089 cat confdefs.h
>>conftest.
$ac_ext
15090 cat >>conftest.
$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15097 #ifndef __SUNPRO_CC
15105 rm -f conftest.
$ac_objext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15107 (eval $ac_compile) 2>conftest.er1
15109 grep -v '^ *+' conftest.er1
>conftest.err
15111 cat conftest.err
>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } &&
15114 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; } &&
15120 { ac_try
='test -s conftest.$ac_objext'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15126 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.
$ac_ext >&5
15131 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15138 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15141 ac_cpp
='$CXXCPP $CPPFLAGS'
15142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15146 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15159 if test -n "$ac_tool_prefix"; then
15160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15161 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15162 echo "$as_me:$LINENO: checking for $ac_word" >&5
15163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15164 if test "${ac_cv_prog_RANLIB+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 if test -n "$RANLIB"; then
15168 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15171 for as_dir
in $PATH
15174 test -z "$as_dir" && as_dir
=.
15175 for ac_exec_ext
in '' $ac_executable_extensions; do
15176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15177 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15186 RANLIB
=$ac_cv_prog_RANLIB
15187 if test -n "$RANLIB"; then
15188 echo "$as_me:$LINENO: result: $RANLIB" >&5
15189 echo "${ECHO_T}$RANLIB" >&6
15191 echo "$as_me:$LINENO: result: no" >&5
15192 echo "${ECHO_T}no" >&6
15196 if test -z "$ac_cv_prog_RANLIB"; then
15197 ac_ct_RANLIB
=$RANLIB
15198 # Extract the first word of "ranlib", so it can be a program name with args.
15199 set dummy ranlib
; ac_word
=$2
15200 echo "$as_me:$LINENO: checking for $ac_word" >&5
15201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15202 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15203 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 if test -n "$ac_ct_RANLIB"; then
15206 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15209 for as_dir
in $PATH
15212 test -z "$as_dir" && as_dir
=.
15213 for ac_exec_ext
in '' $ac_executable_extensions; do
15214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15215 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15222 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15225 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15226 if test -n "$ac_ct_RANLIB"; then
15227 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15228 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15230 echo "$as_me:$LINENO: result: no" >&5
15231 echo "${ECHO_T}no" >&6
15234 RANLIB
=$ac_ct_RANLIB
15236 RANLIB
="$ac_cv_prog_RANLIB"
15240 if test -n "$ac_tool_prefix"; then
15241 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15242 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15243 echo "$as_me:$LINENO: checking for $ac_word" >&5
15244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15245 if test "${ac_cv_prog_AR+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 if test -n "$AR"; then
15249 ac_cv_prog_AR
="$AR" # Let the user override the test.
15251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15252 for as_dir
in $PATH
15255 test -z "$as_dir" && as_dir
=.
15256 for ac_exec_ext
in '' $ac_executable_extensions; do
15257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15258 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15268 if test -n "$AR"; then
15269 echo "$as_me:$LINENO: result: $AR" >&5
15270 echo "${ECHO_T}$AR" >&6
15272 echo "$as_me:$LINENO: result: no" >&5
15273 echo "${ECHO_T}no" >&6
15277 if test -z "$ac_cv_prog_AR"; then
15279 # Extract the first word of "ar", so it can be a program name with args.
15280 set dummy
ar; ac_word
=$2
15281 echo "$as_me:$LINENO: checking for $ac_word" >&5
15282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15283 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15284 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 if test -n "$ac_ct_AR"; then
15287 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15290 for as_dir
in $PATH
15293 test -z "$as_dir" && as_dir
=.
15294 for ac_exec_ext
in '' $ac_executable_extensions; do
15295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15296 ac_cv_prog_ac_ct_AR
="ar"
15297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15305 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15306 if test -n "$ac_ct_AR"; then
15307 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15308 echo "${ECHO_T}$ac_ct_AR" >&6
15310 echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6
15316 AR
="$ac_cv_prog_AR"
15319 if test "x$AR" = "x" ; then
15320 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15321 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15322 { (exit 1); exit 1; }; }
15325 # Find a good install program. We prefer a C program (faster),
15326 # so one script is as good as another. But avoid the broken or
15327 # incompatible versions:
15328 # SysV /etc/install, /usr/sbin/install
15329 # SunOS /usr/etc/install
15330 # IRIX /sbin/install
15332 # AmigaOS /C/install, which installs bootblocks on floppy discs
15333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15336 # OS/2's system install, which has a completely different semantic
15337 # ./install, which can be erroneously created by make from ./install.sh.
15338 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15339 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15340 if test -z "$INSTALL"; then
15341 if test "${ac_cv_path_install+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15345 for as_dir
in $PATH
15348 test -z "$as_dir" && as_dir
=.
15349 # Account for people who put trailing slashes in PATH elements.
15351 .
/ | .
// | /cC
/* | \
15352 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15353 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15356 # OSF1 and SCO ODT 3.0 have their own names for install.
15357 # Don't use installbsd from OSF since it installs stuff as root
15359 for ac_prog
in ginstall scoinst
install; do
15360 for ac_exec_ext
in '' $ac_executable_extensions; do
15361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15362 if test $ac_prog = install &&
15363 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15364 # AIX install. It has an incompatible calling convention.
15366 elif test $ac_prog = install &&
15367 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15368 # program-specific install script used by HP pwplus--don't use.
15371 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15383 if test "${ac_cv_path_install+set}" = set; then
15384 INSTALL
=$ac_cv_path_install
15386 # As a last resort, use the slow shell script. We don't cache a
15387 # path for INSTALL within a source directory, because that will
15388 # break other packages using the cache if that directory is
15389 # removed, or if the path is relative.
15390 INSTALL
=$ac_install_sh
15393 echo "$as_me:$LINENO: result: $INSTALL" >&5
15394 echo "${ECHO_T}$INSTALL" >&6
15396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15397 # It thinks the first close brace ends the variable substitution.
15398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15402 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15408 ?
:* ) # Drive letter, considered as absolute.
15411 INSTALL
=`pwd`/${INSTALL} ;;
15418 INSTALL_PROGRAM
="cp -fp"
15419 INSTALL_DATA
="cp -fp"
15425 if test -n "$ac_tool_prefix"; then
15426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15427 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15428 echo "$as_me:$LINENO: checking for $ac_word" >&5
15429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15430 if test "${ac_cv_prog_STRIP+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 if test -n "$STRIP"; then
15434 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15437 for as_dir
in $PATH
15440 test -z "$as_dir" && as_dir
=.
15441 for ac_exec_ext
in '' $ac_executable_extensions; do
15442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15443 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15452 STRIP
=$ac_cv_prog_STRIP
15453 if test -n "$STRIP"; then
15454 echo "$as_me:$LINENO: result: $STRIP" >&5
15455 echo "${ECHO_T}$STRIP" >&6
15457 echo "$as_me:$LINENO: result: no" >&5
15458 echo "${ECHO_T}no" >&6
15462 if test -z "$ac_cv_prog_STRIP"; then
15464 # Extract the first word of "strip", so it can be a program name with args.
15465 set dummy strip
; ac_word
=$2
15466 echo "$as_me:$LINENO: checking for $ac_word" >&5
15467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15468 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15469 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 if test -n "$ac_ct_STRIP"; then
15472 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15475 for as_dir
in $PATH
15478 test -z "$as_dir" && as_dir
=.
15479 for ac_exec_ext
in '' $ac_executable_extensions; do
15480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15481 ac_cv_prog_ac_ct_STRIP
="strip"
15482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15488 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15491 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15492 if test -n "$ac_ct_STRIP"; then
15493 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15494 echo "${ECHO_T}$ac_ct_STRIP" >&6
15496 echo "$as_me:$LINENO: result: no" >&5
15497 echo "${ECHO_T}no" >&6
15502 STRIP
="$ac_cv_prog_STRIP"
15506 if test "$wxUSE_WINE" = "yes"; then
15507 if test -n "$ac_tool_prefix"; then
15508 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15509 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15510 echo "$as_me:$LINENO: checking for $ac_word" >&5
15511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15512 if test "${ac_cv_prog_WINDRES+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 if test -n "$WINDRES"; then
15516 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15519 for as_dir
in $PATH
15522 test -z "$as_dir" && as_dir
=.
15523 for ac_exec_ext
in '' $ac_executable_extensions; do
15524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15525 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15534 WINDRES
=$ac_cv_prog_WINDRES
15535 if test -n "$WINDRES"; then
15536 echo "$as_me:$LINENO: result: $WINDRES" >&5
15537 echo "${ECHO_T}$WINDRES" >&6
15539 echo "$as_me:$LINENO: result: no" >&5
15540 echo "${ECHO_T}no" >&6
15544 if test -z "$ac_cv_prog_WINDRES"; then
15545 ac_ct_WINDRES
=$WINDRES
15546 # Extract the first word of "wrc", so it can be a program name with args.
15547 set dummy wrc
; ac_word
=$2
15548 echo "$as_me:$LINENO: checking for $ac_word" >&5
15549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15550 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 if test -n "$ac_ct_WINDRES"; then
15554 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15557 for as_dir
in $PATH
15560 test -z "$as_dir" && as_dir
=.
15561 for ac_exec_ext
in '' $ac_executable_extensions; do
15562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15563 ac_cv_prog_ac_ct_WINDRES
="wrc"
15564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15572 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15573 if test -n "$ac_ct_WINDRES"; then
15574 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15575 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15577 echo "$as_me:$LINENO: result: no" >&5
15578 echo "${ECHO_T}no" >&6
15581 WINDRES
=$ac_ct_WINDRES
15583 WINDRES
="$ac_cv_prog_WINDRES"
15589 *-*-cygwin* | *-*-mingw32* )
15590 if test -n "$ac_tool_prefix"; then
15591 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15592 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15593 echo "$as_me:$LINENO: checking for $ac_word" >&5
15594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15595 if test "${ac_cv_prog_WINDRES+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 if test -n "$WINDRES"; then
15599 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15602 for as_dir
in $PATH
15605 test -z "$as_dir" && as_dir
=.
15606 for ac_exec_ext
in '' $ac_executable_extensions; do
15607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15608 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15617 WINDRES
=$ac_cv_prog_WINDRES
15618 if test -n "$WINDRES"; then
15619 echo "$as_me:$LINENO: result: $WINDRES" >&5
15620 echo "${ECHO_T}$WINDRES" >&6
15622 echo "$as_me:$LINENO: result: no" >&5
15623 echo "${ECHO_T}no" >&6
15627 if test -z "$ac_cv_prog_WINDRES"; then
15628 ac_ct_WINDRES
=$WINDRES
15629 # Extract the first word of "windres", so it can be a program name with args.
15630 set dummy windres
; ac_word
=$2
15631 echo "$as_me:$LINENO: checking for $ac_word" >&5
15632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15633 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 if test -n "$ac_ct_WINDRES"; then
15637 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15640 for as_dir
in $PATH
15643 test -z "$as_dir" && as_dir
=.
15644 for ac_exec_ext
in '' $ac_executable_extensions; do
15645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15646 ac_cv_prog_ac_ct_WINDRES
="windres"
15647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15655 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15656 if test -n "$ac_ct_WINDRES"; then
15657 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15658 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15660 echo "$as_me:$LINENO: result: no" >&5
15661 echo "${ECHO_T}no" >&6
15664 WINDRES
=$ac_ct_WINDRES
15666 WINDRES
="$ac_cv_prog_WINDRES"
15670 if test -n "$ac_tool_prefix"; then
15671 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15672 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15673 echo "$as_me:$LINENO: checking for $ac_word" >&5
15674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15675 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 if test -n "$DLLTOOL"; then
15679 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15682 for as_dir
in $PATH
15685 test -z "$as_dir" && as_dir
=.
15686 for ac_exec_ext
in '' $ac_executable_extensions; do
15687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15688 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15697 DLLTOOL
=$ac_cv_prog_DLLTOOL
15698 if test -n "$DLLTOOL"; then
15699 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15700 echo "${ECHO_T}$DLLTOOL" >&6
15702 echo "$as_me:$LINENO: result: no" >&5
15703 echo "${ECHO_T}no" >&6
15707 if test -z "$ac_cv_prog_DLLTOOL"; then
15708 ac_ct_DLLTOOL
=$DLLTOOL
15709 # Extract the first word of "dlltool", so it can be a program name with args.
15710 set dummy dlltool
; ac_word
=$2
15711 echo "$as_me:$LINENO: checking for $ac_word" >&5
15712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15713 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 if test -n "$ac_ct_DLLTOOL"; then
15717 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15720 for as_dir
in $PATH
15723 test -z "$as_dir" && as_dir
=.
15724 for ac_exec_ext
in '' $ac_executable_extensions; do
15725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15726 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15735 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15736 if test -n "$ac_ct_DLLTOOL"; then
15737 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15738 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15740 echo "$as_me:$LINENO: result: no" >&5
15741 echo "${ECHO_T}no" >&6
15744 DLLTOOL
=$ac_ct_DLLTOOL
15746 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15753 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15754 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15755 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15759 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15760 egrep -s GNU
> /dev
/null
); then
15761 wx_cv_prog_makeisgnu
="yes"
15763 wx_cv_prog_makeisgnu
="no"
15767 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15768 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15770 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15778 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15779 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15780 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15781 if test "${wx_cv_prog_makevpath+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 cat - << EOF > confMake
15791 if test ! -d sub
; then
15794 echo dummy
> sub
/file
15795 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15797 rm -f sub
/file check final_file confMake
15799 if test "$RESULT" = 0; then
15800 wx_cv_prog_makevpath
="yes"
15802 wx_cv_prog_makevpath
="no"
15806 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15807 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15809 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15810 { { echo "$as_me:$LINENO: error:
15811 You need a make-utility that is able to use the variable
15813 If your version of make does not support VPATH correctly,
15814 please install GNU-make (possibly as gmake), and start
15815 configure with the following command:
15816 export MAKE=gmake; ./configure for sh-type shells
15817 setenv MAKE gmake; ./configure for csh-type shells
15818 Also please do remember to use gmake in this case every time
15819 you are trying to compile.
15821 echo "$as_me: error:
15822 You need a make-utility that is able to use the variable
15824 If your version of make does not support VPATH correctly,
15825 please install GNU-make (possibly as gmake), and start
15826 configure with the following command:
15827 export MAKE=gmake; ./configure for sh-type shells
15828 setenv MAKE gmake; ./configure for csh-type shells
15829 Also please do remember to use gmake in this case every time
15830 you are trying to compile.
15832 { (exit 1); exit 1; }; }
15834 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15835 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15837 if test "$LN_S" = "ln -s"; then
15838 echo "$as_me:$LINENO: result: yes" >&5
15839 echo "${ECHO_T}yes" >&6
15841 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15842 echo "${ECHO_T}no, using $LN_S" >&6
15848 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15849 CXXFLAGS
="-qunique $CXXFLAGS"
15853 powerpc
-*-darwin* )
15854 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15855 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15856 cat >conftest.
$ac_ext <<_ACEOF
15859 cat confdefs.h
>>conftest.
$ac_ext
15860 cat >>conftest.
$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15866 #ifndef __POWERPC__
15867 choke me for lack of PowerPC
15874 rm -f conftest.
$ac_objext
15875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15876 (eval $ac_compile) 2>conftest.er1
15878 grep -v '^ *+' conftest.er1
>conftest.err
15880 cat conftest.err
>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } &&
15883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try
='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 echo "$as_me:$LINENO: result: yes" >&5
15896 echo "${ECHO_T}yes" >&6
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.
$ac_ext >&5
15901 echo "$as_me:$LINENO: result: no" >&5
15902 echo "${ECHO_T}no" >&6
15903 cat >>confdefs.h
<<\_ACEOF
15904 #define __POWERPC__ 1
15909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15915 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15916 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15917 cat >conftest.
$ac_ext <<_ACEOF
15920 cat confdefs.h
>>conftest.
$ac_ext
15921 cat >>conftest.
$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923 #include <CoreFoundation/CFBase.h>
15933 rm -f conftest.
$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 echo "$as_me:$LINENO: result: yes" >&5
15955 echo "${ECHO_T}yes" >&6
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.
$ac_ext >&5
15960 echo "$as_me:$LINENO: result: no" >&5
15961 echo "${ECHO_T}no" >&6
15962 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15963 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15964 cat >conftest.
$ac_ext <<_ACEOF
15967 cat confdefs.h
>>conftest.
$ac_ext
15968 cat >>conftest.
$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 #define __CF_USE_FRAMEWORK_INCLUDES__
15971 #include <CoreFoundation/CFBase.h>
15981 rm -f conftest.
$ac_objext
15982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15983 (eval $ac_compile) 2>conftest.er1
15985 grep -v '^ *+' conftest.er1
>conftest.err
15987 cat conftest.err
>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } &&
15990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; } &&
15996 { ac_try
='test -s conftest.$ac_objext'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; }; then
16002 echo "$as_me:$LINENO: result: yes" >&5
16003 echo "${ECHO_T}yes" >&6
16004 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.
$ac_ext >&5
16009 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16010 See \`config.log' for more details." >&5
16011 echo "$as_me: error: no. CoreFoundation not available.
16012 See \`config.log' for more details." >&2;}
16013 { (exit 1); exit 1; }; }
16016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16025 *-pc-os2_emx | *-pc-os2-emx )
16027 ac_cpp
='$CPP $CPPFLAGS'
16028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16032 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16033 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16034 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16035 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 ac_check_lib_save_LIBS
=$LIBS
16039 LIBS
="-lcExt $LIBS"
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16047 /* Override any gcc2 internal prototype to avoid an error. */
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16062 rm -f conftest.
$ac_objext conftest
$ac_exeext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16064 (eval $ac_link) 2>conftest.er1
16066 grep -v '^ *+' conftest.er1
>conftest.err
16068 cat conftest.err
>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try
='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_cv_lib_cExt_drand48
=yes
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16088 ac_cv_lib_cExt_drand48
=no
16090 rm -f conftest.err conftest.
$ac_objext \
16091 conftest
$ac_exeext conftest.
$ac_ext
16092 LIBS
=$ac_check_lib_save_LIBS
16094 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16095 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16096 if test $ac_cv_lib_cExt_drand48 = yes; then
16097 LIBS
="$LIBS -lcExt"
16101 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16103 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16104 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16105 if test "${wx_cv_gccversion+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 if test "$cross_compiling" = yes; then
16110 wx_cv_gccversion
="EMX2"
16113 cat >conftest.
$ac_ext <<_ACEOF
16116 cat confdefs.h
>>conftest.
$ac_ext
16117 cat >>conftest.
$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16124 FILE *f=fopen("conftestval", "w");
16129 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16131 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16141 rm -f conftest
$ac_exeext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16143 (eval $ac_link) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 wx_cv_gccversion
=`cat conftestval`
16154 echo "$as_me: program exited with status $ac_status" >&5
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 ( exit $ac_status )
16159 wx_cv_gccversion
="EMX2"
16161 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16165 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16166 echo "${ECHO_T}$wx_cv_gccversion" >&6
16168 ac_cpp
='$CXXCPP $CPPFLAGS'
16169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16173 if test "$wx_cv_gccversion" = "EMX2"; then
16174 LIBS
="$LIBS -lstdcpp"
16175 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16177 if test "$wx_cv_gccversion" = "EMX3"; then
16178 LIBS
="$LIBS -lstdcxx -lgcc"
16179 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16181 LIBS
="$LIBS -lstdc++"
16184 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16185 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16186 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16193 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16194 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16195 if test "${ac_cv_string_strcasecmp+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16206 #include <string.h>
16212 strcasecmp("foo", "bar");
16218 rm -f conftest.
$ac_objext conftest
$ac_exeext
16219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16220 (eval $ac_link) 2>conftest.er1
16222 grep -v '^ *+' conftest.er1
>conftest.err
16224 cat conftest.err
>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } &&
16227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; } &&
16233 { ac_try
='test -s conftest$ac_exeext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16239 ac_cv_string_strcasecmp
=yes
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.
$ac_ext >&5
16244 ac_cv_string_strcasecmp
=no
16247 rm -f conftest.err conftest.
$ac_objext \
16248 conftest
$ac_exeext conftest.
$ac_ext
16251 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16252 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16254 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16255 cat >>confdefs.h
<<\_ACEOF
16256 #define HAVE_STRCASECMP_IN_STRING_H 1
16260 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16261 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16262 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 cat >conftest.
$ac_ext <<_ACEOF
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16273 #include <strings.h>
16279 strcasecmp("foo", "bar");
16285 rm -f conftest.
$ac_objext conftest
$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>conftest.er1
16289 grep -v '^ *+' conftest.er1
>conftest.err
16291 cat conftest.err
>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try
='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_cv_strings_strcasecmp
=yes
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 ac_cv_strings_strcasecmp
=no
16314 rm -f conftest.err conftest.
$ac_objext \
16315 conftest
$ac_exeext conftest.
$ac_ext
16318 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16319 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16321 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16322 cat >>confdefs.h
<<\_ACEOF
16323 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16327 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16328 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16329 { (exit 1); exit 1; }; }
16338 ac_cpp
='$CXXCPP $CPPFLAGS'
16339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16342 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16343 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16344 if test -z "$CXXCPP"; then
16345 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 # Double quotes because CXXCPP needs to be expanded
16349 for CXXCPP
in "$CXX -E" "/lib/cpp"
16351 ac_preproc_ok
=false
16352 for ac_cxx_preproc_warn_flag
in '' yes
16354 # Use a header file that comes with gcc, so configuring glibc
16355 # with a fresh cross-compiler works.
16356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16357 # <limits.h> exists even on freestanding compilers.
16358 # On the NeXT, cc -E runs the code through the compiler's parser,
16359 # not just through cpp. "Syntax error" is here to catch this case.
16360 cat >conftest.
$ac_ext <<_ACEOF
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16367 # include <limits.h>
16369 # include <assert.h>
16373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16376 grep -v '^ *+' conftest.er1
>conftest.err
16378 cat conftest.err
>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } >/dev
/null
; then
16381 if test -s conftest.err
; then
16382 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16383 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16390 if test -z "$ac_cpp_err"; then
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.
$ac_ext >&5
16396 # Broken: fails on valid input.
16399 rm -f conftest.err conftest.
$ac_ext
16401 # OK, works on sane cases. Now check whether non-existent headers
16402 # can be detected and how.
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 #include <ac_nonexistent.h>
16411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16414 grep -v '^ *+' conftest.er1
>conftest.err
16416 cat conftest.err
>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } >/dev
/null
; then
16419 if test -s conftest.err
; then
16420 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16421 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16428 if test -z "$ac_cpp_err"; then
16429 # Broken: success on invalid input.
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.
$ac_ext >&5
16435 # Passes both tests.
16439 rm -f conftest.err conftest.
$ac_ext
16442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16443 rm -f conftest.err conftest.
$ac_ext
16444 if $ac_preproc_ok; then
16449 ac_cv_prog_CXXCPP
=$CXXCPP
16452 CXXCPP
=$ac_cv_prog_CXXCPP
16454 ac_cv_prog_CXXCPP
=$CXXCPP
16456 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16457 echo "${ECHO_T}$CXXCPP" >&6
16458 ac_preproc_ok
=false
16459 for ac_cxx_preproc_warn_flag
in '' yes
16461 # Use a header file that comes with gcc, so configuring glibc
16462 # with a fresh cross-compiler works.
16463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16464 # <limits.h> exists even on freestanding compilers.
16465 # On the NeXT, cc -E runs the code through the compiler's parser,
16466 # not just through cpp. "Syntax error" is here to catch this case.
16467 cat >conftest.
$ac_ext <<_ACEOF
16470 cat confdefs.h
>>conftest.
$ac_ext
16471 cat >>conftest.
$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16474 # include <limits.h>
16476 # include <assert.h>
16480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16483 grep -v '^ *+' conftest.er1
>conftest.err
16485 cat conftest.err
>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } >/dev
/null
; then
16488 if test -s conftest.err
; then
16489 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16490 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16497 if test -z "$ac_cpp_err"; then
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.
$ac_ext >&5
16503 # Broken: fails on valid input.
16506 rm -f conftest.err conftest.
$ac_ext
16508 # OK, works on sane cases. Now check whether non-existent headers
16509 # can be detected and how.
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 #include <ac_nonexistent.h>
16518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16521 grep -v '^ *+' conftest.er1
>conftest.err
16523 cat conftest.err
>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } >/dev
/null
; then
16526 if test -s conftest.err
; then
16527 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16528 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16535 if test -z "$ac_cpp_err"; then
16536 # Broken: success on invalid input.
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.
$ac_ext >&5
16542 # Passes both tests.
16546 rm -f conftest.err conftest.
$ac_ext
16549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16550 rm -f conftest.err conftest.
$ac_ext
16551 if $ac_preproc_ok; then
16554 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16555 See \`config.log' for more details." >&5
16556 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16557 See \`config.log' for more details." >&2;}
16558 { (exit 1); exit 1; }; }
16562 ac_cpp
='$CXXCPP $CPPFLAGS'
16563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16568 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16569 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16570 if test "${ac_cv_header_stdc+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #include <stdlib.h>
16580 #include <stdarg.h>
16581 #include <string.h>
16592 rm -f conftest.
$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try
='test -s conftest.$ac_objext'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; }; then
16613 ac_cv_header_stdc
=yes
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.
$ac_ext >&5
16618 ac_cv_header_stdc
=no
16620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 if test $ac_cv_header_stdc = yes; then
16623 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 #include <string.h>
16633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16634 $EGREP "memchr" >/dev
/null
2>&1; then
16637 ac_cv_header_stdc
=no
16643 if test $ac_cv_header_stdc = yes; then
16644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16645 cat >conftest.
$ac_ext <<_ACEOF
16648 cat confdefs.h
>>conftest.
$ac_ext
16649 cat >>conftest.
$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #include <stdlib.h>
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "free" >/dev
/null
2>&1; then
16658 ac_cv_header_stdc
=no
16664 if test $ac_cv_header_stdc = yes; then
16665 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16666 if test "$cross_compiling" = yes; then
16669 cat >conftest.
$ac_ext <<_ACEOF
16672 cat confdefs.h
>>conftest.
$ac_ext
16673 cat >>conftest.
$ac_ext <<_ACEOF
16674 /* end confdefs.h. */
16676 #if ((' ' & 0x0FF) == 0x020)
16677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16680 # define ISLOWER(c) \
16681 (('a' <= (c) && (c) <= 'i') \
16682 || ('j' <= (c) && (c) <= 'r') \
16683 || ('s' <= (c) && (c) <= 'z'))
16684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16692 for (i = 0; i < 256; i++)
16693 if (XOR (islower (i), ISLOWER (i))
16694 || toupper (i) != TOUPPER (i))
16699 rm -f conftest
$ac_exeext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16701 (eval $ac_link) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; }; then
16712 echo "$as_me: program exited with status $ac_status" >&5
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 ( exit $ac_status )
16717 ac_cv_header_stdc
=no
16719 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16724 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16725 if test $ac_cv_header_stdc = yes; then
16727 cat >>confdefs.h
<<\_ACEOF
16728 #define STDC_HEADERS 1
16733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16743 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16744 inttypes.h stdint.h unistd.h
16746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16747 echo "$as_me:$LINENO: checking for $ac_header" >&5
16748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 cat >conftest.
$ac_ext <<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16760 #include <$ac_header>
16762 rm -f conftest.
$ac_objext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16764 (eval $ac_compile) 2>conftest.er1
16766 grep -v '^ *+' conftest.er1
>conftest.err
16768 cat conftest.err
>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; } &&
16777 { ac_try
='test -s conftest.$ac_objext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 eval "$as_ac_Header=yes"
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16788 eval "$as_ac_Header=no"
16790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16795 cat >>confdefs.h
<<_ACEOF
16796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16805 for ac_header
in stdlib.h
16807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16809 echo "$as_me:$LINENO: checking for $ac_header" >&5
16810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16817 # Is the header compilable?
16818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16820 cat >conftest.
$ac_ext <<_ACEOF
16823 cat confdefs.h
>>conftest.
$ac_ext
16824 cat >>conftest.
$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 #include <$ac_header>
16829 rm -f conftest.
$ac_objext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16831 (eval $ac_compile) 2>conftest.er1
16833 grep -v '^ *+' conftest.er1
>conftest.err
16835 cat conftest.err
>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try
='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_header_compiler
=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 ac_header_compiler
=no
16857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16859 echo "${ECHO_T}$ac_header_compiler" >&6
16861 # Is the header present?
16862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 #include <$ac_header>
16872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16875 grep -v '^ *+' conftest.er1
>conftest.err
16877 cat conftest.err
>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } >/dev
/null
; then
16880 if test -s conftest.err
; then
16881 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16882 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16889 if test -z "$ac_cpp_err"; then
16890 ac_header_preproc
=yes
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16895 ac_header_preproc
=no
16897 rm -f conftest.err conftest.
$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16899 echo "${ECHO_T}$ac_header_preproc" >&6
16901 # So? What about this header?
16902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16908 ac_header_preproc
=yes
16911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16925 ## ----------------------------------------- ##
16926 ## Report this to wx-dev@lists.wxwidgets.org ##
16927 ## ----------------------------------------- ##
16930 sed "s/^/$as_me: WARNING: /" >&2
16933 echo "$as_me:$LINENO: checking for $ac_header" >&5
16934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 eval "$as_ac_Header=\$ac_header_preproc"
16940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16945 cat >>confdefs.h
<<_ACEOF
16946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16954 for ac_header
in malloc.h
16956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16958 echo "$as_me:$LINENO: checking for $ac_header" >&5
16959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16966 # Is the header compilable?
16967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 #include <$ac_header>
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16982 grep -v '^ *+' conftest.er1
>conftest.err
16984 cat conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try
='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_header_compiler
=yes
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ac_header_compiler
=no
17006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17008 echo "${ECHO_T}$ac_header_compiler" >&6
17010 # Is the header present?
17011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17013 cat >conftest.
$ac_ext <<_ACEOF
17016 cat confdefs.h
>>conftest.
$ac_ext
17017 cat >>conftest.
$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 #include <$ac_header>
17021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17024 grep -v '^ *+' conftest.er1
>conftest.err
17026 cat conftest.err
>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } >/dev
/null
; then
17029 if test -s conftest.err
; then
17030 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17031 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17038 if test -z "$ac_cpp_err"; then
17039 ac_header_preproc
=yes
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.
$ac_ext >&5
17044 ac_header_preproc
=no
17046 rm -f conftest.err conftest.
$ac_ext
17047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17048 echo "${ECHO_T}$ac_header_preproc" >&6
17050 # So? What about this header?
17051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17057 ac_header_preproc
=yes
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17074 ## ----------------------------------------- ##
17075 ## Report this to wx-dev@lists.wxwidgets.org ##
17076 ## ----------------------------------------- ##
17079 sed "s/^/$as_me: WARNING: /" >&2
17082 echo "$as_me:$LINENO: checking for $ac_header" >&5
17083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 eval "$as_ac_Header=\$ac_header_preproc"
17089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17094 cat >>confdefs.h
<<_ACEOF
17095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17103 for ac_header
in unistd.h
17105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17107 echo "$as_me:$LINENO: checking for $ac_header" >&5
17108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17115 # Is the header compilable?
17116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17125 #include <$ac_header>
17127 rm -f conftest.
$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>conftest.er1
17131 grep -v '^ *+' conftest.er1
>conftest.err
17133 cat conftest.err
>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; } &&
17142 { ac_try
='test -s conftest.$ac_objext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 ac_header_compiler
=yes
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.
$ac_ext >&5
17153 ac_header_compiler
=no
17155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17157 echo "${ECHO_T}$ac_header_compiler" >&6
17159 # Is the header present?
17160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17162 cat >conftest.
$ac_ext <<_ACEOF
17165 cat confdefs.h
>>conftest.
$ac_ext
17166 cat >>conftest.
$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 #include <$ac_header>
17170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17173 grep -v '^ *+' conftest.er1
>conftest.err
17175 cat conftest.err
>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } >/dev
/null
; then
17178 if test -s conftest.err
; then
17179 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17180 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17187 if test -z "$ac_cpp_err"; then
17188 ac_header_preproc
=yes
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.
$ac_ext >&5
17193 ac_header_preproc
=no
17195 rm -f conftest.err conftest.
$ac_ext
17196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17197 echo "${ECHO_T}$ac_header_preproc" >&6
17199 # So? What about this header?
17200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17206 ac_header_preproc
=yes
17209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17223 ## ----------------------------------------- ##
17224 ## Report this to wx-dev@lists.wxwidgets.org ##
17225 ## ----------------------------------------- ##
17228 sed "s/^/$as_me: WARNING: /" >&2
17231 echo "$as_me:$LINENO: checking for $ac_header" >&5
17232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 eval "$as_ac_Header=\$ac_header_preproc"
17238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17243 cat >>confdefs.h
<<_ACEOF
17244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17252 for ac_header
in wchar.h
17254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17256 echo "$as_me:$LINENO: checking for $ac_header" >&5
17257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17264 # Is the header compilable?
17265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17267 cat >conftest.
$ac_ext <<_ACEOF
17270 cat confdefs.h
>>conftest.
$ac_ext
17271 cat >>conftest.
$ac_ext <<_ACEOF
17272 /* end confdefs.h. */
17273 $ac_includes_default
17274 #include <$ac_header>
17276 rm -f conftest.
$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278 (eval $ac_compile) 2>conftest.er1
17280 grep -v '^ *+' conftest.er1
>conftest.err
17282 cat conftest.err
>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try
='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_header_compiler
=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17302 ac_header_compiler
=no
17304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17306 echo "${ECHO_T}$ac_header_compiler" >&6
17308 # Is the header present?
17309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #include <$ac_header>
17319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17322 grep -v '^ *+' conftest.er1
>conftest.err
17324 cat conftest.err
>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } >/dev
/null
; then
17327 if test -s conftest.err
; then
17328 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17329 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17336 if test -z "$ac_cpp_err"; then
17337 ac_header_preproc
=yes
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.
$ac_ext >&5
17342 ac_header_preproc
=no
17344 rm -f conftest.err conftest.
$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17346 echo "${ECHO_T}$ac_header_preproc" >&6
17348 # So? What about this header?
17349 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17355 ac_header_preproc
=yes
17358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17372 ## ----------------------------------------- ##
17373 ## Report this to wx-dev@lists.wxwidgets.org ##
17374 ## ----------------------------------------- ##
17377 sed "s/^/$as_me: WARNING: /" >&2
17380 echo "$as_me:$LINENO: checking for $ac_header" >&5
17381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 eval "$as_ac_Header=\$ac_header_preproc"
17387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17392 cat >>confdefs.h
<<_ACEOF
17393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17401 if test "$ac_cv_header_wchar_h" != "yes"; then
17403 for ac_header
in wcstr.h
17405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17407 echo "$as_me:$LINENO: checking for $ac_header" >&5
17408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17415 # Is the header compilable?
17416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17418 cat >conftest.
$ac_ext <<_ACEOF
17421 cat confdefs.h
>>conftest.
$ac_ext
17422 cat >>conftest.
$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 $ac_includes_default
17425 #include <$ac_header>
17427 rm -f conftest.
$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>conftest.er1
17431 grep -v '^ *+' conftest.er1
>conftest.err
17433 cat conftest.err
>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } &&
17436 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try
='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_header_compiler
=yes
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.
$ac_ext >&5
17453 ac_header_compiler
=no
17455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17457 echo "${ECHO_T}$ac_header_compiler" >&6
17459 # Is the header present?
17460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17462 cat >conftest.
$ac_ext <<_ACEOF
17465 cat confdefs.h
>>conftest.
$ac_ext
17466 cat >>conftest.
$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 #include <$ac_header>
17470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } >/dev
/null
; then
17478 if test -s conftest.err
; then
17479 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17480 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17487 if test -z "$ac_cpp_err"; then
17488 ac_header_preproc
=yes
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.
$ac_ext >&5
17493 ac_header_preproc
=no
17495 rm -f conftest.err conftest.
$ac_ext
17496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17497 echo "${ECHO_T}$ac_header_preproc" >&6
17499 # So? What about this header?
17500 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17506 ac_header_preproc
=yes
17509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17523 ## ----------------------------------------- ##
17524 ## Report this to wx-dev@lists.wxwidgets.org ##
17525 ## ----------------------------------------- ##
17528 sed "s/^/$as_me: WARNING: /" >&2
17531 echo "$as_me:$LINENO: checking for $ac_header" >&5
17532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 eval "$as_ac_Header=\$ac_header_preproc"
17538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17543 cat >>confdefs.h
<<_ACEOF
17544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17554 for ac_header
in fnmatch.h
17556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17558 echo "$as_me:$LINENO: checking for $ac_header" >&5
17559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17566 # Is the header compilable?
17567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17569 cat >conftest.
$ac_ext <<_ACEOF
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 $ac_includes_default
17576 #include <$ac_header>
17578 rm -f conftest.
$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try
='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_header_compiler
=yes
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.
$ac_ext >&5
17604 ac_header_compiler
=no
17606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17608 echo "${ECHO_T}$ac_header_compiler" >&6
17610 # Is the header present?
17611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17613 cat >conftest.
$ac_ext <<_ACEOF
17616 cat confdefs.h
>>conftest.
$ac_ext
17617 cat >>conftest.
$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 #include <$ac_header>
17621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17624 grep -v '^ *+' conftest.er1
>conftest.err
17626 cat conftest.err
>&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } >/dev
/null
; then
17629 if test -s conftest.err
; then
17630 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17631 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17638 if test -z "$ac_cpp_err"; then
17639 ac_header_preproc
=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 ac_header_preproc
=no
17646 rm -f conftest.err conftest.
$ac_ext
17647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17648 echo "${ECHO_T}$ac_header_preproc" >&6
17650 # So? What about this header?
17651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17657 ac_header_preproc
=yes
17660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17674 ## ----------------------------------------- ##
17675 ## Report this to wx-dev@lists.wxwidgets.org ##
17676 ## ----------------------------------------- ##
17679 sed "s/^/$as_me: WARNING: /" >&2
17682 echo "$as_me:$LINENO: checking for $ac_header" >&5
17683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 eval "$as_ac_Header=\$ac_header_preproc"
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17694 cat >>confdefs.h
<<_ACEOF
17695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17704 for ac_header
in langinfo.h
17706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17708 echo "$as_me:$LINENO: checking for $ac_header" >&5
17709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17716 # Is the header compilable?
17717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17719 cat >conftest.
$ac_ext <<_ACEOF
17722 cat confdefs.h
>>conftest.
$ac_ext
17723 cat >>conftest.
$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17726 #include <$ac_header>
17728 rm -f conftest.
$ac_objext
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17730 (eval $ac_compile) 2>conftest.er1
17732 grep -v '^ *+' conftest.er1
>conftest.err
17734 cat conftest.err
>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try
='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 ac_header_compiler
=yes
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.
$ac_ext >&5
17754 ac_header_compiler
=no
17756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17758 echo "${ECHO_T}$ac_header_compiler" >&6
17760 # Is the header present?
17761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17763 cat >conftest.
$ac_ext <<_ACEOF
17766 cat confdefs.h
>>conftest.
$ac_ext
17767 cat >>conftest.
$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 #include <$ac_header>
17771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17774 grep -v '^ *+' conftest.er1
>conftest.err
17776 cat conftest.err
>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } >/dev
/null
; then
17779 if test -s conftest.err
; then
17780 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17781 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17788 if test -z "$ac_cpp_err"; then
17789 ac_header_preproc
=yes
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.
$ac_ext >&5
17794 ac_header_preproc
=no
17796 rm -f conftest.err conftest.
$ac_ext
17797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17798 echo "${ECHO_T}$ac_header_preproc" >&6
17800 # So? What about this header?
17801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17807 ac_header_preproc
=yes
17810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17824 ## ----------------------------------------- ##
17825 ## Report this to wx-dev@lists.wxwidgets.org ##
17826 ## ----------------------------------------- ##
17829 sed "s/^/$as_me: WARNING: /" >&2
17832 echo "$as_me:$LINENO: checking for $ac_header" >&5
17833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17837 eval "$as_ac_Header=\$ac_header_preproc"
17839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17844 cat >>confdefs.h
<<_ACEOF
17845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17854 *-pc-os2_emx | *-pc-os2-emx )
17855 if test $ac_cv_header_langinfo_h = "yes" \
17856 -a \
( "$wx_cv_gccversion" = "EMX2" \
17857 -o "$wx_cv_gccversion" = "EMX3" \
17858 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17859 LIBS
="$LIBS -lintl"
17864 if test "$USE_UNIX" = 1 ; then
17866 for ac_header
in sys
/select.h
17868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17870 echo "$as_me:$LINENO: checking for $ac_header" >&5
17871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17878 # Is the header compilable?
17879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17881 cat >conftest.
$ac_ext <<_ACEOF
17884 cat confdefs.h
>>conftest.
$ac_ext
17885 cat >>conftest.
$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 #include <$ac_header>
17890 rm -f conftest.
$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17894 grep -v '^ *+' conftest.er1
>conftest.err
17896 cat conftest.err
>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try
='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_header_compiler
=yes
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.
$ac_ext >&5
17916 ac_header_compiler
=no
17918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17920 echo "${ECHO_T}$ac_header_compiler" >&6
17922 # Is the header present?
17923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17925 cat >conftest.
$ac_ext <<_ACEOF
17928 cat confdefs.h
>>conftest.
$ac_ext
17929 cat >>conftest.
$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17931 #include <$ac_header>
17933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17936 grep -v '^ *+' conftest.er1
>conftest.err
17938 cat conftest.err
>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } >/dev
/null
; then
17941 if test -s conftest.err
; then
17942 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17943 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17950 if test -z "$ac_cpp_err"; then
17951 ac_header_preproc
=yes
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.
$ac_ext >&5
17956 ac_header_preproc
=no
17958 rm -f conftest.err conftest.
$ac_ext
17959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17960 echo "${ECHO_T}$ac_header_preproc" >&6
17962 # So? What about this header?
17963 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17969 ac_header_preproc
=yes
17972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17986 ## ----------------------------------------- ##
17987 ## Report this to wx-dev@lists.wxwidgets.org ##
17988 ## ----------------------------------------- ##
17991 sed "s/^/$as_me: WARNING: /" >&2
17994 echo "$as_me:$LINENO: checking for $ac_header" >&5
17995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 eval "$as_ac_Header=\$ac_header_preproc"
18001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18006 cat >>confdefs.h
<<_ACEOF
18007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18017 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18018 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18019 if test "${ac_cv_c_const+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 cat >conftest.
$ac_ext <<_ACEOF
18025 cat confdefs.h
>>conftest.
$ac_ext
18026 cat >>conftest.
$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18032 /* FIXME: Include the comments suggested by Paul. */
18033 #ifndef __cplusplus
18034 /* Ultrix mips cc rejects this. */
18035 typedef int charset[2];
18037 /* SunOS 4.1.1 cc rejects this. */
18038 char const *const *ccp;
18040 /* NEC SVR4.0.2 mips cc rejects this. */
18041 struct point {int x, y;};
18042 static struct point const zero = {0,0};
18043 /* AIX XL C 1.02.0.0 rejects this.
18044 It does not let you subtract one const X* pointer from another in
18045 an arm of an if-expression whose if-part is not a constant
18047 const char *g = "string";
18048 ccp = &g + (g ? g-g : 0);
18049 /* HPUX 7.0 cc rejects these. */
18052 ccp = (char const *const *) p;
18053 { /* SCO 3.2v4 cc rejects this. */
18055 char const *s = 0 ? (char *) 0 : (char const *) 0;
18059 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18060 int x[] = {25, 17};
18061 const int *foo = &x[0];
18064 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18065 typedef const int *iptr;
18069 { /* AIX XL C 1.02.0.0 rejects this saying
18070 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18071 struct s { int j; const int *ap[3]; };
18072 struct s *b; b->j = 5;
18074 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18075 const int foo = 10;
18083 rm -f conftest.
$ac_objext
18084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085 (eval $ac_compile) 2>conftest.er1
18087 grep -v '^ *+' conftest.er1
>conftest.err
18089 cat conftest.err
>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } &&
18092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try
='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18113 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18114 echo "${ECHO_T}$ac_cv_c_const" >&6
18115 if test $ac_cv_c_const = no
; then
18117 cat >>confdefs.h
<<\_ACEOF
18123 echo "$as_me:$LINENO: checking for inline" >&5
18124 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18125 if test "${ac_cv_c_inline+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18129 for ac_kw
in inline __inline__ __inline
; do
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 #ifndef __cplusplus
18138 static $ac_kw foo_t static_foo () {return 0; }
18139 $ac_kw foo_t foo () {return 0; }
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try
='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_c_inline
=$ac_kw; break
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18174 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18175 echo "${ECHO_T}$ac_cv_c_inline" >&6
18178 case $ac_cv_c_inline in
18181 case $ac_cv_c_inline in
18183 *) ac_val
=$ac_cv_c_inline;;
18185 cat >>confdefs.h
<<_ACEOF
18186 #ifndef __cplusplus
18187 #define inline $ac_val
18194 echo "$as_me:$LINENO: checking for char" >&5
18195 echo $ECHO_N "checking for char... $ECHO_C" >&6
18196 if test "${ac_cv_type_char+set}" = set; then
18197 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 cat >conftest.
$ac_ext <<_ACEOF
18202 cat confdefs.h
>>conftest.
$ac_ext
18203 cat >>conftest.
$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 $ac_includes_default
18217 rm -f conftest.
$ac_objext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18219 (eval $ac_compile) 2>conftest.er1
18221 grep -v '^ *+' conftest.er1
>conftest.err
18223 cat conftest.err
>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try
='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_cv_type_char
=yes
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18248 echo "${ECHO_T}$ac_cv_type_char" >&6
18250 echo "$as_me:$LINENO: checking size of char" >&5
18251 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18252 if test "${ac_cv_sizeof_char+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 if test "$ac_cv_type_char" = yes; then
18256 # The cast to unsigned long works around a bug in the HP C Compiler
18257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18259 # This bug is HP SR number 8606223364.
18260 if test "$cross_compiling" = yes; then
18261 # Depending upon the size, compute the lo and hi bounds.
18262 cat >conftest.
$ac_ext <<_ACEOF
18265 cat confdefs.h
>>conftest.
$ac_ext
18266 cat >>conftest.
$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18272 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18279 rm -f conftest.
$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281 (eval $ac_compile) 2>conftest.er1
18283 grep -v '^ *+' conftest.er1
>conftest.err
18285 cat conftest.err
>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } &&
18288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try
='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18302 cat >conftest.
$ac_ext <<_ACEOF
18305 cat confdefs.h
>>conftest.
$ac_ext
18306 cat >>conftest.
$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18312 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18319 rm -f conftest.
$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>conftest.er1
18323 grep -v '^ *+' conftest.er1
>conftest.err
18325 cat conftest.err
>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try
='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 ac_hi
=$ac_mid; break
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.
$ac_ext >&5
18345 ac_lo
=`expr $ac_mid + 1`
18346 if test $ac_lo -le $ac_mid; then
18350 ac_mid
=`expr 2 '*' $ac_mid + 1`
18352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.
$ac_ext >&5
18358 cat >conftest.
$ac_ext <<_ACEOF
18361 cat confdefs.h
>>conftest.
$ac_ext
18362 cat >>conftest.
$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 $ac_includes_default
18368 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18375 rm -f conftest.
$ac_objext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>conftest.er1
18379 grep -v '^ *+' conftest.er1
>conftest.err
18381 cat conftest.err
>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } &&
18384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; } &&
18390 { ac_try
='test -s conftest.$ac_objext'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; }; then
18398 cat >conftest.
$ac_ext <<_ACEOF
18401 cat confdefs.h
>>conftest.
$ac_ext
18402 cat >>conftest.
$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 $ac_includes_default
18408 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18415 rm -f conftest.
$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try
='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_lo
=$ac_mid; break
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.
$ac_ext >&5
18441 ac_hi
=`expr '(' $ac_mid ')' - 1`
18442 if test $ac_mid -le $ac_hi; then
18446 ac_mid
=`expr 2 '*' $ac_mid`
18448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.
$ac_ext >&5
18456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18459 # Binary search between lo and hi bounds.
18460 while test "x$ac_lo" != "x$ac_hi"; do
18461 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 $ac_includes_default
18472 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18479 rm -f conftest.
$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18483 grep -v '^ *+' conftest.er1
>conftest.err
18485 cat conftest.err
>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; } &&
18494 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.
$ac_ext >&5
18505 ac_lo
=`expr '(' $ac_mid ')' + 1`
18507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18510 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18512 See \`config.log' for more details." >&5
18513 echo "$as_me: error: cannot compute sizeof (char), 77
18514 See \`config.log' for more details." >&2;}
18515 { (exit 1); exit 1; }; } ;;
18518 if test "$cross_compiling" = yes; then
18519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18521 { (exit 1); exit 1; }; }
18523 cat >conftest.
$ac_ext <<_ACEOF
18526 cat confdefs.h
>>conftest.
$ac_ext
18527 cat >>conftest.
$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18529 $ac_includes_default
18530 long longval () { return (long) (sizeof (char)); }
18531 unsigned long ulongval () { return (long) (sizeof (char)); }
18533 #include <stdlib.h>
18538 FILE *f = fopen ("conftest.val", "w");
18541 if (((long) (sizeof (char))) < 0)
18543 long i = longval ();
18544 if (i != ((long) (sizeof (char))))
18546 fprintf (f, "%ld\n", i);
18550 unsigned long i = ulongval ();
18551 if (i != ((long) (sizeof (char))))
18553 fprintf (f, "%lu\n", i);
18555 exit (ferror (f) || fclose (f) != 0);
18561 rm -f conftest
$ac_exeext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18563 (eval $ac_link) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_cv_sizeof_char
=`cat conftest.val`
18574 echo "$as_me: program exited with status $ac_status" >&5
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.
$ac_ext >&5
18578 ( exit $ac_status )
18579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18580 See \`config.log' for more details." >&5
18581 echo "$as_me: error: cannot compute sizeof (char), 77
18582 See \`config.log' for more details." >&2;}
18583 { (exit 1); exit 1; }; }
18585 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18590 ac_cv_sizeof_char
=0
18593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18594 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18595 cat >>confdefs.h
<<_ACEOF
18596 #define SIZEOF_CHAR $ac_cv_sizeof_char
18600 echo "$as_me:$LINENO: checking for short" >&5
18601 echo $ECHO_N "checking for short... $ECHO_C" >&6
18602 if test "${ac_cv_type_short+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18605 cat >conftest.
$ac_ext <<_ACEOF
18608 cat confdefs.h
>>conftest.
$ac_ext
18609 cat >>conftest.
$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18617 if (sizeof (short))
18623 rm -f conftest.
$ac_objext
18624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18625 (eval $ac_compile) 2>conftest.er1
18627 grep -v '^ *+' conftest.er1
>conftest.err
18629 cat conftest.err
>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } &&
18632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try
='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_type_short
=yes
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.
$ac_ext >&5
18649 ac_cv_type_short
=no
18651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18653 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18654 echo "${ECHO_T}$ac_cv_type_short" >&6
18656 echo "$as_me:$LINENO: checking size of short" >&5
18657 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18658 if test "${ac_cv_sizeof_short+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 if test "$ac_cv_type_short" = yes; then
18662 # The cast to unsigned long works around a bug in the HP C Compiler
18663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18665 # This bug is HP SR number 8606223364.
18666 if test "$cross_compiling" = yes; then
18667 # Depending upon the size, compute the lo and hi bounds.
18668 cat >conftest.
$ac_ext <<_ACEOF
18671 cat confdefs.h
>>conftest.
$ac_ext
18672 cat >>conftest.
$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18678 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18685 rm -f conftest.
$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try
='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18708 cat >conftest.
$ac_ext <<_ACEOF
18711 cat confdefs.h
>>conftest.
$ac_ext
18712 cat >>conftest.
$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18718 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18725 rm -f conftest.
$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18729 grep -v '^ *+' conftest.er1
>conftest.err
18731 cat conftest.err
>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try
='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_hi
=$ac_mid; break
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 ac_lo
=`expr $ac_mid + 1`
18752 if test $ac_lo -le $ac_mid; then
18756 ac_mid
=`expr 2 '*' $ac_mid + 1`
18758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.
$ac_ext >&5
18764 cat >conftest.
$ac_ext <<_ACEOF
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18774 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18781 rm -f conftest.
$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18785 grep -v '^ *+' conftest.er1
>conftest.err
18787 cat conftest.err
>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try
='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18804 cat >conftest.
$ac_ext <<_ACEOF
18807 cat confdefs.h
>>conftest.
$ac_ext
18808 cat >>conftest.
$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 $ac_includes_default
18814 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18821 rm -f conftest.
$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18825 grep -v '^ *+' conftest.er1
>conftest.err
18827 cat conftest.err
>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_lo
=$ac_mid; break
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 ac_hi
=`expr '(' $ac_mid ')' - 1`
18848 if test $ac_mid -le $ac_hi; then
18852 ac_mid
=`expr 2 '*' $ac_mid`
18854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.
$ac_ext >&5
18862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18865 # Binary search between lo and hi bounds.
18866 while test "x$ac_lo" != "x$ac_hi"; do
18867 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18868 cat >conftest.
$ac_ext <<_ACEOF
18871 cat confdefs.h
>>conftest.
$ac_ext
18872 cat >>conftest.
$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 $ac_includes_default
18878 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18885 rm -f conftest.
$ac_objext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18887 (eval $ac_compile) 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.
$ac_ext >&5
18911 ac_lo
=`expr '(' $ac_mid ')' + 1`
18913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18916 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18918 See \`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (short), 77
18920 See \`config.log' for more details." >&2;}
18921 { (exit 1); exit 1; }; } ;;
18924 if test "$cross_compiling" = yes; then
18925 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18926 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18927 { (exit 1); exit 1; }; }
18929 cat >conftest.
$ac_ext <<_ACEOF
18932 cat confdefs.h
>>conftest.
$ac_ext
18933 cat >>conftest.
$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 $ac_includes_default
18936 long longval () { return (long) (sizeof (short)); }
18937 unsigned long ulongval () { return (long) (sizeof (short)); }
18939 #include <stdlib.h>
18944 FILE *f = fopen ("conftest.val", "w");
18947 if (((long) (sizeof (short))) < 0)
18949 long i = longval ();
18950 if (i != ((long) (sizeof (short))))
18952 fprintf (f, "%ld\n", i);
18956 unsigned long i = ulongval ();
18957 if (i != ((long) (sizeof (short))))
18959 fprintf (f, "%lu\n", i);
18961 exit (ferror (f) || fclose (f) != 0);
18967 rm -f conftest
$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_sizeof_short
=`cat conftest.val`
18980 echo "$as_me: program exited with status $ac_status" >&5
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 ( exit $ac_status )
18985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18986 See \`config.log' for more details." >&5
18987 echo "$as_me: error: cannot compute sizeof (short), 77
18988 See \`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }
18991 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18996 ac_cv_sizeof_short
=0
18999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19000 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19001 cat >>confdefs.h
<<_ACEOF
19002 #define SIZEOF_SHORT $ac_cv_sizeof_short
19006 echo "$as_me:$LINENO: checking for void *" >&5
19007 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19008 if test "${ac_cv_type_void_p+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19023 if (sizeof (void *))
19029 rm -f conftest.
$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19033 grep -v '^ *+' conftest.er1
>conftest.err
19035 cat conftest.err
>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try
='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_cv_type_void_p
=yes
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.
$ac_ext >&5
19055 ac_cv_type_void_p
=no
19057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19059 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19060 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19062 echo "$as_me:$LINENO: checking size of void *" >&5
19063 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19064 if test "${ac_cv_sizeof_void_p+set}" = set; then
19065 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 if test "$ac_cv_type_void_p" = yes; then
19068 # The cast to unsigned long works around a bug in the HP C Compiler
19069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19071 # This bug is HP SR number 8606223364.
19072 if test "$cross_compiling" = yes; then
19073 # Depending upon the size, compute the lo and hi bounds.
19074 cat >conftest.
$ac_ext <<_ACEOF
19077 cat confdefs.h
>>conftest.
$ac_ext
19078 cat >>conftest.
$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19084 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19091 rm -f conftest.
$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>conftest.er1
19095 grep -v '^ *+' conftest.er1
>conftest.err
19097 cat conftest.err
>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; } &&
19106 { ac_try
='test -s conftest.$ac_objext'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; }; then
19114 cat >conftest.
$ac_ext <<_ACEOF
19117 cat confdefs.h
>>conftest.
$ac_ext
19118 cat >>conftest.
$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19124 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19131 rm -f conftest.
$ac_objext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19133 (eval $ac_compile) 2>conftest.er1
19135 grep -v '^ *+' conftest.er1
>conftest.err
19137 cat conftest.err
>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try
='test -s conftest.$ac_objext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 ac_hi
=$ac_mid; break
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19157 ac_lo
=`expr $ac_mid + 1`
19158 if test $ac_lo -le $ac_mid; then
19162 ac_mid
=`expr 2 '*' $ac_mid + 1`
19164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.
$ac_ext >&5
19170 cat >conftest.
$ac_ext <<_ACEOF
19173 cat confdefs.h
>>conftest.
$ac_ext
19174 cat >>conftest.
$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19180 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19187 rm -f conftest.
$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19191 grep -v '^ *+' conftest.er1
>conftest.err
19193 cat conftest.err
>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try
='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 $ac_includes_default
19220 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19227 rm -f conftest.
$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try
='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_lo
=$ac_mid; break
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.
$ac_ext >&5
19253 ac_hi
=`expr '(' $ac_mid ')' - 1`
19254 if test $ac_mid -le $ac_hi; then
19258 ac_mid
=`expr 2 '*' $ac_mid`
19260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.
$ac_ext >&5
19268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19271 # Binary search between lo and hi bounds.
19272 while test "x$ac_lo" != "x$ac_hi"; do
19273 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19274 cat >conftest.
$ac_ext <<_ACEOF
19277 cat confdefs.h
>>conftest.
$ac_ext
19278 cat >>conftest.
$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19280 $ac_includes_default
19284 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19291 rm -f conftest.
$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19295 grep -v '^ *+' conftest.er1
>conftest.err
19297 cat conftest.err
>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.
$ac_ext >&5
19317 ac_lo
=`expr '(' $ac_mid ')' + 1`
19319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19322 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19324 See \`config.log' for more details." >&5
19325 echo "$as_me: error: cannot compute sizeof (void *), 77
19326 See \`config.log' for more details." >&2;}
19327 { (exit 1); exit 1; }; } ;;
19330 if test "$cross_compiling" = yes; then
19331 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19332 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19333 { (exit 1); exit 1; }; }
19335 cat >conftest.
$ac_ext <<_ACEOF
19338 cat confdefs.h
>>conftest.
$ac_ext
19339 cat >>conftest.
$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19342 long longval () { return (long) (sizeof (void *)); }
19343 unsigned long ulongval () { return (long) (sizeof (void *)); }
19345 #include <stdlib.h>
19350 FILE *f = fopen ("conftest.val", "w");
19353 if (((long) (sizeof (void *))) < 0)
19355 long i = longval ();
19356 if (i != ((long) (sizeof (void *))))
19358 fprintf (f, "%ld\n", i);
19362 unsigned long i = ulongval ();
19363 if (i != ((long) (sizeof (void *))))
19365 fprintf (f, "%lu\n", i);
19367 exit (ferror (f) || fclose (f) != 0);
19373 rm -f conftest
$ac_exeext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19375 (eval $ac_link) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_cv_sizeof_void_p
=`cat conftest.val`
19386 echo "$as_me: program exited with status $ac_status" >&5
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.
$ac_ext >&5
19390 ( exit $ac_status )
19391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19392 See \`config.log' for more details." >&5
19393 echo "$as_me: error: cannot compute sizeof (void *), 77
19394 See \`config.log' for more details." >&2;}
19395 { (exit 1); exit 1; }; }
19397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19402 ac_cv_sizeof_void_p
=0
19405 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19406 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19407 cat >>confdefs.h
<<_ACEOF
19408 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19412 echo "$as_me:$LINENO: checking for int" >&5
19413 echo $ECHO_N "checking for int... $ECHO_C" >&6
19414 if test "${ac_cv_type_int+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 cat >conftest.
$ac_ext <<_ACEOF
19420 cat confdefs.h
>>conftest.
$ac_ext
19421 cat >>conftest.
$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19435 rm -f conftest.
$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1
>conftest.err
19441 cat conftest.err
>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; } &&
19450 { ac_try
='test -s conftest.$ac_objext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.
$ac_ext >&5
19463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19466 echo "${ECHO_T}$ac_cv_type_int" >&6
19468 echo "$as_me:$LINENO: checking size of int" >&5
19469 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19470 if test "${ac_cv_sizeof_int+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 if test "$ac_cv_type_int" = yes; then
19474 # The cast to unsigned long works around a bug in the HP C Compiler
19475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19477 # This bug is HP SR number 8606223364.
19478 if test "$cross_compiling" = yes; then
19479 # Depending upon the size, compute the lo and hi bounds.
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19490 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19497 rm -f conftest.
$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19501 grep -v '^ *+' conftest.er1
>conftest.err
19503 cat conftest.err
>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; } &&
19512 { ac_try
='test -s conftest.$ac_objext'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; }; then
19520 cat >conftest.
$ac_ext <<_ACEOF
19523 cat confdefs.h
>>conftest.
$ac_ext
19524 cat >>conftest.
$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19530 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19537 rm -f conftest.
$ac_objext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19539 (eval $ac_compile) 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; } &&
19552 { ac_try
='test -s conftest.$ac_objext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 ac_hi
=$ac_mid; break
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.
$ac_ext >&5
19563 ac_lo
=`expr $ac_mid + 1`
19564 if test $ac_lo -le $ac_mid; then
19568 ac_mid
=`expr 2 '*' $ac_mid + 1`
19570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.
$ac_ext >&5
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19586 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19593 rm -f conftest.
$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19616 cat >conftest.
$ac_ext <<_ACEOF
19619 cat confdefs.h
>>conftest.
$ac_ext
19620 cat >>conftest.
$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19626 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19633 rm -f conftest.
$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19637 grep -v '^ *+' conftest.er1
>conftest.err
19639 cat conftest.err
>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; } &&
19648 { ac_try
='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_lo
=$ac_mid; break
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 ac_hi
=`expr '(' $ac_mid ')' - 1`
19660 if test $ac_mid -le $ac_hi; then
19664 ac_mid
=`expr 2 '*' $ac_mid`
19666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.
$ac_ext >&5
19674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19677 # Binary search between lo and hi bounds.
19678 while test "x$ac_lo" != "x$ac_hi"; do
19679 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19680 cat >conftest.
$ac_ext <<_ACEOF
19683 cat confdefs.h
>>conftest.
$ac_ext
19684 cat >>conftest.
$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19690 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19697 rm -f conftest.
$ac_objext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19699 (eval $ac_compile) 2>conftest.er1
19701 grep -v '^ *+' conftest.er1
>conftest.err
19703 cat conftest.err
>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; } &&
19712 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.
$ac_ext >&5
19723 ac_lo
=`expr '(' $ac_mid ')' + 1`
19725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19728 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19729 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19730 See \`config.log' for more details." >&5
19731 echo "$as_me: error: cannot compute sizeof (int), 77
19732 See \`config.log' for more details." >&2;}
19733 { (exit 1); exit 1; }; } ;;
19736 if test "$cross_compiling" = yes; then
19737 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19738 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19739 { (exit 1); exit 1; }; }
19741 cat >conftest.
$ac_ext <<_ACEOF
19744 cat confdefs.h
>>conftest.
$ac_ext
19745 cat >>conftest.
$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19747 $ac_includes_default
19748 long longval () { return (long) (sizeof (int)); }
19749 unsigned long ulongval () { return (long) (sizeof (int)); }
19751 #include <stdlib.h>
19756 FILE *f = fopen ("conftest.val", "w");
19759 if (((long) (sizeof (int))) < 0)
19761 long i = longval ();
19762 if (i != ((long) (sizeof (int))))
19764 fprintf (f, "%ld\n", i);
19768 unsigned long i = ulongval ();
19769 if (i != ((long) (sizeof (int))))
19771 fprintf (f, "%lu\n", i);
19773 exit (ferror (f) || fclose (f) != 0);
19779 rm -f conftest
$ac_exeext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19781 (eval $ac_link) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_cv_sizeof_int
=`cat conftest.val`
19792 echo "$as_me: program exited with status $ac_status" >&5
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.
$ac_ext >&5
19796 ( exit $ac_status )
19797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19798 See \`config.log' for more details." >&5
19799 echo "$as_me: error: cannot compute sizeof (int), 77
19800 See \`config.log' for more details." >&2;}
19801 { (exit 1); exit 1; }; }
19803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19812 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19813 cat >>confdefs.h
<<_ACEOF
19814 #define SIZEOF_INT $ac_cv_sizeof_int
19818 echo "$as_me:$LINENO: checking for long" >&5
19819 echo $ECHO_N "checking for long... $ECHO_C" >&6
19820 if test "${ac_cv_type_long+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 cat >conftest.
$ac_ext <<_ACEOF
19826 cat confdefs.h
>>conftest.
$ac_ext
19827 cat >>conftest.
$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19841 rm -f conftest.
$ac_objext
19842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19843 (eval $ac_compile) 2>conftest.er1
19845 grep -v '^ *+' conftest.er1
>conftest.err
19847 cat conftest.err
>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try
='test -s conftest.$ac_objext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_cv_type_long
=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.
$ac_ext >&5
19869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19871 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19872 echo "${ECHO_T}$ac_cv_type_long" >&6
19874 echo "$as_me:$LINENO: checking size of long" >&5
19875 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19876 if test "${ac_cv_sizeof_long+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 if test "$ac_cv_type_long" = yes; then
19880 # The cast to unsigned long works around a bug in the HP C Compiler
19881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19883 # This bug is HP SR number 8606223364.
19884 if test "$cross_compiling" = yes; then
19885 # Depending upon the size, compute the lo and hi bounds.
19886 cat >conftest.
$ac_ext <<_ACEOF
19889 cat confdefs.h
>>conftest.
$ac_ext
19890 cat >>conftest.
$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 $ac_includes_default
19896 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19903 rm -f conftest.
$ac_objext
19904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19905 (eval $ac_compile) 2>conftest.er1
19907 grep -v '^ *+' conftest.er1
>conftest.err
19909 cat conftest.err
>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } &&
19912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try
='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19926 cat >conftest.
$ac_ext <<_ACEOF
19929 cat confdefs.h
>>conftest.
$ac_ext
19930 cat >>conftest.
$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19936 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19943 rm -f conftest.
$ac_objext
19944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19945 (eval $ac_compile) 2>conftest.er1
19947 grep -v '^ *+' conftest.er1
>conftest.err
19949 cat conftest.err
>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } &&
19952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19954 (eval $ac_try) 2>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; } &&
19958 { ac_try
='test -s conftest.$ac_objext'
19959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); }; }; then
19964 ac_hi
=$ac_mid; break
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.
$ac_ext >&5
19969 ac_lo
=`expr $ac_mid + 1`
19970 if test $ac_lo -le $ac_mid; then
19974 ac_mid
=`expr 2 '*' $ac_mid + 1`
19976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 cat >conftest.
$ac_ext <<_ACEOF
19985 cat confdefs.h
>>conftest.
$ac_ext
19986 cat >>conftest.
$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 $ac_includes_default
19992 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19999 rm -f conftest.
$ac_objext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20001 (eval $ac_compile) 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest.$ac_objext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20032 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20039 rm -f conftest.
$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20043 grep -v '^ *+' conftest.er1
>conftest.err
20045 cat conftest.err
>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try
='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_lo
=$ac_mid; break
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20065 ac_hi
=`expr '(' $ac_mid ')' - 1`
20066 if test $ac_mid -le $ac_hi; then
20070 ac_mid
=`expr 2 '*' $ac_mid`
20072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20083 # Binary search between lo and hi bounds.
20084 while test "x$ac_lo" != "x$ac_hi"; do
20085 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20096 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20103 rm -f conftest.
$ac_objext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20105 (eval $ac_compile) 2>conftest.er1
20107 grep -v '^ *+' conftest.er1
>conftest.err
20109 cat conftest.err
>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; } &&
20118 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.
$ac_ext >&5
20129 ac_lo
=`expr '(' $ac_mid ')' + 1`
20131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20134 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20135 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20136 See \`config.log' for more details." >&5
20137 echo "$as_me: error: cannot compute sizeof (long), 77
20138 See \`config.log' for more details." >&2;}
20139 { (exit 1); exit 1; }; } ;;
20142 if test "$cross_compiling" = yes; then
20143 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20144 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20145 { (exit 1); exit 1; }; }
20147 cat >conftest.
$ac_ext <<_ACEOF
20150 cat confdefs.h
>>conftest.
$ac_ext
20151 cat >>conftest.
$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 $ac_includes_default
20154 long longval () { return (long) (sizeof (long)); }
20155 unsigned long ulongval () { return (long) (sizeof (long)); }
20157 #include <stdlib.h>
20162 FILE *f = fopen ("conftest.val", "w");
20165 if (((long) (sizeof (long))) < 0)
20167 long i = longval ();
20168 if (i != ((long) (sizeof (long))))
20170 fprintf (f, "%ld\n", i);
20174 unsigned long i = ulongval ();
20175 if (i != ((long) (sizeof (long))))
20177 fprintf (f, "%lu\n", i);
20179 exit (ferror (f) || fclose (f) != 0);
20185 rm -f conftest
$ac_exeext
20186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20187 (eval $ac_link) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; }; then
20196 ac_cv_sizeof_long
=`cat conftest.val`
20198 echo "$as_me: program exited with status $ac_status" >&5
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.
$ac_ext >&5
20202 ( exit $ac_status )
20203 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20204 See \`config.log' for more details." >&5
20205 echo "$as_me: error: cannot compute sizeof (long), 77
20206 See \`config.log' for more details." >&2;}
20207 { (exit 1); exit 1; }; }
20209 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20214 ac_cv_sizeof_long
=0
20217 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20218 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20219 cat >>confdefs.h
<<_ACEOF
20220 #define SIZEOF_LONG $ac_cv_sizeof_long
20224 echo "$as_me:$LINENO: checking for size_t" >&5
20225 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20226 if test "${ac_cv_type_size_t+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 cat >conftest.
$ac_ext <<_ACEOF
20232 cat confdefs.h
>>conftest.
$ac_ext
20233 cat >>conftest.
$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 $ac_includes_default
20241 if (sizeof (size_t))
20247 rm -f conftest.
$ac_objext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20249 (eval $ac_compile) 2>conftest.er1
20251 grep -v '^ *+' conftest.er1
>conftest.err
20253 cat conftest.err
>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; } &&
20262 { ac_try
='test -s conftest.$ac_objext'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; }; then
20268 ac_cv_type_size_t
=yes
20270 echo "$as_me: failed program was:" >&5
20271 sed 's/^/| /' conftest.
$ac_ext >&5
20273 ac_cv_type_size_t
=no
20275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20277 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20278 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20280 echo "$as_me:$LINENO: checking size of size_t" >&5
20281 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20282 if test "${ac_cv_sizeof_size_t+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 if test "$ac_cv_type_size_t" = yes; then
20286 # The cast to unsigned long works around a bug in the HP C Compiler
20287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20289 # This bug is HP SR number 8606223364.
20290 if test "$cross_compiling" = yes; then
20291 # Depending upon the size, compute the lo and hi bounds.
20292 cat >conftest.
$ac_ext <<_ACEOF
20295 cat confdefs.h
>>conftest.
$ac_ext
20296 cat >>conftest.
$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 $ac_includes_default
20302 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20309 rm -f conftest.
$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>conftest.er1
20313 grep -v '^ *+' conftest.er1
>conftest.err
20315 cat conftest.err
>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try
='test -s conftest.$ac_objext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20332 cat >conftest.
$ac_ext <<_ACEOF
20335 cat confdefs.h
>>conftest.
$ac_ext
20336 cat >>conftest.
$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20342 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20349 rm -f conftest.
$ac_objext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20351 (eval $ac_compile) 2>conftest.er1
20353 grep -v '^ *+' conftest.er1
>conftest.err
20355 cat conftest.err
>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try
='test -s conftest.$ac_objext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_hi
=$ac_mid; break
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.
$ac_ext >&5
20375 ac_lo
=`expr $ac_mid + 1`
20376 if test $ac_lo -le $ac_mid; then
20380 ac_mid
=`expr 2 '*' $ac_mid + 1`
20382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.
$ac_ext >&5
20388 cat >conftest.
$ac_ext <<_ACEOF
20391 cat confdefs.h
>>conftest.
$ac_ext
20392 cat >>conftest.
$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 $ac_includes_default
20398 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20405 rm -f conftest.
$ac_objext
20406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20407 (eval $ac_compile) 2>conftest.er1
20409 grep -v '^ *+' conftest.er1
>conftest.err
20411 cat conftest.err
>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; } &&
20420 { ac_try
='test -s conftest.$ac_objext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20428 cat >conftest.
$ac_ext <<_ACEOF
20431 cat confdefs.h
>>conftest.
$ac_ext
20432 cat >>conftest.
$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 $ac_includes_default
20438 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20445 rm -f conftest.
$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20449 grep -v '^ *+' conftest.er1
>conftest.err
20451 cat conftest.err
>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; } &&
20460 { ac_try
='test -s conftest.$ac_objext'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 ac_lo
=$ac_mid; break
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.
$ac_ext >&5
20471 ac_hi
=`expr '(' $ac_mid ')' - 1`
20472 if test $ac_mid -le $ac_hi; then
20476 ac_mid
=`expr 2 '*' $ac_mid`
20478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.
$ac_ext >&5
20486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20489 # Binary search between lo and hi bounds.
20490 while test "x$ac_lo" != "x$ac_hi"; do
20491 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20502 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20509 rm -f conftest.
$ac_objext
20510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20511 (eval $ac_compile) 2>conftest.er1
20513 grep -v '^ *+' conftest.er1
>conftest.err
20515 cat conftest.err
>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } &&
20518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; } &&
20524 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.
$ac_ext >&5
20535 ac_lo
=`expr '(' $ac_mid ')' + 1`
20537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20541 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot compute sizeof (size_t), 77
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; } ;;
20548 if test "$cross_compiling" = yes; then
20549 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20550 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20551 { (exit 1); exit 1; }; }
20553 cat >conftest.
$ac_ext <<_ACEOF
20556 cat confdefs.h
>>conftest.
$ac_ext
20557 cat >>conftest.
$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 long longval () { return (long) (sizeof (size_t)); }
20561 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20563 #include <stdlib.h>
20568 FILE *f = fopen ("conftest.val", "w");
20571 if (((long) (sizeof (size_t))) < 0)
20573 long i = longval ();
20574 if (i != ((long) (sizeof (size_t))))
20576 fprintf (f, "%ld\n", i);
20580 unsigned long i = ulongval ();
20581 if (i != ((long) (sizeof (size_t))))
20583 fprintf (f, "%lu\n", i);
20585 exit (ferror (f) || fclose (f) != 0);
20591 rm -f conftest
$ac_exeext
20592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20593 (eval $ac_link) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 ac_cv_sizeof_size_t
=`cat conftest.val`
20604 echo "$as_me: program exited with status $ac_status" >&5
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.
$ac_ext >&5
20608 ( exit $ac_status )
20609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20610 See \`config.log' for more details." >&5
20611 echo "$as_me: error: cannot compute sizeof (size_t), 77
20612 See \`config.log' for more details." >&2;}
20613 { (exit 1); exit 1; }; }
20615 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20620 ac_cv_sizeof_size_t
=0
20623 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20624 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20625 cat >>confdefs.h
<<_ACEOF
20626 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20633 echo "$as_me:$LINENO: checking for long long" >&5
20634 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20635 if test "${ac_cv_type_long_long+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 cat >conftest.
$ac_ext <<_ACEOF
20641 cat confdefs.h
>>conftest.
$ac_ext
20642 cat >>conftest.
$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20648 if ((long long *) 0)
20650 if (sizeof (long long))
20656 rm -f conftest.
$ac_objext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20658 (eval $ac_compile) 2>conftest.er1
20660 grep -v '^ *+' conftest.er1
>conftest.err
20662 cat conftest.err
>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; } &&
20671 { ac_try
='test -s conftest.$ac_objext'
20672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 (eval $ac_try) 2>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; }; then
20677 ac_cv_type_long_long
=yes
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.
$ac_ext >&5
20682 ac_cv_type_long_long
=no
20684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20686 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20687 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20689 echo "$as_me:$LINENO: checking size of long long" >&5
20690 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20691 if test "${ac_cv_sizeof_long_long+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 if test "$ac_cv_type_long_long" = yes; then
20695 # The cast to unsigned long works around a bug in the HP C Compiler
20696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20698 # This bug is HP SR number 8606223364.
20699 if test "$cross_compiling" = yes; then
20700 # Depending upon the size, compute the lo and hi bounds.
20701 cat >conftest.
$ac_ext <<_ACEOF
20704 cat confdefs.h
>>conftest.
$ac_ext
20705 cat >>conftest.
$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20711 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20718 rm -f conftest.
$ac_objext
20719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20720 (eval $ac_compile) 2>conftest.er1
20722 grep -v '^ *+' conftest.er1
>conftest.err
20724 cat conftest.err
>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } &&
20727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20729 (eval $ac_try) 2>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); }; } &&
20733 { ac_try
='test -s conftest.$ac_objext'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; }; then
20741 cat >conftest.
$ac_ext <<_ACEOF
20744 cat confdefs.h
>>conftest.
$ac_ext
20745 cat >>conftest.
$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 $ac_includes_default
20751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20758 rm -f conftest.
$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; } &&
20773 { ac_try
='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_hi
=$ac_mid; break
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 ac_lo
=`expr $ac_mid + 1`
20785 if test $ac_lo -le $ac_mid; then
20789 ac_mid
=`expr 2 '*' $ac_mid + 1`
20791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.
$ac_ext >&5
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20807 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20814 rm -f conftest.
$ac_objext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20816 (eval $ac_compile) 2>conftest.er1
20818 grep -v '^ *+' conftest.er1
>conftest.err
20820 cat conftest.err
>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try
='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20837 cat >conftest.
$ac_ext <<_ACEOF
20840 cat confdefs.h
>>conftest.
$ac_ext
20841 cat >>conftest.
$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20847 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20854 rm -f conftest.
$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>conftest.er1
20858 grep -v '^ *+' conftest.er1
>conftest.err
20860 cat conftest.err
>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); } &&
20863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; } &&
20869 { ac_try
='test -s conftest.$ac_objext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_lo
=$ac_mid; break
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20880 ac_hi
=`expr '(' $ac_mid ')' - 1`
20881 if test $ac_mid -le $ac_hi; then
20885 ac_mid
=`expr 2 '*' $ac_mid`
20887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.
$ac_ext >&5
20895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20898 # Binary search between lo and hi bounds.
20899 while test "x$ac_lo" != "x$ac_hi"; do
20900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20901 cat >conftest.
$ac_ext <<_ACEOF
20904 cat confdefs.h
>>conftest.
$ac_ext
20905 cat >>conftest.
$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 $ac_includes_default
20911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20918 rm -f conftest.
$ac_objext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20920 (eval $ac_compile) 2>conftest.er1
20922 grep -v '^ *+' conftest.er1
>conftest.err
20924 cat conftest.err
>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; } &&
20933 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.
$ac_ext >&5
20944 ac_lo
=`expr '(' $ac_mid ')' + 1`
20946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20949 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20951 See \`config.log' for more details." >&5
20952 echo "$as_me: error: cannot compute sizeof (long long), 77
20953 See \`config.log' for more details." >&2;}
20954 { (exit 1); exit 1; }; } ;;
20957 if test "$cross_compiling" = yes; then
20958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20960 { (exit 1); exit 1; }; }
20962 cat >conftest.
$ac_ext <<_ACEOF
20965 cat confdefs.h
>>conftest.
$ac_ext
20966 cat >>conftest.
$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968 $ac_includes_default
20969 long longval () { return (long) (sizeof (long long)); }
20970 unsigned long ulongval () { return (long) (sizeof (long long)); }
20972 #include <stdlib.h>
20977 FILE *f = fopen ("conftest.val", "w");
20980 if (((long) (sizeof (long long))) < 0)
20982 long i = longval ();
20983 if (i != ((long) (sizeof (long long))))
20985 fprintf (f, "%ld\n", i);
20989 unsigned long i = ulongval ();
20990 if (i != ((long) (sizeof (long long))))
20992 fprintf (f, "%lu\n", i);
20994 exit (ferror (f) || fclose (f) != 0);
21000 rm -f conftest
$ac_exeext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21002 (eval $ac_link) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 ac_cv_sizeof_long_long
=`cat conftest.val`
21013 echo "$as_me: program exited with status $ac_status" >&5
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.
$ac_ext >&5
21017 ( exit $ac_status )
21018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21019 See \`config.log' for more details." >&5
21020 echo "$as_me: error: cannot compute sizeof (long long), 77
21021 See \`config.log' for more details." >&2;}
21022 { (exit 1); exit 1; }; }
21024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21029 ac_cv_sizeof_long_long
=0
21032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21034 cat >>confdefs.h
<<_ACEOF
21035 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21041 echo "$as_me:$LINENO: checking for long long" >&5
21042 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21043 if test "${ac_cv_type_long_long+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 cat >conftest.
$ac_ext <<_ACEOF
21049 cat confdefs.h
>>conftest.
$ac_ext
21050 cat >>conftest.
$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 $ac_includes_default
21056 if ((long long *) 0)
21058 if (sizeof (long long))
21064 rm -f conftest.
$ac_objext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21066 (eval $ac_compile) 2>conftest.er1
21068 grep -v '^ *+' conftest.er1
>conftest.err
21070 cat conftest.err
>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try
='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_type_long_long
=yes
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 ac_cv_type_long_long
=no
21092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21094 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21095 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21097 echo "$as_me:$LINENO: checking size of long long" >&5
21098 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21099 if test "${ac_cv_sizeof_long_long+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 if test "$ac_cv_type_long_long" = yes; then
21103 # The cast to unsigned long works around a bug in the HP C Compiler
21104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21106 # This bug is HP SR number 8606223364.
21107 if test "$cross_compiling" = yes; then
21108 # Depending upon the size, compute the lo and hi bounds.
21109 cat >conftest.
$ac_ext <<_ACEOF
21112 cat confdefs.h
>>conftest.
$ac_ext
21113 cat >>conftest.
$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21126 rm -f conftest.
$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>conftest.er1
21130 grep -v '^ *+' conftest.er1
>conftest.err
21132 cat conftest.err
>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; } &&
21141 { ac_try
='test -s conftest.$ac_objext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21149 cat >conftest.
$ac_ext <<_ACEOF
21152 cat confdefs.h
>>conftest.
$ac_ext
21153 cat >>conftest.
$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21159 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21166 rm -f conftest.
$ac_objext
21167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21168 (eval $ac_compile) 2>conftest.er1
21170 grep -v '^ *+' conftest.er1
>conftest.err
21172 cat conftest.err
>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } &&
21175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21177 (eval $ac_try) 2>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); }; } &&
21181 { ac_try
='test -s conftest.$ac_objext'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; }; then
21187 ac_hi
=$ac_mid; break
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.
$ac_ext >&5
21192 ac_lo
=`expr $ac_mid + 1`
21193 if test $ac_lo -le $ac_mid; then
21197 ac_mid
=`expr 2 '*' $ac_mid + 1`
21199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.
$ac_ext >&5
21205 cat >conftest.
$ac_ext <<_ACEOF
21208 cat confdefs.h
>>conftest.
$ac_ext
21209 cat >>conftest.
$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21222 rm -f conftest.
$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>conftest.er1
21226 grep -v '^ *+' conftest.er1
>conftest.err
21228 cat conftest.err
>&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } &&
21231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try
='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21245 cat >conftest.
$ac_ext <<_ACEOF
21248 cat confdefs.h
>>conftest.
$ac_ext
21249 cat >>conftest.
$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21262 rm -f conftest.
$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21266 grep -v '^ *+' conftest.er1
>conftest.err
21268 cat conftest.err
>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try
='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_lo
=$ac_mid; break
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.
$ac_ext >&5
21288 ac_hi
=`expr '(' $ac_mid ')' - 1`
21289 if test $ac_mid -le $ac_hi; then
21293 ac_mid
=`expr 2 '*' $ac_mid`
21295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21306 # Binary search between lo and hi bounds.
21307 while test "x$ac_lo" != "x$ac_hi"; do
21308 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21309 cat >conftest.
$ac_ext <<_ACEOF
21312 cat confdefs.h
>>conftest.
$ac_ext
21313 cat >>conftest.
$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 $ac_includes_default
21319 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21326 rm -f conftest.
$ac_objext
21327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21328 (eval $ac_compile) 2>conftest.er1
21330 grep -v '^ *+' conftest.er1
>conftest.err
21332 cat conftest.err
>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.
$ac_ext >&5
21352 ac_lo
=`expr '(' $ac_mid ')' + 1`
21354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21357 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21358 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21359 See \`config.log' for more details." >&5
21360 echo "$as_me: error: cannot compute sizeof (long long), 77
21361 See \`config.log' for more details." >&2;}
21362 { (exit 1); exit 1; }; } ;;
21365 if test "$cross_compiling" = yes; then
21366 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21367 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21368 { (exit 1); exit 1; }; }
21370 cat >conftest.
$ac_ext <<_ACEOF
21373 cat confdefs.h
>>conftest.
$ac_ext
21374 cat >>conftest.
$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 $ac_includes_default
21377 long longval () { return (long) (sizeof (long long)); }
21378 unsigned long ulongval () { return (long) (sizeof (long long)); }
21380 #include <stdlib.h>
21385 FILE *f = fopen ("conftest.val", "w");
21388 if (((long) (sizeof (long long))) < 0)
21390 long i = longval ();
21391 if (i != ((long) (sizeof (long long))))
21393 fprintf (f, "%ld\n", i);
21397 unsigned long i = ulongval ();
21398 if (i != ((long) (sizeof (long long))))
21400 fprintf (f, "%lu\n", i);
21402 exit (ferror (f) || fclose (f) != 0);
21408 rm -f conftest
$ac_exeext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21410 (eval $ac_link) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 ac_cv_sizeof_long_long
=`cat conftest.val`
21421 echo "$as_me: program exited with status $ac_status" >&5
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 ( exit $ac_status )
21426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21427 See \`config.log' for more details." >&5
21428 echo "$as_me: error: cannot compute sizeof (long long), 77
21429 See \`config.log' for more details." >&2;}
21430 { (exit 1); exit 1; }; }
21432 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21437 ac_cv_sizeof_long_long
=0
21440 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21441 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21442 cat >>confdefs.h
<<_ACEOF
21443 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21447 if test "$ac_cv_sizeof_long_long" != "0"; then
21448 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21452 echo "$as_me:$LINENO: checking for long long" >&5
21453 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21454 if test "${ac_cv_type_long_long+set}" = set; then
21455 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 cat >conftest.
$ac_ext <<_ACEOF
21460 cat confdefs.h
>>conftest.
$ac_ext
21461 cat >>conftest.
$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21467 if ((long long *) 0)
21469 if (sizeof (long long))
21475 rm -f conftest.
$ac_objext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21477 (eval $ac_compile) 2>conftest.er1
21479 grep -v '^ *+' conftest.er1
>conftest.err
21481 cat conftest.err
>&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_type_long_long
=yes
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.
$ac_ext >&5
21501 ac_cv_type_long_long
=no
21503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21505 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21506 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21508 echo "$as_me:$LINENO: checking size of long long" >&5
21509 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21510 if test "${ac_cv_sizeof_long_long+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 if test "$ac_cv_type_long_long" = yes; then
21514 # The cast to unsigned long works around a bug in the HP C Compiler
21515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21517 # This bug is HP SR number 8606223364.
21518 if test "$cross_compiling" = yes; then
21519 # Depending upon the size, compute the lo and hi bounds.
21520 cat >conftest.
$ac_ext <<_ACEOF
21523 cat confdefs.h
>>conftest.
$ac_ext
21524 cat >>conftest.
$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526 $ac_includes_default
21530 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21537 rm -f conftest.
$ac_objext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21539 (eval $ac_compile) 2>conftest.er1
21541 grep -v '^ *+' conftest.er1
>conftest.err
21543 cat conftest.err
>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } &&
21546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try
='test -s conftest.$ac_objext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 $ac_includes_default
21570 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21577 rm -f conftest.
$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try
='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_hi
=$ac_mid; break
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.
$ac_ext >&5
21603 ac_lo
=`expr $ac_mid + 1`
21604 if test $ac_lo -le $ac_mid; then
21608 ac_mid
=`expr 2 '*' $ac_mid + 1`
21610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.
$ac_ext >&5
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 $ac_includes_default
21626 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21633 rm -f conftest.
$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try
='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21656 cat >conftest.
$ac_ext <<_ACEOF
21659 cat confdefs.h
>>conftest.
$ac_ext
21660 cat >>conftest.
$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21673 rm -f conftest.
$ac_objext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21675 (eval $ac_compile) 2>conftest.er1
21677 grep -v '^ *+' conftest.er1
>conftest.err
21679 cat conftest.err
>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; } &&
21688 { ac_try
='test -s conftest.$ac_objext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_lo
=$ac_mid; break
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.
$ac_ext >&5
21699 ac_hi
=`expr '(' $ac_mid ')' - 1`
21700 if test $ac_mid -le $ac_hi; then
21704 ac_mid
=`expr 2 '*' $ac_mid`
21706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.
$ac_ext >&5
21714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21717 # Binary search between lo and hi bounds.
21718 while test "x$ac_lo" != "x$ac_hi"; do
21719 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21720 cat >conftest.
$ac_ext <<_ACEOF
21723 cat confdefs.h
>>conftest.
$ac_ext
21724 cat >>conftest.
$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 $ac_includes_default
21730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21737 rm -f conftest.
$ac_objext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21739 (eval $ac_compile) 2>conftest.er1
21741 grep -v '^ *+' conftest.er1
>conftest.err
21743 cat conftest.err
>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; } &&
21752 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.
$ac_ext >&5
21763 ac_lo
=`expr '(' $ac_mid ')' + 1`
21765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21768 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21770 See \`config.log' for more details." >&5
21771 echo "$as_me: error: cannot compute sizeof (long long), 77
21772 See \`config.log' for more details." >&2;}
21773 { (exit 1); exit 1; }; } ;;
21776 if test "$cross_compiling" = yes; then
21777 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21778 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21779 { (exit 1); exit 1; }; }
21781 cat >conftest.
$ac_ext <<_ACEOF
21784 cat confdefs.h
>>conftest.
$ac_ext
21785 cat >>conftest.
$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787 $ac_includes_default
21788 long longval () { return (long) (sizeof (long long)); }
21789 unsigned long ulongval () { return (long) (sizeof (long long)); }
21791 #include <stdlib.h>
21796 FILE *f = fopen ("conftest.val", "w");
21799 if (((long) (sizeof (long long))) < 0)
21801 long i = longval ();
21802 if (i != ((long) (sizeof (long long))))
21804 fprintf (f, "%ld\n", i);
21808 unsigned long i = ulongval ();
21809 if (i != ((long) (sizeof (long long))))
21811 fprintf (f, "%lu\n", i);
21813 exit (ferror (f) || fclose (f) != 0);
21819 rm -f conftest
$ac_exeext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21821 (eval $ac_link) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_cv_sizeof_long_long
=`cat conftest.val`
21832 echo "$as_me: program exited with status $ac_status" >&5
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.
$ac_ext >&5
21836 ( exit $ac_status )
21837 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21838 See \`config.log' for more details." >&5
21839 echo "$as_me: error: cannot compute sizeof (long long), 77
21840 See \`config.log' for more details." >&2;}
21841 { (exit 1); exit 1; }; }
21843 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21848 ac_cv_sizeof_long_long
=0
21851 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21852 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21853 cat >>confdefs.h
<<_ACEOF
21854 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21860 echo "$as_me:$LINENO: checking for wchar_t" >&5
21861 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21862 if test "${ac_cv_type_wchar_t+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 cat >conftest.
$ac_ext <<_ACEOF
21868 cat confdefs.h
>>conftest.
$ac_ext
21869 cat >>conftest.
$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21872 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21873 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21874 # error "fake wchar_t"
21876 #ifdef HAVE_WCHAR_H
21878 # include <stddef.h>
21880 # include <wchar.h>
21882 #ifdef HAVE_STDLIB_H
21883 # include <stdlib.h>
21894 if (sizeof (wchar_t))
21900 rm -f conftest.
$ac_objext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21902 (eval $ac_compile) 2>conftest.er1
21904 grep -v '^ *+' conftest.er1
>conftest.err
21906 cat conftest.err
>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; } &&
21915 { ac_try
='test -s conftest.$ac_objext'
21916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917 (eval $ac_try) 2>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); }; }; then
21921 ac_cv_type_wchar_t
=yes
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.
$ac_ext >&5
21926 ac_cv_type_wchar_t
=no
21928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21930 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21931 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21933 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21934 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21935 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21938 if test "$ac_cv_type_wchar_t" = yes; then
21939 # The cast to unsigned long works around a bug in the HP C Compiler
21940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21942 # This bug is HP SR number 8606223364.
21943 if test "$cross_compiling" = yes; then
21944 # Depending upon the size, compute the lo and hi bounds.
21945 cat >conftest.
$ac_ext <<_ACEOF
21948 cat confdefs.h
>>conftest.
$ac_ext
21949 cat >>conftest.
$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21952 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21954 # error "fake wchar_t"
21956 #ifdef HAVE_WCHAR_H
21958 # include <stddef.h>
21960 # include <wchar.h>
21962 #ifdef HAVE_STDLIB_H
21963 # include <stdlib.h>
21972 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21979 rm -f conftest.
$ac_objext
21980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21981 (eval $ac_compile) 2>conftest.er1
21983 grep -v '^ *+' conftest.er1
>conftest.err
21985 cat conftest.err
>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; } &&
21994 { ac_try
='test -s conftest.$ac_objext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22002 cat >conftest.
$ac_ext <<_ACEOF
22005 cat confdefs.h
>>conftest.
$ac_ext
22006 cat >>conftest.
$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22009 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22010 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22011 # error "fake wchar_t"
22013 #ifdef HAVE_WCHAR_H
22015 # include <stddef.h>
22017 # include <wchar.h>
22019 #ifdef HAVE_STDLIB_H
22020 # include <stdlib.h>
22029 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22036 rm -f conftest.
$ac_objext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22038 (eval $ac_compile) 2>conftest.er1
22040 grep -v '^ *+' conftest.er1
>conftest.err
22042 cat conftest.err
>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try
='test -s conftest.$ac_objext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_hi
=$ac_mid; break
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.
$ac_ext >&5
22062 ac_lo
=`expr $ac_mid + 1`
22063 if test $ac_lo -le $ac_mid; then
22067 ac_mid
=`expr 2 '*' $ac_mid + 1`
22069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.
$ac_ext >&5
22075 cat >conftest.
$ac_ext <<_ACEOF
22078 cat confdefs.h
>>conftest.
$ac_ext
22079 cat >>conftest.
$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22082 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22083 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22084 # error "fake wchar_t"
22086 #ifdef HAVE_WCHAR_H
22088 # include <stddef.h>
22090 # include <wchar.h>
22092 #ifdef HAVE_STDLIB_H
22093 # include <stdlib.h>
22102 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22109 rm -f conftest.
$ac_objext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22111 (eval $ac_compile) 2>conftest.er1
22113 grep -v '^ *+' conftest.er1
>conftest.err
22115 cat conftest.err
>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; } &&
22124 { ac_try
='test -s conftest.$ac_objext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22132 cat >conftest.
$ac_ext <<_ACEOF
22135 cat confdefs.h
>>conftest.
$ac_ext
22136 cat >>conftest.
$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22141 # error "fake wchar_t"
22143 #ifdef HAVE_WCHAR_H
22145 # include <stddef.h>
22147 # include <wchar.h>
22149 #ifdef HAVE_STDLIB_H
22150 # include <stdlib.h>
22159 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22166 rm -f conftest.
$ac_objext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22168 (eval $ac_compile) 2>conftest.er1
22170 grep -v '^ *+' conftest.er1
>conftest.err
22172 cat conftest.err
>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; } &&
22181 { ac_try
='test -s conftest.$ac_objext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_lo
=$ac_mid; break
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.
$ac_ext >&5
22192 ac_hi
=`expr '(' $ac_mid ')' - 1`
22193 if test $ac_mid -le $ac_hi; then
22197 ac_mid
=`expr 2 '*' $ac_mid`
22199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.
$ac_ext >&5
22207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22210 # Binary search between lo and hi bounds.
22211 while test "x$ac_lo" != "x$ac_hi"; do
22212 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22213 cat >conftest.
$ac_ext <<_ACEOF
22216 cat confdefs.h
>>conftest.
$ac_ext
22217 cat >>conftest.
$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22222 # error "fake wchar_t"
22224 #ifdef HAVE_WCHAR_H
22226 # include <stddef.h>
22228 # include <wchar.h>
22230 #ifdef HAVE_STDLIB_H
22231 # include <stdlib.h>
22240 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22247 rm -f conftest.
$ac_objext
22248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22249 (eval $ac_compile) 2>conftest.er1
22251 grep -v '^ *+' conftest.er1
>conftest.err
22253 cat conftest.err
>&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } &&
22256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try
='test -s conftest.$ac_objext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.
$ac_ext >&5
22273 ac_lo
=`expr '(' $ac_mid ')' + 1`
22275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22278 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22279 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22280 See \`config.log' for more details." >&5
22281 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22282 See \`config.log' for more details." >&2;}
22283 { (exit 1); exit 1; }; } ;;
22286 if test "$cross_compiling" = yes; then
22287 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22288 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22289 { (exit 1); exit 1; }; }
22291 cat >conftest.
$ac_ext <<_ACEOF
22294 cat confdefs.h
>>conftest.
$ac_ext
22295 cat >>conftest.
$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22300 # error "fake wchar_t"
22302 #ifdef HAVE_WCHAR_H
22304 # include <stddef.h>
22306 # include <wchar.h>
22308 #ifdef HAVE_STDLIB_H
22309 # include <stdlib.h>
22315 long longval () { return (long) (sizeof (wchar_t)); }
22316 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22318 #include <stdlib.h>
22323 FILE *f = fopen ("conftest.val", "w");
22326 if (((long) (sizeof (wchar_t))) < 0)
22328 long i = longval ();
22329 if (i != ((long) (sizeof (wchar_t))))
22331 fprintf (f, "%ld\n", i);
22335 unsigned long i = ulongval ();
22336 if (i != ((long) (sizeof (wchar_t))))
22338 fprintf (f, "%lu\n", i);
22340 exit (ferror (f) || fclose (f) != 0);
22346 rm -f conftest
$ac_exeext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353 (eval $ac_try) 2>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; }; then
22357 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22359 echo "$as_me: program exited with status $ac_status" >&5
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 ( exit $ac_status )
22364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22365 See \`config.log' for more details." >&5
22366 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22367 See \`config.log' for more details." >&2;}
22368 { (exit 1); exit 1; }; }
22370 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22375 ac_cv_sizeof_wchar_t
=0
22378 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22379 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22380 cat >>confdefs.h
<<_ACEOF
22381 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22385 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22391 echo "$as_me:$LINENO: checking for va_copy" >&5
22392 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22393 if test "${wx_cv_func_va_copy+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 cat >conftest.
$ac_ext <<_ACEOF
22399 #include <stdarg.h>
22400 void foo(char *f, ...)
22414 rm -f conftest.
$ac_objext conftest
$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>conftest.er1
22418 grep -v '^ *+' conftest.er1
>conftest.err
22420 cat conftest.err
>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try
='test -s conftest$ac_exeext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 wx_cv_func_va_copy
=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 wx_cv_func_va_copy
=no
22443 rm -f conftest.err conftest.
$ac_objext \
22444 conftest
$ac_exeext conftest.
$ac_ext
22448 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22449 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22451 if test $wx_cv_func_va_copy = "yes"; then
22452 cat >>confdefs.h
<<\_ACEOF
22453 #define HAVE_VA_COPY 1
22457 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22458 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22459 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22460 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 if test "$cross_compiling" = yes; then
22464 wx_cv_type_va_list_lvalue
=yes
22467 cat >conftest.
$ac_ext <<_ACEOF
22469 #include <stdarg.h>
22470 int foo(char *f, ...)
22475 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22483 return foo("hi", 17);
22486 rm -f conftest
$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 wx_cv_type_va_list_lvalue
=yes
22499 echo "$as_me: program exited with status $ac_status" >&5
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22503 ( exit $ac_status )
22504 wx_cv_type_va_list_lvalue
=no
22506 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22511 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22512 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22514 if test $wx_cv_type_va_list_lvalue != "yes"; then
22515 cat >>confdefs.h
<<\_ACEOF
22516 #define VA_LIST_IS_ARRAY 1
22522 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22523 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22524 if test "${wx_cv_have_variadic_macros+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 cat >conftest.
$ac_ext <<_ACEOF
22531 cat confdefs.h
>>conftest.
$ac_ext
22532 cat >>conftest.
$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22536 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22542 test("%s %d %p", "test", 1, 0);
22549 rm -f conftest.
$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22553 grep -v '^ *+' conftest.er1
>conftest.err
22555 cat conftest.err
>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try
='test -s conftest.$ac_objext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 wx_cv_have_variadic_macros
=yes
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.
$ac_ext >&5
22575 wx_cv_have_variadic_macros
=no
22578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22582 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22585 if test $wx_cv_have_variadic_macros = "yes"; then
22586 cat >>confdefs.h
<<\_ACEOF
22587 #define HAVE_VARIADIC_MACROS 1
22592 # Check whether --enable-largefile or --disable-largefile was given.
22593 if test "${enable_largefile+set}" = set; then
22594 enableval
="$enable_largefile"
22597 if test "$enable_largefile" != no
; then
22600 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22601 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22602 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22603 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 cat >conftest.
$ac_ext <<_ACEOF
22609 cat confdefs.h
>>conftest.
$ac_ext
22610 cat >>conftest.
$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #define _FILE_OFFSET_BITS 64
22613 #include <sys/types.h>
22618 unsigned int field: sizeof(off_t) == 8;
22625 rm -f conftest.
$ac_objext
22626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22627 (eval $ac_compile) 2>conftest.er1
22629 grep -v '^ *+' conftest.er1
>conftest.err
22631 cat conftest.err
>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22640 { ac_try
='test -s conftest.$ac_objext'
22641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 (eval $ac_try) 2>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); }; }; then
22646 ac_cv_sys_file_offset_bits
=64
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.
$ac_ext >&5
22651 ac_cv_sys_file_offset_bits
=no
22653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22657 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22660 if test "$ac_cv_sys_file_offset_bits" != no
; then
22662 cat >>confdefs.h
<<_ACEOF
22663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22668 if test "x$wx_largefile" != "xyes"; then
22670 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22672 if test "${ac_cv_sys_large_files+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 _LARGE_FILES 1
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_large_files
=1
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.
$ac_ext >&5
22721 ac_cv_sys_large_files
=no
22723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22727 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22728 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22730 if test "$ac_cv_sys_large_files" != no
; then
22732 cat >>confdefs.h
<<_ACEOF
22733 #define _LARGE_FILES $ac_cv_sys_large_files
22740 echo "$as_me:$LINENO: checking if large file support is available" >&5
22741 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22742 if test "x$wx_largefile" = "xyes"; then
22743 cat >>confdefs.h
<<\_ACEOF
22744 #define HAVE_LARGEFILE_SUPPORT 1
22748 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22749 echo "${ECHO_T}$wx_largefile" >&6
22753 if test "x$wx_largefile" = "xyes"; then
22754 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22755 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22757 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22758 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22759 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22760 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22761 echo $ECHO_N "(cached) $ECHO_C" >&6
22764 cat >conftest.
$ac_ext <<_ACEOF
22767 cat confdefs.h
>>conftest.
$ac_ext
22768 cat >>conftest.
$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22775 #ifndef __STDC_EXT__
22783 rm -f conftest.
$ac_objext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22785 (eval $ac_compile) 2>conftest.er1
22787 grep -v '^ *+' conftest.er1
>conftest.err
22789 cat conftest.err
>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try
='test -s conftest.$ac_objext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 wx_cv_STDC_EXT_required
=no
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.
$ac_ext >&5
22809 wx_cv_STDC_EXT_required
=yes
22812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22817 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22818 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22819 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22823 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22825 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22826 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22827 if test "${ac_cv_sys_largefile_source+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 ac_cv_sys_largefile_source
=no
22832 cat >conftest.
$ac_ext <<_ACEOF
22835 cat confdefs.h
>>conftest.
$ac_ext
22836 cat >>conftest.
$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22847 rm -f conftest.
$ac_objext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22849 (eval $ac_compile) 2>conftest.er1
22851 grep -v '^ *+' conftest.er1
>conftest.err
22853 cat conftest.err
>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.
$ac_ext >&5
22874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22875 cat >conftest.
$ac_ext <<_ACEOF
22878 cat confdefs.h
>>conftest.
$ac_ext
22879 cat >>conftest.
$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 #define _LARGEFILE_SOURCE 1
22891 rm -f conftest.
$ac_objext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22893 (eval $ac_compile) 2>conftest.er1
22895 grep -v '^ *+' conftest.er1
>conftest.err
22897 cat conftest.err
>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try
='test -s conftest.$ac_objext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 ac_cv_sys_largefile_source
=1; break
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.
$ac_ext >&5
22918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22922 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22923 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22924 if test "$ac_cv_sys_largefile_source" != no
; then
22926 cat >>confdefs.h
<<_ACEOF
22927 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22933 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22934 # in glibc 2.1.3, but that breaks too many other things.
22935 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22936 echo "$as_me:$LINENO: checking for fseeko" >&5
22937 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22938 if test "${ac_cv_func_fseeko+set}" = set; then
22939 echo $ECHO_N "(cached) $ECHO_C" >&6
22941 cat >conftest.
$ac_ext <<_ACEOF
22944 cat confdefs.h
>>conftest.
$ac_ext
22945 cat >>conftest.
$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22951 return fseeko && fseeko (stdin, 0, 0);
22956 rm -f conftest.
$ac_objext conftest
$ac_exeext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958 (eval $ac_link) 2>conftest.er1
22960 grep -v '^ *+' conftest.er1
>conftest.err
22962 cat conftest.err
>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest$ac_exeext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_func_fseeko
=yes
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22982 ac_cv_func_fseeko
=no
22984 rm -f conftest.err conftest.
$ac_objext \
22985 conftest
$ac_exeext conftest.
$ac_ext
22987 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22988 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22989 if test $ac_cv_func_fseeko = yes; then
22991 cat >>confdefs.h
<<\_ACEOF
22992 #define HAVE_FSEEKO 1
22997 if test "$ac_cv_sys_largefile_source" != no
; then
22998 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23002 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23003 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23004 if test "${ac_cv_c_bigendian+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 ac_cv_c_bigendian
=unknown
23008 # See if sys/param.h defines the BYTE_ORDER macro.
23009 cat >conftest.
$ac_ext <<_ACEOF
23012 cat confdefs.h
>>conftest.
$ac_ext
23013 cat >>conftest.
$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23021 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23022 bogus endian macros
23028 rm -f conftest.
$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23032 grep -v '^ *+' conftest.er1
>conftest.err
23034 cat conftest.err
>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; } &&
23043 { ac_try
='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 # It does; now see whether it defined to BIG_ENDIAN or not.
23050 cat >conftest.
$ac_ext <<_ACEOF
23053 cat confdefs.h
>>conftest.
$ac_ext
23054 cat >>conftest.
$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 #include <sys/types.h>
23057 #include <sys/param.h>
23062 #if BYTE_ORDER != BIG_ENDIAN
23069 rm -f conftest.
$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try
='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_c_bigendian
=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.
$ac_ext >&5
23095 ac_cv_c_bigendian
=no
23097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.
$ac_ext >&5
23103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23104 if test $ac_cv_c_bigendian = unknown
; then
23105 if test "$cross_compiling" = yes; then
23106 ac_cv_c_bigendian
=unknown
23108 cat >conftest.
$ac_ext <<_ACEOF
23111 cat confdefs.h
>>conftest.
$ac_ext
23112 cat >>conftest.
$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23115 /* Are we little or big endian? From Harbison&Steele. */
23119 char c[sizeof (long)];
23122 exit (u.c[sizeof (long) - 1] == 1);
23125 rm -f conftest
$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 ac_cv_c_bigendian
=no
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.
$ac_ext >&5
23142 ( exit $ac_status )
23143 ac_cv_c_bigendian
=yes
23145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23149 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23150 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23151 if test $ac_cv_c_bigendian = unknown
; then
23152 { 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
23153 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;}
23155 if test $ac_cv_c_bigendian = yes; then
23156 cat >>confdefs.h
<<\_ACEOF
23157 #define WORDS_BIGENDIAN 1
23167 ac_cpp
='$CXXCPP $CPPFLAGS'
23168 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23174 for ac_header
in iostream
23176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23178 echo "$as_me:$LINENO: checking for $ac_header" >&5
23179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23181 echo $ECHO_N "(cached) $ECHO_C" >&6
23183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23186 # Is the header compilable?
23187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23189 cat >conftest.
$ac_ext <<_ACEOF
23192 cat confdefs.h
>>conftest.
$ac_ext
23193 cat >>conftest.
$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 $ac_includes_default
23196 #include <$ac_header>
23198 rm -f conftest.
$ac_objext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23200 (eval $ac_compile) 2>conftest.er1
23202 grep -v '^ *+' conftest.er1
>conftest.err
23204 cat conftest.err
>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try
='test -s conftest.$ac_objext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 ac_header_compiler
=yes
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.
$ac_ext >&5
23224 ac_header_compiler
=no
23226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23228 echo "${ECHO_T}$ac_header_compiler" >&6
23230 # Is the header present?
23231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23233 cat >conftest.
$ac_ext <<_ACEOF
23236 cat confdefs.h
>>conftest.
$ac_ext
23237 cat >>conftest.
$ac_ext <<_ACEOF
23238 /* end confdefs.h. */
23239 #include <$ac_header>
23241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23244 grep -v '^ *+' conftest.er1
>conftest.err
23246 cat conftest.err
>&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); } >/dev
/null
; then
23249 if test -s conftest.err
; then
23250 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23251 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23258 if test -z "$ac_cpp_err"; then
23259 ac_header_preproc
=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.
$ac_ext >&5
23264 ac_header_preproc
=no
23266 rm -f conftest.err conftest.
$ac_ext
23267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23268 echo "${ECHO_T}$ac_header_preproc" >&6
23270 # So? What about this header?
23271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23277 ac_header_preproc
=yes
23280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23294 ## ----------------------------------------- ##
23295 ## Report this to wx-dev@lists.wxwidgets.org ##
23296 ## ----------------------------------------- ##
23299 sed "s/^/$as_me: WARNING: /" >&2
23302 echo "$as_me:$LINENO: checking for $ac_header" >&5
23303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23307 eval "$as_ac_Header=\$ac_header_preproc"
23309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23314 cat >>confdefs.h
<<_ACEOF
23315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23323 if test "$ac_cv_header_iostream" = "yes" ; then
23326 cat >>confdefs.h
<<\_ACEOF
23327 #define wxUSE_IOSTREAMH 1
23333 ac_cpp
='$CXXCPP $CPPFLAGS'
23334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23341 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23342 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23343 if test "${wx_cv_cpp_bool+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 ac_cpp
='$CXXCPP $CPPFLAGS'
23351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23356 cat >conftest.
$ac_ext <<_ACEOF
23359 cat confdefs.h
>>conftest.
$ac_ext
23360 cat >>conftest.
$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23376 rm -f conftest.
$ac_objext
23377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23378 (eval $ac_compile) 2>conftest.er1
23380 grep -v '^ *+' conftest.er1
>conftest.err
23382 cat conftest.err
>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } &&
23385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try
='test -s conftest.$ac_objext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23412 ac_cpp
='$CXXCPP $CPPFLAGS'
23413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23419 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23420 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23422 if test "$wx_cv_cpp_bool" = "yes"; then
23423 cat >>confdefs.h
<<\_ACEOF
23424 #define HAVE_BOOL 1
23431 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23432 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23433 if test "${wx_cv_explicit+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 ac_cpp
='$CXXCPP $CPPFLAGS'
23441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23446 cat >conftest.
$ac_ext <<_ACEOF
23449 cat confdefs.h
>>conftest.
$ac_ext
23450 cat >>conftest.
$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23453 class Foo { public: explicit Foo(int) {} };
23465 rm -f conftest.
$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23469 grep -v '^ *+' conftest.er1
>conftest.err
23471 cat conftest.err
>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; } &&
23480 { ac_try
='test -s conftest.$ac_objext'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23487 cat >conftest.
$ac_ext <<_ACEOF
23490 cat confdefs.h
>>conftest.
$ac_ext
23491 cat >>conftest.
$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23494 class Foo { public: explicit Foo(int) {} };
23495 static void TakeFoo(const Foo& foo) { }
23508 rm -f conftest.
$ac_objext
23509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23510 (eval $ac_compile) 2>conftest.er1
23512 grep -v '^ *+' conftest.er1
>conftest.err
23514 cat conftest.err
>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } &&
23517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23519 (eval $ac_try) 2>&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); }; } &&
23523 { ac_try
='test -s conftest.$ac_objext'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; }; then
23531 echo "$as_me: failed program was:" >&5
23532 sed 's/^/| /' conftest.
$ac_ext >&5
23537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.
$ac_ext >&5
23546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23549 ac_cpp
='$CXXCPP $CPPFLAGS'
23550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23556 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23557 echo "${ECHO_T}$wx_cv_explicit" >&6
23559 if test "$wx_cv_explicit" = "yes"; then
23560 cat >>confdefs.h
<<\_ACEOF
23561 #define HAVE_EXPLICIT 1
23567 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23568 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23569 if test "${ac_cv_cxx_const_cast+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23575 ac_cpp
='$CXXCPP $CPPFLAGS'
23576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23580 cat >conftest.
$ac_ext <<_ACEOF
23583 cat confdefs.h
>>conftest.
$ac_ext
23584 cat >>conftest.
$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23590 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23595 rm -f conftest.
$ac_objext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23597 (eval $ac_compile) 2>conftest.er1
23599 grep -v '^ *+' conftest.er1
>conftest.err
23601 cat conftest.err
>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try
='test -s conftest.$ac_objext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 ac_cv_cxx_const_cast
=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.
$ac_ext >&5
23621 ac_cv_cxx_const_cast
=no
23623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23625 ac_cpp
='$CXXCPP $CPPFLAGS'
23626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23632 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23633 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23634 if test "$ac_cv_cxx_const_cast" = yes; then
23636 cat >>confdefs.h
<<\_ACEOF
23637 #define HAVE_CONST_CAST
23642 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23643 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23644 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 ac_cpp
='$CXXCPP $CPPFLAGS'
23651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23655 cat >conftest.
$ac_ext <<_ACEOF
23658 cat confdefs.h
>>conftest.
$ac_ext
23659 cat >>conftest.
$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 #include <typeinfo>
23662 class Base { public : Base () {} virtual void f () = 0;};
23663 class Derived : public Base { public : Derived () {} virtual void f () {} };
23664 class Unrelated { public : Unrelated () {} };
23665 int g (Unrelated&) { return 0; }
23670 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23675 rm -f conftest.
$ac_objext
23676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23677 (eval $ac_compile) 2>conftest.er1
23679 grep -v '^ *+' conftest.er1
>conftest.err
23681 cat conftest.err
>&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); } &&
23684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; } &&
23690 { ac_try
='test -s conftest.$ac_objext'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; }; then
23696 ac_cv_cxx_reinterpret_cast
=yes
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.
$ac_ext >&5
23701 ac_cv_cxx_reinterpret_cast
=no
23703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23705 ac_cpp
='$CXXCPP $CPPFLAGS'
23706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23712 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23713 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23714 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23716 cat >>confdefs.h
<<\_ACEOF
23717 #define HAVE_REINTERPRET_CAST
23722 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23723 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23724 if test "${ac_cv_cxx_static_cast+set}" = set; then
23725 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 ac_cpp
='$CXXCPP $CPPFLAGS'
23731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23735 cat >conftest.
$ac_ext <<_ACEOF
23738 cat confdefs.h
>>conftest.
$ac_ext
23739 cat >>conftest.
$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741 #include <typeinfo>
23742 class Base { public : Base () {} virtual void f () = 0; };
23743 class Derived : public Base { public : Derived () {} virtual void f () {} };
23744 int g (Derived&) { return 0; }
23749 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23754 rm -f conftest.
$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23758 grep -v '^ *+' conftest.er1
>conftest.err
23760 cat conftest.err
>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try
='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_cv_cxx_static_cast
=yes
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.
$ac_ext >&5
23780 ac_cv_cxx_static_cast
=no
23782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23784 ac_cpp
='$CXXCPP $CPPFLAGS'
23785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23791 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23792 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23793 if test "$ac_cv_cxx_static_cast" = yes; then
23795 cat >>confdefs.h
<<\_ACEOF
23796 #define HAVE_STATIC_CAST
23802 if test "x$SUNCXX" = xyes
; then
23803 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23806 if test "x$SUNCC" = xyes
; then
23807 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23810 if test "x$SGICC" = "xyes"; then
23811 CFLAGS
="-woff 3970 $CFLAGS"
23813 if test "x$SGICXX" = "xyes"; then
23814 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23817 if test "x$HPCC" = "xyes"; then
23818 CFLAGS
="+W 2011,2450 $CFLAGS"
23820 if test "x$HPCXX" = "xyes"; then
23821 CXXFLAGS
="+W 2340 $CXXFLAGS"
23824 if test "x$COMPAQCXX" = "xyes"; then
23825 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23828 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23829 if test "$wxUSE_UNICODE" = "yes"; then
23830 std_string
="std::wstring"
23831 char_type
="wchar_t"
23833 std_string
="std::string"
23837 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23838 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23839 cat >conftest.
$ac_ext <<_ACEOF
23842 cat confdefs.h
>>conftest.
$ac_ext
23843 cat >>conftest.
$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23854 rm -f conftest.
$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>conftest.er1
23858 grep -v '^ *+' conftest.er1
>conftest.err
23860 cat conftest.err
>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try
='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 echo "$as_me:$LINENO: result: yes" >&5
23876 echo "${ECHO_T}yes" >&6
23877 cat >>confdefs.h
<<\_ACEOF
23878 #define HAVE_STD_WSTRING 1
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.
$ac_ext >&5
23885 echo "$as_me:$LINENO: result: no" >&5
23886 echo "${ECHO_T}no" >&6
23887 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23888 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23889 cat >conftest.
$ac_ext <<_ACEOF
23892 cat confdefs.h
>>conftest.
$ac_ext
23893 cat >>conftest.
$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23896 #ifdef HAVE_WCHAR_H
23898 # include <stddef.h>
23900 # include <wchar.h>
23902 #ifdef HAVE_STDLIB_H
23903 # include <stdlib.h>
23911 std::basic_string<$char_type> foo;
23912 const $char_type* dummy = foo.c_str();
23917 rm -f conftest.
$ac_objext
23918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23919 (eval $ac_compile) 2>conftest.er1
23921 grep -v '^ *+' conftest.er1
>conftest.err
23923 cat conftest.err
>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; } &&
23932 { ac_try
='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938 echo "$as_me:$LINENO: result: yes" >&5
23939 echo "${ECHO_T}yes" >&6
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.
$ac_ext >&5
23944 echo "$as_me:$LINENO: result: no" >&5
23945 echo "${ECHO_T}no" >&6
23946 if test "$wxUSE_STL" = "yes"; then
23947 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23948 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23949 { (exit 1); exit 1; }; }
23950 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23951 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23952 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23953 { (exit 1); exit 1; }; }
23955 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23956 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23957 wxUSE_STD_STRING
=no
23962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23968 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23969 echo "$as_me:$LINENO: checking for std::istream" >&5
23970 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23971 if test "${ac_cv_type_std__istream+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 cat >conftest.
$ac_ext <<_ACEOF
23977 cat confdefs.h
>>conftest.
$ac_ext
23978 cat >>conftest.
$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <iostream>
23985 if ((std::istream *) 0)
23987 if (sizeof (std::istream))
23993 rm -f conftest.
$ac_objext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23995 (eval $ac_compile) 2>conftest.er1
23997 grep -v '^ *+' conftest.er1
>conftest.err
23999 cat conftest.err
>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } &&
24002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
24008 { ac_try
='test -s conftest.$ac_objext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_cv_type_std__istream
=yes
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.
$ac_ext >&5
24019 ac_cv_type_std__istream
=no
24021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24023 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24024 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24025 if test $ac_cv_type_std__istream = yes; then
24027 cat >>confdefs.h
<<_ACEOF
24028 #define HAVE_STD__ISTREAM 1
24033 wxUSE_STD_IOSTREAM
=no
24035 echo "$as_me:$LINENO: checking for std::ostream" >&5
24036 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24037 if test "${ac_cv_type_std__ostream+set}" = set; then
24038 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 #include <iostream>
24051 if ((std::ostream *) 0)
24053 if (sizeof (std::ostream))
24059 rm -f conftest.
$ac_objext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24061 (eval $ac_compile) 2>conftest.er1
24063 grep -v '^ *+' conftest.er1
>conftest.err
24065 cat conftest.err
>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24070 (eval $ac_try) 2>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); }; } &&
24074 { ac_try
='test -s conftest.$ac_objext'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24080 ac_cv_type_std__ostream
=yes
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.
$ac_ext >&5
24085 ac_cv_type_std__ostream
=no
24087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24089 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24090 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24091 if test $ac_cv_type_std__ostream = yes; then
24093 cat >>confdefs.h
<<_ACEOF
24094 #define HAVE_STD__OSTREAM 1
24099 wxUSE_STD_IOSTREAM
=no
24103 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24104 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24105 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24106 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24107 { (exit 1); exit 1; }; }
24109 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24110 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24115 if test "$wxUSE_STL" = "yes"; then
24116 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24117 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24118 cat >conftest.
$ac_ext <<_ACEOF
24121 cat confdefs.h
>>conftest.
$ac_ext
24122 cat >>conftest.
$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24125 #include <functional>
24126 #include <algorithm>
24132 std::vector<int> moo;
24133 std::list<int> foo;
24134 std::vector<int>::iterator it =
24135 std::find_if(moo.begin(), moo.end(),
24136 std::bind2nd(std::less<int>(), 3));
24141 rm -f conftest.
$ac_objext
24142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24143 (eval $ac_compile) 2>conftest.er1
24145 grep -v '^ *+' conftest.er1
>conftest.err
24147 cat conftest.err
>&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; } &&
24156 { ac_try
='test -s conftest.$ac_objext'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; }; then
24162 echo "$as_me:$LINENO: result: yes" >&5
24163 echo "${ECHO_T}yes" >&6
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.
$ac_ext >&5
24168 echo "$as_me:$LINENO: result: no" >&5
24169 echo "${ECHO_T}no" >&6
24170 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24171 echo "$as_me: error: Basic STL functionality missing" >&2;}
24172 { (exit 1); exit 1; }; }
24174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24176 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24177 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24178 cat >conftest.
$ac_ext <<_ACEOF
24181 cat confdefs.h
>>conftest.
$ac_ext
24182 cat >>conftest.
$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24188 std::string foo, bar;
24190 foo.compare(1, 1, bar);
24191 foo.compare(1, 1, bar, 1, 1);
24193 foo.compare(1, 1, "");
24194 foo.compare(1, 1, "", 2);
24199 rm -f conftest.
$ac_objext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201 (eval $ac_compile) 2>conftest.er1
24203 grep -v '^ *+' conftest.er1
>conftest.err
24205 cat conftest.err
>&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); } &&
24208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24210 (eval $ac_try) 2>&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); }; } &&
24214 { ac_try
='test -s conftest.$ac_objext'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 echo "$as_me:$LINENO: result: yes" >&5
24221 echo "${ECHO_T}yes" >&6
24222 cat >>confdefs.h
<<\_ACEOF
24223 #define HAVE_STD_STRING_COMPARE 1
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.
$ac_ext >&5
24230 echo "$as_me:$LINENO: result: no" >&5
24231 echo "${ECHO_T}no" >&6
24233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24235 if test "${ac_cv_header_hash_map+set}" = set; then
24236 echo "$as_me:$LINENO: checking for hash_map" >&5
24237 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24238 if test "${ac_cv_header_hash_map+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24242 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24244 # Is the header compilable?
24245 echo "$as_me:$LINENO: checking hash_map usability" >&5
24246 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24247 cat >conftest.
$ac_ext <<_ACEOF
24250 cat confdefs.h
>>conftest.
$ac_ext
24251 cat >>conftest.
$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 #include <hash_map>
24256 rm -f conftest.
$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>conftest.er1
24260 grep -v '^ *+' conftest.er1
>conftest.err
24262 cat conftest.err
>&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } &&
24265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; } &&
24271 { ac_try
='test -s conftest.$ac_objext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 ac_header_compiler
=yes
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.
$ac_ext >&5
24282 ac_header_compiler
=no
24284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24286 echo "${ECHO_T}$ac_header_compiler" >&6
24288 # Is the header present?
24289 echo "$as_me:$LINENO: checking hash_map presence" >&5
24290 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24291 cat >conftest.
$ac_ext <<_ACEOF
24294 cat confdefs.h
>>conftest.
$ac_ext
24295 cat >>conftest.
$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 #include <hash_map>
24299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24302 grep -v '^ *+' conftest.er1
>conftest.err
24304 cat conftest.err
>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } >/dev
/null
; then
24307 if test -s conftest.err
; then
24308 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24309 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24316 if test -z "$ac_cpp_err"; then
24317 ac_header_preproc
=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.
$ac_ext >&5
24322 ac_header_preproc
=no
24324 rm -f conftest.err conftest.
$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24326 echo "${ECHO_T}$ac_header_preproc" >&6
24328 # So? What about this header?
24329 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24331 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24332 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24333 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24334 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24335 ac_header_preproc
=yes
24338 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24339 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24340 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24341 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24342 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24343 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24344 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24345 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24346 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24347 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24348 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24349 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24352 ## ----------------------------------------- ##
24353 ## Report this to wx-dev@lists.wxwidgets.org ##
24354 ## ----------------------------------------- ##
24357 sed "s/^/$as_me: WARNING: /" >&2
24360 echo "$as_me:$LINENO: checking for hash_map" >&5
24361 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24362 if test "${ac_cv_header_hash_map+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 ac_cv_header_hash_map
=$ac_header_preproc
24367 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24368 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24371 if test $ac_cv_header_hash_map = yes; then
24372 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24373 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24374 cat >conftest.
$ac_ext <<_ACEOF
24377 cat confdefs.h
>>conftest.
$ac_ext
24378 cat >>conftest.
$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 #include <hash_map>
24381 #include <hash_set>
24385 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24386 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24391 rm -f conftest.
$ac_objext
24392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24393 (eval $ac_compile) 2>conftest.er1
24395 grep -v '^ *+' conftest.er1
>conftest.err
24397 cat conftest.err
>&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } &&
24400 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; } &&
24406 { ac_try
='test -s conftest.$ac_objext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24412 echo "$as_me:$LINENO: result: yes" >&5
24413 echo "${ECHO_T}yes" >&6
24414 cat >>confdefs.h
<<\_ACEOF
24415 #define HAVE_HASH_MAP 1
24418 cat >>confdefs.h
<<\_ACEOF
24419 #define HAVE_STD_HASH_MAP 1
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.
$ac_ext >&5
24426 echo "$as_me:$LINENO: result: no" >&5
24427 echo "${ECHO_T}no" >&6
24429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24435 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24436 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24437 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24438 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24442 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24444 # Is the header compilable?
24445 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24446 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24447 cat >conftest.
$ac_ext <<_ACEOF
24450 cat confdefs.h
>>conftest.
$ac_ext
24451 cat >>conftest.
$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 #include <ext/hash_map>
24456 rm -f conftest.
$ac_objext
24457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24458 (eval $ac_compile) 2>conftest.er1
24460 grep -v '^ *+' conftest.er1
>conftest.err
24462 cat conftest.err
>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); } &&
24465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; } &&
24471 { ac_try
='test -s conftest.$ac_objext'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; }; then
24477 ac_header_compiler
=yes
24479 echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.
$ac_ext >&5
24482 ac_header_compiler
=no
24484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24486 echo "${ECHO_T}$ac_header_compiler" >&6
24488 # Is the header present?
24489 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24490 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24491 cat >conftest.
$ac_ext <<_ACEOF
24494 cat confdefs.h
>>conftest.
$ac_ext
24495 cat >>conftest.
$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497 #include <ext/hash_map>
24499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24502 grep -v '^ *+' conftest.er1
>conftest.err
24504 cat conftest.err
>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } >/dev
/null
; then
24507 if test -s conftest.err
; then
24508 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24509 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24516 if test -z "$ac_cpp_err"; then
24517 ac_header_preproc
=yes
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.
$ac_ext >&5
24522 ac_header_preproc
=no
24524 rm -f conftest.err conftest.
$ac_ext
24525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24526 echo "${ECHO_T}$ac_header_preproc" >&6
24528 # So? What about this header?
24529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24531 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24532 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24534 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24535 ac_header_preproc
=yes
24538 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24539 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24540 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24541 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24542 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24543 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24544 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24545 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24546 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24547 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24548 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24549 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24552 ## ----------------------------------------- ##
24553 ## Report this to wx-dev@lists.wxwidgets.org ##
24554 ## ----------------------------------------- ##
24557 sed "s/^/$as_me: WARNING: /" >&2
24560 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24561 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24562 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24563 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 ac_cv_header_ext_hash_map
=$ac_header_preproc
24567 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24568 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24571 if test $ac_cv_header_ext_hash_map = yes; then
24572 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24573 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24574 cat >conftest.
$ac_ext <<_ACEOF
24577 cat confdefs.h
>>conftest.
$ac_ext
24578 cat >>conftest.
$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 #include <ext/hash_map>
24581 #include <ext/hash_set>
24585 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24586 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24591 rm -f conftest.
$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>conftest.er1
24595 grep -v '^ *+' conftest.er1
>conftest.err
24597 cat conftest.err
>&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; } &&
24606 { ac_try
='test -s conftest.$ac_objext'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24612 echo "$as_me:$LINENO: result: yes" >&5
24613 echo "${ECHO_T}yes" >&6
24614 cat >>confdefs.h
<<\_ACEOF
24615 #define HAVE_EXT_HASH_MAP 1
24618 cat >>confdefs.h
<<\_ACEOF
24619 #define HAVE_GNU_CXX_HASH_MAP 1
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.
$ac_ext >&5
24626 echo "$as_me:$LINENO: result: no" >&5
24627 echo "${ECHO_T}no" >&6
24629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24638 /usr/local/include \
24640 /usr/Motif-2.1/include \
24641 /usr/Motif-1.2/include \
24642 /usr/include/Motif1.2 \
24645 /usr/openwin/include \
24649 /usr/X11R6/include \
24650 /usr/X11R6.4/include \
24651 /usr/X11R5/include \
24652 /usr/X11R4/include \
24654 /usr/include/X11R6 \
24655 /usr/include/X11R5 \
24656 /usr/include/X11R4 \
24658 /usr/local/X11R6/include \
24659 /usr/local/X11R5/include \
24660 /usr/local/X11R4/include \
24662 /usr/local/include/X11R6 \
24663 /usr/local/include/X11R5 \
24664 /usr/local/include/X11R4 \
24668 /usr/local/X11/include \
24669 /usr/local/include/X11 \
24671 /usr/XFree86/include/X11 \
24674 /usr/openwin/share/include"
24676 echo "$as_me:$LINENO: checking for libraries directory" >&5
24677 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24681 if test "${wx_cv_std_libpath+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24685 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24686 for e
in a so sl dylib dll.a
; do
24688 if test -f $libc; then
24691 cat >conftest.
$ac_ext <<_ACEOF
24692 int main() { return 0; }
24694 rm -f conftest.
$ac_objext conftest
$ac_exeext
24695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24696 (eval $ac_link) 2>conftest.er1
24698 grep -v '^ *+' conftest.er1
>conftest.err
24700 cat conftest.err
>&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } &&
24703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705 (eval $ac_try) 2>&5
24707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708 (exit $ac_status); }; } &&
24709 { ac_try
='test -s conftest$ac_exeext'
24710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711 (eval $ac_try) 2>&5
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); }; }; then
24715 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24717 echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.
$ac_ext >&5
24721 rm -f conftest.err conftest.
$ac_objext \
24722 conftest
$ac_exeext conftest.
$ac_ext
24724 if test "x$wx_cv_std_libpath" != "x"; then
24730 if test "x$wx_cv_std_libpath" = "x"; then
24731 wx_cv_std_libpath
="lib"
24740 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24741 wx_cv_std_libpath
="lib/64"
24743 wx_cv_std_libpath
="lib"
24748 if test "$ac_cv_sizeof_void_p" = 8 -a \
24749 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24750 wx_cv_std_libpath
="lib64"
24752 wx_cv_std_libpath
="lib"
24757 wx_cv_std_libpath
="lib";
24761 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24762 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24764 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24766 if test "$build" != "$host" -a "$GCC" = yes; then
24767 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24768 cross_root
=`dirname $cross_root`
24769 cross_root
=`dirname $cross_root`
24771 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24772 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24773 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24775 if test -z "$PKG_CONFIG_PATH"; then
24776 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24777 export PKG_CONFIG_PATH
24780 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24783 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24785 if test -f "$ac_dir/X11/Intrinsic.h"; then
24786 ac_find_includes
=$ac_dir
24791 x_includes
=$ac_find_includes
24793 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24796 for ac_dir
in $SEARCH_LIB;
24798 for ac_extension
in a so sl dylib dll.a
; do
24799 if test -f "$ac_dir/libXt.$ac_extension"; then
24800 ac_find_libraries
=$ac_dir
24806 x_libraries
=$ac_find_libraries
24812 cat >confcache
<<\_ACEOF
24813 # This file is a shell script that caches the results of configure
24814 # tests run on this system so they can be shared between configure
24815 # scripts and configure runs, see configure's option --config-cache.
24816 # It is not useful on other systems. If it contains results you don't
24817 # want to keep, you may remove or edit it.
24819 # config.status only pays attention to the cache file if you give it
24820 # the --recheck option to rerun configure.
24822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24824 # following values.
24828 # The following way of writing the cache mishandles newlines in values,
24829 # but we know of no workaround that is simple, portable, and efficient.
24830 # So, don't put newlines in cache variables' values.
24831 # Ultrix sh set writes to stderr and can't be redirected directly,
24832 # and sets the high bit in the cache file unless we assign to the vars.
24835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24837 # `set' does not quote correctly, so add quotes (double-quote
24838 # substitution turns \\\\ into \\, and sed turns \\ into \).
24841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24844 # `set' quotes correctly as required by POSIX, so do not add quotes.
24846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24857 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24858 if test -w $cache_file; then
24859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24860 cat confcache
>$cache_file
24862 echo "not updating unwritable cache $cache_file"
24867 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24868 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24869 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24870 if test "${wx_cv_lib_glibc21+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.
$ac_ext <<_ACEOF
24877 cat confdefs.h
>>conftest.
$ac_ext
24878 cat >>conftest.
$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 #include <features.h>
24885 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24915 wx_cv_lib_glibc21
=yes
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.
$ac_ext >&5
24922 wx_cv_lib_glibc21
=no
24926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24929 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24930 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24931 if test "$wx_cv_lib_glibc21" = "yes"; then
24932 cat >>confdefs.h
<<\_ACEOF
24933 #define wxHAVE_GLIBC2 1
24939 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24940 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24941 cat >>confdefs.h
<<\_ACEOF
24942 #define _GNU_SOURCE 1
24953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24954 echo "$as_me:$LINENO: checking for $ac_func" >&5
24955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24956 if eval "test \"\${$as_ac_var+set}\" = set"; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24959 cat >conftest.
$ac_ext <<_ACEOF
24962 cat confdefs.h
>>conftest.
$ac_ext
24963 cat >>conftest.
$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24967 #define $ac_func innocuous_$ac_func
24969 /* System header to define __stub macros and hopefully few prototypes,
24970 which can conflict with char $ac_func (); below.
24971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24972 <limits.h> exists even on freestanding compilers. */
24975 # include <limits.h>
24977 # include <assert.h>
24982 /* Override any gcc2 internal prototype to avoid an error. */
24987 /* We use char because int might match the return type of a gcc2
24988 builtin and then its argument prototype would still apply. */
24990 /* The GNU C library defines this for functions which it implements
24991 to always fail with ENOSYS. Some functions are actually named
24992 something starting with __ and the normal name is an alias. */
24993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24996 char (*f) () = $ac_func;
25005 return f != $ac_func;
25010 rm -f conftest.
$ac_objext conftest
$ac_exeext
25011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25012 (eval $ac_link) 2>conftest.er1
25014 grep -v '^ *+' conftest.er1
>conftest.err
25016 cat conftest.err
>&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 eval "$as_ac_var=yes"
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.
$ac_ext >&5
25036 eval "$as_ac_var=no"
25038 rm -f conftest.err conftest.
$ac_objext \
25039 conftest
$ac_exeext conftest.
$ac_ext
25041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25043 if test `eval echo '${'$as_ac_var'}'` = yes; then
25044 cat >>confdefs.h
<<_ACEOF
25045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25052 for ac_func
in floor
25054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25055 echo "$as_me:$LINENO: checking for $ac_func" >&5
25056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25057 if eval "test \"\${$as_ac_var+set}\" = set"; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 cat >conftest.
$ac_ext <<_ACEOF
25063 cat confdefs.h
>>conftest.
$ac_ext
25064 cat >>conftest.
$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25068 #define $ac_func innocuous_$ac_func
25070 /* System header to define __stub macros and hopefully few prototypes,
25071 which can conflict with char $ac_func (); below.
25072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25073 <limits.h> exists even on freestanding compilers. */
25076 # include <limits.h>
25078 # include <assert.h>
25083 /* Override any gcc2 internal prototype to avoid an error. */
25088 /* We use char because int might match the return type of a gcc2
25089 builtin and then its argument prototype would still apply. */
25091 /* The GNU C library defines this for functions which it implements
25092 to always fail with ENOSYS. Some functions are actually named
25093 something starting with __ and the normal name is an alias. */
25094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25097 char (*f) () = $ac_func;
25106 return f != $ac_func;
25111 rm -f conftest.
$ac_objext conftest
$ac_exeext
25112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25113 (eval $ac_link) 2>conftest.er1
25115 grep -v '^ *+' conftest.er1
>conftest.err
25117 cat conftest.err
>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } &&
25120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; } &&
25126 { ac_try
='test -s conftest$ac_exeext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 eval "$as_ac_var=yes"
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.
$ac_ext >&5
25137 eval "$as_ac_var=no"
25139 rm -f conftest.err conftest.
$ac_objext \
25140 conftest
$ac_exeext conftest.
$ac_ext
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145 cat >>confdefs.h
<<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25152 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25153 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25154 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25155 echo "$as_me:$LINENO: result: yes" >&5
25156 echo "${ECHO_T}yes" >&6
25158 echo "$as_me:$LINENO: result: no" >&5
25159 echo "${ECHO_T}no" >&6
25161 # use different functions to avoid configure caching
25167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25168 echo "$as_me:$LINENO: checking for $ac_func" >&5
25169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25170 if eval "test \"\${$as_ac_var+set}\" = set"; then
25171 echo $ECHO_N "(cached) $ECHO_C" >&6
25173 cat >conftest.
$ac_ext <<_ACEOF
25176 cat confdefs.h
>>conftest.
$ac_ext
25177 cat >>conftest.
$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25181 #define $ac_func innocuous_$ac_func
25183 /* System header to define __stub macros and hopefully few prototypes,
25184 which can conflict with char $ac_func (); below.
25185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186 <limits.h> exists even on freestanding compilers. */
25189 # include <limits.h>
25191 # include <assert.h>
25196 /* Override any gcc2 internal prototype to avoid an error. */
25201 /* We use char because int might match the return type of a gcc2
25202 builtin and then its argument prototype would still apply. */
25204 /* The GNU C library defines this for functions which it implements
25205 to always fail with ENOSYS. Some functions are actually named
25206 something starting with __ and the normal name is an alias. */
25207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25210 char (*f) () = $ac_func;
25219 return f != $ac_func;
25224 rm -f conftest.
$ac_objext conftest
$ac_exeext
25225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25226 (eval $ac_link) 2>conftest.er1
25228 grep -v '^ *+' conftest.er1
>conftest.err
25230 cat conftest.err
>&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } &&
25233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; } &&
25239 { ac_try
='test -s conftest$ac_exeext'
25240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241 (eval $ac_try) 2>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); }; }; then
25245 eval "$as_ac_var=yes"
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.
$ac_ext >&5
25250 eval "$as_ac_var=no"
25252 rm -f conftest.err conftest.
$ac_objext \
25253 conftest
$ac_exeext conftest.
$ac_ext
25255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25257 if test `eval echo '${'$as_ac_var'}'` = yes; then
25258 cat >>confdefs.h
<<_ACEOF
25259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25266 for ac_func
in ceil
25268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25269 echo "$as_me:$LINENO: checking for $ac_func" >&5
25270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25271 if eval "test \"\${$as_ac_var+set}\" = set"; then
25272 echo $ECHO_N "(cached) $ECHO_C" >&6
25274 cat >conftest.
$ac_ext <<_ACEOF
25277 cat confdefs.h
>>conftest.
$ac_ext
25278 cat >>conftest.
$ac_ext <<_ACEOF
25279 /* end confdefs.h. */
25280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25282 #define $ac_func innocuous_$ac_func
25284 /* System header to define __stub macros and hopefully few prototypes,
25285 which can conflict with char $ac_func (); below.
25286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25287 <limits.h> exists even on freestanding compilers. */
25290 # include <limits.h>
25292 # include <assert.h>
25297 /* Override any gcc2 internal prototype to avoid an error. */
25302 /* We use char because int might match the return type of a gcc2
25303 builtin and then its argument prototype would still apply. */
25305 /* The GNU C library defines this for functions which it implements
25306 to always fail with ENOSYS. Some functions are actually named
25307 something starting with __ and the normal name is an alias. */
25308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25311 char (*f) () = $ac_func;
25320 return f != $ac_func;
25325 rm -f conftest.
$ac_objext conftest
$ac_exeext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25327 (eval $ac_link) 2>conftest.er1
25329 grep -v '^ *+' conftest.er1
>conftest.err
25331 cat conftest.err
>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } &&
25334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try
='test -s conftest$ac_exeext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 eval "$as_ac_var=yes"
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.
$ac_ext >&5
25351 eval "$as_ac_var=no"
25353 rm -f conftest.err conftest.
$ac_objext \
25354 conftest
$ac_exeext conftest.
$ac_ext
25356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25358 if test `eval echo '${'$as_ac_var'}'` = yes; then
25359 cat >>confdefs.h
<<_ACEOF
25360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25366 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25367 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25368 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25369 echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6
25372 echo "$as_me:$LINENO: result: no" >&5
25373 echo "${ECHO_T}no" >&6
25374 # not sure we should warn the user, crash, etc.
25378 if test "wxUSE_UNICODE" = "yes"; then
25380 for ac_func
in wcstoull
25382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25383 echo "$as_me:$LINENO: checking for $ac_func" >&5
25384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25385 if eval "test \"\${$as_ac_var+set}\" = set"; then
25386 echo $ECHO_N "(cached) $ECHO_C" >&6
25388 cat >conftest.
$ac_ext <<_ACEOF
25391 cat confdefs.h
>>conftest.
$ac_ext
25392 cat >>conftest.
$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25396 #define $ac_func innocuous_$ac_func
25398 /* System header to define __stub macros and hopefully few prototypes,
25399 which can conflict with char $ac_func (); below.
25400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25401 <limits.h> exists even on freestanding compilers. */
25404 # include <limits.h>
25406 # include <assert.h>
25411 /* Override any gcc2 internal prototype to avoid an error. */
25416 /* We use char because int might match the return type of a gcc2
25417 builtin and then its argument prototype would still apply. */
25419 /* The GNU C library defines this for functions which it implements
25420 to always fail with ENOSYS. Some functions are actually named
25421 something starting with __ and the normal name is an alias. */
25422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25425 char (*f) () = $ac_func;
25434 return f != $ac_func;
25439 rm -f conftest.
$ac_objext conftest
$ac_exeext
25440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25441 (eval $ac_link) 2>conftest.er1
25443 grep -v '^ *+' conftest.er1
>conftest.err
25445 cat conftest.err
>&5
25446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25447 (exit $ac_status); } &&
25448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25450 (eval $ac_try) 2>&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); }; } &&
25454 { ac_try
='test -s conftest$ac_exeext'
25455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25456 (eval $ac_try) 2>&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); }; }; then
25460 eval "$as_ac_var=yes"
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.
$ac_ext >&5
25465 eval "$as_ac_var=no"
25467 rm -f conftest.err conftest.
$ac_objext \
25468 conftest
$ac_exeext conftest.
$ac_ext
25470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25472 if test `eval echo '${'$as_ac_var'}'` = yes; then
25473 cat >>confdefs.h
<<_ACEOF
25474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25482 for ac_func
in strtoull
25484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25485 echo "$as_me:$LINENO: checking for $ac_func" >&5
25486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25487 if eval "test \"\${$as_ac_var+set}\" = set"; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 cat >conftest.
$ac_ext <<_ACEOF
25493 cat confdefs.h
>>conftest.
$ac_ext
25494 cat >>conftest.
$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25498 #define $ac_func innocuous_$ac_func
25500 /* System header to define __stub macros and hopefully few prototypes,
25501 which can conflict with char $ac_func (); below.
25502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25503 <limits.h> exists even on freestanding compilers. */
25506 # include <limits.h>
25508 # include <assert.h>
25513 /* Override any gcc2 internal prototype to avoid an error. */
25518 /* We use char because int might match the return type of a gcc2
25519 builtin and then its argument prototype would still apply. */
25521 /* The GNU C library defines this for functions which it implements
25522 to always fail with ENOSYS. Some functions are actually named
25523 something starting with __ and the normal name is an alias. */
25524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25527 char (*f) () = $ac_func;
25536 return f != $ac_func;
25541 rm -f conftest.
$ac_objext conftest
$ac_exeext
25542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25543 (eval $ac_link) 2>conftest.er1
25545 grep -v '^ *+' conftest.er1
>conftest.err
25547 cat conftest.err
>&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } &&
25550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; } &&
25556 { ac_try
='test -s conftest$ac_exeext'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; }; then
25562 eval "$as_ac_var=yes"
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.
$ac_ext >&5
25567 eval "$as_ac_var=no"
25569 rm -f conftest.err conftest.
$ac_objext \
25570 conftest
$ac_exeext conftest.
$ac_ext
25572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25574 if test `eval echo '${'$as_ac_var'}'` = yes; then
25575 cat >>confdefs.h
<<_ACEOF
25576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25586 if test "$wxUSE_REGEX" != "no"; then
25587 cat >>confdefs.h
<<\_ACEOF
25588 #define wxUSE_REGEX 1
25592 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25593 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25594 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25595 wxUSE_REGEX
=builtin
25598 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25599 if test "${ac_cv_header_regex_h+set}" = set; then
25600 echo "$as_me:$LINENO: checking for regex.h" >&5
25601 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25602 if test "${ac_cv_header_regex_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25606 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25608 # Is the header compilable?
25609 echo "$as_me:$LINENO: checking regex.h usability" >&5
25610 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25611 cat >conftest.
$ac_ext <<_ACEOF
25614 cat confdefs.h
>>conftest.
$ac_ext
25615 cat >>conftest.
$ac_ext <<_ACEOF
25616 /* end confdefs.h. */
25617 $ac_includes_default
25620 rm -f conftest.
$ac_objext
25621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25622 (eval $ac_compile) 2>conftest.er1
25624 grep -v '^ *+' conftest.er1
>conftest.err
25626 cat conftest.err
>&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); } &&
25629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; } &&
25635 { ac_try
='test -s conftest.$ac_objext'
25636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637 (eval $ac_try) 2>&5
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); }; }; then
25641 ac_header_compiler
=yes
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.
$ac_ext >&5
25646 ac_header_compiler
=no
25648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25650 echo "${ECHO_T}$ac_header_compiler" >&6
25652 # Is the header present?
25653 echo "$as_me:$LINENO: checking regex.h presence" >&5
25654 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25655 cat >conftest.
$ac_ext <<_ACEOF
25658 cat confdefs.h
>>conftest.
$ac_ext
25659 cat >>conftest.
$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25666 grep -v '^ *+' conftest.er1
>conftest.err
25668 cat conftest.err
>&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); } >/dev
/null
; then
25671 if test -s conftest.err
; then
25672 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25673 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25680 if test -z "$ac_cpp_err"; then
25681 ac_header_preproc
=yes
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.
$ac_ext >&5
25686 ac_header_preproc
=no
25688 rm -f conftest.err conftest.
$ac_ext
25689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25690 echo "${ECHO_T}$ac_header_preproc" >&6
25692 # So? What about this header?
25693 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25695 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25696 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25697 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25698 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25699 ac_header_preproc
=yes
25702 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25703 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25704 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25705 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25706 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25707 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25709 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25711 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25712 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25713 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25716 ## ----------------------------------------- ##
25717 ## Report this to wx-dev@lists.wxwidgets.org ##
25718 ## ----------------------------------------- ##
25721 sed "s/^/$as_me: WARNING: /" >&2
25724 echo "$as_me:$LINENO: checking for regex.h" >&5
25725 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25726 if test "${ac_cv_header_regex_h+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 ac_cv_header_regex_h
=$ac_header_preproc
25731 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25732 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25735 if test $ac_cv_header_regex_h = yes; then
25738 for ac_func
in regcomp re_search
25740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25741 echo "$as_me:$LINENO: checking for $ac_func" >&5
25742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25743 if eval "test \"\${$as_ac_var+set}\" = set"; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 cat >conftest.
$ac_ext <<_ACEOF
25749 cat confdefs.h
>>conftest.
$ac_ext
25750 cat >>conftest.
$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25754 #define $ac_func innocuous_$ac_func
25756 /* System header to define __stub macros and hopefully few prototypes,
25757 which can conflict with char $ac_func (); below.
25758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25759 <limits.h> exists even on freestanding compilers. */
25762 # include <limits.h>
25764 # include <assert.h>
25769 /* Override any gcc2 internal prototype to avoid an error. */
25774 /* We use char because int might match the return type of a gcc2
25775 builtin and then its argument prototype would still apply. */
25777 /* The GNU C library defines this for functions which it implements
25778 to always fail with ENOSYS. Some functions are actually named
25779 something starting with __ and the normal name is an alias. */
25780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25783 char (*f) () = $ac_func;
25792 return f != $ac_func;
25797 rm -f conftest.
$ac_objext conftest
$ac_exeext
25798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25799 (eval $ac_link) 2>conftest.er1
25801 grep -v '^ *+' conftest.er1
>conftest.err
25803 cat conftest.err
>&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } &&
25806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; } &&
25812 { ac_try
='test -s conftest$ac_exeext'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; }; then
25818 eval "$as_ac_var=yes"
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.
$ac_ext >&5
25823 eval "$as_ac_var=no"
25825 rm -f conftest.err conftest.
$ac_objext \
25826 conftest
$ac_exeext conftest.
$ac_ext
25828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h
<<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25842 if test "x$ac_cv_func_regcomp" != "xyes"; then
25843 if test "$wxUSE_REGEX" = "sys" ; then
25844 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25845 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25846 { (exit 1); exit 1; }; }
25848 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25849 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25850 wxUSE_REGEX
=builtin
25854 cat >>confdefs.h
<<\_ACEOF
25855 #define WX_NO_REGEX_ADVANCED 1
25864 if test "$wxUSE_ZLIB" != "no" ; then
25865 cat >>confdefs.h
<<\_ACEOF
25866 #define wxUSE_ZLIB 1
25870 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25871 if test "$USE_DARWIN" = 1; then
25872 system_zlib_h_ok
="yes"
25874 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25875 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25876 if test "${ac_cv_header_zlib_h+set}" = set; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 if test "$cross_compiling" = yes; then
25880 unset ac_cv_header_zlib_h
25883 cat >conftest.
$ac_ext <<_ACEOF
25886 cat confdefs.h
>>conftest.
$ac_ext
25887 cat >>conftest.
$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25895 FILE *f=fopen("conftestval", "w");
25898 ZLIB_VERSION[0] == '1' &&
25899 (ZLIB_VERSION[2] > '1' ||
25900 (ZLIB_VERSION[2] == '1' &&
25901 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25906 rm -f conftest
$ac_exeext
25907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25908 (eval $ac_link) 2>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; }; then
25917 ac_cv_header_zlib_h
=`cat conftestval`
25919 echo "$as_me: program exited with status $ac_status" >&5
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.
$ac_ext >&5
25923 ( exit $ac_status )
25924 ac_cv_header_zlib_h
=no
25926 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25930 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25931 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25932 if test "${ac_cv_header_zlib_h+set}" = set; then
25933 echo "$as_me:$LINENO: checking for zlib.h" >&5
25934 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25935 if test "${ac_cv_header_zlib_h+set}" = set; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25939 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25941 # Is the header compilable?
25942 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25943 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25944 cat >conftest.
$ac_ext <<_ACEOF
25947 cat confdefs.h
>>conftest.
$ac_ext
25948 cat >>conftest.
$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25950 $ac_includes_default
25953 rm -f conftest.
$ac_objext
25954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25955 (eval $ac_compile) 2>conftest.er1
25957 grep -v '^ *+' conftest.er1
>conftest.err
25959 cat conftest.err
>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; } &&
25968 { ac_try
='test -s conftest.$ac_objext'
25969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970 (eval $ac_try) 2>&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); }; }; then
25974 ac_header_compiler
=yes
25976 echo "$as_me: failed program was:" >&5
25977 sed 's/^/| /' conftest.
$ac_ext >&5
25979 ac_header_compiler
=no
25981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25983 echo "${ECHO_T}$ac_header_compiler" >&6
25985 # Is the header present?
25986 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25987 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25988 cat >conftest.
$ac_ext <<_ACEOF
25991 cat confdefs.h
>>conftest.
$ac_ext
25992 cat >>conftest.
$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25999 grep -v '^ *+' conftest.er1
>conftest.err
26001 cat conftest.err
>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } >/dev
/null
; then
26004 if test -s conftest.err
; then
26005 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26006 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26013 if test -z "$ac_cpp_err"; then
26014 ac_header_preproc
=yes
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.
$ac_ext >&5
26019 ac_header_preproc
=no
26021 rm -f conftest.err conftest.
$ac_ext
26022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26023 echo "${ECHO_T}$ac_header_preproc" >&6
26025 # So? What about this header?
26026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26028 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26029 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26030 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26031 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26032 ac_header_preproc
=yes
26035 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26036 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26038 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26040 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26042 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26044 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26045 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26046 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26049 ## ----------------------------------------- ##
26050 ## Report this to wx-dev@lists.wxwidgets.org ##
26051 ## ----------------------------------------- ##
26054 sed "s/^/$as_me: WARNING: /" >&2
26057 echo "$as_me:$LINENO: checking for zlib.h" >&5
26058 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26059 if test "${ac_cv_header_zlib_h+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 ac_cv_header_zlib_h
=$ac_header_preproc
26064 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26065 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26071 system_zlib_h_ok
=$ac_cv_header_zlib_h
26074 if test "$system_zlib_h_ok" = "yes"; then
26075 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26076 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26077 if test "${ac_cv_lib_z_deflate+set}" = set; then
26078 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 ac_check_lib_save_LIBS
=$LIBS
26082 cat >conftest.
$ac_ext <<_ACEOF
26085 cat confdefs.h
>>conftest.
$ac_ext
26086 cat >>conftest.
$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26089 /* Override any gcc2 internal prototype to avoid an error. */
26093 /* We use char because int might match the return type of a gcc2
26094 builtin and then its argument prototype would still apply. */
26104 rm -f conftest.
$ac_objext conftest
$ac_exeext
26105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26106 (eval $ac_link) 2>conftest.er1
26108 grep -v '^ *+' conftest.er1
>conftest.err
26110 cat conftest.err
>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } &&
26113 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; } &&
26119 { ac_try
='test -s conftest$ac_exeext'
26120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121 (eval $ac_try) 2>&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); }; }; then
26125 ac_cv_lib_z_deflate
=yes
26127 echo "$as_me: failed program was:" >&5
26128 sed 's/^/| /' conftest.
$ac_ext >&5
26130 ac_cv_lib_z_deflate
=no
26132 rm -f conftest.err conftest.
$ac_objext \
26133 conftest
$ac_exeext conftest.
$ac_ext
26134 LIBS
=$ac_check_lib_save_LIBS
26136 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26137 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26138 if test $ac_cv_lib_z_deflate = yes; then
26144 if test "x$ZLIB_LINK" = "x" ; then
26145 if test "$wxUSE_ZLIB" = "sys" ; then
26146 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26147 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26148 { (exit 1); exit 1; }; }
26150 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26151 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26162 if test "$wxUSE_LIBPNG" != "no" ; then
26163 cat >>confdefs.h
<<\_ACEOF
26164 #define wxUSE_LIBPNG 1
26168 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26169 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26170 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26174 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26175 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26176 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26177 wxUSE_LIBPNG
=builtin
26180 if test "$wxUSE_MGL" != 1 ; then
26181 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26182 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26183 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26184 if test "${ac_cv_header_png_h+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 if test "$cross_compiling" = yes; then
26188 unset ac_cv_header_png_h
26191 cat >conftest.
$ac_ext <<_ACEOF
26194 cat confdefs.h
>>conftest.
$ac_ext
26195 cat >>conftest.
$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26203 FILE *f=fopen("conftestval", "w");
26206 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26211 rm -f conftest
$ac_exeext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26213 (eval $ac_link) 2>&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26218 (eval $ac_try) 2>&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); }; }; then
26222 ac_cv_header_png_h
=`cat conftestval`
26224 echo "$as_me: program exited with status $ac_status" >&5
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.
$ac_ext >&5
26228 ( exit $ac_status )
26229 ac_cv_header_png_h
=no
26231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26235 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26236 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26237 if test "${ac_cv_header_png_h+set}" = set; then
26238 echo "$as_me:$LINENO: checking for png.h" >&5
26239 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26240 if test "${ac_cv_header_png_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26244 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26246 # Is the header compilable?
26247 echo "$as_me:$LINENO: checking png.h usability" >&5
26248 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26249 cat >conftest.
$ac_ext <<_ACEOF
26252 cat confdefs.h
>>conftest.
$ac_ext
26253 cat >>conftest.
$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 $ac_includes_default
26258 rm -f conftest.
$ac_objext
26259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26260 (eval $ac_compile) 2>conftest.er1
26262 grep -v '^ *+' conftest.er1
>conftest.err
26264 cat conftest.err
>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try
='test -s conftest.$ac_objext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_header_compiler
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_header_compiler
=no
26286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26288 echo "${ECHO_T}$ac_header_compiler" >&6
26290 # Is the header present?
26291 echo "$as_me:$LINENO: checking png.h presence" >&5
26292 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26293 cat >conftest.
$ac_ext <<_ACEOF
26296 cat confdefs.h
>>conftest.
$ac_ext
26297 cat >>conftest.
$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26304 grep -v '^ *+' conftest.er1
>conftest.err
26306 cat conftest.err
>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); } >/dev
/null
; then
26309 if test -s conftest.err
; then
26310 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26311 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26318 if test -z "$ac_cpp_err"; then
26319 ac_header_preproc
=yes
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.
$ac_ext >&5
26324 ac_header_preproc
=no
26326 rm -f conftest.err conftest.
$ac_ext
26327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26328 echo "${ECHO_T}$ac_header_preproc" >&6
26330 # So? What about this header?
26331 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26333 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26334 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26335 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26336 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26337 ac_header_preproc
=yes
26340 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26341 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26342 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26343 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26345 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26347 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26349 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26350 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26351 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26354 ## ----------------------------------------- ##
26355 ## Report this to wx-dev@lists.wxwidgets.org ##
26356 ## ----------------------------------------- ##
26359 sed "s/^/$as_me: WARNING: /" >&2
26362 echo "$as_me:$LINENO: checking for png.h" >&5
26363 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26364 if test "${ac_cv_header_png_h+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26367 ac_cv_header_png_h
=$ac_header_preproc
26369 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26370 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26376 if test "$ac_cv_header_png_h" = "yes"; then
26377 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26378 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26379 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 ac_check_lib_save_LIBS
=$LIBS
26383 LIBS
="-lpng -lz -lm $LIBS"
26384 cat >conftest.
$ac_ext <<_ACEOF
26387 cat confdefs.h
>>conftest.
$ac_ext
26388 cat >>conftest.
$ac_ext <<_ACEOF
26389 /* end confdefs.h. */
26391 /* Override any gcc2 internal prototype to avoid an error. */
26395 /* We use char because int might match the return type of a gcc2
26396 builtin and then its argument prototype would still apply. */
26397 char png_check_sig ();
26406 rm -f conftest.
$ac_objext conftest
$ac_exeext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26408 (eval $ac_link) 2>conftest.er1
26410 grep -v '^ *+' conftest.er1
>conftest.err
26412 cat conftest.err
>&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try
='test -s conftest$ac_exeext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 ac_cv_lib_png_png_check_sig
=yes
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.
$ac_ext >&5
26432 ac_cv_lib_png_png_check_sig
=no
26434 rm -f conftest.err conftest.
$ac_objext \
26435 conftest
$ac_exeext conftest.
$ac_ext
26436 LIBS
=$ac_check_lib_save_LIBS
26438 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26439 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26440 if test $ac_cv_lib_png_png_check_sig = yes; then
26441 PNG_LINK
=" -lpng -lz"
26446 if test "x$PNG_LINK" = "x" ; then
26447 if test "$wxUSE_LIBPNG" = "sys" ; then
26448 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26449 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26450 { (exit 1); exit 1; }; }
26452 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26453 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26454 wxUSE_LIBPNG
=builtin
26462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26467 if test "$wxUSE_LIBJPEG" != "no" ; then
26468 cat >>confdefs.h
<<\_ACEOF
26469 #define wxUSE_LIBJPEG 1
26473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26475 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26479 if test "$wxUSE_MGL" != 1 ; then
26480 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26481 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26482 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26483 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 cat >conftest.
$ac_ext <<_ACEOF
26489 cat confdefs.h
>>conftest.
$ac_ext
26490 cat >>conftest.
$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26493 #undef HAVE_STDLIB_H
26495 #include <jpeglib.h>
26506 rm -f conftest.
$ac_objext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26508 (eval $ac_compile) 2>conftest.er1
26510 grep -v '^ *+' conftest.er1
>conftest.err
26512 cat conftest.err
>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try
='test -s conftest.$ac_objext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_header_jpeglib_h
=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.
$ac_ext >&5
26532 ac_cv_header_jpeglib_h
=no
26535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26539 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26540 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26542 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26543 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26544 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26545 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 ac_check_lib_save_LIBS
=$LIBS
26549 LIBS
="-ljpeg $LIBS"
26550 cat >conftest.
$ac_ext <<_ACEOF
26553 cat confdefs.h
>>conftest.
$ac_ext
26554 cat >>conftest.
$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26557 /* Override any gcc2 internal prototype to avoid an error. */
26561 /* We use char because int might match the return type of a gcc2
26562 builtin and then its argument prototype would still apply. */
26563 char jpeg_read_header ();
26567 jpeg_read_header ();
26572 rm -f conftest.
$ac_objext conftest
$ac_exeext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26574 (eval $ac_link) 2>conftest.er1
26576 grep -v '^ *+' conftest.er1
>conftest.err
26578 cat conftest.err
>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; } &&
26587 { ac_try
='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26593 ac_cv_lib_jpeg_jpeg_read_header
=yes
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.
$ac_ext >&5
26598 ac_cv_lib_jpeg_jpeg_read_header
=no
26600 rm -f conftest.err conftest.
$ac_objext \
26601 conftest
$ac_exeext conftest.
$ac_ext
26602 LIBS
=$ac_check_lib_save_LIBS
26604 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26605 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26606 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26607 JPEG_LINK
=" -ljpeg"
26612 if test "x$JPEG_LINK" = "x" ; then
26613 if test "$wxUSE_LIBJPEG" = "sys" ; then
26614 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26615 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26616 { (exit 1); exit 1; }; }
26618 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26619 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26620 wxUSE_LIBJPEG
=builtin
26631 TIFF_PREREQ_LINKS
=-lm
26632 if test "$wxUSE_LIBTIFF" != "no" ; then
26633 cat >>confdefs.h
<<\_ACEOF
26634 #define wxUSE_LIBTIFF 1
26638 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26639 if test "$wxUSE_LIBJPEG" = "sys"; then
26640 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26642 if test "$wxUSE_ZLIB" = "sys"; then
26643 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26645 if test "${ac_cv_header_tiffio_h+set}" = set; then
26646 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26647 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26648 if test "${ac_cv_header_tiffio_h+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26652 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26654 # Is the header compilable?
26655 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26656 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26657 cat >conftest.
$ac_ext <<_ACEOF
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663 $ac_includes_default
26664 #include <tiffio.h>
26666 rm -f conftest.
$ac_objext
26667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26668 (eval $ac_compile) 2>conftest.er1
26670 grep -v '^ *+' conftest.er1
>conftest.err
26672 cat conftest.err
>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); } &&
26675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; } &&
26681 { ac_try
='test -s conftest.$ac_objext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 ac_header_compiler
=yes
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.
$ac_ext >&5
26692 ac_header_compiler
=no
26694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26696 echo "${ECHO_T}$ac_header_compiler" >&6
26698 # Is the header present?
26699 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26700 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26701 cat >conftest.
$ac_ext <<_ACEOF
26704 cat confdefs.h
>>conftest.
$ac_ext
26705 cat >>conftest.
$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 #include <tiffio.h>
26709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26712 grep -v '^ *+' conftest.er1
>conftest.err
26714 cat conftest.err
>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev
/null
; then
26717 if test -s conftest.err
; then
26718 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26719 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26726 if test -z "$ac_cpp_err"; then
26727 ac_header_preproc
=yes
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.
$ac_ext >&5
26732 ac_header_preproc
=no
26734 rm -f conftest.err conftest.
$ac_ext
26735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26736 echo "${ECHO_T}$ac_header_preproc" >&6
26738 # So? What about this header?
26739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26741 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26742 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26743 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26744 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26745 ac_header_preproc
=yes
26748 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26749 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26751 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26753 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26755 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26757 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26759 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26762 ## ----------------------------------------- ##
26763 ## Report this to wx-dev@lists.wxwidgets.org ##
26764 ## ----------------------------------------- ##
26767 sed "s/^/$as_me: WARNING: /" >&2
26770 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26771 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26772 if test "${ac_cv_header_tiffio_h+set}" = set; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26775 ac_cv_header_tiffio_h
=$ac_header_preproc
26777 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26778 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26781 if test $ac_cv_header_tiffio_h = yes; then
26783 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26784 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26785 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 ac_check_lib_save_LIBS
=$LIBS
26789 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26790 cat >conftest.
$ac_ext <<_ACEOF
26793 cat confdefs.h
>>conftest.
$ac_ext
26794 cat >>conftest.
$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26797 /* Override any gcc2 internal prototype to avoid an error. */
26801 /* We use char because int might match the return type of a gcc2
26802 builtin and then its argument prototype would still apply. */
26812 rm -f conftest.
$ac_objext conftest
$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>conftest.er1
26816 grep -v '^ *+' conftest.er1
>conftest.err
26818 cat conftest.err
>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 (eval $ac_try) 2>&5
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); }; } &&
26827 { ac_try
='test -s conftest$ac_exeext'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; }; then
26833 ac_cv_lib_tiff_TIFFError
=yes
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.
$ac_ext >&5
26838 ac_cv_lib_tiff_TIFFError
=no
26840 rm -f conftest.err conftest.
$ac_objext \
26841 conftest
$ac_exeext conftest.
$ac_ext
26842 LIBS
=$ac_check_lib_save_LIBS
26844 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26845 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26846 if test $ac_cv_lib_tiff_TIFFError = yes; then
26847 TIFF_LINK
=" -ltiff"
26856 if test "x$TIFF_LINK" = "x" ; then
26857 if test "$wxUSE_LIBTIFF" = "sys" ; then
26858 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26859 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26860 { (exit 1); exit 1; }; }
26862 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26863 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26864 wxUSE_LIBTIFF
=builtin
26873 if test "$wxUSE_WCHAR_T" != "yes"; then
26874 if test "$wxUSE_EXPAT" != "no"; then
26875 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26876 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26879 if test "$wxUSE_XML" != "no"; then
26880 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26881 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26886 if test "$wxUSE_EXPAT" != "no"; then
26888 cat >>confdefs.h
<<\_ACEOF
26889 #define wxUSE_EXPAT 1
26892 cat >>confdefs.h
<<\_ACEOF
26893 #define wxUSE_XML 1
26897 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26898 if test "${ac_cv_header_expat_h+set}" = set; then
26899 echo "$as_me:$LINENO: checking for expat.h" >&5
26900 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_expat_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26905 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26907 # Is the header compilable?
26908 echo "$as_me:$LINENO: checking expat.h usability" >&5
26909 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26910 cat >conftest.
$ac_ext <<_ACEOF
26913 cat confdefs.h
>>conftest.
$ac_ext
26914 cat >>conftest.
$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916 $ac_includes_default
26919 rm -f conftest.
$ac_objext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26921 (eval $ac_compile) 2>conftest.er1
26923 grep -v '^ *+' conftest.er1
>conftest.err
26925 cat conftest.err
>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; } &&
26934 { ac_try
='test -s conftest.$ac_objext'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; }; then
26940 ac_header_compiler
=yes
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.
$ac_ext >&5
26945 ac_header_compiler
=no
26947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6
26951 # Is the header present?
26952 echo "$as_me:$LINENO: checking expat.h presence" >&5
26953 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26954 cat >conftest.
$ac_ext <<_ACEOF
26957 cat confdefs.h
>>conftest.
$ac_ext
26958 cat >>conftest.
$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26965 grep -v '^ *+' conftest.er1
>conftest.err
26967 cat conftest.err
>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } >/dev
/null
; then
26970 if test -s conftest.err
; then
26971 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26972 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26979 if test -z "$ac_cpp_err"; then
26980 ac_header_preproc
=yes
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.
$ac_ext >&5
26985 ac_header_preproc
=no
26987 rm -f conftest.err conftest.
$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26989 echo "${ECHO_T}$ac_header_preproc" >&6
26991 # So? What about this header?
26992 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26994 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26995 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26997 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26998 ac_header_preproc
=yes
27001 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27002 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27004 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27006 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27008 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27010 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27012 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27015 ## ----------------------------------------- ##
27016 ## Report this to wx-dev@lists.wxwidgets.org ##
27017 ## ----------------------------------------- ##
27020 sed "s/^/$as_me: WARNING: /" >&2
27023 echo "$as_me:$LINENO: checking for expat.h" >&5
27024 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27025 if test "${ac_cv_header_expat_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 ac_cv_header_expat_h
=$ac_header_preproc
27030 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27031 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27034 if test $ac_cv_header_expat_h = yes; then
27039 if test "x$found_expat_h" = "x1"; then
27040 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27041 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27042 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 cat >conftest.
$ac_ext <<_ACEOF
27049 cat confdefs.h
>>conftest.
$ac_ext
27050 cat >>conftest.
$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27061 rm -f conftest.
$ac_objext
27062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27063 (eval $ac_compile) 2>conftest.er1
27065 grep -v '^ *+' conftest.er1
>conftest.err
27067 cat conftest.err
>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } &&
27070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; } &&
27076 { ac_try
='test -s conftest.$ac_objext'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; }; then
27082 wx_cv_expat_is_not_broken
=yes
27084 echo "$as_me: failed program was:" >&5
27085 sed 's/^/| /' conftest.
$ac_ext >&5
27087 wx_cv_expat_is_not_broken
=no
27090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27094 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27095 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27096 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27097 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27098 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27099 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27102 ac_check_lib_save_LIBS
=$LIBS
27103 LIBS
="-lexpat $LIBS"
27104 cat >conftest.
$ac_ext <<_ACEOF
27107 cat confdefs.h
>>conftest.
$ac_ext
27108 cat >>conftest.
$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27111 /* Override any gcc2 internal prototype to avoid an error. */
27115 /* We use char because int might match the return type of a gcc2
27116 builtin and then its argument prototype would still apply. */
27117 char XML_ParserCreate ();
27121 XML_ParserCreate ();
27126 rm -f conftest.
$ac_objext conftest
$ac_exeext
27127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27128 (eval $ac_link) 2>conftest.er1
27130 grep -v '^ *+' conftest.er1
>conftest.err
27132 cat conftest.err
>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); } &&
27135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137 (eval $ac_try) 2>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); }; } &&
27141 { ac_try
='test -s conftest$ac_exeext'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; }; then
27147 ac_cv_lib_expat_XML_ParserCreate
=yes
27149 echo "$as_me: failed program was:" >&5
27150 sed 's/^/| /' conftest.
$ac_ext >&5
27152 ac_cv_lib_expat_XML_ParserCreate
=no
27154 rm -f conftest.err conftest.
$ac_objext \
27155 conftest
$ac_exeext conftest.
$ac_ext
27156 LIBS
=$ac_check_lib_save_LIBS
27158 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27159 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27160 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27161 EXPAT_LINK
=" -lexpat"
27166 if test "x$EXPAT_LINK" = "x" ; then
27167 if test "$wxUSE_EXPAT" = "sys" ; then
27168 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27169 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27170 { (exit 1); exit 1; }; }
27172 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27173 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27174 wxUSE_EXPAT
=builtin
27180 if test "$wxUSE_EXPAT" = "builtin" ; then
27183 subdirs
="$subdirs src/expat"
27190 if test "$wxUSE_LIBMSPACK" != "no"; then
27191 if test "${ac_cv_header_mspack_h+set}" = set; then
27192 echo "$as_me:$LINENO: checking for mspack.h" >&5
27193 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27194 if test "${ac_cv_header_mspack_h+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27197 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27198 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27200 # Is the header compilable?
27201 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27202 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27203 cat >conftest.
$ac_ext <<_ACEOF
27206 cat confdefs.h
>>conftest.
$ac_ext
27207 cat >>conftest.
$ac_ext <<_ACEOF
27208 /* end confdefs.h. */
27209 $ac_includes_default
27210 #include <mspack.h>
27212 rm -f conftest.
$ac_objext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27214 (eval $ac_compile) 2>conftest.er1
27216 grep -v '^ *+' conftest.er1
>conftest.err
27218 cat conftest.err
>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try
='test -s conftest.$ac_objext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27233 ac_header_compiler
=yes
27235 echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.
$ac_ext >&5
27238 ac_header_compiler
=no
27240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27242 echo "${ECHO_T}$ac_header_compiler" >&6
27244 # Is the header present?
27245 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27246 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27247 cat >conftest.
$ac_ext <<_ACEOF
27250 cat confdefs.h
>>conftest.
$ac_ext
27251 cat >>conftest.
$ac_ext <<_ACEOF
27252 /* end confdefs.h. */
27253 #include <mspack.h>
27255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27258 grep -v '^ *+' conftest.er1
>conftest.err
27260 cat conftest.err
>&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } >/dev
/null
; then
27263 if test -s conftest.err
; then
27264 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27265 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27272 if test -z "$ac_cpp_err"; then
27273 ac_header_preproc
=yes
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.
$ac_ext >&5
27278 ac_header_preproc
=no
27280 rm -f conftest.err conftest.
$ac_ext
27281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27282 echo "${ECHO_T}$ac_header_preproc" >&6
27284 # So? What about this header?
27285 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27287 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27288 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27289 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27290 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27291 ac_header_preproc
=yes
27294 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27295 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27296 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27297 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27298 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27299 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27301 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27303 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27304 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27305 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27308 ## ----------------------------------------- ##
27309 ## Report this to wx-dev@lists.wxwidgets.org ##
27310 ## ----------------------------------------- ##
27313 sed "s/^/$as_me: WARNING: /" >&2
27316 echo "$as_me:$LINENO: checking for mspack.h" >&5
27317 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27318 if test "${ac_cv_header_mspack_h+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27321 ac_cv_header_mspack_h
=$ac_header_preproc
27323 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27324 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27327 if test $ac_cv_header_mspack_h = yes; then
27332 if test "x$found_mspack_h" = "x1"; then
27333 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27334 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27335 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 ac_check_lib_save_LIBS
=$LIBS
27339 LIBS
="-lmspack $LIBS"
27340 cat >conftest.
$ac_ext <<_ACEOF
27343 cat confdefs.h
>>conftest.
$ac_ext
27344 cat >>conftest.
$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 /* Override any gcc2 internal prototype to avoid an error. */
27351 /* We use char because int might match the return type of a gcc2
27352 builtin and then its argument prototype would still apply. */
27353 char mspack_create_chm_decompressor ();
27357 mspack_create_chm_decompressor ();
27362 rm -f conftest.
$ac_objext conftest
$ac_exeext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27364 (eval $ac_link) 2>conftest.er1
27366 grep -v '^ *+' conftest.er1
>conftest.err
27368 cat conftest.err
>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; } &&
27377 { ac_try
='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.
$ac_ext >&5
27388 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27390 rm -f conftest.err conftest.
$ac_objext \
27391 conftest
$ac_exeext conftest.
$ac_ext
27392 LIBS
=$ac_check_lib_save_LIBS
27394 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27395 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27396 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27397 MSPACK_LINK
=" -lmspack"
27401 if test "x$MSPACK_LINK" = "x" ; then
27406 if test "$wxUSE_LIBMSPACK" != "no"; then
27407 cat >>confdefs.h
<<\_ACEOF
27408 #define wxUSE_LIBMSPACK 1
27422 if test "$USE_WIN32" = 1 ; then
27424 for ac_header
in w32api.h
27426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27428 echo "$as_me:$LINENO: checking for $ac_header" >&5
27429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27436 # Is the header compilable?
27437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27439 cat >conftest.
$ac_ext <<_ACEOF
27442 cat confdefs.h
>>conftest.
$ac_ext
27443 cat >>conftest.
$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 $ac_includes_default
27446 #include <$ac_header>
27448 rm -f conftest.
$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>conftest.er1
27452 grep -v '^ *+' conftest.er1
>conftest.err
27454 cat conftest.err
>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } &&
27457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; } &&
27463 { ac_try
='test -s conftest.$ac_objext'
27464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27465 (eval $ac_try) 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; }; then
27469 ac_header_compiler
=yes
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.
$ac_ext >&5
27474 ac_header_compiler
=no
27476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27478 echo "${ECHO_T}$ac_header_compiler" >&6
27480 # Is the header present?
27481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27483 cat >conftest.
$ac_ext <<_ACEOF
27486 cat confdefs.h
>>conftest.
$ac_ext
27487 cat >>conftest.
$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 #include <$ac_header>
27491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27492 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27494 grep -v '^ *+' conftest.er1
>conftest.err
27496 cat conftest.err
>&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } >/dev
/null
; then
27499 if test -s conftest.err
; then
27500 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27501 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27508 if test -z "$ac_cpp_err"; then
27509 ac_header_preproc
=yes
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.
$ac_ext >&5
27514 ac_header_preproc
=no
27516 rm -f conftest.err conftest.
$ac_ext
27517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27518 echo "${ECHO_T}$ac_header_preproc" >&6
27520 # So? What about this header?
27521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27527 ac_header_preproc
=yes
27530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27544 ## ----------------------------------------- ##
27545 ## Report this to wx-dev@lists.wxwidgets.org ##
27546 ## ----------------------------------------- ##
27549 sed "s/^/$as_me: WARNING: /" >&2
27552 echo "$as_me:$LINENO: checking for $ac_header" >&5
27553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 eval "$as_ac_Header=\$ac_header_preproc"
27559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27564 cat >>confdefs.h
<<_ACEOF
27565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27572 if test "${ac_cv_header_windows_h+set}" = set; then
27573 echo "$as_me:$LINENO: checking for windows.h" >&5
27574 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27575 if test "${ac_cv_header_windows_h+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27579 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27581 # Is the header compilable?
27582 echo "$as_me:$LINENO: checking windows.h usability" >&5
27583 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27584 cat >conftest.
$ac_ext <<_ACEOF
27587 cat confdefs.h
>>conftest.
$ac_ext
27588 cat >>conftest.
$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 $ac_includes_default
27591 #include <windows.h>
27593 rm -f conftest.
$ac_objext
27594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27595 (eval $ac_compile) 2>conftest.er1
27597 grep -v '^ *+' conftest.er1
>conftest.err
27599 cat conftest.err
>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } &&
27602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27604 (eval $ac_try) 2>&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); }; } &&
27608 { ac_try
='test -s conftest.$ac_objext'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; }; then
27614 ac_header_compiler
=yes
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.
$ac_ext >&5
27619 ac_header_compiler
=no
27621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27623 echo "${ECHO_T}$ac_header_compiler" >&6
27625 # Is the header present?
27626 echo "$as_me:$LINENO: checking windows.h presence" >&5
27627 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27628 cat >conftest.
$ac_ext <<_ACEOF
27631 cat confdefs.h
>>conftest.
$ac_ext
27632 cat >>conftest.
$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <windows.h>
27636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27639 grep -v '^ *+' conftest.er1
>conftest.err
27641 cat conftest.err
>&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } >/dev
/null
; then
27644 if test -s conftest.err
; then
27645 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27646 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27653 if test -z "$ac_cpp_err"; then
27654 ac_header_preproc
=yes
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.
$ac_ext >&5
27659 ac_header_preproc
=no
27661 rm -f conftest.err conftest.
$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27663 echo "${ECHO_T}$ac_header_preproc" >&6
27665 # So? What about this header?
27666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27668 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27669 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27671 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27672 ac_header_preproc
=yes
27675 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27676 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27678 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27680 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27682 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27684 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27686 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27689 ## ----------------------------------------- ##
27690 ## Report this to wx-dev@lists.wxwidgets.org ##
27691 ## ----------------------------------------- ##
27694 sed "s/^/$as_me: WARNING: /" >&2
27697 echo "$as_me:$LINENO: checking for windows.h" >&5
27698 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27699 if test "${ac_cv_header_windows_h+set}" = set; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 ac_cv_header_windows_h
=$ac_header_preproc
27704 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27705 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27708 if test $ac_cv_header_windows_h = yes; then
27712 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27713 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27714 { (exit 1); exit 1; }; }
27720 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27722 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27723 LIBS
="$LIBS -loleacc"
27728 LIBS
="$LIBS -lkernel32 -luser32"
27731 if test "$wxUSE_ODBC" = "sys" ; then
27734 if test "$wxUSE_ODBC" = "yes" ; then
27735 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27736 cat >>confdefs.h
<<\_ACEOF
27737 #define wxUSE_ODBC 1
27742 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27743 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27745 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27747 WIN32INSTALL
=win32install
27749 echo "$as_me:$LINENO: checking for boolean" >&5
27750 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27751 if test "${ac_cv_type_boolean+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 #include <windows.h>
27767 if (sizeof (boolean))
27773 rm -f conftest.
$ac_objext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27775 (eval $ac_compile) 2>conftest.er1
27777 grep -v '^ *+' conftest.er1
>conftest.err
27779 cat conftest.err
>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; } &&
27788 { ac_try
='test -s conftest.$ac_objext'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 ac_cv_type_boolean
=yes
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.
$ac_ext >&5
27799 ac_cv_type_boolean
=no
27801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27803 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27804 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27805 if test $ac_cv_type_boolean = yes; then
27807 cat >>confdefs.h
<<_ACEOF
27808 #define HAVE_BOOLEAN 1
27816 for ac_header
in pbt.h
27818 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27820 echo "$as_me:$LINENO: checking for $ac_header" >&5
27821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27828 # Is the header compilable?
27829 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27830 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27831 cat >conftest.
$ac_ext <<_ACEOF
27834 cat confdefs.h
>>conftest.
$ac_ext
27835 cat >>conftest.
$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837 $ac_includes_default
27838 #include <$ac_header>
27840 rm -f conftest.
$ac_objext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27842 (eval $ac_compile) 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try
='test -s conftest.$ac_objext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_header_compiler
=yes
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.
$ac_ext >&5
27866 ac_header_compiler
=no
27868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27870 echo "${ECHO_T}$ac_header_compiler" >&6
27872 # Is the header present?
27873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27875 cat >conftest.
$ac_ext <<_ACEOF
27878 cat confdefs.h
>>conftest.
$ac_ext
27879 cat >>conftest.
$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27881 #include <$ac_header>
27883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27886 grep -v '^ *+' conftest.er1
>conftest.err
27888 cat conftest.err
>&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } >/dev
/null
; then
27891 if test -s conftest.err
; then
27892 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27893 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27900 if test -z "$ac_cpp_err"; then
27901 ac_header_preproc
=yes
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.
$ac_ext >&5
27906 ac_header_preproc
=no
27908 rm -f conftest.err conftest.
$ac_ext
27909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27910 echo "${ECHO_T}$ac_header_preproc" >&6
27912 # So? What about this header?
27913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27919 ac_header_preproc
=yes
27922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27936 ## ----------------------------------------- ##
27937 ## Report this to wx-dev@lists.wxwidgets.org ##
27938 ## ----------------------------------------- ##
27941 sed "s/^/$as_me: WARNING: /" >&2
27944 echo "$as_me:$LINENO: checking for $ac_header" >&5
27945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 eval "$as_ac_Header=\$ac_header_preproc"
27951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27956 cat >>confdefs.h
<<_ACEOF
27957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27961 cat >>confdefs.h
<<\_ACEOF
27962 #define NEED_PBT_H 1
27971 if test "$wxUSE_GUI" = "yes"; then
27981 if test "$wxUSE_COCOA" = 1 ; then
27982 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27983 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27984 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27985 wxUSE_PRINTING_ARCHITECTURE
=no
27987 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27988 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27989 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27990 wxUSE_DRAG_AND_DROP
=no
27992 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27993 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27994 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27999 if test "$wxUSE_MSW" = 1 ; then
28005 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28009 if test "$wxUSE_GTK" = 1; then
28011 ac_cpp
='$CPP $CPPFLAGS'
28012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28017 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28018 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28020 gtk_version_cached
=1
28021 if test "${wx_cv_lib_gtk+set}" = set; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 gtk_version_cached
=0
28026 echo "$as_me:$LINENO: result: " >&5
28027 echo "${ECHO_T}" >&6
28030 if test "$wxUSE_THREADS" = "yes"; then
28031 GTK_MODULES
=gthread
28035 if test "x$wxGTK_VERSION" != "x1"
28039 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28044 # Check whether --enable-gtktest or --disable-gtktest was given.
28045 if test "${enable_gtktest+set}" = set; then
28046 enableval
="$enable_gtktest"
28052 pkg_config_args
=gtk
+-2.0
28053 for module
in .
$GTK_MODULES
28057 pkg_config_args
="$pkg_config_args gthread-2.0"
28064 # Extract the first word of "pkg-config", so it can be a program name with args.
28065 set dummy pkg
-config; ac_word
=$2
28066 echo "$as_me:$LINENO: checking for $ac_word" >&5
28067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 case $PKG_CONFIG in
28073 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28077 for as_dir
in $PATH
28080 test -z "$as_dir" && as_dir
=.
28081 for ac_exec_ext
in '' $ac_executable_extensions; do
28082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28083 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28090 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28094 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28096 if test -n "$PKG_CONFIG"; then
28097 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28098 echo "${ECHO_T}$PKG_CONFIG" >&6
28100 echo "$as_me:$LINENO: result: no" >&5
28101 echo "${ECHO_T}no" >&6
28105 if test x
$PKG_CONFIG != xno
; then
28106 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28109 echo "*** pkg-config too old; version 0.7 or better required."
28117 min_gtk_version
=2.0.0
28118 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28119 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28121 if test x
$PKG_CONFIG != xno
; then
28122 ## don't try to run the test against uninstalled libtool libs
28123 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28124 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28128 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28135 if test x
"$no_gtk" = x
; then
28136 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28137 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28138 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28140 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28142 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28144 if test "x$enable_gtktest" = "xyes" ; then
28145 ac_save_CFLAGS
="$CFLAGS"
28146 ac_save_LIBS
="$LIBS"
28147 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28148 LIBS
="$GTK_LIBS $LIBS"
28150 if test "$cross_compiling" = yes; then
28151 echo $ac_n "cross compiling; assumed OK... $ac_c"
28153 cat >conftest.
$ac_ext <<_ACEOF
28156 cat confdefs.h
>>conftest.
$ac_ext
28157 cat >>conftest.
$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28160 #include <gtk/gtk.h>
28162 #include <stdlib.h>
28167 int major, minor, micro;
28170 system ("touch conf.gtktest");
28172 /* HP/UX 9 (%@#!) writes to sscanf strings */
28173 tmp_version = g_strdup("$min_gtk_version");
28174 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28175 printf("%s, bad version string\n", "$min_gtk_version");
28179 if ((gtk_major_version != $gtk_config_major_version) ||
28180 (gtk_minor_version != $gtk_config_minor_version) ||
28181 (gtk_micro_version != $gtk_config_micro_version))
28183 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28184 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28185 gtk_major_version, gtk_minor_version, gtk_micro_version);
28186 printf ("*** was found! If pkg-config was correct, then it is best\n");
28187 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28188 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28189 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28190 printf("*** required on your system.\n");
28191 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28192 printf("*** to point to the correct configuration files\n");
28194 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28195 (gtk_minor_version != GTK_MINOR_VERSION) ||
28196 (gtk_micro_version != GTK_MICRO_VERSION))
28198 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28199 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28200 printf("*** library (version %d.%d.%d)\n",
28201 gtk_major_version, gtk_minor_version, gtk_micro_version);
28205 if ((gtk_major_version > major) ||
28206 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28207 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28213 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28214 gtk_major_version, gtk_minor_version, gtk_micro_version);
28215 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28216 major, minor, micro);
28217 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28219 printf("*** If you have already installed a sufficiently new version, this error\n");
28220 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28221 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28222 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28223 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28224 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28225 printf("*** so that the correct libraries are found at run-time))\n");
28232 rm -f conftest
$ac_exeext
28233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28234 (eval $ac_link) 2>&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239 (eval $ac_try) 2>&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); }; }; then
28245 echo "$as_me: program exited with status $ac_status" >&5
28246 echo "$as_me: failed program was:" >&5
28247 sed 's/^/| /' conftest.
$ac_ext >&5
28249 ( exit $ac_status )
28252 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28254 CFLAGS
="$ac_save_CFLAGS"
28255 LIBS
="$ac_save_LIBS"
28258 if test "x$no_gtk" = x
; then
28259 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28260 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28263 echo "$as_me:$LINENO: result: no" >&5
28264 echo "${ECHO_T}no" >&6
28265 if test "$PKG_CONFIG" = "no" ; then
28266 echo "*** A new enough version of pkg-config was not found."
28267 echo "*** See http://pkgconfig.sourceforge.net"
28269 if test -f conf.gtktest
; then
28272 echo "*** Could not run GTK+ test program, checking why..."
28273 ac_save_CFLAGS
="$CFLAGS"
28274 ac_save_LIBS
="$LIBS"
28275 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28276 LIBS
="$LIBS $GTK_LIBS"
28277 cat >conftest.
$ac_ext <<_ACEOF
28280 cat confdefs.h
>>conftest.
$ac_ext
28281 cat >>conftest.
$ac_ext <<_ACEOF
28282 /* end confdefs.h. */
28284 #include <gtk/gtk.h>
28290 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28295 rm -f conftest.
$ac_objext conftest
$ac_exeext
28296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28297 (eval $ac_link) 2>conftest.er1
28299 grep -v '^ *+' conftest.er1
>conftest.err
28301 cat conftest.err
>&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } &&
28304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; } &&
28310 { ac_try
='test -s conftest$ac_exeext'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; }; then
28316 echo "*** The test program compiled, but did not run. This usually means"
28317 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28318 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28319 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28320 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28321 echo "*** is required on your system"
28323 echo "*** If you have an old version installed, it is best to remove it, although"
28324 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.
$ac_ext >&5
28329 echo "*** The test program failed to compile or link. See the file config.log for the"
28330 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28332 rm -f conftest.err conftest.
$ac_objext \
28333 conftest
$ac_exeext conftest.
$ac_ext
28334 CFLAGS
="$ac_save_CFLAGS"
28335 LIBS
="$ac_save_LIBS"
28349 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28350 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28351 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28353 if test "$wxUSE_SHARED" != "yes"; then
28354 GTK_LIBS
="$GTK_LIBS -lX11"
28359 if test -z "$wx_cv_lib_gtk"; then
28360 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28362 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28363 if test "${with_gtk_prefix+set}" = set; then
28364 withval
="$with_gtk_prefix"
28365 gtk_config_prefix
="$withval"
28367 gtk_config_prefix
=""
28370 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28371 if test "${with_gtk_exec_prefix+set}" = set; then
28372 withval
="$with_gtk_exec_prefix"
28373 gtk_config_exec_prefix
="$withval"
28375 gtk_config_exec_prefix
=""
28377 # Check whether --enable-gtktest or --disable-gtktest was given.
28378 if test "${enable_gtktest+set}" = set; then
28379 enableval
="$enable_gtktest"
28385 for module
in .
$GTK_MODULES
28389 gtk_config_args
="$gtk_config_args gthread"
28394 if test x
$gtk_config_exec_prefix != x
; then
28395 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28396 if test x
${GTK_CONFIG+set} != xset
; then
28397 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28400 if test x
$gtk_config_prefix != x
; then
28401 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28402 if test x
${GTK_CONFIG+set} != xset
; then
28403 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28407 # Extract the first word of "gtk-config", so it can be a program name with args.
28408 set dummy gtk
-config; ac_word
=$2
28409 echo "$as_me:$LINENO: checking for $ac_word" >&5
28410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28411 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 case $GTK_CONFIG in
28416 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28420 for as_dir
in $PATH
28423 test -z "$as_dir" && as_dir
=.
28424 for ac_exec_ext
in '' $ac_executable_extensions; do
28425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28426 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28433 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28437 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28439 if test -n "$GTK_CONFIG"; then
28440 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28441 echo "${ECHO_T}$GTK_CONFIG" >&6
28443 echo "$as_me:$LINENO: result: no" >&5
28444 echo "${ECHO_T}no" >&6
28447 min_gtk_version
=1.2.7
28448 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28449 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28451 if test "$GTK_CONFIG" = "no" ; then
28454 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28455 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28456 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28457 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28458 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28459 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28460 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28461 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28462 if test "x$enable_gtktest" = "xyes" ; then
28463 ac_save_CFLAGS
="$CFLAGS"
28464 ac_save_LIBS
="$LIBS"
28465 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28466 LIBS
="$GTK_LIBS $LIBS"
28468 if test "$cross_compiling" = yes; then
28469 echo $ac_n "cross compiling; assumed OK... $ac_c"
28471 cat >conftest.
$ac_ext <<_ACEOF
28474 cat confdefs.h
>>conftest.
$ac_ext
28475 cat >>conftest.
$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28478 #include <gtk/gtk.h>
28480 #include <stdlib.h>
28485 int major, minor, micro;
28488 system ("touch conf.gtktest");
28490 /* HP/UX 9 (%@#!) writes to sscanf strings */
28491 tmp_version = g_strdup("$min_gtk_version");
28492 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28493 printf("%s, bad version string\n", "$min_gtk_version");
28497 if ((gtk_major_version != $gtk_config_major_version) ||
28498 (gtk_minor_version != $gtk_config_minor_version) ||
28499 (gtk_micro_version != $gtk_config_micro_version))
28501 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28502 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28504 printf ("*** was found! If gtk-config was correct, then it is best\n");
28505 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28506 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28507 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28508 printf("*** required on your system.\n");
28509 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28510 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28511 printf("*** before re-running configure\n");
28513 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28514 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28515 (gtk_minor_version != GTK_MINOR_VERSION) ||
28516 (gtk_micro_version != GTK_MICRO_VERSION))
28518 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28519 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28520 printf("*** library (version %d.%d.%d)\n",
28521 gtk_major_version, gtk_minor_version, gtk_micro_version);
28523 #endif /* defined (GTK_MAJOR_VERSION) ... */
28526 if ((gtk_major_version > major) ||
28527 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28528 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28534 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28535 gtk_major_version, gtk_minor_version, gtk_micro_version);
28536 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28537 major, minor, micro);
28538 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28540 printf("*** If you have already installed a sufficiently new version, this error\n");
28541 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28542 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28543 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28544 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28545 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28546 printf("*** so that the correct libraries are found at run-time))\n");
28553 rm -f conftest
$ac_exeext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28555 (eval $ac_link) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; }; then
28566 echo "$as_me: program exited with status $ac_status" >&5
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.
$ac_ext >&5
28570 ( exit $ac_status )
28573 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28575 CFLAGS
="$ac_save_CFLAGS"
28576 LIBS
="$ac_save_LIBS"
28579 if test "x$no_gtk" = x
; then
28580 echo "$as_me:$LINENO: result: yes" >&5
28581 echo "${ECHO_T}yes" >&6
28582 wx_cv_lib_gtk
=1.2.7
28584 echo "$as_me:$LINENO: result: no" >&5
28585 echo "${ECHO_T}no" >&6
28586 if test "$GTK_CONFIG" = "no" ; then
28587 echo "*** The gtk-config script installed by GTK could not be found"
28588 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28589 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28590 echo "*** full path to gtk-config."
28592 if test -f conf.gtktest
; then
28595 echo "*** Could not run GTK test program, checking why..."
28596 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28597 LIBS
="$LIBS $GTK_LIBS"
28598 cat >conftest.
$ac_ext <<_ACEOF
28601 cat confdefs.h
>>conftest.
$ac_ext
28602 cat >>conftest.
$ac_ext <<_ACEOF
28603 /* end confdefs.h. */
28605 #include <gtk/gtk.h>
28611 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28616 rm -f conftest.
$ac_objext conftest
$ac_exeext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>conftest.er1
28620 grep -v '^ *+' conftest.er1
>conftest.err
28622 cat conftest.err
>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; } &&
28631 { ac_try
='test -s conftest$ac_exeext'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; }; then
28637 echo "*** The test program compiled, but did not run. This usually means"
28638 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28639 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28640 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28641 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28642 echo "*** is required on your system"
28644 echo "*** If you have an old version installed, it is best to remove it, although"
28645 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28647 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28648 echo "*** came with the system with the command"
28650 echo "*** rpm --erase --nodeps gtk gtk-devel"
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.
$ac_ext >&5
28655 echo "*** The test program failed to compile or link. See the file config.log for the"
28656 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28657 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28658 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28660 rm -f conftest.err conftest.
$ac_objext \
28661 conftest
$ac_exeext conftest.
$ac_ext
28662 CFLAGS
="$ac_save_CFLAGS"
28663 LIBS
="$ac_save_LIBS"
28675 if test -z "$wx_cv_lib_gtk"; then
28677 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28678 if test "${with_gtk_prefix+set}" = set; then
28679 withval
="$with_gtk_prefix"
28680 gtk_config_prefix
="$withval"
28682 gtk_config_prefix
=""
28685 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28686 if test "${with_gtk_exec_prefix+set}" = set; then
28687 withval
="$with_gtk_exec_prefix"
28688 gtk_config_exec_prefix
="$withval"
28690 gtk_config_exec_prefix
=""
28692 # Check whether --enable-gtktest or --disable-gtktest was given.
28693 if test "${enable_gtktest+set}" = set; then
28694 enableval
="$enable_gtktest"
28700 for module
in .
$GTK_MODULES
28704 gtk_config_args
="$gtk_config_args gthread"
28709 if test x
$gtk_config_exec_prefix != x
; then
28710 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28711 if test x
${GTK_CONFIG+set} != xset
; then
28712 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28715 if test x
$gtk_config_prefix != x
; then
28716 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28717 if test x
${GTK_CONFIG+set} != xset
; then
28718 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28722 # Extract the first word of "gtk-config", so it can be a program name with args.
28723 set dummy gtk
-config; ac_word
=$2
28724 echo "$as_me:$LINENO: checking for $ac_word" >&5
28725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28726 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 case $GTK_CONFIG in
28731 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28735 for as_dir
in $PATH
28738 test -z "$as_dir" && as_dir
=.
28739 for ac_exec_ext
in '' $ac_executable_extensions; do
28740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28741 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28748 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28752 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28754 if test -n "$GTK_CONFIG"; then
28755 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28756 echo "${ECHO_T}$GTK_CONFIG" >&6
28758 echo "$as_me:$LINENO: result: no" >&5
28759 echo "${ECHO_T}no" >&6
28762 min_gtk_version
=1.2.3
28763 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28764 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28766 if test "$GTK_CONFIG" = "no" ; then
28769 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28770 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28771 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28773 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28775 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28776 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28777 if test "x$enable_gtktest" = "xyes" ; then
28778 ac_save_CFLAGS
="$CFLAGS"
28779 ac_save_LIBS
="$LIBS"
28780 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28781 LIBS
="$GTK_LIBS $LIBS"
28783 if test "$cross_compiling" = yes; then
28784 echo $ac_n "cross compiling; assumed OK... $ac_c"
28786 cat >conftest.
$ac_ext <<_ACEOF
28789 cat confdefs.h
>>conftest.
$ac_ext
28790 cat >>conftest.
$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28793 #include <gtk/gtk.h>
28795 #include <stdlib.h>
28800 int major, minor, micro;
28803 system ("touch conf.gtktest");
28805 /* HP/UX 9 (%@#!) writes to sscanf strings */
28806 tmp_version = g_strdup("$min_gtk_version");
28807 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28808 printf("%s, bad version string\n", "$min_gtk_version");
28812 if ((gtk_major_version != $gtk_config_major_version) ||
28813 (gtk_minor_version != $gtk_config_minor_version) ||
28814 (gtk_micro_version != $gtk_config_micro_version))
28816 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28817 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28818 gtk_major_version, gtk_minor_version, gtk_micro_version);
28819 printf ("*** was found! If gtk-config was correct, then it is best\n");
28820 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28821 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28822 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28823 printf("*** required on your system.\n");
28824 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28825 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28826 printf("*** before re-running configure\n");
28828 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28829 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28830 (gtk_minor_version != GTK_MINOR_VERSION) ||
28831 (gtk_micro_version != GTK_MICRO_VERSION))
28833 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28834 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28835 printf("*** library (version %d.%d.%d)\n",
28836 gtk_major_version, gtk_minor_version, gtk_micro_version);
28838 #endif /* defined (GTK_MAJOR_VERSION) ... */
28841 if ((gtk_major_version > major) ||
28842 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28843 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28849 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28850 gtk_major_version, gtk_minor_version, gtk_micro_version);
28851 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28852 major, minor, micro);
28853 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28855 printf("*** If you have already installed a sufficiently new version, this error\n");
28856 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28857 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28858 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28859 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28860 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28861 printf("*** so that the correct libraries are found at run-time))\n");
28868 rm -f conftest
$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; }; then
28881 echo "$as_me: program exited with status $ac_status" >&5
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 ( exit $ac_status )
28888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28890 CFLAGS
="$ac_save_CFLAGS"
28891 LIBS
="$ac_save_LIBS"
28894 if test "x$no_gtk" = x
; then
28895 echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6
28897 wx_cv_lib_gtk
=1.2.3
28899 echo "$as_me:$LINENO: result: no" >&5
28900 echo "${ECHO_T}no" >&6
28901 if test "$GTK_CONFIG" = "no" ; then
28902 echo "*** The gtk-config script installed by GTK could not be found"
28903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28905 echo "*** full path to gtk-config."
28907 if test -f conf.gtktest
; then
28910 echo "*** Could not run GTK test program, checking why..."
28911 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28912 LIBS
="$LIBS $GTK_LIBS"
28913 cat >conftest.
$ac_ext <<_ACEOF
28916 cat confdefs.h
>>conftest.
$ac_ext
28917 cat >>conftest.
$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28920 #include <gtk/gtk.h>
28926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28931 rm -f conftest.
$ac_objext conftest
$ac_exeext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28933 (eval $ac_link) 2>conftest.er1
28935 grep -v '^ *+' conftest.er1
>conftest.err
28937 cat conftest.err
>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 echo "*** The test program compiled, but did not run. This usually means"
28953 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28954 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28955 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28956 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28957 echo "*** is required on your system"
28959 echo "*** If you have an old version installed, it is best to remove it, although"
28960 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28962 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28963 echo "*** came with the system with the command"
28965 echo "*** rpm --erase --nodeps gtk gtk-devel"
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.
$ac_ext >&5
28970 echo "*** The test program failed to compile or link. See the file config.log for the"
28971 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28972 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28973 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28975 rm -f conftest.err conftest.
$ac_objext \
28976 conftest
$ac_exeext conftest.
$ac_ext
28977 CFLAGS
="$ac_save_CFLAGS"
28978 LIBS
="$ac_save_LIBS"
28993 if test -z "$wx_cv_lib_gtk"; then
28996 wx_cv_cflags_gtk
=$GTK_CFLAGS
28997 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29004 if test "$gtk_version_cached" = 1; then
29005 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29006 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29009 case "$wx_cv_lib_gtk" in
29018 *) { { echo "$as_me:$LINENO: error:
29019 The development files for GTK+ were not found. For GTK+ 2, please
29020 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29021 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29022 and that the version is 1.2.3 or above. Also check that the
29023 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29024 --libs' are in the LD_LIBRARY_PATH or equivalent.
29026 echo "$as_me: error:
29027 The development files for GTK+ were not found. For GTK+ 2, please
29028 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29029 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29030 and that the version is 1.2.3 or above. Also check that the
29031 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29032 --libs' are in the LD_LIBRARY_PATH or equivalent.
29034 { (exit 1); exit 1; }; }
29038 if test "$WXGTK20" = 1; then
29039 save_CFLAGS
="$CFLAGS"
29041 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29042 LIBS
="$LIBS $wx_cv_libs_gtk"
29044 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29045 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29046 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 cat >conftest.
$ac_ext <<_ACEOF
29052 cat confdefs.h
>>conftest.
$ac_ext
29053 cat >>conftest.
$ac_ext <<_ACEOF
29054 /* end confdefs.h. */
29055 #include <gtk/gtk.h>
29060 #ifndef gtk_icon_size_lookup
29061 char *p = (char *) gtk_icon_size_lookup;
29068 rm -f conftest.
$ac_objext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29070 (eval $ac_compile) 2>conftest.er1
29072 grep -v '^ *+' conftest.er1
>conftest.err
29074 cat conftest.err
>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try
='test -s conftest.$ac_objext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.
$ac_ext >&5
29094 ac_cv_have_decl_gtk_icon_size_lookup
=no
29096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29098 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29099 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29100 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29102 cat >>confdefs.h
<<_ACEOF
29103 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29108 cat >>confdefs.h
<<_ACEOF
29109 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29112 cat >>confdefs.h
<<\_ACEOF
29113 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29120 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29121 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29122 cat >conftest.
$ac_ext <<_ACEOF
29125 cat confdefs.h
>>conftest.
$ac_ext
29126 cat >>conftest.
$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29129 #include <gtk/gtk.h>
29135 #if !GTK_CHECK_VERSION(2,6,0)
29143 rm -f conftest.
$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145 (eval $ac_compile) 2>conftest.er1
29147 grep -v '^ *+' conftest.er1
>conftest.err
29149 cat conftest.err
>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; } &&
29158 { ac_try
='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29165 cat >>confdefs.h
<<\_ACEOF
29166 #define __WXGTK26__ 1
29169 cat >>confdefs.h
<<\_ACEOF
29170 #define __WXGTK24__ 1
29173 echo "$as_me:$LINENO: result: yes" >&5
29174 echo "${ECHO_T}yes" >&6
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.
$ac_ext >&5
29182 echo "$as_me:$LINENO: result: no" >&5
29183 echo "${ECHO_T}no" >&6
29187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29189 if test "$ac_wxgtk26" = 0; then
29190 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29191 echo $ECHO_N "checking if GTK+ is version >= 2.4... $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,4,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 __WXGTK24__ 1
29239 echo "$as_me:$LINENO: result: yes" >&5
29240 echo "${ECHO_T}yes" >&6
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.
$ac_ext >&5
29247 echo "$as_me:$LINENO: result: no" >&5
29248 echo "${ECHO_T}no" >&6
29251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29254 CFLAGS
="$save_CFLAGS"
29257 if test "$wxUSE_UNICODE" = "yes"; then
29258 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29259 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29263 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29264 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29265 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 ac_check_lib_save_LIBS
=$LIBS
29270 cat >conftest.
$ac_ext <<_ACEOF
29273 cat confdefs.h
>>conftest.
$ac_ext
29274 cat >>conftest.
$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29277 /* Override any gcc2 internal prototype to avoid an error. */
29281 /* We use char because int might match the return type of a gcc2
29282 builtin and then its argument prototype would still apply. */
29283 char gdk_im_open ();
29292 rm -f conftest.
$ac_objext conftest
$ac_exeext
29293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>conftest.er1
29296 grep -v '^ *+' conftest.er1
>conftest.err
29298 cat conftest.err
>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; } &&
29307 { ac_try
='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_lib_gdk_gdk_im_open
=yes
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.
$ac_ext >&5
29318 ac_cv_lib_gdk_gdk_im_open
=no
29320 rm -f conftest.err conftest.
$ac_objext \
29321 conftest
$ac_exeext conftest.
$ac_ext
29322 LIBS
=$ac_check_lib_save_LIBS
29324 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29325 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29326 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29327 cat >>confdefs.h
<<\_ACEOF
29336 ac_cpp
='$CXXCPP $CPPFLAGS'
29337 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29342 if test "$USE_DARWIN" != 1; then
29344 for ac_func
in poll
29346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29347 echo "$as_me:$LINENO: checking for $ac_func" >&5
29348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29349 if eval "test \"\${$as_ac_var+set}\" = set"; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29352 cat >conftest.
$ac_ext <<_ACEOF
29355 cat confdefs.h
>>conftest.
$ac_ext
29356 cat >>conftest.
$ac_ext <<_ACEOF
29357 /* end confdefs.h. */
29358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29360 #define $ac_func innocuous_$ac_func
29362 /* System header to define __stub macros and hopefully few prototypes,
29363 which can conflict with char $ac_func (); below.
29364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29365 <limits.h> exists even on freestanding compilers. */
29368 # include <limits.h>
29370 # include <assert.h>
29375 /* Override any gcc2 internal prototype to avoid an error. */
29380 /* We use char because int might match the return type of a gcc2
29381 builtin and then its argument prototype would still apply. */
29383 /* The GNU C library defines this for functions which it implements
29384 to always fail with ENOSYS. Some functions are actually named
29385 something starting with __ and the normal name is an alias. */
29386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29389 char (*f) () = $ac_func;
29398 return f != $ac_func;
29403 rm -f conftest.
$ac_objext conftest
$ac_exeext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29405 (eval $ac_link) 2>conftest.er1
29407 grep -v '^ *+' conftest.er1
>conftest.err
29409 cat conftest.err
>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try
='test -s conftest$ac_exeext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 eval "$as_ac_var=yes"
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.
$ac_ext >&5
29429 eval "$as_ac_var=no"
29431 rm -f conftest.err conftest.
$ac_objext \
29432 conftest
$ac_exeext conftest.
$ac_ext
29434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29436 if test `eval echo '${'$as_ac_var'}'` = yes; then
29437 cat >>confdefs.h
<<_ACEOF
29438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29446 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29447 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29449 AFMINSTALL
=afminstall
29453 if test "$wxUSE_GPE" = "yes"; then
29454 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29455 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29458 for ac_dir
in $SEARCH_LIB;
29460 for ac_extension
in a so sl dylib dll.a
; do
29461 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29462 ac_find_libraries
=$ac_dir
29468 if test "$ac_find_libraries" != "" ; then
29470 if test "$ac_find_libraries" = "default location"; then
29473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29475 if test $result = 0; then
29478 ac_path_to_link
=" -L$ac_find_libraries"
29482 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29484 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29485 echo "${ECHO_T}found in $ac_find_libraries" >&6
29487 echo "$as_me:$LINENO: result: not found" >&5
29488 echo "${ECHO_T}not found" >&6
29494 if test "$wxUSE_MGL" = 1; then
29495 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29496 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29497 if test "x$MGL_ROOT" = x
; then
29498 echo "$as_me:$LINENO: result: not found" >&5
29499 echo "${ECHO_T}not found" >&6
29500 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29501 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29502 { (exit 1); exit 1; }; }
29504 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29505 echo "${ECHO_T}$MGL_ROOT" >&6
29508 echo "$as_me:$LINENO: checking for libmgl location" >&5
29509 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29512 if test "x$wxUSE_SHARED" = xyes
; then
29513 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29515 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29519 mgl_os_candidates
="dos32/dj2"
29522 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29523 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29524 { (exit 1); exit 1; }; }
29530 for mgl_os_i
in $mgl_os_candidates ; do
29531 if test "x$mgl_os" = x
; then
29532 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29533 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29534 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29539 if test "x$mgl_lib_type" = x
; then
29540 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29541 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29542 mgl_lib_type
=release
29549 if test "x$mgl_os" = x
; then
29550 echo "$as_me:$LINENO: result: not found" >&5
29551 echo "${ECHO_T}not found" >&6
29552 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29553 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29554 { (exit 1); exit 1; }; }
29556 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29557 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29559 wxUSE_UNIVERSAL
="yes"
29561 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29562 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29564 AFMINSTALL
=afminstall
29569 if test "$wxUSE_DFB" = 1; then
29572 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29573 if test -n "$ac_tool_prefix"; then
29574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29575 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29576 echo "$as_me:$LINENO: checking for $ac_word" >&5
29577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 case $PKG_CONFIG in
29583 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29587 for as_dir
in $PATH
29590 test -z "$as_dir" && as_dir
=.
29591 for ac_exec_ext
in '' $ac_executable_extensions; do
29592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29593 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29603 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29605 if test -n "$PKG_CONFIG"; then
29606 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29607 echo "${ECHO_T}$PKG_CONFIG" >&6
29609 echo "$as_me:$LINENO: result: no" >&5
29610 echo "${ECHO_T}no" >&6
29614 if test -z "$ac_cv_path_PKG_CONFIG"; then
29615 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29616 # Extract the first word of "pkg-config", so it can be a program name with args.
29617 set dummy pkg
-config; ac_word
=$2
29618 echo "$as_me:$LINENO: checking for $ac_word" >&5
29619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29620 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 case $ac_pt_PKG_CONFIG in
29625 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29629 for as_dir
in $PATH
29632 test -z "$as_dir" && as_dir
=.
29633 for ac_exec_ext
in '' $ac_executable_extensions; do
29634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29635 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29645 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29647 if test -n "$ac_pt_PKG_CONFIG"; then
29648 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29649 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29651 echo "$as_me:$LINENO: result: no" >&5
29652 echo "${ECHO_T}no" >&6
29655 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29657 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29661 if test -n "$PKG_CONFIG"; then
29662 _pkg_min_version
=0.9.0
29663 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29664 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29665 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29666 echo "$as_me:$LINENO: result: yes" >&5
29667 echo "${ECHO_T}yes" >&6
29669 echo "$as_me:$LINENO: result: no" >&5
29670 echo "${ECHO_T}no" >&6
29678 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29679 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29681 if test -n "$PKG_CONFIG"; then
29682 if test -n "$DIRECTFB_CFLAGS"; then
29683 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29685 if test -n "$PKG_CONFIG" && \
29686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29687 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; then
29691 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29699 if test -n "$PKG_CONFIG"; then
29700 if test -n "$DIRECTFB_LIBS"; then
29701 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29703 if test -n "$PKG_CONFIG" && \
29704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29705 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; then
29709 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29720 if test $pkg_failed = yes; then
29722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29723 _pkg_short_errors_supported
=yes
29725 _pkg_short_errors_supported
=no
29727 if test $_pkg_short_errors_supported = yes; then
29728 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29730 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29732 # Put the nasty error message in config.log where it belongs
29733 echo "$DIRECTFB_PKG_ERRORS" >&5
29736 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29737 echo "$as_me: error: DirectFB not found." >&2;}
29738 { (exit 1); exit 1; }; }
29741 elif test $pkg_failed = untried
; then
29743 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29744 echo "$as_me: error: DirectFB not found." >&2;}
29745 { (exit 1); exit 1; }; }
29749 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29750 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29751 echo "$as_me:$LINENO: result: yes" >&5
29752 echo "${ECHO_T}yes" >&6
29754 wxUSE_UNIVERSAL
="yes"
29755 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29756 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29763 if test "$wxUSE_MICROWIN" = 1; then
29764 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29765 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29766 if test "x$MICROWINDOWS" = x
; then
29767 echo "$as_me:$LINENO: result: not found" >&5
29768 echo "${ECHO_T}not found" >&6
29769 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29770 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29771 { (exit 1); exit 1; }; }
29773 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29774 echo "${ECHO_T}$MICROWINDOWS" >&6
29777 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29778 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29779 echo "${ECHO_T}MicroWindows' libraries found." >&6
29781 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29782 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29783 { (exit 1); exit 1; }; }
29786 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29787 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29789 wxUSE_UNIVERSAL
="yes"
29791 AFMINSTALL
=afminstall
29793 GUIDIST
=MICROWIN_DIST
29795 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29798 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29800 if test "x$ac_path_x_has_been_run" != xyes
; then
29801 echo "$as_me:$LINENO: checking for X" >&5
29802 echo $ECHO_N "checking for X... $ECHO_C" >&6
29804 ac_path_x_has_been_run
=yes
29806 # Check whether --with-x or --without-x was given.
29807 if test "${with_x+set}" = set; then
29811 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29812 if test "x$with_x" = xno
; then
29813 # The user explicitly disabled X.
29816 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29817 # Both variables are already set.
29820 if test "${ac_cv_have_x+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29823 # One or both of the vars are not set, and there is no cached value.
29824 ac_x_includes
=no ac_x_libraries
=no
29825 rm -fr conftest.dir
29826 if mkdir conftest.dir
; then
29828 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29829 cat >Imakefile
<<'_ACEOF'
29831 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29833 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29835 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29837 for ac_extension
in a so sl
; do
29838 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29839 test -f $ac_im_libdir/libX11.
$ac_extension; then
29840 ac_im_usrlibdir
=$ac_im_libdir; break
29843 # Screen out bogus values from the imake configuration. They are
29844 # bogus both because they are the default anyway, and because
29845 # using them would break gcc on systems where it needs fixed includes.
29846 case $ac_im_incroot in
29848 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29850 case $ac_im_usrlibdir in
29851 /usr
/lib
| /lib
) ;;
29852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29856 rm -fr conftest.dir
29859 # Standard set of common directories for X headers.
29860 # Check X11 before X11Rn because it is often a symlink to the current release.
29872 /usr/local/X11/include
29873 /usr/local/X11R6/include
29874 /usr/local/X11R5/include
29875 /usr/local/X11R4/include
29877 /usr/local/include/X11
29878 /usr/local/include/X11R6
29879 /usr/local/include/X11R5
29880 /usr/local/include/X11R4
29884 /usr/XFree86/include/X11
29888 /usr/unsupported/include
29889 /usr/athena/include
29890 /usr/local/x11r5/include
29891 /usr/lpp/Xamples/include
29893 /usr/openwin/include
29894 /usr/openwin/share/include'
29896 if test "$ac_x_includes" = no
; then
29897 # Guess where to find include files, by looking for a specified header file.
29898 # First, try using that file with no special directory specified.
29899 cat >conftest.
$ac_ext <<_ACEOF
29902 cat confdefs.h
>>conftest.
$ac_ext
29903 cat >>conftest.
$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905 #include <X11/Xlib.h>
29907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29910 grep -v '^ *+' conftest.er1
>conftest.err
29912 cat conftest.err
>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } >/dev
/null
; then
29915 if test -s conftest.err
; then
29916 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29917 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29924 if test -z "$ac_cpp_err"; then
29925 # We can compile using X headers with no special include directory.
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.
$ac_ext >&5
29931 for ac_dir
in $ac_x_header_dirs; do
29932 if test -r "$ac_dir/X11/Xlib.h"; then
29933 ac_x_includes
=$ac_dir
29938 rm -f conftest.err conftest.
$ac_ext
29939 fi # $ac_x_includes = no
29941 if test "$ac_x_libraries" = no
; then
29942 # Check for the libraries.
29943 # See if we find them without any special options.
29944 # Don't add to $LIBS permanently.
29947 cat >conftest.
$ac_ext <<_ACEOF
29950 cat confdefs.h
>>conftest.
$ac_ext
29951 cat >>conftest.
$ac_ext <<_ACEOF
29952 /* end confdefs.h. */
29953 #include <X11/Xlib.h>
29962 rm -f conftest.
$ac_objext conftest
$ac_exeext
29963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29964 (eval $ac_link) 2>conftest.er1
29966 grep -v '^ *+' conftest.er1
>conftest.err
29968 cat conftest.err
>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } &&
29971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try
='test -s conftest$ac_exeext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29984 # We can link X programs with no special library path.
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.
$ac_ext >&5
29991 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29993 # Don't even attempt the hair of trying to link an X program!
29994 for ac_extension
in a so sl
; do
29995 if test -r $ac_dir/libX11.
$ac_extension; then
29996 ac_x_libraries
=$ac_dir
30002 rm -f conftest.err conftest.
$ac_objext \
30003 conftest
$ac_exeext conftest.
$ac_ext
30004 fi # $ac_x_libraries = no
30006 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
30007 # Didn't find X anywhere. Cache the known absence of X.
30008 ac_cv_have_x
="have_x=no"
30010 # Record where we found X for the cache.
30011 ac_cv_have_x
="have_x=yes \
30012 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30017 eval "$ac_cv_have_x"
30020 if test "$have_x" != yes; then
30021 echo "$as_me:$LINENO: result: $have_x" >&5
30022 echo "${ECHO_T}$have_x" >&6
30025 # If each of the values was on the command line, it overrides each guess.
30026 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30027 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30028 # Update the cache value to reflect the command line values.
30029 ac_cv_have_x
="have_x=yes \
30030 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30031 # It might be that x_includes is empty (headers are found in the
30032 # standard search path. Then output the corresponding message
30033 ac_out_x_includes
=$x_includes
30034 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
30035 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30036 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30040 if test "$no_x" = yes; then
30041 # Not all programs may use this symbol, but it does not hurt to define it.
30043 cat >>confdefs.h
<<\_ACEOF
30044 #define X_DISPLAY_MISSING 1
30047 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30049 if test -n "$x_includes"; then
30050 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30053 # It would also be nice to do this for all -L options, not just this one.
30054 if test -n "$x_libraries"; then
30055 X_LIBS
="$X_LIBS -L$x_libraries"
30056 # For Solaris; some versions of Sun CC require a space after -R and
30057 # others require no space. Words are not sufficient . . . .
30058 case `(uname -sr) 2>/dev/null` in
30060 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30062 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30063 cat >conftest.
$ac_ext <<_ACEOF
30066 cat confdefs.h
>>conftest.
$ac_ext
30067 cat >>conftest.
$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30078 rm -f conftest.
$ac_objext conftest
$ac_exeext
30079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30080 (eval $ac_link) 2>conftest.er1
30082 grep -v '^ *+' conftest.er1
>conftest.err
30084 cat conftest.err
>&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try
='test -s conftest$ac_exeext'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.
$ac_ext >&5
30106 rm -f conftest.err conftest.
$ac_objext \
30107 conftest
$ac_exeext conftest.
$ac_ext
30108 if test $ac_R_nospace = yes; then
30109 echo "$as_me:$LINENO: result: no" >&5
30110 echo "${ECHO_T}no" >&6
30111 X_LIBS
="$X_LIBS -R$x_libraries"
30113 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30114 cat >conftest.
$ac_ext <<_ACEOF
30117 cat confdefs.h
>>conftest.
$ac_ext
30118 cat >>conftest.
$ac_ext <<_ACEOF
30119 /* end confdefs.h. */
30129 rm -f conftest.
$ac_objext conftest
$ac_exeext
30130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30131 (eval $ac_link) 2>conftest.er1
30133 grep -v '^ *+' conftest.er1
>conftest.err
30135 cat conftest.err
>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } &&
30138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; } &&
30144 { ac_try
='test -s conftest$ac_exeext'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.
$ac_ext >&5
30157 rm -f conftest.err conftest.
$ac_objext \
30158 conftest
$ac_exeext conftest.
$ac_ext
30159 if test $ac_R_space = yes; then
30160 echo "$as_me:$LINENO: result: yes" >&5
30161 echo "${ECHO_T}yes" >&6
30162 X_LIBS
="$X_LIBS -R $x_libraries"
30164 echo "$as_me:$LINENO: result: neither works" >&5
30165 echo "${ECHO_T}neither works" >&6
30168 LIBS
=$ac_xsave_LIBS
30172 # Check for system-dependent libraries X programs must link with.
30173 # Do this before checking for the system-independent R6 libraries
30174 # (-lICE), since we may need -lsocket or whatever for X linking.
30176 if test "$ISC" = yes; then
30177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30179 # Martyn Johnson says this is needed for Ultrix, if the X
30180 # libraries were built with DECnet support. And Karl Berry says
30181 # the Alpha needs dnet_stub (dnet does not exist).
30182 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30183 cat >conftest.
$ac_ext <<_ACEOF
30186 cat confdefs.h
>>conftest.
$ac_ext
30187 cat >>conftest.
$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30190 /* Override any gcc2 internal prototype to avoid an error. */
30194 /* We use char because int might match the return type of a gcc2
30195 builtin and then its argument prototype would still apply. */
30196 char XOpenDisplay ();
30205 rm -f conftest.
$ac_objext conftest
$ac_exeext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30207 (eval $ac_link) 2>conftest.er1
30209 grep -v '^ *+' conftest.er1
>conftest.err
30211 cat conftest.err
>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } &&
30214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; } &&
30220 { ac_try
='test -s conftest$ac_exeext'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; }; then
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.
$ac_ext >&5
30231 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30232 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30233 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30236 ac_check_lib_save_LIBS
=$LIBS
30237 LIBS
="-ldnet $LIBS"
30238 cat >conftest.
$ac_ext <<_ACEOF
30241 cat confdefs.h
>>conftest.
$ac_ext
30242 cat >>conftest.
$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30245 /* Override any gcc2 internal prototype to avoid an error. */
30249 /* We use char because int might match the return type of a gcc2
30250 builtin and then its argument prototype would still apply. */
30260 rm -f conftest.
$ac_objext conftest
$ac_exeext
30261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30262 (eval $ac_link) 2>conftest.er1
30264 grep -v '^ *+' conftest.er1
>conftest.err
30266 cat conftest.err
>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } &&
30269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; } &&
30275 { ac_try
='test -s conftest$ac_exeext'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; }; then
30281 ac_cv_lib_dnet_dnet_ntoa
=yes
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.
$ac_ext >&5
30286 ac_cv_lib_dnet_dnet_ntoa
=no
30288 rm -f conftest.err conftest.
$ac_objext \
30289 conftest
$ac_exeext conftest.
$ac_ext
30290 LIBS
=$ac_check_lib_save_LIBS
30292 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30293 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30294 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30295 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30298 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30299 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30300 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30301 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 ac_check_lib_save_LIBS
=$LIBS
30305 LIBS
="-ldnet_stub $LIBS"
30306 cat >conftest.
$ac_ext <<_ACEOF
30309 cat confdefs.h
>>conftest.
$ac_ext
30310 cat >>conftest.
$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30313 /* Override any gcc2 internal prototype to avoid an error. */
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30328 rm -f conftest.
$ac_objext conftest
$ac_exeext
30329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30330 (eval $ac_link) 2>conftest.er1
30332 grep -v '^ *+' conftest.er1
>conftest.err
30334 cat conftest.err
>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } &&
30337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30339 (eval $ac_try) 2>&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; } &&
30343 { ac_try
='test -s conftest$ac_exeext'
30344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30345 (eval $ac_try) 2>&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); }; }; then
30349 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30351 echo "$as_me: failed program was:" >&5
30352 sed 's/^/| /' conftest.
$ac_ext >&5
30354 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30356 rm -f conftest.err conftest.
$ac_objext \
30357 conftest
$ac_exeext conftest.
$ac_ext
30358 LIBS
=$ac_check_lib_save_LIBS
30360 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30361 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30362 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30363 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30368 rm -f conftest.err conftest.
$ac_objext \
30369 conftest
$ac_exeext conftest.
$ac_ext
30370 LIBS
="$ac_xsave_LIBS"
30372 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30373 # to get the SysV transport functions.
30374 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30376 # The nsl library prevents programs from opening the X display
30377 # on Irix 5.2, according to T.E. Dickey.
30378 # The functions gethostbyname, getservbyname, and inet_addr are
30379 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30380 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30381 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30382 if test "${ac_cv_func_gethostbyname+set}" = set; then
30383 echo $ECHO_N "(cached) $ECHO_C" >&6
30385 cat >conftest.
$ac_ext <<_ACEOF
30388 cat confdefs.h
>>conftest.
$ac_ext
30389 cat >>conftest.
$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30393 #define gethostbyname innocuous_gethostbyname
30395 /* System header to define __stub macros and hopefully few prototypes,
30396 which can conflict with char gethostbyname (); below.
30397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30398 <limits.h> exists even on freestanding compilers. */
30401 # include <limits.h>
30403 # include <assert.h>
30406 #undef gethostbyname
30408 /* Override any gcc2 internal prototype to avoid an error. */
30413 /* We use char because int might match the return type of a gcc2
30414 builtin and then its argument prototype would still apply. */
30415 char gethostbyname ();
30416 /* The GNU C library defines this for functions which it implements
30417 to always fail with ENOSYS. Some functions are actually named
30418 something starting with __ and the normal name is an alias. */
30419 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30422 char (*f) () = gethostbyname;
30431 return f != gethostbyname;
30436 rm -f conftest.
$ac_objext conftest
$ac_exeext
30437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30438 (eval $ac_link) 2>conftest.er1
30440 grep -v '^ *+' conftest.er1
>conftest.err
30442 cat conftest.err
>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; } &&
30451 { ac_try
='test -s conftest$ac_exeext'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; }; then
30457 ac_cv_func_gethostbyname
=yes
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.
$ac_ext >&5
30462 ac_cv_func_gethostbyname
=no
30464 rm -f conftest.err conftest.
$ac_objext \
30465 conftest
$ac_exeext conftest.
$ac_ext
30467 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30468 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30470 if test $ac_cv_func_gethostbyname = no
; then
30471 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30472 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30473 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30474 echo $ECHO_N "(cached) $ECHO_C" >&6
30476 ac_check_lib_save_LIBS
=$LIBS
30478 cat >conftest.
$ac_ext <<_ACEOF
30481 cat confdefs.h
>>conftest.
$ac_ext
30482 cat >>conftest.
$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30485 /* Override any gcc2 internal prototype to avoid an error. */
30489 /* We use char because int might match the return type of a gcc2
30490 builtin and then its argument prototype would still apply. */
30491 char gethostbyname ();
30500 rm -f conftest.
$ac_objext conftest
$ac_exeext
30501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30502 (eval $ac_link) 2>conftest.er1
30504 grep -v '^ *+' conftest.er1
>conftest.err
30506 cat conftest.err
>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); } &&
30509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511 (eval $ac_try) 2>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; } &&
30515 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30521 ac_cv_lib_nsl_gethostbyname
=yes
30523 echo "$as_me: failed program was:" >&5
30524 sed 's/^/| /' conftest.
$ac_ext >&5
30526 ac_cv_lib_nsl_gethostbyname
=no
30528 rm -f conftest.err conftest.
$ac_objext \
30529 conftest
$ac_exeext conftest.
$ac_ext
30530 LIBS
=$ac_check_lib_save_LIBS
30532 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30533 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30534 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30538 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30539 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30540 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30541 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30542 echo $ECHO_N "(cached) $ECHO_C" >&6
30544 ac_check_lib_save_LIBS
=$LIBS
30546 cat >conftest.
$ac_ext <<_ACEOF
30549 cat confdefs.h
>>conftest.
$ac_ext
30550 cat >>conftest.
$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30553 /* Override any gcc2 internal prototype to avoid an error. */
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30559 char gethostbyname ();
30568 rm -f conftest.
$ac_objext conftest
$ac_exeext
30569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30570 (eval $ac_link) 2>conftest.er1
30572 grep -v '^ *+' conftest.er1
>conftest.err
30574 cat conftest.err
>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); } &&
30577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; } &&
30583 { ac_try
='test -s conftest$ac_exeext'
30584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 (eval $ac_try) 2>&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); }; }; then
30589 ac_cv_lib_bsd_gethostbyname
=yes
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.
$ac_ext >&5
30594 ac_cv_lib_bsd_gethostbyname
=no
30596 rm -f conftest.err conftest.
$ac_objext \
30597 conftest
$ac_exeext conftest.
$ac_ext
30598 LIBS
=$ac_check_lib_save_LIBS
30600 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30601 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30602 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30609 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30610 # socket/setsockopt and other routines are undefined under SCO ODT
30611 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30612 # on later versions), says Simon Leinen: it contains gethostby*
30613 # variants that don't use the name server (or something). -lsocket
30614 # must be given before -lnsl if both are needed. We assume that
30615 # if connect needs -lnsl, so does gethostbyname.
30616 echo "$as_me:$LINENO: checking for connect" >&5
30617 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30618 if test "${ac_cv_func_connect+set}" = set; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 cat >conftest.
$ac_ext <<_ACEOF
30624 cat confdefs.h
>>conftest.
$ac_ext
30625 cat >>conftest.
$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30629 #define connect innocuous_connect
30631 /* System header to define __stub macros and hopefully few prototypes,
30632 which can conflict with char connect (); below.
30633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30634 <limits.h> exists even on freestanding compilers. */
30637 # include <limits.h>
30639 # include <assert.h>
30644 /* Override any gcc2 internal prototype to avoid an error. */
30649 /* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30652 /* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655 #if defined (__stub_connect) || defined (__stub___connect)
30658 char (*f) () = connect;
30667 return f != connect;
30672 rm -f conftest.
$ac_objext conftest
$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>conftest.er1
30676 grep -v '^ *+' conftest.er1
>conftest.err
30678 cat conftest.err
>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try
='test -s conftest$ac_exeext'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30693 ac_cv_func_connect
=yes
30695 echo "$as_me: failed program was:" >&5
30696 sed 's/^/| /' conftest.
$ac_ext >&5
30698 ac_cv_func_connect
=no
30700 rm -f conftest.err conftest.
$ac_objext \
30701 conftest
$ac_exeext conftest.
$ac_ext
30703 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30704 echo "${ECHO_T}$ac_cv_func_connect" >&6
30706 if test $ac_cv_func_connect = no
; then
30707 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30708 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30709 if test "${ac_cv_lib_socket_connect+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 ac_check_lib_save_LIBS
=$LIBS
30713 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30714 cat >conftest.
$ac_ext <<_ACEOF
30717 cat confdefs.h
>>conftest.
$ac_ext
30718 cat >>conftest.
$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30721 /* Override any gcc2 internal prototype to avoid an error. */
30725 /* We use char because int might match the return type of a gcc2
30726 builtin and then its argument prototype would still apply. */
30736 rm -f conftest.
$ac_objext conftest
$ac_exeext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30738 (eval $ac_link) 2>conftest.er1
30740 grep -v '^ *+' conftest.er1
>conftest.err
30742 cat conftest.err
>&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30757 ac_cv_lib_socket_connect
=yes
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.
$ac_ext >&5
30762 ac_cv_lib_socket_connect
=no
30764 rm -f conftest.err conftest.
$ac_objext \
30765 conftest
$ac_exeext conftest.
$ac_ext
30766 LIBS
=$ac_check_lib_save_LIBS
30768 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30769 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30770 if test $ac_cv_lib_socket_connect = yes; then
30771 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30776 # Guillermo Gomez says -lposix is necessary on A/UX.
30777 echo "$as_me:$LINENO: checking for remove" >&5
30778 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30779 if test "${ac_cv_func_remove+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 cat >conftest.
$ac_ext <<_ACEOF
30785 cat confdefs.h
>>conftest.
$ac_ext
30786 cat >>conftest.
$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30790 #define remove innocuous_remove
30792 /* System header to define __stub macros and hopefully few prototypes,
30793 which can conflict with char remove (); below.
30794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30795 <limits.h> exists even on freestanding compilers. */
30798 # include <limits.h>
30800 # include <assert.h>
30805 /* Override any gcc2 internal prototype to avoid an error. */
30810 /* We use char because int might match the return type of a gcc2
30811 builtin and then its argument prototype would still apply. */
30813 /* The GNU C library defines this for functions which it implements
30814 to always fail with ENOSYS. Some functions are actually named
30815 something starting with __ and the normal name is an alias. */
30816 #if defined (__stub_remove) || defined (__stub___remove)
30819 char (*f) () = remove;
30828 return f != remove;
30833 rm -f conftest.
$ac_objext conftest
$ac_exeext
30834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30835 (eval $ac_link) 2>conftest.er1
30837 grep -v '^ *+' conftest.er1
>conftest.err
30839 cat conftest.err
>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } &&
30842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30844 (eval $ac_try) 2>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; } &&
30848 { ac_try
='test -s conftest$ac_exeext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 ac_cv_func_remove
=yes
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.
$ac_ext >&5
30859 ac_cv_func_remove
=no
30861 rm -f conftest.err conftest.
$ac_objext \
30862 conftest
$ac_exeext conftest.
$ac_ext
30864 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30865 echo "${ECHO_T}$ac_cv_func_remove" >&6
30867 if test $ac_cv_func_remove = no
; then
30868 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30869 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30870 if test "${ac_cv_lib_posix_remove+set}" = set; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 ac_check_lib_save_LIBS
=$LIBS
30874 LIBS
="-lposix $LIBS"
30875 cat >conftest.
$ac_ext <<_ACEOF
30878 cat confdefs.h
>>conftest.
$ac_ext
30879 cat >>conftest.
$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30882 /* Override any gcc2 internal prototype to avoid an error. */
30886 /* We use char because int might match the return type of a gcc2
30887 builtin and then its argument prototype would still apply. */
30897 rm -f conftest.
$ac_objext conftest
$ac_exeext
30898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30899 (eval $ac_link) 2>conftest.er1
30901 grep -v '^ *+' conftest.er1
>conftest.err
30903 cat conftest.err
>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
30906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; } &&
30912 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30918 ac_cv_lib_posix_remove
=yes
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.
$ac_ext >&5
30923 ac_cv_lib_posix_remove
=no
30925 rm -f conftest.err conftest.
$ac_objext \
30926 conftest
$ac_exeext conftest.
$ac_ext
30927 LIBS
=$ac_check_lib_save_LIBS
30929 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30930 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30931 if test $ac_cv_lib_posix_remove = yes; then
30932 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30937 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30938 echo "$as_me:$LINENO: checking for shmat" >&5
30939 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30940 if test "${ac_cv_func_shmat+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30943 cat >conftest.
$ac_ext <<_ACEOF
30946 cat confdefs.h
>>conftest.
$ac_ext
30947 cat >>conftest.
$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30949 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30951 #define shmat innocuous_shmat
30953 /* System header to define __stub macros and hopefully few prototypes,
30954 which can conflict with char shmat (); below.
30955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30956 <limits.h> exists even on freestanding compilers. */
30959 # include <limits.h>
30961 # include <assert.h>
30966 /* Override any gcc2 internal prototype to avoid an error. */
30971 /* We use char because int might match the return type of a gcc2
30972 builtin and then its argument prototype would still apply. */
30974 /* The GNU C library defines this for functions which it implements
30975 to always fail with ENOSYS. Some functions are actually named
30976 something starting with __ and the normal name is an alias. */
30977 #if defined (__stub_shmat) || defined (__stub___shmat)
30980 char (*f) () = shmat;
30994 rm -f conftest.
$ac_objext conftest
$ac_exeext
30995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30996 (eval $ac_link) 2>conftest.er1
30998 grep -v '^ *+' conftest.er1
>conftest.err
31000 cat conftest.err
>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } &&
31003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; } &&
31009 { ac_try
='test -s conftest$ac_exeext'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; }; then
31015 ac_cv_func_shmat
=yes
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.
$ac_ext >&5
31020 ac_cv_func_shmat
=no
31022 rm -f conftest.err conftest.
$ac_objext \
31023 conftest
$ac_exeext conftest.
$ac_ext
31025 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31026 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31028 if test $ac_cv_func_shmat = no
; then
31029 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31030 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31031 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 ac_check_lib_save_LIBS
=$LIBS
31036 cat >conftest.
$ac_ext <<_ACEOF
31039 cat confdefs.h
>>conftest.
$ac_ext
31040 cat >>conftest.
$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31043 /* Override any gcc2 internal prototype to avoid an error. */
31047 /* We use char because int might match the return type of a gcc2
31048 builtin and then its argument prototype would still apply. */
31058 rm -f conftest.
$ac_objext conftest
$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31062 grep -v '^ *+' conftest.er1
>conftest.err
31064 cat conftest.err
>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; } &&
31073 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
31079 ac_cv_lib_ipc_shmat
=yes
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.
$ac_ext >&5
31084 ac_cv_lib_ipc_shmat
=no
31086 rm -f conftest.err conftest.
$ac_objext \
31087 conftest
$ac_exeext conftest.
$ac_ext
31088 LIBS
=$ac_check_lib_save_LIBS
31090 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31091 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31092 if test $ac_cv_lib_ipc_shmat = yes; then
31093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31099 # Check for libraries that X11R6 Xt/Xaw programs need.
31100 ac_save_LDFLAGS
=$LDFLAGS
31101 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31102 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31103 # check for ICE first), but we must link in the order -lSM -lICE or
31104 # we get undefined symbols. So assume we have SM if we have ICE.
31105 # These have to be linked with before -lX11, unlike the other
31106 # libraries we check for below, so use a different variable.
31107 # John Interrante, Karl Berry
31108 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31109 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31110 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31111 echo $ECHO_N "(cached) $ECHO_C" >&6
31113 ac_check_lib_save_LIBS
=$LIBS
31114 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31115 cat >conftest.
$ac_ext <<_ACEOF
31118 cat confdefs.h
>>conftest.
$ac_ext
31119 cat >>conftest.
$ac_ext <<_ACEOF
31120 /* end confdefs.h. */
31122 /* Override any gcc2 internal prototype to avoid an error. */
31126 /* We use char because int might match the return type of a gcc2
31127 builtin and then its argument prototype would still apply. */
31128 char IceConnectionNumber ();
31132 IceConnectionNumber ();
31137 rm -f conftest.
$ac_objext conftest
$ac_exeext
31138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31139 (eval $ac_link) 2>conftest.er1
31141 grep -v '^ *+' conftest.er1
>conftest.err
31143 cat conftest.err
>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } &&
31146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; } &&
31152 { ac_try
='test -s conftest$ac_exeext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 ac_cv_lib_ICE_IceConnectionNumber
=yes
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.
$ac_ext >&5
31163 ac_cv_lib_ICE_IceConnectionNumber
=no
31165 rm -f conftest.err conftest.
$ac_objext \
31166 conftest
$ac_exeext conftest.
$ac_ext
31167 LIBS
=$ac_check_lib_save_LIBS
31169 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31170 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31171 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31172 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31175 LDFLAGS
=$ac_save_LDFLAGS
31180 if test "$no_x" = "yes"; then
31181 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31182 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31183 { (exit 1); exit 1; }; }
31186 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31187 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31188 AFMINSTALL
=afminstall
31189 COMPILED_X_PROGRAM
=0
31193 if test "$wxUSE_X11" = 1; then
31194 if test "$wxUSE_NANOX" = "yes"; then
31195 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31196 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31197 if test "x$MICROWIN" = x
; then
31198 echo "$as_me:$LINENO: result: not found" >&5
31199 echo "${ECHO_T}not found" >&6
31200 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31201 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31202 { (exit 1); exit 1; }; }
31204 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31205 echo "${ECHO_T}$MICROWIN" >&6
31206 cat >>confdefs.h
<<\_ACEOF
31207 #define wxUSE_NANOX 1
31213 if test "$wxUSE_UNICODE" = "yes"; then
31216 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31217 if test -n "$ac_tool_prefix"; then
31218 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31219 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31220 echo "$as_me:$LINENO: checking for $ac_word" >&5
31221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31222 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 case $PKG_CONFIG in
31227 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31231 for as_dir
in $PATH
31234 test -z "$as_dir" && as_dir
=.
31235 for ac_exec_ext
in '' $ac_executable_extensions; do
31236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31237 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31247 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31249 if test -n "$PKG_CONFIG"; then
31250 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31251 echo "${ECHO_T}$PKG_CONFIG" >&6
31253 echo "$as_me:$LINENO: result: no" >&5
31254 echo "${ECHO_T}no" >&6
31258 if test -z "$ac_cv_path_PKG_CONFIG"; then
31259 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31260 # Extract the first word of "pkg-config", so it can be a program name with args.
31261 set dummy pkg
-config; ac_word
=$2
31262 echo "$as_me:$LINENO: checking for $ac_word" >&5
31263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31265 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 case $ac_pt_PKG_CONFIG in
31269 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31273 for as_dir
in $PATH
31276 test -z "$as_dir" && as_dir
=.
31277 for ac_exec_ext
in '' $ac_executable_extensions; do
31278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31279 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31289 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31291 if test -n "$ac_pt_PKG_CONFIG"; then
31292 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31293 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31295 echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6
31299 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31301 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31305 if test -n "$PKG_CONFIG"; then
31306 _pkg_min_version
=0.9.0
31307 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31308 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31309 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31313 echo "$as_me:$LINENO: result: no" >&5
31314 echo "${ECHO_T}no" >&6
31322 echo "$as_me:$LINENO: checking for PANGOX" >&5
31323 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31325 if test -n "$PKG_CONFIG"; then
31326 if test -n "$PANGOX_CFLAGS"; then
31327 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31329 if test -n "$PKG_CONFIG" && \
31330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31331 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); }; then
31335 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31343 if test -n "$PKG_CONFIG"; then
31344 if test -n "$PANGOX_LIBS"; then
31345 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31347 if test -n "$PKG_CONFIG" && \
31348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31349 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; then
31353 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31364 if test $pkg_failed = yes; then
31366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31367 _pkg_short_errors_supported
=yes
31369 _pkg_short_errors_supported
=no
31371 if test $_pkg_short_errors_supported = yes; then
31372 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31374 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31376 # Put the nasty error message in config.log where it belongs
31377 echo "$PANGOX_PKG_ERRORS" >&5
31380 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31381 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31382 { (exit 1); exit 1; }; }
31385 elif test $pkg_failed = untried
; then
31387 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31388 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31389 { (exit 1); exit 1; }; }
31393 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31394 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31395 echo "$as_me:$LINENO: result: yes" >&5
31396 echo "${ECHO_T}yes" >&6
31398 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31399 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31404 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31405 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31407 if test -n "$PKG_CONFIG"; then
31408 if test -n "$PANGOFT2_CFLAGS"; then
31409 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31411 if test -n "$PKG_CONFIG" && \
31412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31413 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; then
31417 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31425 if test -n "$PKG_CONFIG"; then
31426 if test -n "$PANGOFT2_LIBS"; then
31427 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31429 if test -n "$PKG_CONFIG" && \
31430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31431 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; then
31435 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31446 if test $pkg_failed = yes; then
31448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31449 _pkg_short_errors_supported
=yes
31451 _pkg_short_errors_supported
=no
31453 if test $_pkg_short_errors_supported = yes; then
31454 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31456 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31458 # Put the nasty error message in config.log where it belongs
31459 echo "$PANGOFT2_PKG_ERRORS" >&5
31462 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31463 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31464 wxUSE_PRINTING_ARCHITECTURE
="no"
31467 elif test $pkg_failed = untried
; then
31469 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31470 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31471 wxUSE_PRINTING_ARCHITECTURE
="no"
31475 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31476 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31477 echo "$as_me:$LINENO: result: yes" >&5
31478 echo "${ECHO_T}yes" >&6
31480 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31481 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31486 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31487 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31489 if test -n "$PKG_CONFIG"; then
31490 if test -n "$PANGOXFT_CFLAGS"; then
31491 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31493 if test -n "$PKG_CONFIG" && \
31494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31495 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; then
31499 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31507 if test -n "$PKG_CONFIG"; then
31508 if test -n "$PANGOXFT_LIBS"; then
31509 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31511 if test -n "$PKG_CONFIG" && \
31512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31513 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; then
31517 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31528 if test $pkg_failed = yes; then
31530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31531 _pkg_short_errors_supported
=yes
31533 _pkg_short_errors_supported
=no
31535 if test $_pkg_short_errors_supported = yes; then
31536 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31538 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31540 # Put the nasty error message in config.log where it belongs
31541 echo "$PANGOXFT_PKG_ERRORS" >&5
31544 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31545 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31548 elif test $pkg_failed = untried
; then
31550 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31551 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31555 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31556 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31557 echo "$as_me:$LINENO: result: yes" >&5
31558 echo "${ECHO_T}yes" >&6
31560 cat >>confdefs.h
<<\_ACEOF
31561 #define HAVE_PANGO_XFT 1
31564 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31565 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31568 save_CXXFLAGS
="$CXXFLAGS"
31570 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31571 LIBS
="$LIBS $PANGOX_LIBS"
31573 for ac_func
in pango_font_family_is_monospace
31575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31576 echo "$as_me:$LINENO: checking for $ac_func" >&5
31577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_var+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 cat >conftest.
$ac_ext <<_ACEOF
31584 cat confdefs.h
>>conftest.
$ac_ext
31585 cat >>conftest.
$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31589 #define $ac_func innocuous_$ac_func
31591 /* System header to define __stub macros and hopefully few prototypes,
31592 which can conflict with char $ac_func (); below.
31593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31594 <limits.h> exists even on freestanding compilers. */
31597 # include <limits.h>
31599 # include <assert.h>
31604 /* Override any gcc2 internal prototype to avoid an error. */
31609 /* We use char because int might match the return type of a gcc2
31610 builtin and then its argument prototype would still apply. */
31612 /* The GNU C library defines this for functions which it implements
31613 to always fail with ENOSYS. Some functions are actually named
31614 something starting with __ and the normal name is an alias. */
31615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31618 char (*f) () = $ac_func;
31627 return f != $ac_func;
31632 rm -f conftest.
$ac_objext conftest
$ac_exeext
31633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31634 (eval $ac_link) 2>conftest.er1
31636 grep -v '^ *+' conftest.er1
>conftest.err
31638 cat conftest.err
>&5
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); } &&
31641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try
='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 eval "$as_ac_var=yes"
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.
$ac_ext >&5
31658 eval "$as_ac_var=no"
31660 rm -f conftest.err conftest.
$ac_objext \
31661 conftest
$ac_exeext conftest.
$ac_ext
31663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31665 if test `eval echo '${'$as_ac_var'}'` = yes; then
31666 cat >>confdefs.h
<<_ACEOF
31667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31673 CXXFLAGS
="$save_CXXFLAGS"
31677 wxUSE_UNIVERSAL
="yes"
31679 if test "$wxUSE_NANOX" = "yes"; then
31680 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31681 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"
31682 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31684 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31691 if test "$wxUSE_MOTIF" = 1; then
31692 if test "$wxUSE_UNICODE" = "yes"; then
31693 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31694 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31695 { (exit 1); exit 1; }; }
31698 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31699 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31702 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31704 if test -f "$ac_dir/Xm/Xm.h"; then
31705 ac_find_includes
=$ac_dir
31710 if test "$ac_find_includes" != "" ; then
31711 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31712 echo "${ECHO_T}found in $ac_find_includes" >&6
31714 if test "x$ac_find_includes" = "x/usr/include"; then
31715 ac_path_to_include
=""
31717 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31719 if test $result = 0; then
31720 ac_path_to_include
=""
31722 ac_path_to_include
=" -I$ac_find_includes"
31726 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31728 save_CXXFLAGS
=$CXXFLAGS
31729 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31731 cat >conftest.
$ac_ext <<_ACEOF
31734 cat confdefs.h
>>conftest.
$ac_ext
31735 cat >>conftest.
$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31745 version = xmUseVersion;
31751 rm -f conftest.
$ac_objext
31752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31753 (eval $ac_compile) 2>conftest.er1
31755 grep -v '^ *+' conftest.er1
>conftest.err
31757 cat conftest.err
>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); } &&
31760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31762 (eval $ac_try) 2>&5
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); }; } &&
31766 { ac_try
='test -s conftest.$ac_objext'
31767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31768 (eval $ac_try) 2>&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); }; }; then
31773 echo "$as_me:$LINENO: result: found in default search path" >&5
31774 echo "${ECHO_T}found in default search path" >&6
31775 COMPILED_X_PROGRAM
=1
31778 echo "$as_me: failed program was:" >&5
31779 sed 's/^/| /' conftest.
$ac_ext >&5
31782 echo "$as_me:$LINENO: result: no" >&5
31783 echo "${ECHO_T}no" >&6
31784 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31785 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31786 { (exit 1); exit 1; }; }
31790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31792 CXXFLAGS
=$save_CXXFLAGS
31796 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31797 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31800 for ac_dir
in $SEARCH_LIB;
31802 for ac_extension
in a so sl dylib dll.a
; do
31803 if test -f "$ac_dir/libXm.$ac_extension"; then
31804 ac_find_libraries
=$ac_dir
31811 if test "x$ac_find_libraries" != "x" ; then
31812 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31813 echo "${ECHO_T}found in $ac_find_libraries" >&6
31816 if test "$ac_find_libraries" = "default location"; then
31819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31821 if test $result = 0; then
31824 ac_path_to_link
=" -L$ac_find_libraries"
31828 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31830 save_CXXFLAGS
=$CXXFLAGS
31831 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31833 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31835 cat >conftest.
$ac_ext <<_ACEOF
31838 cat confdefs.h
>>conftest.
$ac_ext
31839 cat >>conftest.
$ac_ext <<_ACEOF
31840 /* end confdefs.h. */
31849 version = xmUseVersion;
31855 rm -f conftest.
$ac_objext conftest
$ac_exeext
31856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31857 (eval $ac_link) 2>conftest.er1
31859 grep -v '^ *+' conftest.er1
>conftest.err
31861 cat conftest.err
>&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } &&
31864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866 (eval $ac_try) 2>&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; } &&
31870 { ac_try
='test -s conftest$ac_exeext'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; }; then
31877 echo "$as_me:$LINENO: result: found in default search path" >&5
31878 echo "${ECHO_T}found in default search path" >&6
31879 COMPILED_X_PROGRAM
=1
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.
$ac_ext >&5
31886 echo "$as_me:$LINENO: result: no" >&5
31887 echo "${ECHO_T}no" >&6
31888 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31889 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31890 { (exit 1); exit 1; }; }
31894 rm -f conftest.err conftest.
$ac_objext \
31895 conftest
$ac_exeext conftest.
$ac_ext
31897 CXXFLAGS
=$save_CXXFLAGS
31901 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31902 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31906 for libp
in "" " -lXp"; do
31907 if test "$libs_found" = "0"; then
31908 for libsm_ice
in "" " -lSM -lICE"; do
31909 if test "$libs_found" = "0"; then
31911 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31912 save_CXXFLAGS
=$CXXFLAGS
31913 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31915 cat >conftest.
$ac_ext <<_ACEOF
31918 cat confdefs.h
>>conftest.
$ac_ext
31919 cat >>conftest.
$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31923 #include <Xm/List.h>
31929 XmString string = NULL;
31932 XmListAddItem(w, string, position);
31938 rm -f conftest.
$ac_objext conftest
$ac_exeext
31939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31940 (eval $ac_link) 2>conftest.er1
31942 grep -v '^ *+' conftest.er1
>conftest.err
31944 cat conftest.err
>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } &&
31947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try
='test -s conftest$ac_exeext'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; }; then
31961 libsm_ice_link
="$libsm_ice"
31962 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31963 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31967 echo "$as_me: failed program was:" >&5
31968 sed 's/^/| /' conftest.
$ac_ext >&5
31973 rm -f conftest.err conftest.
$ac_objext \
31974 conftest
$ac_exeext conftest.
$ac_ext
31977 CXXFLAGS
=$save_CXXFLAGS
31983 if test "$libs_found" = "0"; then
31984 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31985 echo "${ECHO_T}can't find the right libraries" >&6
31986 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31987 echo "$as_me: error: can't link a simple motif program" >&2;}
31988 { (exit 1); exit 1; }; }
31991 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31992 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31993 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 ac_check_lib_save_LIBS
=$LIBS
31998 cat >conftest.
$ac_ext <<_ACEOF
32001 cat confdefs.h
>>conftest.
$ac_ext
32002 cat >>conftest.
$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32005 /* Override any gcc2 internal prototype to avoid an error. */
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32011 char SgCreateList ();
32020 rm -f conftest.
$ac_objext conftest
$ac_exeext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32022 (eval $ac_link) 2>conftest.er1
32024 grep -v '^ *+' conftest.er1
>conftest.err
32026 cat conftest.err
>&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } &&
32029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try
='test -s conftest$ac_exeext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 ac_cv_lib_Sgm_SgCreateList
=yes
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.
$ac_ext >&5
32046 ac_cv_lib_Sgm_SgCreateList
=no
32048 rm -f conftest.err conftest.
$ac_objext \
32049 conftest
$ac_exeext conftest.
$ac_ext
32050 LIBS
=$ac_check_lib_save_LIBS
32052 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32053 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32054 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32055 libsgm_link
=" -lSgm"
32059 save_CXXFLAGS
=$CXXFLAGS
32060 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32062 echo "$as_me:$LINENO: checking for Motif 2" >&5
32063 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32064 if test "${wx_cv_lib_motif2+set}" = set; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32067 cat >conftest.
$ac_ext <<_ACEOF
32070 cat confdefs.h
>>conftest.
$ac_ext
32071 cat >>conftest.
$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32080 #if XmVersion < 2000
32088 rm -f conftest.
$ac_objext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32090 (eval $ac_compile) 2>conftest.er1
32092 grep -v '^ *+' conftest.er1
>conftest.err
32094 cat conftest.err
>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try
='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 wx_cv_lib_motif2
="yes"
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.
$ac_ext >&5
32114 wx_cv_lib_motif2
="no"
32116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32118 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32119 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32120 if test "$wx_cv_lib_motif2" = "yes"; then
32121 cat >>confdefs.h
<<\_ACEOF
32122 #define __WXMOTIF20__ 1
32126 cat >>confdefs.h
<<\_ACEOF
32127 #define __WXMOTIF20__ 0
32132 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32133 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32134 if test "${wx_cv_lib_lesstif+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 !defined(LesstifVersion) || LesstifVersion <= 0
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_lesstif
="yes"
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.
$ac_ext >&5
32184 wx_cv_lib_lesstif
="no"
32186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32189 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32190 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32191 if test "$wx_cv_lib_lesstif" = "yes"; then
32192 cat >>confdefs.h
<<\_ACEOF
32193 #define __WXLESSTIF__ 1
32197 cat >>confdefs.h
<<\_ACEOF
32198 #define __WXLESSTIF__ 0
32203 CXXFLAGS
=$save_CXXFLAGS
32205 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32210 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32211 if test "$wxUSE_LIBXPM" = "sys"; then
32212 echo "$as_me:$LINENO: checking for Xpm library" >&5
32213 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32216 for ac_dir
in $SEARCH_LIB;
32218 for ac_extension
in a so sl dylib dll.a
; do
32219 if test -f "$ac_dir/libXpm.$ac_extension"; then
32220 ac_find_libraries
=$ac_dir
32226 if test "$ac_find_libraries" != "" ; then
32228 if test "$ac_find_libraries" = "default location"; then
32231 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32233 if test $result = 0; then
32236 ac_path_to_link
=" -L$ac_find_libraries"
32240 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32241 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32242 echo "${ECHO_T}found in $ac_find_libraries" >&6
32244 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32245 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32246 if test "${wx_cv_x11_xpm_h+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 save_CXXFLAGS
=$CXXFLAGS
32251 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32253 cat >conftest.
$ac_ext <<_ACEOF
32256 cat confdefs.h
>>conftest.
$ac_ext
32257 cat >>conftest.
$ac_ext <<_ACEOF
32258 /* end confdefs.h. */
32260 #include <X11/xpm.h>
32267 version = XpmLibraryVersion();
32273 rm -f conftest.
$ac_objext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 (eval $ac_compile) 2>conftest.er1
32277 grep -v '^ *+' conftest.er1
>conftest.err
32279 cat conftest.err
>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try
='test -s conftest.$ac_objext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 wx_cv_x11_xpm_h
=yes
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.
$ac_ext >&5
32302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32304 CXXFLAGS
=$save_CXXFLAGS
32308 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32309 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32311 if test $wx_cv_x11_xpm_h = "yes"; then
32312 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32313 cat >>confdefs.h
<<\_ACEOF
32314 #define wxHAVE_LIB_XPM 1
32318 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32319 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32325 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32326 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32327 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32328 echo $ECHO_N "(cached) $ECHO_C" >&6
32330 ac_check_lib_save_LIBS
=$LIBS
32331 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32332 cat >conftest.
$ac_ext <<_ACEOF
32335 cat confdefs.h
>>conftest.
$ac_ext
32336 cat >>conftest.
$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32339 /* Override any gcc2 internal prototype to avoid an error. */
32343 /* We use char because int might match the return type of a gcc2
32344 builtin and then its argument prototype would still apply. */
32345 char XShapeQueryExtension ();
32349 XShapeQueryExtension ();
32354 rm -f conftest.
$ac_objext conftest
$ac_exeext
32355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32356 (eval $ac_link) 2>conftest.er1
32358 grep -v '^ *+' conftest.er1
>conftest.err
32360 cat conftest.err
>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); } &&
32363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; } &&
32369 { ac_try
='test -s conftest$ac_exeext'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; }; then
32375 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32377 echo "$as_me: failed program was:" >&5
32378 sed 's/^/| /' conftest.
$ac_ext >&5
32380 ac_cv_lib_Xext_XShapeQueryExtension
=no
32382 rm -f conftest.err conftest.
$ac_objext \
32383 conftest
$ac_exeext conftest.
$ac_ext
32384 LIBS
=$ac_check_lib_save_LIBS
32386 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32387 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32388 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32390 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32396 if test "$wxHAVE_XEXT_LIB" = 1; then
32397 save_CXXFLAGS
="$CXXFLAGS"
32398 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32400 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32401 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32402 cat >conftest.
$ac_ext <<_ACEOF
32405 cat confdefs.h
>>conftest.
$ac_ext
32406 cat >>conftest.
$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32409 #include <X11/Xlib.h>
32410 #include <X11/extensions/shape.h>
32416 int dummy1, dummy2;
32417 XShapeQueryExtension((Display*)NULL,
32418 (int*)NULL, (int*)NULL);
32424 rm -f conftest.
$ac_objext
32425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32426 (eval $ac_compile) 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_objext'
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
32446 cat >>confdefs.h
<<\_ACEOF
32447 #define HAVE_XSHAPE 1
32450 echo "$as_me:$LINENO: result: found" >&5
32451 echo "${ECHO_T}found" >&6
32454 echo "$as_me: failed program was:" >&5
32455 sed 's/^/| /' conftest.
$ac_ext >&5
32458 echo "$as_me:$LINENO: result: not found" >&5
32459 echo "${ECHO_T}not found" >&6
32462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32463 CXXFLAGS
="$save_CXXFLAGS"
32468 if test "$wxUSE_MAC" = 1; then
32469 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32470 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32471 if test "$GCC" = yes; then
32472 echo "$as_me:$LINENO: result: gcc" >&5
32473 echo "${ECHO_T}gcc" >&6
32474 CPPFLAGS_PASCAL
="-fpascal-strings"
32475 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32476 echo "$as_me:$LINENO: result: xlc" >&5
32477 echo "${ECHO_T}xlc" >&6
32478 CPPFLAGS_PASCAL
="-qmacpstr"
32480 echo "$as_me:$LINENO: result: none" >&5
32481 echo "${ECHO_T}none" >&6
32484 if test "x$wxUSE_UNIX" = "xyes"; then
32485 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32487 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32492 WXBASEPORT
="_carbon"
32495 if test "$wxUSE_COCOA" = 1; then
32500 if test "$wxUSE_PM" = 1; then
32503 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32504 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32505 if test "${wx_cv_spbcdata+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 cat >conftest.
$ac_ext <<_ACEOF
32512 cat confdefs.h
>>conftest.
$ac_ext
32513 cat >>conftest.
$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32529 rm -f conftest.
$ac_objext
32530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32531 (eval $ac_compile) 2>conftest.er1
32533 grep -v '^ *+' conftest.er1
>conftest.err
32535 cat conftest.err
>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } &&
32538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; } &&
32544 { ac_try
='test -s conftest.$ac_objext'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; }; then
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.
$ac_ext >&5
32558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32562 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32563 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32565 if test $wx_cv_spbcdata = "yes"; then
32566 cat >>confdefs.h
<<\_ACEOF
32567 #define HAVE_SPBCDATA 1
32573 if test "$TOOLKIT" = "PM" ; then
32576 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32579 if test "$wxUSE_UNIVERSAL" = "yes"; then
32580 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32584 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32585 DISTDIR
="wx\$(TOOLKIT)"
32591 if test "$USE_WIN32" = 1 ; then
32595 GUIDIST
="BASE_DIST"
32600 if test "$wxUSE_GUI" = "yes"; then
32601 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32603 for ac_header
in X
11/Xlib.h
32605 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32607 echo "$as_me:$LINENO: checking for $ac_header" >&5
32608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32610 echo $ECHO_N "(cached) $ECHO_C" >&6
32612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32615 # Is the header compilable?
32616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32618 cat >conftest.
$ac_ext <<_ACEOF
32621 cat confdefs.h
>>conftest.
$ac_ext
32622 cat >>conftest.
$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32624 $ac_includes_default
32625 #include <$ac_header>
32627 rm -f conftest.
$ac_objext
32628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32629 (eval $ac_compile) 2>conftest.er1
32631 grep -v '^ *+' conftest.er1
>conftest.err
32633 cat conftest.err
>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } &&
32636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try
='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_header_compiler
=yes
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.
$ac_ext >&5
32653 ac_header_compiler
=no
32655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32657 echo "${ECHO_T}$ac_header_compiler" >&6
32659 # Is the header present?
32660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32662 cat >conftest.
$ac_ext <<_ACEOF
32665 cat confdefs.h
>>conftest.
$ac_ext
32666 cat >>conftest.
$ac_ext <<_ACEOF
32667 /* end confdefs.h. */
32668 #include <$ac_header>
32670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32673 grep -v '^ *+' conftest.er1
>conftest.err
32675 cat conftest.err
>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } >/dev
/null
; then
32678 if test -s conftest.err
; then
32679 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32680 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32687 if test -z "$ac_cpp_err"; then
32688 ac_header_preproc
=yes
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.
$ac_ext >&5
32693 ac_header_preproc
=no
32695 rm -f conftest.err conftest.
$ac_ext
32696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32697 echo "${ECHO_T}$ac_header_preproc" >&6
32699 # So? What about this header?
32700 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32706 ac_header_preproc
=yes
32709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32723 ## ----------------------------------------- ##
32724 ## Report this to wx-dev@lists.wxwidgets.org ##
32725 ## ----------------------------------------- ##
32728 sed "s/^/$as_me: WARNING: /" >&2
32731 echo "$as_me:$LINENO: checking for $ac_header" >&5
32732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 eval "$as_ac_Header=\$ac_header_preproc"
32738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32743 cat >>confdefs.h
<<_ACEOF
32744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32752 for ac_header
in X
11/XKBlib.h
32754 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32755 echo "$as_me:$LINENO: checking for $ac_header" >&5
32756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 cat >conftest.
$ac_ext <<_ACEOF
32763 cat confdefs.h
>>conftest.
$ac_ext
32764 cat >>conftest.
$ac_ext <<_ACEOF
32765 /* end confdefs.h. */
32767 #if HAVE_X11_XLIB_H
32768 #include <X11/Xlib.h>
32772 #include <$ac_header>
32774 rm -f conftest.
$ac_objext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32776 (eval $ac_compile) 2>conftest.er1
32778 grep -v '^ *+' conftest.er1
>conftest.err
32780 cat conftest.err
>&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } &&
32783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; } &&
32789 { ac_try
='test -s conftest.$ac_objext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 eval "$as_ac_Header=yes"
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.
$ac_ext >&5
32800 eval "$as_ac_Header=no"
32802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32807 cat >>confdefs.h
<<_ACEOF
32808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32823 if test "$TOOLKIT" != "MSW" ; then
32825 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32827 if test "${ac_cv_header_sql_h+set}" = set; then
32828 echo "$as_me:$LINENO: checking for sql.h" >&5
32829 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32830 if test "${ac_cv_header_sql_h+set}" = set; then
32831 echo $ECHO_N "(cached) $ECHO_C" >&6
32833 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32834 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32836 # Is the header compilable?
32837 echo "$as_me:$LINENO: checking sql.h usability" >&5
32838 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32839 cat >conftest.
$ac_ext <<_ACEOF
32842 cat confdefs.h
>>conftest.
$ac_ext
32843 cat >>conftest.
$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845 $ac_includes_default
32848 rm -f conftest.
$ac_objext
32849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32850 (eval $ac_compile) 2>conftest.er1
32852 grep -v '^ *+' conftest.er1
>conftest.err
32854 cat conftest.err
>&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); } &&
32857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; } &&
32863 { ac_try
='test -s conftest.$ac_objext'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; }; then
32869 ac_header_compiler
=yes
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.
$ac_ext >&5
32874 ac_header_compiler
=no
32876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32878 echo "${ECHO_T}$ac_header_compiler" >&6
32880 # Is the header present?
32881 echo "$as_me:$LINENO: checking sql.h presence" >&5
32882 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32883 cat >conftest.
$ac_ext <<_ACEOF
32886 cat confdefs.h
>>conftest.
$ac_ext
32887 cat >>conftest.
$ac_ext <<_ACEOF
32888 /* end confdefs.h. */
32891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32894 grep -v '^ *+' conftest.er1
>conftest.err
32896 cat conftest.err
>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } >/dev
/null
; then
32899 if test -s conftest.err
; then
32900 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32901 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32908 if test -z "$ac_cpp_err"; then
32909 ac_header_preproc
=yes
32911 echo "$as_me: failed program was:" >&5
32912 sed 's/^/| /' conftest.
$ac_ext >&5
32914 ac_header_preproc
=no
32916 rm -f conftest.err conftest.
$ac_ext
32917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32918 echo "${ECHO_T}$ac_header_preproc" >&6
32920 # So? What about this header?
32921 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32923 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32924 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32925 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32926 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32927 ac_header_preproc
=yes
32930 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32931 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32932 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32933 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32934 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32935 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32936 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32937 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32938 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32939 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32940 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32941 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32944 ## ----------------------------------------- ##
32945 ## Report this to wx-dev@lists.wxwidgets.org ##
32946 ## ----------------------------------------- ##
32949 sed "s/^/$as_me: WARNING: /" >&2
32952 echo "$as_me:$LINENO: checking for sql.h" >&5
32953 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32954 if test "${ac_cv_header_sql_h+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 ac_cv_header_sql_h
=$ac_header_preproc
32959 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32960 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32963 if test $ac_cv_header_sql_h = yes; then
32968 if test "x$found_sql_h" = "x1" ; then
32969 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32970 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32971 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32972 echo $ECHO_N "(cached) $ECHO_C" >&6
32974 ac_check_lib_save_LIBS
=$LIBS
32975 LIBS
="-liodbc $LIBS"
32976 cat >conftest.
$ac_ext <<_ACEOF
32979 cat confdefs.h
>>conftest.
$ac_ext
32980 cat >>conftest.
$ac_ext <<_ACEOF
32981 /* end confdefs.h. */
32983 /* Override any gcc2 internal prototype to avoid an error. */
32987 /* We use char because int might match the return type of a gcc2
32988 builtin and then its argument prototype would still apply. */
32989 char SQLAllocEnv ();
32998 rm -f conftest.
$ac_objext conftest
$ac_exeext
32999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33000 (eval $ac_link) 2>conftest.er1
33002 grep -v '^ *+' conftest.er1
>conftest.err
33004 cat conftest.err
>&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); } &&
33007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; } &&
33013 { ac_try
='test -s conftest$ac_exeext'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; }; then
33019 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33021 echo "$as_me: failed program was:" >&5
33022 sed 's/^/| /' conftest.
$ac_ext >&5
33024 ac_cv_lib_iodbc_SQLAllocEnv
=no
33026 rm -f conftest.err conftest.
$ac_objext \
33027 conftest
$ac_exeext conftest.
$ac_ext
33028 LIBS
=$ac_check_lib_save_LIBS
33030 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33031 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33032 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33033 ODBC_LINK
=" -liodbc"
33036 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33037 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33038 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 ac_check_lib_save_LIBS
=$LIBS
33042 LIBS
="-lunixodbc $LIBS"
33043 cat >conftest.
$ac_ext <<_ACEOF
33046 cat confdefs.h
>>conftest.
$ac_ext
33047 cat >>conftest.
$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33050 /* Override any gcc2 internal prototype to avoid an error. */
33054 /* We use char because int might match the return type of a gcc2
33055 builtin and then its argument prototype would still apply. */
33056 char SQLAllocEnv ();
33065 rm -f conftest.
$ac_objext conftest
$ac_exeext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33067 (eval $ac_link) 2>conftest.er1
33069 grep -v '^ *+' conftest.er1
>conftest.err
33071 cat conftest.err
>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 (eval $ac_try) 2>&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); }; } &&
33080 { ac_try
='test -s conftest$ac_exeext'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; }; then
33086 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33088 echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.
$ac_ext >&5
33091 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33093 rm -f conftest.err conftest.
$ac_objext \
33094 conftest
$ac_exeext conftest.
$ac_ext
33095 LIBS
=$ac_check_lib_save_LIBS
33097 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33098 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33099 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33100 ODBC_LINK
=" -lunixodbc"
33103 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33104 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33105 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33108 ac_check_lib_save_LIBS
=$LIBS
33109 LIBS
="-lodbc $LIBS"
33110 cat >conftest.
$ac_ext <<_ACEOF
33113 cat confdefs.h
>>conftest.
$ac_ext
33114 cat >>conftest.
$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33117 /* Override any gcc2 internal prototype to avoid an error. */
33121 /* We use char because int might match the return type of a gcc2
33122 builtin and then its argument prototype would still apply. */
33123 char SQLAllocEnv ();
33132 rm -f conftest.
$ac_objext conftest
$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33136 grep -v '^ *+' conftest.er1
>conftest.err
33138 cat conftest.err
>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try
='test -s conftest$ac_exeext'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }; then
33153 ac_cv_lib_odbc_SQLAllocEnv
=yes
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.
$ac_ext >&5
33158 ac_cv_lib_odbc_SQLAllocEnv
=no
33160 rm -f conftest.err conftest.
$ac_objext \
33161 conftest
$ac_exeext conftest.
$ac_ext
33162 LIBS
=$ac_check_lib_save_LIBS
33164 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33165 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33166 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33167 ODBC_LINK
=" -lodbc"
33177 if test "x$ODBC_LINK" = "x" ; then
33178 if test "$wxUSE_ODBC" = "sys" ; then
33179 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33180 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33181 { (exit 1); exit 1; }; }
33183 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33184 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33192 if test "$wxUSE_ODBC" = "builtin" ; then
33193 cat >>confdefs.h
<<\_ACEOF
33194 #define wxUSE_BUILTIN_IODBC 1
33200 if test "$wxUSE_ODBC" != "no" ; then
33201 cat >>confdefs.h
<<\_ACEOF
33202 #define wxUSE_ODBC 1
33205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33207 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33211 if test "$wxUSE_DISPLAY" = "yes"; then
33212 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33213 echo "$as_me:$LINENO: checking for Xinerama" >&5
33214 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33217 for ac_dir
in $SEARCH_LIB;
33219 for ac_extension
in a so sl dylib dll.a
; do
33220 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33221 ac_find_libraries
=$ac_dir
33227 if test "$ac_find_libraries" != "" ; then
33229 if test "$ac_find_libraries" = "default location"; then
33232 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33234 if test $result = 0; then
33237 ac_path_to_link
=" -L$ac_find_libraries"
33241 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33242 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33244 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33245 echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6
33248 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33249 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33252 for ac_dir
in $SEARCH_LIB;
33254 for ac_extension
in a so sl dylib dll.a
; do
33255 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33256 ac_find_libraries
=$ac_dir
33262 if test "$ac_find_libraries" != "" ; then
33263 echo "$as_me:$LINENO: result: yes" >&5
33264 echo "${ECHO_T}yes" >&6
33266 for ac_header
in X
11/extensions
/xf86vmode.h
33268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33269 echo "$as_me:$LINENO: checking for $ac_header" >&5
33270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33272 echo $ECHO_N "(cached) $ECHO_C" >&6
33274 cat >conftest.
$ac_ext <<_ACEOF
33277 cat confdefs.h
>>conftest.
$ac_ext
33278 cat >>conftest.
$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33281 #if HAVE_X11_XLIB_H
33282 #include <X11/Xlib.h>
33286 #include <$ac_header>
33288 rm -f conftest.
$ac_objext
33289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33290 (eval $ac_compile) 2>conftest.er1
33292 grep -v '^ *+' conftest.er1
>conftest.err
33294 cat conftest.err
>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; } &&
33303 { ac_try
='test -s conftest.$ac_objext'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; }; then
33309 eval "$as_ac_Header=yes"
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.
$ac_ext >&5
33314 eval "$as_ac_Header=no"
33316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33321 cat >>confdefs.h
<<_ACEOF
33322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33325 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33332 echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6
33337 echo "$as_me:$LINENO: result: no" >&5
33338 echo "${ECHO_T}no" >&6
33339 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33340 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33343 elif test "$wxUSE_MSW" = 1; then
33345 for ac_header
in ddraw.h
33347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33348 echo "$as_me:$LINENO: checking for $ac_header" >&5
33349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 cat >conftest.
$ac_ext <<_ACEOF
33356 cat confdefs.h
>>conftest.
$ac_ext
33357 cat >>conftest.
$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359 #include <windows.h>
33361 #include <$ac_header>
33363 rm -f conftest.
$ac_objext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33365 (eval $ac_compile) 2>conftest.er1
33367 grep -v '^ *+' conftest.er1
>conftest.err
33369 cat conftest.err
>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; } &&
33378 { ac_try
='test -s conftest.$ac_objext'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 eval "$as_ac_Header=yes"
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.
$ac_ext >&5
33389 eval "$as_ac_Header=no"
33391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33396 cat >>confdefs.h
<<_ACEOF
33397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33407 if test "$wxUSE_DETECT_SM" = "yes"; then
33408 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33409 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33410 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33413 for ac_dir
in $SEARCH_LIB;
33415 for ac_extension
in a so sl dylib dll.a
; do
33416 if test -f "$ac_dir/libSM.$ac_extension"; then
33417 ac_find_libraries
=$ac_dir
33423 if test "$ac_find_libraries" != "" ; then
33425 if test "$ac_find_libraries" = "default location"; then
33428 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33430 if test $result = 0; then
33433 ac_path_to_link
=" -L$ac_find_libraries"
33437 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33438 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33441 echo "$as_me:$LINENO: result: yes" >&5
33442 echo "${ECHO_T}yes" >&6
33444 echo "$as_me:$LINENO: result: no" >&5
33445 echo "${ECHO_T}no" >&6
33446 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33447 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33448 wxUSE_DETECT_SM
="no"
33451 wxUSE_DETECT_SM
="no"
33458 if test "$wxUSE_OPENGL" = "yes"; then
33459 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33460 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33461 elif test "$wxUSE_MSW" = 1; then
33462 OPENGL_LIBS
="-lopengl32 -lglu32"
33467 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33469 if test -f "$ac_dir/GL/gl.h"; then
33470 ac_find_includes
=$ac_dir
33475 if test "$ac_find_includes" != "" ; then
33476 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33477 echo "${ECHO_T}found in $ac_find_includes" >&6
33479 if test "x$ac_find_includes" = "x/usr/include"; then
33480 ac_path_to_include
=""
33482 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33484 if test $result = 0; then
33485 ac_path_to_include
=""
33487 ac_path_to_include
=" -I$ac_find_includes"
33491 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33494 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33495 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33496 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33498 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33501 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33503 # Is the header compilable?
33504 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33505 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33506 cat >conftest.
$ac_ext <<_ACEOF
33509 cat confdefs.h
>>conftest.
$ac_ext
33510 cat >>conftest.
$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 $ac_includes_default
33515 rm -f conftest.
$ac_objext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33517 (eval $ac_compile) 2>conftest.er1
33519 grep -v '^ *+' conftest.er1
>conftest.err
33521 cat conftest.err
>&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try
='test -s conftest.$ac_objext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 ac_header_compiler
=yes
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.
$ac_ext >&5
33541 ac_header_compiler
=no
33543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33545 echo "${ECHO_T}$ac_header_compiler" >&6
33547 # Is the header present?
33548 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33549 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33550 cat >conftest.
$ac_ext <<_ACEOF
33553 cat confdefs.h
>>conftest.
$ac_ext
33554 cat >>conftest.
$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33561 grep -v '^ *+' conftest.er1
>conftest.err
33563 cat conftest.err
>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } >/dev
/null
; then
33566 if test -s conftest.err
; then
33567 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33568 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33575 if test -z "$ac_cpp_err"; then
33576 ac_header_preproc
=yes
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.
$ac_ext >&5
33581 ac_header_preproc
=no
33583 rm -f conftest.err conftest.
$ac_ext
33584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33585 echo "${ECHO_T}$ac_header_preproc" >&6
33587 # So? What about this header?
33588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33590 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33591 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33592 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33593 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33594 ac_header_preproc
=yes
33597 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33598 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33599 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33600 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33602 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33604 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33606 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33608 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33611 ## ----------------------------------------- ##
33612 ## Report this to wx-dev@lists.wxwidgets.org ##
33613 ## ----------------------------------------- ##
33616 sed "s/^/$as_me: WARNING: /" >&2
33619 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33620 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33621 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33622 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 ac_cv_header_GL_gl_h
=$ac_header_preproc
33626 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33627 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33630 if test $ac_cv_header_GL_gl_h = yes; then
33634 echo "$as_me:$LINENO: checking for -lGL" >&5
33635 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33638 for ac_dir
in $SEARCH_LIB;
33640 for ac_extension
in a so sl dylib dll.a
; do
33641 if test -f "$ac_dir/libGL.$ac_extension"; then
33642 ac_find_libraries
=$ac_dir
33648 if test "$ac_find_libraries" != "" ; then
33649 echo "$as_me:$LINENO: result: yes" >&5
33650 echo "${ECHO_T}yes" >&6
33653 if test "$ac_find_libraries" = "default location"; then
33656 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33658 if test $result = 0; then
33661 ac_path_to_link
=" -L$ac_find_libraries"
33665 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33666 LDFLAGS_GL
="$ac_path_to_link"
33669 echo "$as_me:$LINENO: checking for -lGLU" >&5
33670 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33673 for ac_dir
in $SEARCH_LIB;
33675 for ac_extension
in a so sl dylib dll.a
; do
33676 if test -f "$ac_dir/libGLU.$ac_extension"; then
33677 ac_find_libraries
=$ac_dir
33683 if test "$ac_find_libraries" != "" ; then
33685 if test "$ac_find_libraries" = "default location"; then
33688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33690 if test $result = 0; then
33693 ac_path_to_link
=" -L$ac_find_libraries"
33697 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33698 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33699 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33703 OPENGL_LIBS
="-lGL -lGLU"
33704 echo "$as_me:$LINENO: result: yes" >&5
33705 echo "${ECHO_T}yes" >&6
33707 echo "$as_me:$LINENO: result: no" >&5
33708 echo "${ECHO_T}no" >&6
33711 echo "$as_me:$LINENO: result: no" >&5
33712 echo "${ECHO_T}no" >&6
33715 if test "$found_gl" != 1; then
33716 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33717 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33720 for ac_dir
in $SEARCH_LIB;
33722 for ac_extension
in a so sl dylib dll.a
; do
33723 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33724 ac_find_libraries
=$ac_dir
33730 if test "$ac_find_libraries" != "" ; then
33732 if test "$ac_find_libraries" = "default location"; then
33735 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33737 if test $result = 0; then
33740 ac_path_to_link
=" -L$ac_find_libraries"
33744 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33745 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33746 echo "$as_me:$LINENO: result: yes" >&5
33747 echo "${ECHO_T}yes" >&6
33749 echo "$as_me:$LINENO: result: no" >&5
33750 echo "${ECHO_T}no" >&6
33758 if test "x$OPENGL_LIBS" = "x"; then
33759 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33760 echo "$as_me: error: OpenGL libraries not available" >&2;}
33761 { (exit 1); exit 1; }; }
33765 if test "$wxUSE_OPENGL" = "yes"; then
33767 cat >>confdefs.h
<<\_ACEOF
33768 #define wxUSE_OPENGL 1
33771 cat >>confdefs.h
<<\_ACEOF
33772 #define wxUSE_GLCANVAS 1
33775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33780 if test -n "$TOOLKIT" ; then
33781 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33786 if test "$wxUSE_SHARED" = "yes"; then
33790 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33791 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33796 if test "$wxUSE_SHARED" = "yes"; then
33799 found_versioning
=no
33802 if test $found_versioning = no
; then
33803 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33804 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33805 if test "${wx_cv_version_script+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 echo "VER_1 { *; };" >conftest.sym
33810 echo "int main() { return 0; }" >conftest.cpp
33813 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33814 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816 (eval $ac_try) 2>&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); }; } ; then
33820 if test -s conftest.stderr
; then
33821 wx_cv_version_script
=no
33823 wx_cv_version_script
=yes
33826 wx_cv_version_script
=no
33829 if test $wx_cv_version_script = yes
33831 echo "struct B { virtual ~B() { } }; \
33832 struct D : public B { }; \
33833 void F() { D d; }" > conftest.cpp
33836 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33837 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; } &&
33844 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33845 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33847 (eval $ac_try) 2>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); }; }
33853 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33854 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; }
33861 wx_cv_version_script
=yes
33863 wx_cv_version_script
=no
33868 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33869 rm -f conftest1.output conftest2.output conftest3.output
33872 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33873 echo "${ECHO_T}$wx_cv_version_script" >&6
33874 if test $wx_cv_version_script = yes ; then
33875 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33881 *-*-linux* | *-*-gnu* )
33882 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33883 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33887 if test "$GCC" = yes ; then
33888 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33890 saveLdflags
="$LDFLAGS"
33891 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33892 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33893 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33909 rm -f conftest.
$ac_objext conftest
$ac_exeext
33910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33911 (eval $ac_link) 2>conftest.er1
33913 grep -v '^ *+' conftest.er1
>conftest.err
33915 cat conftest.err
>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); } &&
33918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33920 (eval $ac_try) 2>&5
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); }; } &&
33924 { ac_try
='test -s conftest$ac_exeext'
33925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33926 (eval $ac_try) 2>&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); }; }; then
33931 echo "$as_me:$LINENO: result: yes" >&5
33932 echo "${ECHO_T}yes" >&6
33933 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33934 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.
$ac_ext >&5
33941 echo "$as_me:$LINENO: result: no" >&5
33942 echo "${ECHO_T}no" >&6
33943 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33944 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33945 LDFLAGS
="$saveLdflags -Wl,-R,/"
33946 cat >conftest.
$ac_ext <<_ACEOF
33949 cat confdefs.h
>>conftest.
$ac_ext
33950 cat >>conftest.
$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33961 rm -f conftest.
$ac_objext conftest
$ac_exeext
33962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33963 (eval $ac_link) 2>conftest.er1
33965 grep -v '^ *+' conftest.er1
>conftest.err
33967 cat conftest.err
>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } &&
33970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33972 (eval $ac_try) 2>&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); }; } &&
33976 { ac_try
='test -s conftest$ac_exeext'
33977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33978 (eval $ac_try) 2>&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); }; }; then
33983 echo "$as_me:$LINENO: result: yes" >&5
33984 echo "${ECHO_T}yes" >&6
33985 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33986 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33989 echo "$as_me: failed program was:" >&5
33990 sed 's/^/| /' conftest.
$ac_ext >&5
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33997 rm -f conftest.err conftest.
$ac_objext \
33998 conftest
$ac_exeext conftest.
$ac_ext
34001 rm -f conftest.err conftest.
$ac_objext \
34002 conftest
$ac_exeext conftest.
$ac_ext
34003 LDFLAGS
="$saveLdflags"
34005 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
34006 WXCONFIG_RPATH
="-R\$libdir"
34011 install_name_tool
=`which install_name_tool`
34012 if test "$install_name_tool" -a -x "$install_name_tool"; then
34013 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34014 cat <<EOF >change-install-names
34016 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34017 inst_cmd="install_name_tool "
34018 for i in \${libnames} ; do
34019 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34023 chmod +x change
-install-names
34027 *-*-cygwin* | *-*-mingw32* )
34028 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34032 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
34033 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34038 if test $wxUSE_RPATH = "no"; then
34039 SAMPLES_RPATH_FLAG
=''
34040 SAMPLES_RPATH_POSTLINK
=''
34048 config_linkage_component
="-static"
34055 lib_unicode_suffix
=
34057 if test "$wxUSE_UNICODE" = "yes"; then
34058 lib_unicode_suffix
=u
34059 WX_CHARTYPE
="unicode"
34064 WX_DEBUGTYPE
="release"
34066 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34068 WX_DEBUGTYPE
="debug"
34072 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34073 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34076 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34080 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34082 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34084 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34086 if test "$cross_compiling" = "yes"; then
34087 HOST_SUFFIX
="-$host_alias"
34088 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34089 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34092 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34093 if test "${TOOLKIT_DIR}" = "os2"; then
34094 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34096 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34101 if test "$wxUSE_COCOA" = 1; then
34105 ac_cpp
='$CPP $CPPFLAGS'
34106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34112 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34113 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34114 cat >conftest.
$ac_ext <<_ACEOF
34117 cat confdefs.h
>>conftest.
$ac_ext
34118 cat >>conftest.
$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 #include <AppKit/NSEvent.h>
34121 #include <CoreFoundation/CoreFoundation.h>
34131 rm -f conftest.
$ac_objext
34132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34133 (eval $ac_compile) 2>conftest.er1
34135 grep -v '^ *+' conftest.er1
>conftest.err
34137 cat conftest.err
>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); } &&
34140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34146 { ac_try
='test -s conftest.$ac_objext'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; }; then
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34155 echo "$as_me: failed program was:" >&5
34156 sed 's/^/| /' conftest.
$ac_ext >&5
34158 echo "$as_me:$LINENO: result: yes" >&5
34159 echo "${ECHO_T}yes" >&6
34160 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34161 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34162 cat >conftest.
$ac_ext <<_ACEOF
34165 cat confdefs.h
>>conftest.
$ac_ext
34166 cat >>conftest.
$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168 #define __Point__ 1
34169 #include <AppKit/NSEvent.h>
34170 #include <CoreFoundation/CoreFoundation.h>
34180 rm -f conftest.
$ac_objext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34182 (eval $ac_compile) 2>conftest.er1
34184 grep -v '^ *+' conftest.er1
>conftest.err
34186 cat conftest.err
>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } &&
34189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; } &&
34195 { ac_try
='test -s conftest.$ac_objext'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; }; then
34201 echo "$as_me:$LINENO: result: yes" >&5
34202 echo "${ECHO_T}yes" >&6
34203 cat >>confdefs.h
<<\_ACEOF
34204 #define __Point__ 1
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.
$ac_ext >&5
34212 { { echo "$as_me:$LINENO: error: no
34213 See \`config.log' for more details." >&5
34214 echo "$as_me: error: no
34215 See \`config.log' for more details." >&2;}
34216 { (exit 1); exit 1; }; }
34219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34224 ac_cpp
='$CXXCPP $CPPFLAGS'
34225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34231 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34232 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34233 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34235 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34237 # Extract the first word of "Rez", so it can be a program name with args.
34238 set dummy Rez
; ac_word
=$2
34239 echo "$as_me:$LINENO: checking for $ac_word" >&5
34240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34241 if test "${ac_cv_prog_REZ+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34244 if test -n "$REZ"; then
34245 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34248 for as_dir
in $PATH
34251 test -z "$as_dir" && as_dir
=.
34252 for ac_exec_ext
in '' $ac_executable_extensions; do
34253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34254 ac_cv_prog_REZ
="Rez"
34255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34261 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34264 REZ
=$ac_cv_prog_REZ
34265 if test -n "$REZ"; then
34266 echo "$as_me:$LINENO: result: $REZ" >&5
34267 echo "${ECHO_T}$REZ" >&6
34269 echo "$as_me:$LINENO: result: no" >&5
34270 echo "${ECHO_T}no" >&6
34273 # Extract the first word of "DeRez", so it can be a program name with args.
34274 set dummy DeRez
; ac_word
=$2
34275 echo "$as_me:$LINENO: checking for $ac_word" >&5
34276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34277 if test "${ac_cv_prog_DEREZ+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34280 if test -n "$DEREZ"; then
34281 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34284 for as_dir
in $PATH
34287 test -z "$as_dir" && as_dir
=.
34288 for ac_exec_ext
in '' $ac_executable_extensions; do
34289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34290 ac_cv_prog_DEREZ
="DeRez"
34291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34297 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34300 DEREZ
=$ac_cv_prog_DEREZ
34301 if test -n "$DEREZ"; then
34302 echo "$as_me:$LINENO: result: $DEREZ" >&5
34303 echo "${ECHO_T}$DEREZ" >&6
34305 echo "$as_me:$LINENO: result: no" >&5
34306 echo "${ECHO_T}no" >&6
34309 # Extract the first word of "SetFile", so it can be a program name with args.
34310 set dummy SetFile
; ac_word
=$2
34311 echo "$as_me:$LINENO: checking for $ac_word" >&5
34312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34313 if test "${ac_cv_prog_SETFILE+set}" = set; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 if test -n "$SETFILE"; then
34317 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34320 for as_dir
in $PATH
34323 test -z "$as_dir" && as_dir
=.
34324 for ac_exec_ext
in '' $ac_executable_extensions; do
34325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34326 ac_cv_prog_SETFILE
="SetFile"
34327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34333 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34336 SETFILE
=$ac_cv_prog_SETFILE
34337 if test -n "$SETFILE"; then
34338 echo "$as_me:$LINENO: result: $SETFILE" >&5
34339 echo "${ECHO_T}$SETFILE" >&6
34341 echo "$as_me:$LINENO: result: no" >&5
34342 echo "${ECHO_T}no" >&6
34346 MACSETFILE
="\$(SETFILE)"
34348 if test "$wxUSE_MAC" = 1; then
34349 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34351 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34353 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34354 RESCOMP
="echo -n \| $REZ"
34355 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34361 if test "$wxUSE_PM" = 1; then
34363 WXCONFIG_RESFLAGS
="-ep"
34365 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34367 POSTLINK_COMMAND
="@true"
34374 echo "$as_me:$LINENO: checking for mode_t" >&5
34375 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34376 if test "${ac_cv_type_mode_t+set}" = set; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 cat >conftest.
$ac_ext <<_ACEOF
34382 cat confdefs.h
>>conftest.
$ac_ext
34383 cat >>conftest.
$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385 $ac_includes_default
34391 if (sizeof (mode_t))
34397 rm -f conftest.
$ac_objext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34399 (eval $ac_compile) 2>conftest.er1
34401 grep -v '^ *+' conftest.er1
>conftest.err
34403 cat conftest.err
>&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; } &&
34412 { ac_try
='test -s conftest.$ac_objext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 ac_cv_type_mode_t
=yes
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.
$ac_ext >&5
34423 ac_cv_type_mode_t
=no
34425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34427 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34428 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34429 if test $ac_cv_type_mode_t = yes; then
34433 cat >>confdefs.h
<<_ACEOF
34439 echo "$as_me:$LINENO: checking for off_t" >&5
34440 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34441 if test "${ac_cv_type_off_t+set}" = set; then
34442 echo $ECHO_N "(cached) $ECHO_C" >&6
34444 cat >conftest.
$ac_ext <<_ACEOF
34447 cat confdefs.h
>>conftest.
$ac_ext
34448 cat >>conftest.
$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34450 $ac_includes_default
34456 if (sizeof (off_t))
34462 rm -f conftest.
$ac_objext
34463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34464 (eval $ac_compile) 2>conftest.er1
34466 grep -v '^ *+' conftest.er1
>conftest.err
34468 cat conftest.err
>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } &&
34471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try
='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 ac_cv_type_off_t
=yes
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.
$ac_ext >&5
34488 ac_cv_type_off_t
=no
34490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34492 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34493 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34494 if test $ac_cv_type_off_t = yes; then
34498 cat >>confdefs.h
<<_ACEOF
34504 echo "$as_me:$LINENO: checking for pid_t" >&5
34505 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34506 if test "${ac_cv_type_pid_t+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34509 cat >conftest.
$ac_ext <<_ACEOF
34512 cat confdefs.h
>>conftest.
$ac_ext
34513 cat >>conftest.
$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515 $ac_includes_default
34521 if (sizeof (pid_t))
34527 rm -f conftest.
$ac_objext
34528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34529 (eval $ac_compile) 2>conftest.er1
34531 grep -v '^ *+' conftest.er1
>conftest.err
34533 cat conftest.err
>&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } &&
34536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; } &&
34542 { ac_try
='test -s conftest.$ac_objext'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; }; then
34548 ac_cv_type_pid_t
=yes
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.
$ac_ext >&5
34553 ac_cv_type_pid_t
=no
34555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34557 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34558 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34559 if test $ac_cv_type_pid_t = yes; then
34563 cat >>confdefs.h
<<_ACEOF
34569 echo "$as_me:$LINENO: checking for size_t" >&5
34570 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34571 if test "${ac_cv_type_size_t+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 cat >conftest.
$ac_ext <<_ACEOF
34577 cat confdefs.h
>>conftest.
$ac_ext
34578 cat >>conftest.
$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 $ac_includes_default
34586 if (sizeof (size_t))
34592 rm -f conftest.
$ac_objext
34593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34594 (eval $ac_compile) 2>conftest.er1
34596 grep -v '^ *+' conftest.er1
>conftest.err
34598 cat conftest.err
>&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); } &&
34601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34603 (eval $ac_try) 2>&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; } &&
34607 { ac_try
='test -s conftest.$ac_objext'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; }; then
34613 ac_cv_type_size_t
=yes
34615 echo "$as_me: failed program was:" >&5
34616 sed 's/^/| /' conftest.
$ac_ext >&5
34618 ac_cv_type_size_t
=no
34620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34622 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34623 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34624 if test $ac_cv_type_size_t = yes; then
34628 cat >>confdefs.h
<<_ACEOF
34629 #define size_t unsigned
34634 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34635 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34636 if test "${ac_cv_type_uid_t+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34639 cat >conftest.
$ac_ext <<_ACEOF
34642 cat confdefs.h
>>conftest.
$ac_ext
34643 cat >>conftest.
$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 #include <sys/types.h>
34648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34649 $EGREP "uid_t" >/dev
/null
2>&1; then
34650 ac_cv_type_uid_t
=yes
34652 ac_cv_type_uid_t
=no
34657 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34658 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34659 if test $ac_cv_type_uid_t = no
; then
34661 cat >>confdefs.h
<<\_ACEOF
34666 cat >>confdefs.h
<<\_ACEOF
34673 echo "$as_me:$LINENO: checking for ssize_t" >&5
34674 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34675 if test "${ac_cv_type_ssize_t+set}" = set; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 cat >conftest.
$ac_ext <<_ACEOF
34681 cat confdefs.h
>>conftest.
$ac_ext
34682 cat >>conftest.
$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684 $ac_includes_default
34690 if (sizeof (ssize_t))
34696 rm -f conftest.
$ac_objext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34698 (eval $ac_compile) 2>conftest.er1
34700 grep -v '^ *+' conftest.er1
>conftest.err
34702 cat conftest.err
>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } &&
34705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; } &&
34711 { ac_try
='test -s conftest.$ac_objext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
34717 ac_cv_type_ssize_t
=yes
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.
$ac_ext >&5
34722 ac_cv_type_ssize_t
=no
34724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34726 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34727 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34728 if test $ac_cv_type_ssize_t = yes; then
34730 cat >>confdefs.h
<<_ACEOF
34731 #define HAVE_SSIZE_T 1
34738 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34739 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34740 if test "${wx_cv_size_t_is_uint+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 cat >conftest.
$ac_ext <<_ACEOF
34747 cat confdefs.h
>>conftest.
$ac_ext
34748 cat >>conftest.
$ac_ext <<_ACEOF
34749 /* end confdefs.h. */
34750 #include <stddef.h>
34757 struct Foo { void foo(size_t); void foo(unsigned int); };
34765 rm -f conftest.
$ac_objext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34767 (eval $ac_compile) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1
>conftest.err
34771 cat conftest.err
>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; } &&
34780 { ac_try
='test -s conftest.$ac_objext'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; }; then
34786 wx_cv_size_t_is_uint
=no
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 wx_cv_size_t_is_uint
=yes
34794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34798 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34799 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34801 if test "$wx_cv_size_t_is_uint" = "yes"; then
34802 cat >>confdefs.h
<<\_ACEOF
34803 #define wxSIZE_T_IS_UINT 1
34807 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34808 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34809 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 cat >conftest.
$ac_ext <<_ACEOF
34815 cat confdefs.h
>>conftest.
$ac_ext
34816 cat >>conftest.
$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34818 #include <stddef.h>
34825 struct Foo { void foo(size_t); void foo(unsigned long); };
34833 rm -f conftest.
$ac_objext
34834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34835 (eval $ac_compile) 2>conftest.er1
34837 grep -v '^ *+' conftest.er1
>conftest.err
34839 cat conftest.err
>&5
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); } &&
34842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34844 (eval $ac_try) 2>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); }; } &&
34848 { ac_try
='test -s conftest.$ac_objext'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; }; then
34854 wx_cv_size_t_is_ulong
=no
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.
$ac_ext >&5
34859 wx_cv_size_t_is_ulong
=yes
34862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34868 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34869 cat >>confdefs.h
<<\_ACEOF
34870 #define wxSIZE_T_IS_ULONG 1
34877 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34878 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34879 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34880 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 cat >conftest.
$ac_ext <<_ACEOF
34886 cat confdefs.h
>>conftest.
$ac_ext
34887 cat >>conftest.
$ac_ext <<_ACEOF
34888 /* end confdefs.h. */
34902 rm -f conftest.
$ac_objext
34903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34904 (eval $ac_compile) 2>conftest.er1
34906 grep -v '^ *+' conftest.er1
>conftest.err
34908 cat conftest.err
>&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); } &&
34911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34913 (eval $ac_try) 2>&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); }; } &&
34917 { ac_try
='test -s conftest.$ac_objext'
34918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34919 (eval $ac_try) 2>&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); }; }; then
34924 wx_cv_struct_pw_gecos
=yes
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.
$ac_ext >&5
34931 wx_cv_struct_pw_gecos
=no
34935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34939 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34940 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34942 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34943 cat >>confdefs.h
<<\_ACEOF
34944 #define HAVE_PW_GECOS 1
34950 if test "$wxUSE_WCHAR_T" = "yes"; then
34951 cat >>confdefs.h
<<\_ACEOF
34952 #define wxUSE_WCHAR_T 1
34959 for ac_func
in wcslen
34961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34962 echo "$as_me:$LINENO: checking for $ac_func" >&5
34963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34964 if eval "test \"\${$as_ac_var+set}\" = set"; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 cat >conftest.
$ac_ext <<_ACEOF
34970 cat confdefs.h
>>conftest.
$ac_ext
34971 cat >>conftest.
$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34983 # include <limits.h>
34985 # include <assert.h>
34990 /* Override any gcc2 internal prototype to avoid an error. */
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35004 char (*f) () = $ac_func;
35013 return f != $ac_func;
35018 rm -f conftest.
$ac_objext conftest
$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35022 grep -v '^ *+' conftest.er1
>conftest.err
35024 cat conftest.err
>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest$ac_exeext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 eval "$as_ac_var=yes"
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.
$ac_ext >&5
35044 eval "$as_ac_var=no"
35046 rm -f conftest.err conftest.
$ac_objext \
35047 conftest
$ac_exeext conftest.
$ac_ext
35049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h
<<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 if test "$WCSLEN_FOUND" = 0; then
35061 if test "$TOOLKIT" = "MSW"; then
35062 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35063 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35064 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35065 echo $ECHO_N "(cached) $ECHO_C" >&6
35067 ac_check_lib_save_LIBS
=$LIBS
35068 LIBS
="-lmsvcrt $LIBS"
35069 cat >conftest.
$ac_ext <<_ACEOF
35072 cat confdefs.h
>>conftest.
$ac_ext
35073 cat >>conftest.
$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35076 /* Override any gcc2 internal prototype to avoid an error. */
35080 /* We use char because int might match the return type of a gcc2
35081 builtin and then its argument prototype would still apply. */
35091 rm -f conftest.
$ac_objext conftest
$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35095 grep -v '^ *+' conftest.er1
>conftest.err
35097 cat conftest.err
>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try
='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 ac_cv_lib_msvcrt_wcslen
=yes
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35117 ac_cv_lib_msvcrt_wcslen
=no
35119 rm -f conftest.err conftest.
$ac_objext \
35120 conftest
$ac_exeext conftest.
$ac_ext
35121 LIBS
=$ac_check_lib_save_LIBS
35123 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35124 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35125 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35130 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35131 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35132 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35135 ac_check_lib_save_LIBS
=$LIBS
35137 cat >conftest.
$ac_ext <<_ACEOF
35140 cat confdefs.h
>>conftest.
$ac_ext
35141 cat >>conftest.
$ac_ext <<_ACEOF
35142 /* end confdefs.h. */
35144 /* Override any gcc2 internal prototype to avoid an error. */
35148 /* We use char because int might match the return type of a gcc2
35149 builtin and then its argument prototype would still apply. */
35159 rm -f conftest.
$ac_objext conftest
$ac_exeext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35161 (eval $ac_link) 2>conftest.er1
35163 grep -v '^ *+' conftest.er1
>conftest.err
35165 cat conftest.err
>&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; } &&
35174 { ac_try
='test -s conftest$ac_exeext'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; }; then
35180 ac_cv_lib_w_wcslen
=yes
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.
$ac_ext >&5
35185 ac_cv_lib_w_wcslen
=no
35187 rm -f conftest.err conftest.
$ac_objext \
35188 conftest
$ac_exeext conftest.
$ac_ext
35189 LIBS
=$ac_check_lib_save_LIBS
35191 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35192 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35193 if test $ac_cv_lib_w_wcslen = yes; then
35203 if test "$WCSLEN_FOUND" = 1; then
35204 cat >>confdefs.h
<<\_ACEOF
35205 #define HAVE_WCSLEN 1
35210 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35211 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35214 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35215 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35216 if test "${ac_cv_type_mbstate_t+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 cat >conftest.
$ac_ext <<_ACEOF
35222 cat confdefs.h
>>conftest.
$ac_ext
35223 cat >>conftest.
$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35230 if ((mbstate_t *) 0)
35232 if (sizeof (mbstate_t))
35238 rm -f conftest.
$ac_objext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35240 (eval $ac_compile) 2>conftest.er1
35242 grep -v '^ *+' conftest.er1
>conftest.err
35244 cat conftest.err
>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try
='test -s conftest.$ac_objext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 ac_cv_type_mbstate_t
=yes
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.
$ac_ext >&5
35264 ac_cv_type_mbstate_t
=no
35266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35268 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35269 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35270 if test $ac_cv_type_mbstate_t = yes; then
35272 cat >>confdefs.h
<<_ACEOF
35273 #define HAVE_MBSTATE_T 1
35277 for ac_func
in wcsrtombs
35279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35280 echo "$as_me:$LINENO: checking for $ac_func" >&5
35281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35282 if eval "test \"\${$as_ac_var+set}\" = set"; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 cat >conftest.
$ac_ext <<_ACEOF
35288 cat confdefs.h
>>conftest.
$ac_ext
35289 cat >>conftest.
$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35293 #define $ac_func innocuous_$ac_func
35295 /* System header to define __stub macros and hopefully few prototypes,
35296 which can conflict with char $ac_func (); below.
35297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35298 <limits.h> exists even on freestanding compilers. */
35301 # include <limits.h>
35303 # include <assert.h>
35308 /* Override any gcc2 internal prototype to avoid an error. */
35313 /* We use char because int might match the return type of a gcc2
35314 builtin and then its argument prototype would still apply. */
35316 /* The GNU C library defines this for functions which it implements
35317 to always fail with ENOSYS. Some functions are actually named
35318 something starting with __ and the normal name is an alias. */
35319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35322 char (*f) () = $ac_func;
35331 return f != $ac_func;
35336 rm -f conftest.
$ac_objext conftest
$ac_exeext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35338 (eval $ac_link) 2>conftest.er1
35340 grep -v '^ *+' conftest.er1
>conftest.err
35342 cat conftest.err
>&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } &&
35345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; } &&
35351 { ac_try
='test -s conftest$ac_exeext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 eval "$as_ac_var=yes"
35359 echo "$as_me: failed program was:" >&5
35360 sed 's/^/| /' conftest.
$ac_ext >&5
35362 eval "$as_ac_var=no"
35364 rm -f conftest.err conftest.
$ac_objext \
35365 conftest
$ac_exeext conftest.
$ac_ext
35367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35369 if test `eval echo '${'$as_ac_var'}'` = yes; then
35370 cat >>confdefs.h
<<_ACEOF
35371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35380 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35381 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35386 for ac_func
in snprintf vsnprintf
35388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35389 echo "$as_me:$LINENO: checking for $ac_func" >&5
35390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35391 if eval "test \"\${$as_ac_var+set}\" = set"; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 cat >conftest.
$ac_ext <<_ACEOF
35397 cat confdefs.h
>>conftest.
$ac_ext
35398 cat >>conftest.
$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35402 #define $ac_func innocuous_$ac_func
35404 /* System header to define __stub macros and hopefully few prototypes,
35405 which can conflict with char $ac_func (); below.
35406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35407 <limits.h> exists even on freestanding compilers. */
35410 # include <limits.h>
35412 # include <assert.h>
35417 /* Override any gcc2 internal prototype to avoid an error. */
35422 /* We use char because int might match the return type of a gcc2
35423 builtin and then its argument prototype would still apply. */
35425 /* The GNU C library defines this for functions which it implements
35426 to always fail with ENOSYS. Some functions are actually named
35427 something starting with __ and the normal name is an alias. */
35428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35431 char (*f) () = $ac_func;
35440 return f != $ac_func;
35445 rm -f conftest.
$ac_objext conftest
$ac_exeext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35447 (eval $ac_link) 2>conftest.er1
35449 grep -v '^ *+' conftest.er1
>conftest.err
35451 cat conftest.err
>&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; } &&
35460 { ac_try
='test -s conftest$ac_exeext'
35461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462 (eval $ac_try) 2>&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); }; }; then
35466 eval "$as_ac_var=yes"
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.
$ac_ext >&5
35471 eval "$as_ac_var=no"
35473 rm -f conftest.err conftest.
$ac_objext \
35474 conftest
$ac_exeext conftest.
$ac_ext
35476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35478 if test `eval echo '${'$as_ac_var'}'` = yes; then
35479 cat >>confdefs.h
<<_ACEOF
35480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35487 if test "$ac_cv_func_vsnprintf" = "yes"; then
35488 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35489 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35490 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 cat >conftest.
$ac_ext <<_ACEOF
35497 cat confdefs.h
>>conftest.
$ac_ext
35498 cat >>conftest.
$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35502 #include <stdarg.h>
35504 #if __MSL__ >= 0x6000
35506 using namespace std;
35516 vsnprintf(buf, 10u, "%s", ap);
35522 rm -f conftest.
$ac_objext
35523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35524 (eval $ac_compile) 2>conftest.er1
35526 grep -v '^ *+' conftest.er1
>conftest.err
35528 cat conftest.err
>&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } &&
35531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35533 (eval $ac_try) 2>&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; } &&
35537 { ac_try
='test -s conftest.$ac_objext'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; }; then
35543 wx_cv_func_vsnprintf_decl
=yes
35545 echo "$as_me: failed program was:" >&5
35546 sed 's/^/| /' conftest.
$ac_ext >&5
35548 wx_cv_func_vsnprintf_decl
=no
35551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35555 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35556 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35558 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35559 cat >>confdefs.h
<<\_ACEOF
35560 #define HAVE_VSNPRINTF_DECL 1
35564 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35565 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35566 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 cat >conftest.
$ac_ext <<_ACEOF
35573 cat confdefs.h
>>conftest.
$ac_ext
35574 cat >>conftest.
$ac_ext <<_ACEOF
35575 /* end confdefs.h. */
35578 #include <stdarg.h>
35580 #if __MSL__ >= 0x6000
35582 using namespace std;
35592 const char *fmt = "%s";
35593 vsnprintf(buf, 10u, fmt, ap);
35599 rm -f conftest.
$ac_objext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35601 (eval $ac_compile) 2>conftest.er1
35603 grep -v '^ *+' conftest.er1
>conftest.err
35605 cat conftest.err
>&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try
='test -s conftest.$ac_objext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 wx_cv_func_broken_vsnprintf_decl
=no
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.
$ac_ext >&5
35625 wx_cv_func_broken_vsnprintf_decl
=yes
35628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35632 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35633 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35635 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35636 cat >>confdefs.h
<<\_ACEOF
35637 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35644 if test "$ac_cv_func_snprintf" = "yes"; then
35645 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35646 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35647 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35648 echo $ECHO_N "(cached) $ECHO_C" >&6
35651 cat >conftest.
$ac_ext <<_ACEOF
35654 cat confdefs.h
>>conftest.
$ac_ext
35655 cat >>conftest.
$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35659 #include <stdarg.h>
35661 #if __MSL__ >= 0x6000
35663 using namespace std;
35672 snprintf(buf, 10u, "%s", "wx");
35678 rm -f conftest.
$ac_objext
35679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35680 (eval $ac_compile) 2>conftest.er1
35682 grep -v '^ *+' conftest.er1
>conftest.err
35684 cat conftest.err
>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } &&
35687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; } &&
35693 { ac_try
='test -s conftest.$ac_objext'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; }; then
35699 wx_cv_func_snprintf_decl
=yes
35701 echo "$as_me: failed program was:" >&5
35702 sed 's/^/| /' conftest.
$ac_ext >&5
35704 wx_cv_func_snprintf_decl
=no
35707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35711 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35712 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35714 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35715 cat >>confdefs.h
<<\_ACEOF
35716 #define HAVE_SNPRINTF_DECL 1
35720 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35721 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35722 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35726 cat >conftest.
$ac_ext <<_ACEOF
35729 cat confdefs.h
>>conftest.
$ac_ext
35730 cat >>conftest.
$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35734 #include <stdarg.h>
35736 #if __MSL__ >= 0x6000
35738 using namespace std;
35747 const char *fmt = "%s";
35748 snprintf(buf, 10u, fmt, "wx");
35754 rm -f conftest.
$ac_objext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35756 (eval $ac_compile) 2>conftest.er1
35758 grep -v '^ *+' conftest.er1
>conftest.err
35760 cat conftest.err
>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try
='test -s conftest.$ac_objext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 wx_cv_func_broken_snprintf_decl
=no
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.
$ac_ext >&5
35780 wx_cv_func_broken_snprintf_decl
=yes
35783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35787 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35788 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35790 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35791 cat >>confdefs.h
<<\_ACEOF
35792 #define HAVE_BROKEN_SNPRINTF_DECL 1
35798 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35800 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35801 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35802 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35803 echo $ECHO_N "(cached) $ECHO_C" >&6
35806 if test "$cross_compiling" = yes; then
35808 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35809 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35810 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35811 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35812 wx_cv_func_snprintf_pos_params
=no
35816 cat >conftest.
$ac_ext <<_ACEOF
35819 cat confdefs.h
>>conftest.
$ac_ext
35820 cat >>conftest.
$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35828 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35829 if (strcmp ("2 3 1", buffer) == 0)
35835 rm -f conftest
$ac_exeext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35837 (eval $ac_link) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35842 (eval $ac_try) 2>&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); }; }; then
35846 wx_cv_func_snprintf_pos_params
=no
35848 echo "$as_me: program exited with status $ac_status" >&5
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.
$ac_ext >&5
35852 ( exit $ac_status )
35853 wx_cv_func_snprintf_pos_params
=yes
35855 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35860 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35861 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35863 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35864 cat >>confdefs.h
<<\_ACEOF
35865 #define HAVE_UNIX98_PRINTF 1
35872 if test "$wxUSE_UNICODE" = yes; then
35875 for ac_func
in swprintf
35877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 echo "$as_me:$LINENO: checking for $ac_func" >&5
35879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_var+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35891 #define $ac_func innocuous_$ac_func
35893 /* System header to define __stub macros and hopefully few prototypes,
35894 which can conflict with char $ac_func (); below.
35895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35896 <limits.h> exists even on freestanding compilers. */
35899 # include <limits.h>
35901 # include <assert.h>
35906 /* Override any gcc2 internal prototype to avoid an error. */
35911 /* We use char because int might match the return type of a gcc2
35912 builtin and then its argument prototype would still apply. */
35914 /* The GNU C library defines this for functions which it implements
35915 to always fail with ENOSYS. Some functions are actually named
35916 something starting with __ and the normal name is an alias. */
35917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 char (*f) () = $ac_func;
35929 return f != $ac_func;
35934 rm -f conftest.
$ac_objext conftest
$ac_exeext
35935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35936 (eval $ac_link) 2>conftest.er1
35938 grep -v '^ *+' conftest.er1
>conftest.err
35940 cat conftest.err
>&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } &&
35943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945 (eval $ac_try) 2>&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); }; } &&
35949 { ac_try
='test -s conftest$ac_exeext'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; }; then
35955 eval "$as_ac_var=yes"
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.
$ac_ext >&5
35960 eval "$as_ac_var=no"
35962 rm -f conftest.err conftest.
$ac_objext \
35963 conftest
$ac_exeext conftest.
$ac_ext
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35967 if test `eval echo '${'$as_ac_var'}'` = yes; then
35968 cat >>confdefs.h
<<_ACEOF
35969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35976 if test "$ac_cv_func_swprintf" = "yes"; then
35977 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35978 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35979 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 cat >conftest.
$ac_ext <<_ACEOF
35986 cat confdefs.h
>>conftest.
$ac_ext
35987 cat >>conftest.
$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35991 #include <stdarg.h>
35999 const wchar_t *fmt = L"test";
36000 swprintf(buf, 10u, fmt);
36006 rm -f conftest.
$ac_objext
36007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36008 (eval $ac_compile) 2>conftest.er1
36010 grep -v '^ *+' conftest.er1
>conftest.err
36012 cat conftest.err
>&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } &&
36015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try
='test -s conftest.$ac_objext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 wx_cv_func_broken_swprintf_decl
=no
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.
$ac_ext >&5
36032 wx_cv_func_broken_swprintf_decl
=yes
36035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36039 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36040 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36042 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36043 cat >>confdefs.h
<<\_ACEOF
36044 #define HAVE_BROKEN_SWPRINTF_DECL 1
36056 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
36058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36059 echo "$as_me:$LINENO: checking for $ac_func" >&5
36060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36061 if eval "test \"\${$as_ac_var+set}\" = set"; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36064 cat >conftest.
$ac_ext <<_ACEOF
36067 cat confdefs.h
>>conftest.
$ac_ext
36068 cat >>conftest.
$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36072 #define $ac_func innocuous_$ac_func
36074 /* System header to define __stub macros and hopefully few prototypes,
36075 which can conflict with char $ac_func (); below.
36076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36077 <limits.h> exists even on freestanding compilers. */
36080 # include <limits.h>
36082 # include <assert.h>
36087 /* Override any gcc2 internal prototype to avoid an error. */
36092 /* We use char because int might match the return type of a gcc2
36093 builtin and then its argument prototype would still apply. */
36095 /* The GNU C library defines this for functions which it implements
36096 to always fail with ENOSYS. Some functions are actually named
36097 something starting with __ and the normal name is an alias. */
36098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36101 char (*f) () = $ac_func;
36110 return f != $ac_func;
36115 rm -f conftest.
$ac_objext conftest
$ac_exeext
36116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36117 (eval $ac_link) 2>conftest.er1
36119 grep -v '^ *+' conftest.er1
>conftest.err
36121 cat conftest.err
>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); } &&
36124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; } &&
36130 { ac_try
='test -s conftest$ac_exeext'
36131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36132 (eval $ac_try) 2>&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); }; }; then
36136 eval "$as_ac_var=yes"
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.
$ac_ext >&5
36141 eval "$as_ac_var=no"
36143 rm -f conftest.err conftest.
$ac_objext \
36144 conftest
$ac_exeext conftest.
$ac_ext
36146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36148 if test `eval echo '${'$as_ac_var'}'` = yes; then
36149 cat >>confdefs.h
<<_ACEOF
36150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36157 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36158 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36159 cat >conftest.
$ac_ext <<_ACEOF
36162 cat confdefs.h
>>conftest.
$ac_ext
36163 cat >>conftest.
$ac_ext <<_ACEOF
36164 /* end confdefs.h. */
36174 rm -f conftest.
$ac_objext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36176 (eval $ac_compile) 2>conftest.er1
36178 grep -v '^ *+' conftest.er1
>conftest.err
36180 cat conftest.err
>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36185 (eval $ac_try) 2>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; } &&
36189 { ac_try
='test -s conftest.$ac_objext'
36190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191 (eval $ac_try) 2>&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); }; }; then
36195 echo "$as_me:$LINENO: result: yes" >&5
36196 echo "${ECHO_T}yes" >&6
36197 cat >>confdefs.h
<<\_ACEOF
36198 #define HAVE__VSNWPRINTF 1
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.
$ac_ext >&5
36205 echo "$as_me:$LINENO: result: no" >&5
36206 echo "${ECHO_T}no" >&6
36208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36211 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36213 for ac_func
in fnmatch
36215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36216 echo "$as_me:$LINENO: checking for $ac_func" >&5
36217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36218 if eval "test \"\${$as_ac_var+set}\" = set"; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36221 cat >conftest.
$ac_ext <<_ACEOF
36224 cat confdefs.h
>>conftest.
$ac_ext
36225 cat >>conftest.
$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36229 #define $ac_func innocuous_$ac_func
36231 /* System header to define __stub macros and hopefully few prototypes,
36232 which can conflict with char $ac_func (); below.
36233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36234 <limits.h> exists even on freestanding compilers. */
36237 # include <limits.h>
36239 # include <assert.h>
36244 /* Override any gcc2 internal prototype to avoid an error. */
36249 /* We use char because int might match the return type of a gcc2
36250 builtin and then its argument prototype would still apply. */
36252 /* The GNU C library defines this for functions which it implements
36253 to always fail with ENOSYS. Some functions are actually named
36254 something starting with __ and the normal name is an alias. */
36255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36258 char (*f) () = $ac_func;
36267 return f != $ac_func;
36272 rm -f conftest.
$ac_objext conftest
$ac_exeext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36274 (eval $ac_link) 2>conftest.er1
36276 grep -v '^ *+' conftest.er1
>conftest.err
36278 cat conftest.err
>&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } &&
36281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36283 (eval $ac_try) 2>&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); }; } &&
36287 { ac_try
='test -s conftest$ac_exeext'
36288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36289 (eval $ac_try) 2>&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); }; }; then
36293 eval "$as_ac_var=yes"
36295 echo "$as_me: failed program was:" >&5
36296 sed 's/^/| /' conftest.
$ac_ext >&5
36298 eval "$as_ac_var=no"
36300 rm -f conftest.err conftest.
$ac_objext \
36301 conftest
$ac_exeext conftest.
$ac_ext
36303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36305 if test `eval echo '${'$as_ac_var'}'` = yes; then
36306 cat >>confdefs.h
<<_ACEOF
36307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36315 if test "$wxUSE_FILE" = "yes"; then
36317 for ac_func
in fsync
36319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36320 echo "$as_me:$LINENO: checking for $ac_func" >&5
36321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36322 if eval "test \"\${$as_ac_var+set}\" = set"; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36325 cat >conftest.
$ac_ext <<_ACEOF
36328 cat confdefs.h
>>conftest.
$ac_ext
36329 cat >>conftest.
$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36333 #define $ac_func innocuous_$ac_func
36335 /* System header to define __stub macros and hopefully few prototypes,
36336 which can conflict with char $ac_func (); below.
36337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36338 <limits.h> exists even on freestanding compilers. */
36341 # include <limits.h>
36343 # include <assert.h>
36348 /* Override any gcc2 internal prototype to avoid an error. */
36353 /* We use char because int might match the return type of a gcc2
36354 builtin and then its argument prototype would still apply. */
36356 /* The GNU C library defines this for functions which it implements
36357 to always fail with ENOSYS. Some functions are actually named
36358 something starting with __ and the normal name is an alias. */
36359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36362 char (*f) () = $ac_func;
36371 return f != $ac_func;
36376 rm -f conftest.
$ac_objext conftest
$ac_exeext
36377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36378 (eval $ac_link) 2>conftest.er1
36380 grep -v '^ *+' conftest.er1
>conftest.err
36382 cat conftest.err
>&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } &&
36385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 eval "$as_ac_var=yes"
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 eval "$as_ac_var=no"
36404 rm -f conftest.err conftest.
$ac_objext \
36405 conftest
$ac_exeext conftest.
$ac_ext
36407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36409 if test `eval echo '${'$as_ac_var'}'` = yes; then
36410 cat >>confdefs.h
<<_ACEOF
36411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36420 for ac_func
in round
36422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_var+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 cat >conftest.
$ac_ext <<_ACEOF
36431 cat confdefs.h
>>conftest.
$ac_ext
36432 cat >>conftest.
$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36444 # include <limits.h>
36446 # include <assert.h>
36451 /* Override any gcc2 internal prototype to avoid an error. */
36456 /* We use char because int might match the return type of a gcc2
36457 builtin and then its argument prototype would still apply. */
36459 /* The GNU C library defines this for functions which it implements
36460 to always fail with ENOSYS. Some functions are actually named
36461 something starting with __ and the normal name is an alias. */
36462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36465 char (*f) () = $ac_func;
36474 return f != $ac_func;
36479 rm -f conftest.
$ac_objext conftest
$ac_exeext
36480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36481 (eval $ac_link) 2>conftest.er1
36483 grep -v '^ *+' conftest.er1
>conftest.err
36485 cat conftest.err
>&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } &&
36488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36490 (eval $ac_try) 2>&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); }; } &&
36494 { ac_try
='test -s conftest$ac_exeext'
36495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 (eval $ac_try) 2>&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); }; }; then
36500 eval "$as_ac_var=yes"
36502 echo "$as_me: failed program was:" >&5
36503 sed 's/^/| /' conftest.
$ac_ext >&5
36505 eval "$as_ac_var=no"
36507 rm -f conftest.err conftest.
$ac_objext \
36508 conftest
$ac_exeext conftest.
$ac_ext
36510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36512 if test `eval echo '${'$as_ac_var'}'` = yes; then
36513 cat >>confdefs.h
<<_ACEOF
36514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36520 if test "$ac_cv_func_round" = yes; then
36521 echo "$as_me:$LINENO: checking whether round is declared" >&5
36522 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36523 if test "${ac_cv_have_decl_round+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36526 cat >conftest.
$ac_ext <<_ACEOF
36529 cat confdefs.h
>>conftest.
$ac_ext
36530 cat >>conftest.
$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36538 char *p = (char *) round;
36545 rm -f conftest.
$ac_objext
36546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36547 (eval $ac_compile) 2>conftest.er1
36549 grep -v '^ *+' conftest.er1
>conftest.err
36551 cat conftest.err
>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } &&
36554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try
='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 ac_cv_have_decl_round
=yes
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.
$ac_ext >&5
36571 ac_cv_have_decl_round
=no
36573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36575 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36576 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36577 if test $ac_cv_have_decl_round = yes; then
36579 cat >>confdefs.h
<<_ACEOF
36580 #define HAVE_DECL_ROUND 1
36585 cat >>confdefs.h
<<_ACEOF
36586 #define HAVE_DECL_ROUND 0
36596 if test "$TOOLKIT" != "MSW"; then
36602 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36603 if test "${with_libiconv_prefix+set}" = set; then
36604 withval
="$with_libiconv_prefix"
36606 for dir
in `echo "$withval" | tr : ' '`; do
36607 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36608 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36613 echo "$as_me:$LINENO: checking for iconv" >&5
36614 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36615 if test "${am_cv_func_iconv+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36619 am_cv_func_iconv
="no, consider installing GNU libiconv"
36621 cat >conftest.
$ac_ext <<_ACEOF
36624 cat confdefs.h
>>conftest.
$ac_ext
36625 cat >>conftest.
$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 #include <stdlib.h>
36632 iconv_t cd = iconv_open("","");
36633 iconv(cd,NULL,NULL,NULL,NULL);
36639 rm -f conftest.
$ac_objext conftest
$ac_exeext
36640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36641 (eval $ac_link) 2>conftest.er1
36643 grep -v '^ *+' conftest.er1
>conftest.err
36645 cat conftest.err
>&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } &&
36648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650 (eval $ac_try) 2>&5
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); }; } &&
36654 { ac_try
='test -s conftest$ac_exeext'
36655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656 (eval $ac_try) 2>&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); }; }; then
36660 am_cv_func_iconv
=yes
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.
$ac_ext >&5
36666 rm -f conftest.err conftest.
$ac_objext \
36667 conftest
$ac_exeext conftest.
$ac_ext
36668 if test "$am_cv_func_iconv" != yes; then
36669 am_save_LIBS
="$LIBS"
36670 LIBS
="$LIBS -liconv"
36671 cat >conftest.
$ac_ext <<_ACEOF
36674 cat confdefs.h
>>conftest.
$ac_ext
36675 cat >>conftest.
$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 #include <stdlib.h>
36682 iconv_t cd = iconv_open("","");
36683 iconv(cd,NULL,NULL,NULL,NULL);
36689 rm -f conftest.
$ac_objext conftest
$ac_exeext
36690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36691 (eval $ac_link) 2>conftest.er1
36693 grep -v '^ *+' conftest.er1
>conftest.err
36695 cat conftest.err
>&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } &&
36698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700 (eval $ac_try) 2>&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); }; } &&
36704 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36710 am_cv_lib_iconv
=yes
36711 am_cv_func_iconv
=yes
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.
$ac_ext >&5
36717 rm -f conftest.err conftest.
$ac_objext \
36718 conftest
$ac_exeext conftest.
$ac_ext
36719 LIBS
="$am_save_LIBS"
36723 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36724 echo "${ECHO_T}$am_cv_func_iconv" >&6
36725 if test "$am_cv_func_iconv" = yes; then
36727 cat >>confdefs.h
<<\_ACEOF
36728 #define HAVE_ICONV 1
36731 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36732 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36733 if test "${wx_cv_func_iconv_const+set}" = set; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 cat >conftest.
$ac_ext <<_ACEOF
36739 cat confdefs.h
>>conftest.
$ac_ext
36740 cat >>conftest.
$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36743 #include <stdlib.h>
36749 #if defined(__STDC__) || defined(__cplusplus)
36750 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36763 rm -f conftest.
$ac_objext
36764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36765 (eval $ac_compile) 2>conftest.er1
36767 grep -v '^ *+' conftest.er1
>conftest.err
36769 cat conftest.err
>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } &&
36772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; } &&
36778 { ac_try
='test -s conftest.$ac_objext'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; }; then
36784 wx_cv_func_iconv_const
="no"
36786 echo "$as_me: failed program was:" >&5
36787 sed 's/^/| /' conftest.
$ac_ext >&5
36789 wx_cv_func_iconv_const
="yes"
36792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36795 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36796 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36799 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36800 iconv_const
="const"
36804 cat >>confdefs.h
<<_ACEOF
36805 #define ICONV_CONST $iconv_const
36810 if test "$am_cv_lib_iconv" = yes; then
36815 LIBS
="$LIBICONV $LIBS"
36817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36819 for ac_func
in sigaction
36821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36822 echo "$as_me:$LINENO: checking for $ac_func" >&5
36823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36824 if eval "test \"\${$as_ac_var+set}\" = set"; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 cat >conftest.
$ac_ext <<_ACEOF
36830 cat confdefs.h
>>conftest.
$ac_ext
36831 cat >>conftest.
$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36835 #define $ac_func innocuous_$ac_func
36837 /* System header to define __stub macros and hopefully few prototypes,
36838 which can conflict with char $ac_func (); below.
36839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36840 <limits.h> exists even on freestanding compilers. */
36843 # include <limits.h>
36845 # include <assert.h>
36850 /* Override any gcc2 internal prototype to avoid an error. */
36855 /* We use char because int might match the return type of a gcc2
36856 builtin and then its argument prototype would still apply. */
36858 /* The GNU C library defines this for functions which it implements
36859 to always fail with ENOSYS. Some functions are actually named
36860 something starting with __ and the normal name is an alias. */
36861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36864 char (*f) () = $ac_func;
36873 return f != $ac_func;
36878 rm -f conftest.
$ac_objext conftest
$ac_exeext
36879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36880 (eval $ac_link) 2>conftest.er1
36882 grep -v '^ *+' conftest.er1
>conftest.err
36884 cat conftest.err
>&5
36885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 (exit $ac_status); } &&
36887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889 (eval $ac_try) 2>&5
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); }; } &&
36893 { ac_try
='test -s conftest$ac_exeext'
36894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895 (eval $ac_try) 2>&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); }; }; then
36899 eval "$as_ac_var=yes"
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.
$ac_ext >&5
36904 eval "$as_ac_var=no"
36906 rm -f conftest.err conftest.
$ac_objext \
36907 conftest
$ac_exeext conftest.
$ac_ext
36909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36911 if test `eval echo '${'$as_ac_var'}'` = yes; then
36912 cat >>confdefs.h
<<_ACEOF
36913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36920 if test "$ac_cv_func_sigaction" = "no"; then
36921 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36922 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36923 wxUSE_ON_FATAL_EXCEPTION
=no
36926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36927 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36928 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36929 if test "${wx_cv_type_sa_handler+set}" = set; then
36930 echo $ECHO_N "(cached) $ECHO_C" >&6
36933 cat >conftest.
$ac_ext <<_ACEOF
36936 cat confdefs.h
>>conftest.
$ac_ext
36937 cat >>conftest.
$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 #include <signal.h>
36944 extern void testSigHandler(int);
36946 struct sigaction sa;
36947 sa.sa_handler = testSigHandler;
36953 rm -f conftest.
$ac_objext
36954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36955 (eval $ac_compile) 2>conftest.er1
36957 grep -v '^ *+' conftest.er1
>conftest.err
36959 cat conftest.err
>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); } &&
36962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; } &&
36968 { ac_try
='test -s conftest.$ac_objext'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; }; then
36975 wx_cv_type_sa_handler
=int
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.
$ac_ext >&5
36982 wx_cv_type_sa_handler
=void
36985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36988 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36989 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36991 cat >>confdefs.h
<<_ACEOF
36992 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36998 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36999 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37000 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37001 if test "${wx_cv_func_backtrace+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 cat >conftest.
$ac_ext <<_ACEOF
37008 cat confdefs.h
>>conftest.
$ac_ext
37009 cat >>conftest.
$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 #include <execinfo.h>
37019 backtrace(trace, 1);
37020 messages = backtrace_symbols(trace, 1);
37026 rm -f conftest.
$ac_objext
37027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37028 (eval $ac_compile) 2>conftest.er1
37030 grep -v '^ *+' conftest.er1
>conftest.err
37032 cat conftest.err
>&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } &&
37035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try
='test -s conftest.$ac_objext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 wx_cv_func_backtrace
=yes
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.
$ac_ext >&5
37052 wx_cv_func_backtrace
=no
37055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37059 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37060 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37063 if test "$wx_cv_func_backtrace" = "no"; then
37064 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37065 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37066 wxUSE_STACKWALKER
=no
37068 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37069 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37070 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37071 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 cat >conftest.
$ac_ext <<_ACEOF
37077 cat confdefs.h
>>conftest.
$ac_ext
37078 cat >>conftest.
$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <cxxabi.h>
37086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37092 rm -f conftest.
$ac_objext conftest
$ac_exeext
37093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37094 (eval $ac_link) 2>conftest.er1
37096 grep -v '^ *+' conftest.er1
>conftest.err
37098 cat conftest.err
>&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } &&
37101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; } &&
37107 { ac_try
='test -s conftest$ac_exeext'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; }; then
37113 wx_cv_func_cxa_demangle
=yes
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.
$ac_ext >&5
37118 wx_cv_func_cxa_demangle
=no
37121 rm -f conftest.err conftest.
$ac_objext \
37122 conftest
$ac_exeext conftest.
$ac_ext
37126 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37127 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37129 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define HAVE_CXA_DEMANGLE 1
37138 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37139 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37140 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37141 wxUSE_STACKWALKER
=no
37147 for ac_func
in mkstemp mktemp
37149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37150 echo "$as_me:$LINENO: checking for $ac_func" >&5
37151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37152 if eval "test \"\${$as_ac_var+set}\" = set"; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 cat >conftest.
$ac_ext <<_ACEOF
37158 cat confdefs.h
>>conftest.
$ac_ext
37159 cat >>conftest.
$ac_ext <<_ACEOF
37160 /* end confdefs.h. */
37161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37163 #define $ac_func innocuous_$ac_func
37165 /* System header to define __stub macros and hopefully few prototypes,
37166 which can conflict with char $ac_func (); below.
37167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37168 <limits.h> exists even on freestanding compilers. */
37171 # include <limits.h>
37173 # include <assert.h>
37178 /* Override any gcc2 internal prototype to avoid an error. */
37183 /* We use char because int might match the return type of a gcc2
37184 builtin and then its argument prototype would still apply. */
37186 /* The GNU C library defines this for functions which it implements
37187 to always fail with ENOSYS. Some functions are actually named
37188 something starting with __ and the normal name is an alias. */
37189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37192 char (*f) () = $ac_func;
37201 return f != $ac_func;
37206 rm -f conftest.
$ac_objext conftest
$ac_exeext
37207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37208 (eval $ac_link) 2>conftest.er1
37210 grep -v '^ *+' conftest.er1
>conftest.err
37212 cat conftest.err
>&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } &&
37215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37217 (eval $ac_try) 2>&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); }; } &&
37221 { ac_try
='test -s conftest$ac_exeext'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; }; then
37227 eval "$as_ac_var=yes"
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.
$ac_ext >&5
37232 eval "$as_ac_var=no"
37234 rm -f conftest.err conftest.
$ac_objext \
37235 conftest
$ac_exeext conftest.
$ac_ext
37237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37239 if test `eval echo '${'$as_ac_var'}'` = yes; then
37240 cat >>confdefs.h
<<_ACEOF
37241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37248 echo "$as_me:$LINENO: checking for statfs" >&5
37249 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37250 if test "${wx_cv_func_statfs+set}" = set; then
37251 echo $ECHO_N "(cached) $ECHO_C" >&6
37253 cat >conftest.
$ac_ext <<_ACEOF
37256 cat confdefs.h
>>conftest.
$ac_ext
37257 cat >>conftest.
$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37260 #if defined(__BSD__)
37261 #include <sys/param.h>
37262 #include <sys/mount.h>
37264 #include <sys/vfs.h>
37282 rm -f conftest.
$ac_objext
37283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37284 (eval $ac_compile) 2>conftest.er1
37286 grep -v '^ *+' conftest.er1
>conftest.err
37288 cat conftest.err
>&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } &&
37291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37293 (eval $ac_try) 2>&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); }; } &&
37297 { ac_try
='test -s conftest.$ac_objext'
37298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37299 (eval $ac_try) 2>&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); }; }; then
37303 wx_cv_func_statfs
=yes
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.
$ac_ext >&5
37308 wx_cv_func_statfs
=no
37311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37314 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37315 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37317 if test "$wx_cv_func_statfs" = "yes"; then
37318 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37319 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37320 if test "${wx_cv_func_statfs_decl+set}" = set; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37323 cat >conftest.
$ac_ext <<_ACEOF
37326 cat confdefs.h
>>conftest.
$ac_ext
37327 cat >>conftest.
$ac_ext <<_ACEOF
37328 /* end confdefs.h. */
37330 #if defined(__BSD__)
37331 #include <sys/param.h>
37332 #include <sys/mount.h>
37334 #include <sys/vfs.h>
37348 rm -f conftest.
$ac_objext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37350 (eval $ac_compile) 2>conftest.er1
37352 grep -v '^ *+' conftest.er1
>conftest.err
37354 cat conftest.err
>&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; } &&
37363 { ac_try
='test -s conftest.$ac_objext'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }; then
37369 wx_cv_func_statfs_decl
=yes
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.
$ac_ext >&5
37374 wx_cv_func_statfs_decl
=no
37377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37380 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37381 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37383 if test "$wx_cv_func_statfs_decl" = "yes"; then
37384 cat >>confdefs.h
<<\_ACEOF
37385 #define HAVE_STATFS_DECL 1
37390 wx_cv_type_statvfs_t
="struct statfs"
37391 cat >>confdefs.h
<<\_ACEOF
37392 #define HAVE_STATFS 1
37396 echo "$as_me:$LINENO: checking for statvfs" >&5
37397 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37398 if test "${wx_cv_func_statvfs+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 cat >conftest.
$ac_ext <<_ACEOF
37404 cat confdefs.h
>>conftest.
$ac_ext
37405 cat >>conftest.
$ac_ext <<_ACEOF
37406 /* end confdefs.h. */
37408 #include <stddef.h>
37409 #include <sys/statvfs.h>
37415 statvfs("/", NULL);
37421 rm -f conftest.
$ac_objext
37422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37423 (eval $ac_compile) 2>conftest.er1
37425 grep -v '^ *+' conftest.er1
>conftest.err
37427 cat conftest.err
>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } &&
37430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; } &&
37436 { ac_try
='test -s conftest.$ac_objext'
37437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438 (eval $ac_try) 2>&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); }; }; then
37442 wx_cv_func_statvfs
=yes
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.
$ac_ext >&5
37447 wx_cv_func_statvfs
=no
37450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37453 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37454 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37456 if test "$wx_cv_func_statvfs" = "yes"; then
37457 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37458 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37459 if test "${wx_cv_type_statvfs_t+set}" = set; then
37460 echo $ECHO_N "(cached) $ECHO_C" >&6
37462 cat >conftest.
$ac_ext <<_ACEOF
37465 cat confdefs.h
>>conftest.
$ac_ext
37466 cat >>conftest.
$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37469 #include <sys/statvfs.h>
37486 rm -f conftest.
$ac_objext
37487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37488 (eval $ac_compile) 2>conftest.er1
37490 grep -v '^ *+' conftest.er1
>conftest.err
37492 cat conftest.err
>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } &&
37495 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37497 (eval $ac_try) 2>&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); }; } &&
37501 { ac_try
='test -s conftest.$ac_objext'
37502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503 (eval $ac_try) 2>&5
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); }; }; then
37507 wx_cv_type_statvfs_t
=statvfs_t
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.
$ac_ext >&5
37513 cat >conftest.
$ac_ext <<_ACEOF
37516 cat confdefs.h
>>conftest.
$ac_ext
37517 cat >>conftest.
$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37520 #include <sys/statvfs.h>
37537 rm -f conftest.
$ac_objext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37539 (eval $ac_compile) 2>conftest.er1
37541 grep -v '^ *+' conftest.er1
>conftest.err
37543 cat conftest.err
>&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37548 (eval $ac_try) 2>&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; } &&
37552 { ac_try
='test -s conftest.$ac_objext'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; }; then
37558 wx_cv_type_statvfs_t
="struct statvfs"
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.
$ac_ext >&5
37563 wx_cv_type_statvfs_t
="unknown"
37566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37573 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37574 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37576 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37577 cat >>confdefs.h
<<\_ACEOF
37578 #define HAVE_STATVFS 1
37583 wx_cv_type_statvfs_t
="unknown"
37587 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37588 cat >>confdefs.h
<<_ACEOF
37589 #define WX_STATFS_T $wx_cv_type_statvfs_t
37593 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37594 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37600 for ac_func
in fcntl flock
37602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37603 echo "$as_me:$LINENO: checking for $ac_func" >&5
37604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37605 if eval "test \"\${$as_ac_var+set}\" = set"; then
37606 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 cat >conftest.
$ac_ext <<_ACEOF
37611 cat confdefs.h
>>conftest.
$ac_ext
37612 cat >>conftest.
$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37616 #define $ac_func innocuous_$ac_func
37618 /* System header to define __stub macros and hopefully few prototypes,
37619 which can conflict with char $ac_func (); below.
37620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37621 <limits.h> exists even on freestanding compilers. */
37624 # include <limits.h>
37626 # include <assert.h>
37631 /* Override any gcc2 internal prototype to avoid an error. */
37636 /* We use char because int might match the return type of a gcc2
37637 builtin and then its argument prototype would still apply. */
37639 /* The GNU C library defines this for functions which it implements
37640 to always fail with ENOSYS. Some functions are actually named
37641 something starting with __ and the normal name is an alias. */
37642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37645 char (*f) () = $ac_func;
37654 return f != $ac_func;
37659 rm -f conftest.
$ac_objext conftest
$ac_exeext
37660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37661 (eval $ac_link) 2>conftest.er1
37663 grep -v '^ *+' conftest.er1
>conftest.err
37665 cat conftest.err
>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } &&
37668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; } &&
37674 { ac_try
='test -s conftest$ac_exeext'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; }; then
37680 eval "$as_ac_var=yes"
37682 echo "$as_me: failed program was:" >&5
37683 sed 's/^/| /' conftest.
$ac_ext >&5
37685 eval "$as_ac_var=no"
37687 rm -f conftest.err conftest.
$ac_objext \
37688 conftest
$ac_exeext conftest.
$ac_ext
37690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37692 if test `eval echo '${'$as_ac_var'}'` = yes; then
37693 cat >>confdefs.h
<<_ACEOF
37694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37701 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37702 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37703 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37704 wxUSE_SNGLINST_CHECKER
=no
37709 for ac_func
in timegm
37711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37712 echo "$as_me:$LINENO: checking for $ac_func" >&5
37713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37714 if eval "test \"\${$as_ac_var+set}\" = set"; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37717 cat >conftest.
$ac_ext <<_ACEOF
37720 cat confdefs.h
>>conftest.
$ac_ext
37721 cat >>conftest.
$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37725 #define $ac_func innocuous_$ac_func
37727 /* System header to define __stub macros and hopefully few prototypes,
37728 which can conflict with char $ac_func (); below.
37729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37730 <limits.h> exists even on freestanding compilers. */
37733 # include <limits.h>
37735 # include <assert.h>
37740 /* Override any gcc2 internal prototype to avoid an error. */
37745 /* We use char because int might match the return type of a gcc2
37746 builtin and then its argument prototype would still apply. */
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37754 char (*f) () = $ac_func;
37763 return f != $ac_func;
37768 rm -f conftest.
$ac_objext conftest
$ac_exeext
37769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37770 (eval $ac_link) 2>conftest.er1
37772 grep -v '^ *+' conftest.er1
>conftest.err
37774 cat conftest.err
>&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } &&
37777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try
='test -s conftest$ac_exeext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 eval "$as_ac_var=yes"
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.
$ac_ext >&5
37794 eval "$as_ac_var=no"
37796 rm -f conftest.err conftest.
$ac_objext \
37797 conftest
$ac_exeext conftest.
$ac_ext
37799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h
<<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37812 for ac_func
in putenv setenv
37814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37815 echo "$as_me:$LINENO: checking for $ac_func" >&5
37816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37817 if eval "test \"\${$as_ac_var+set}\" = set"; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 cat >conftest.
$ac_ext <<_ACEOF
37823 cat confdefs.h
>>conftest.
$ac_ext
37824 cat >>conftest.
$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37828 #define $ac_func innocuous_$ac_func
37830 /* System header to define __stub macros and hopefully few prototypes,
37831 which can conflict with char $ac_func (); below.
37832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37833 <limits.h> exists even on freestanding compilers. */
37836 # include <limits.h>
37838 # include <assert.h>
37843 /* Override any gcc2 internal prototype to avoid an error. */
37848 /* We use char because int might match the return type of a gcc2
37849 builtin and then its argument prototype would still apply. */
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37857 char (*f) () = $ac_func;
37866 return f != $ac_func;
37871 rm -f conftest.
$ac_objext conftest
$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873 (eval $ac_link) 2>conftest.er1
37875 grep -v '^ *+' conftest.er1
>conftest.err
37877 cat conftest.err
>&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } &&
37880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37882 (eval $ac_try) 2>&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); }; } &&
37886 { ac_try
='test -s conftest$ac_exeext'
37887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37888 (eval $ac_try) 2>&5
37890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891 (exit $ac_status); }; }; then
37892 eval "$as_ac_var=yes"
37894 echo "$as_me: failed program was:" >&5
37895 sed 's/^/| /' conftest.
$ac_ext >&5
37897 eval "$as_ac_var=no"
37899 rm -f conftest.err conftest.
$ac_objext \
37900 conftest
$ac_exeext conftest.
$ac_ext
37902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37904 if test `eval echo '${'$as_ac_var'}'` = yes; then
37905 cat >>confdefs.h
<<_ACEOF
37906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37913 HAVE_SOME_SLEEP_FUNC
=0
37914 if test "$USE_BEOS" = 1; then
37915 cat >>confdefs.h
<<\_ACEOF
37916 #define HAVE_SLEEP 1
37919 HAVE_SOME_SLEEP_FUNC
=1
37922 if test "$USE_DARWIN" = 1; then
37923 cat >>confdefs.h
<<\_ACEOF
37924 #define HAVE_USLEEP 1
37927 HAVE_SOME_SLEEP_FUNC
=1
37930 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37933 for ac_func
in nanosleep
37935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37936 echo "$as_me:$LINENO: checking for $ac_func" >&5
37937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37938 if eval "test \"\${$as_ac_var+set}\" = set"; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 cat >conftest.
$ac_ext <<_ACEOF
37944 cat confdefs.h
>>conftest.
$ac_ext
37945 cat >>conftest.
$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37949 #define $ac_func innocuous_$ac_func
37951 /* System header to define __stub macros and hopefully few prototypes,
37952 which can conflict with char $ac_func (); below.
37953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37954 <limits.h> exists even on freestanding compilers. */
37957 # include <limits.h>
37959 # include <assert.h>
37964 /* Override any gcc2 internal prototype to avoid an error. */
37969 /* We use char because int might match the return type of a gcc2
37970 builtin and then its argument prototype would still apply. */
37972 /* The GNU C library defines this for functions which it implements
37973 to always fail with ENOSYS. Some functions are actually named
37974 something starting with __ and the normal name is an alias. */
37975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37978 char (*f) () = $ac_func;
37987 return f != $ac_func;
37992 rm -f conftest.
$ac_objext conftest
$ac_exeext
37993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37994 (eval $ac_link) 2>conftest.er1
37996 grep -v '^ *+' conftest.er1
>conftest.err
37998 cat conftest.err
>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } &&
38001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; } &&
38007 { ac_try
='test -s conftest$ac_exeext'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; }; then
38013 eval "$as_ac_var=yes"
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.
$ac_ext >&5
38018 eval "$as_ac_var=no"
38020 rm -f conftest.err conftest.
$ac_objext \
38021 conftest
$ac_exeext conftest.
$ac_ext
38023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38025 if test `eval echo '${'$as_ac_var'}'` = yes; then
38026 cat >>confdefs.h
<<_ACEOF
38027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38029 cat >>confdefs.h
<<\_ACEOF
38030 #define HAVE_NANOSLEEP 1
38035 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38036 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38037 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38040 ac_check_lib_save_LIBS
=$LIBS
38041 LIBS
="-lposix4 $LIBS"
38042 cat >conftest.
$ac_ext <<_ACEOF
38045 cat confdefs.h
>>conftest.
$ac_ext
38046 cat >>conftest.
$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38049 /* Override any gcc2 internal prototype to avoid an error. */
38053 /* We use char because int might match the return type of a gcc2
38054 builtin and then its argument prototype would still apply. */
38064 rm -f conftest.
$ac_objext conftest
$ac_exeext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38066 (eval $ac_link) 2>conftest.er1
38068 grep -v '^ *+' conftest.er1
>conftest.err
38070 cat conftest.err
>&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38075 (eval $ac_try) 2>&5
38077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38078 (exit $ac_status); }; } &&
38079 { ac_try
='test -s conftest$ac_exeext'
38080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38081 (eval $ac_try) 2>&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); }; }; then
38085 ac_cv_lib_posix4_nanosleep
=yes
38087 echo "$as_me: failed program was:" >&5
38088 sed 's/^/| /' conftest.
$ac_ext >&5
38090 ac_cv_lib_posix4_nanosleep
=no
38092 rm -f conftest.err conftest.
$ac_objext \
38093 conftest
$ac_exeext conftest.
$ac_ext
38094 LIBS
=$ac_check_lib_save_LIBS
38096 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38097 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38098 if test $ac_cv_lib_posix4_nanosleep = yes; then
38100 cat >>confdefs.h
<<\_ACEOF
38101 #define HAVE_NANOSLEEP 1
38104 POSIX4_LINK
=" -lposix4"
38109 for ac_func
in usleep
38111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38112 echo "$as_me:$LINENO: checking for $ac_func" >&5
38113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38114 if eval "test \"\${$as_ac_var+set}\" = set"; then
38115 echo $ECHO_N "(cached) $ECHO_C" >&6
38117 cat >conftest.
$ac_ext <<_ACEOF
38120 cat confdefs.h
>>conftest.
$ac_ext
38121 cat >>conftest.
$ac_ext <<_ACEOF
38122 /* end confdefs.h. */
38123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38125 #define $ac_func innocuous_$ac_func
38127 /* System header to define __stub macros and hopefully few prototypes,
38128 which can conflict with char $ac_func (); below.
38129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38130 <limits.h> exists even on freestanding compilers. */
38133 # include <limits.h>
38135 # include <assert.h>
38140 /* Override any gcc2 internal prototype to avoid an error. */
38145 /* We use char because int might match the return type of a gcc2
38146 builtin and then its argument prototype would still apply. */
38148 /* The GNU C library defines this for functions which it implements
38149 to always fail with ENOSYS. Some functions are actually named
38150 something starting with __ and the normal name is an alias. */
38151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38154 char (*f) () = $ac_func;
38163 return f != $ac_func;
38168 rm -f conftest.
$ac_objext conftest
$ac_exeext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38170 (eval $ac_link) 2>conftest.er1
38172 grep -v '^ *+' conftest.er1
>conftest.err
38174 cat conftest.err
>&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try
='test -s conftest$ac_exeext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 eval "$as_ac_var=yes"
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.
$ac_ext >&5
38194 eval "$as_ac_var=no"
38196 rm -f conftest.err conftest.
$ac_objext \
38197 conftest
$ac_exeext conftest.
$ac_ext
38199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38201 if test `eval echo '${'$as_ac_var'}'` = yes; then
38202 cat >>confdefs.h
<<_ACEOF
38203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38205 cat >>confdefs.h
<<\_ACEOF
38206 #define HAVE_USLEEP 1
38210 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38211 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38229 for ac_func
in uname gethostname
38231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38232 echo "$as_me:$LINENO: checking for $ac_func" >&5
38233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38234 if eval "test \"\${$as_ac_var+set}\" = set"; then
38235 echo $ECHO_N "(cached) $ECHO_C" >&6
38237 cat >conftest.
$ac_ext <<_ACEOF
38240 cat confdefs.h
>>conftest.
$ac_ext
38241 cat >>conftest.
$ac_ext <<_ACEOF
38242 /* end confdefs.h. */
38243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38245 #define $ac_func innocuous_$ac_func
38247 /* System header to define __stub macros and hopefully few prototypes,
38248 which can conflict with char $ac_func (); below.
38249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38250 <limits.h> exists even on freestanding compilers. */
38253 # include <limits.h>
38255 # include <assert.h>
38260 /* Override any gcc2 internal prototype to avoid an error. */
38265 /* We use char because int might match the return type of a gcc2
38266 builtin and then its argument prototype would still apply. */
38268 /* The GNU C library defines this for functions which it implements
38269 to always fail with ENOSYS. Some functions are actually named
38270 something starting with __ and the normal name is an alias. */
38271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38274 char (*f) () = $ac_func;
38283 return f != $ac_func;
38288 rm -f conftest.
$ac_objext conftest
$ac_exeext
38289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38290 (eval $ac_link) 2>conftest.er1
38292 grep -v '^ *+' conftest.er1
>conftest.err
38294 cat conftest.err
>&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } &&
38297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38299 (eval $ac_try) 2>&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); }; } &&
38303 { ac_try
='test -s conftest$ac_exeext'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; }; then
38309 eval "$as_ac_var=yes"
38311 echo "$as_me: failed program was:" >&5
38312 sed 's/^/| /' conftest.
$ac_ext >&5
38314 eval "$as_ac_var=no"
38316 rm -f conftest.err conftest.
$ac_objext \
38317 conftest
$ac_exeext conftest.
$ac_ext
38319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38321 if test `eval echo '${'$as_ac_var'}'` = yes; then
38322 cat >>confdefs.h
<<_ACEOF
38323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38331 for wx_func
in strtok_r
38333 echo "$as_me:$LINENO: checking for $wx_func" >&5
38334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38335 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38336 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 cat >conftest.
$ac_ext <<_ACEOF
38343 cat confdefs.h
>>conftest.
$ac_ext
38344 cat >>conftest.
$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38348 $ac_includes_default
38364 rm -f conftest.
$ac_objext conftest
$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1
>conftest.err
38370 cat conftest.err
>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; } &&
38379 { ac_try
='test -s conftest$ac_exeext'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; }; then
38385 eval wx_cv_func_
$wx_func=yes
38387 echo "$as_me: failed program was:" >&5
38388 sed 's/^/| /' conftest.
$ac_ext >&5
38390 eval wx_cv_func_
$wx_func=no
38392 rm -f conftest.err conftest.
$ac_objext \
38393 conftest
$ac_exeext conftest.
$ac_ext
38396 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38397 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38399 if eval test \
$wx_cv_func_$wx_func = yes
38401 cat >>confdefs.h
<<_ACEOF
38402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38415 for ac_func
in inet_addr
38417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38418 echo "$as_me:$LINENO: checking for $ac_func" >&5
38419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38420 if eval "test \"\${$as_ac_var+set}\" = set"; then
38421 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 cat >conftest.
$ac_ext <<_ACEOF
38426 cat confdefs.h
>>conftest.
$ac_ext
38427 cat >>conftest.
$ac_ext <<_ACEOF
38428 /* end confdefs.h. */
38429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38431 #define $ac_func innocuous_$ac_func
38433 /* System header to define __stub macros and hopefully few prototypes,
38434 which can conflict with char $ac_func (); below.
38435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38436 <limits.h> exists even on freestanding compilers. */
38439 # include <limits.h>
38441 # include <assert.h>
38446 /* Override any gcc2 internal prototype to avoid an error. */
38451 /* We use char because int might match the return type of a gcc2
38452 builtin and then its argument prototype would still apply. */
38454 /* The GNU C library defines this for functions which it implements
38455 to always fail with ENOSYS. Some functions are actually named
38456 something starting with __ and the normal name is an alias. */
38457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38460 char (*f) () = $ac_func;
38469 return f != $ac_func;
38474 rm -f conftest.
$ac_objext conftest
$ac_exeext
38475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38476 (eval $ac_link) 2>conftest.er1
38478 grep -v '^ *+' conftest.er1
>conftest.err
38480 cat conftest.err
>&5
38481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38482 (exit $ac_status); } &&
38483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38485 (eval $ac_try) 2>&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); }; } &&
38489 { ac_try
='test -s conftest$ac_exeext'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; }; then
38495 eval "$as_ac_var=yes"
38497 echo "$as_me: failed program was:" >&5
38498 sed 's/^/| /' conftest.
$ac_ext >&5
38500 eval "$as_ac_var=no"
38502 rm -f conftest.err conftest.
$ac_objext \
38503 conftest
$ac_exeext conftest.
$ac_ext
38505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38507 if test `eval echo '${'$as_ac_var'}'` = yes; then
38508 cat >>confdefs.h
<<_ACEOF
38509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38511 cat >>confdefs.h
<<\_ACEOF
38512 #define HAVE_INET_ADDR 1
38517 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38518 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38519 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 ac_check_lib_save_LIBS
=$LIBS
38524 cat >conftest.
$ac_ext <<_ACEOF
38527 cat confdefs.h
>>conftest.
$ac_ext
38528 cat >>conftest.
$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38531 /* Override any gcc2 internal prototype to avoid an error. */
38535 /* We use char because int might match the return type of a gcc2
38536 builtin and then its argument prototype would still apply. */
38546 rm -f conftest.
$ac_objext conftest
$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38550 grep -v '^ *+' conftest.er1
>conftest.err
38552 cat conftest.err
>&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; } &&
38561 { ac_try
='test -s conftest$ac_exeext'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; }; then
38567 ac_cv_lib_nsl_inet_addr
=yes
38569 echo "$as_me: failed program was:" >&5
38570 sed 's/^/| /' conftest.
$ac_ext >&5
38572 ac_cv_lib_nsl_inet_addr
=no
38574 rm -f conftest.err conftest.
$ac_objext \
38575 conftest
$ac_exeext conftest.
$ac_ext
38576 LIBS
=$ac_check_lib_save_LIBS
38578 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38580 if test $ac_cv_lib_nsl_inet_addr = yes; then
38584 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38589 ac_check_lib_save_LIBS
=$LIBS
38590 LIBS
="-lresolv $LIBS"
38591 cat >conftest.
$ac_ext <<_ACEOF
38594 cat confdefs.h
>>conftest.
$ac_ext
38595 cat >>conftest.
$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38598 /* Override any gcc2 internal prototype to avoid an error. */
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38613 rm -f conftest.
$ac_objext conftest
$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615 (eval $ac_link) 2>conftest.er1
38617 grep -v '^ *+' conftest.er1
>conftest.err
38619 cat conftest.err
>&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; } &&
38628 { ac_try
='test -s conftest$ac_exeext'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; }; then
38634 ac_cv_lib_resolv_inet_addr
=yes
38636 echo "$as_me: failed program was:" >&5
38637 sed 's/^/| /' conftest.
$ac_ext >&5
38639 ac_cv_lib_resolv_inet_addr
=no
38641 rm -f conftest.err conftest.
$ac_objext \
38642 conftest
$ac_exeext conftest.
$ac_ext
38643 LIBS
=$ac_check_lib_save_LIBS
38645 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38646 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38647 if test $ac_cv_lib_resolv_inet_addr = yes; then
38651 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38652 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38653 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38656 ac_check_lib_save_LIBS
=$LIBS
38657 LIBS
="-lsocket $LIBS"
38658 cat >conftest.
$ac_ext <<_ACEOF
38661 cat confdefs.h
>>conftest.
$ac_ext
38662 cat >>conftest.
$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38665 /* Override any gcc2 internal prototype to avoid an error. */
38669 /* We use char because int might match the return type of a gcc2
38670 builtin and then its argument prototype would still apply. */
38680 rm -f conftest.
$ac_objext conftest
$ac_exeext
38681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38682 (eval $ac_link) 2>conftest.er1
38684 grep -v '^ *+' conftest.er1
>conftest.err
38686 cat conftest.err
>&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } &&
38689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; } &&
38695 { ac_try
='test -s conftest$ac_exeext'
38696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38697 (eval $ac_try) 2>&5
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); }; }; then
38701 ac_cv_lib_socket_inet_addr
=yes
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.
$ac_ext >&5
38706 ac_cv_lib_socket_inet_addr
=no
38708 rm -f conftest.err conftest.
$ac_objext \
38709 conftest
$ac_exeext conftest.
$ac_ext
38710 LIBS
=$ac_check_lib_save_LIBS
38712 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38713 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38714 if test $ac_cv_lib_socket_inet_addr = yes; then
38734 for ac_func
in inet_aton
38736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38737 echo "$as_me:$LINENO: checking for $ac_func" >&5
38738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38739 if eval "test \"\${$as_ac_var+set}\" = set"; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 cat >conftest.
$ac_ext <<_ACEOF
38745 cat confdefs.h
>>conftest.
$ac_ext
38746 cat >>conftest.
$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define $ac_func innocuous_$ac_func
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char $ac_func (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38758 # include <limits.h>
38760 # include <assert.h>
38765 /* Override any gcc2 internal prototype to avoid an error. */
38770 /* We use char because int might match the return type of a gcc2
38771 builtin and then its argument prototype would still apply. */
38773 /* The GNU C library defines this for functions which it implements
38774 to always fail with ENOSYS. Some functions are actually named
38775 something starting with __ and the normal name is an alias. */
38776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38779 char (*f) () = $ac_func;
38788 return f != $ac_func;
38793 rm -f conftest.
$ac_objext conftest
$ac_exeext
38794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38795 (eval $ac_link) 2>conftest.er1
38797 grep -v '^ *+' conftest.er1
>conftest.err
38799 cat conftest.err
>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } &&
38802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; } &&
38808 { ac_try
='test -s conftest$ac_exeext'
38809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38810 (eval $ac_try) 2>&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); }; }; then
38814 eval "$as_ac_var=yes"
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.
$ac_ext >&5
38819 eval "$as_ac_var=no"
38821 rm -f conftest.err conftest.
$ac_objext \
38822 conftest
$ac_exeext conftest.
$ac_ext
38824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38826 if test `eval echo '${'$as_ac_var'}'` = yes; then
38827 cat >>confdefs.h
<<_ACEOF
38828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38830 cat >>confdefs.h
<<\_ACEOF
38831 #define HAVE_INET_ATON 1
38836 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38837 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38838 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38839 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38840 echo $ECHO_N "(cached) $ECHO_C" >&6
38842 ac_check_lib_save_LIBS
=$LIBS
38843 LIBS
="-l$INET_LINK $LIBS"
38844 cat >conftest.
$ac_ext <<_ACEOF
38847 cat confdefs.h
>>conftest.
$ac_ext
38848 cat >>conftest.
$ac_ext <<_ACEOF
38849 /* end confdefs.h. */
38851 /* Override any gcc2 internal prototype to avoid an error. */
38855 /* We use char because int might match the return type of a gcc2
38856 builtin and then its argument prototype would still apply. */
38866 rm -f conftest.
$ac_objext conftest
$ac_exeext
38867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38868 (eval $ac_link) 2>conftest.er1
38870 grep -v '^ *+' conftest.er1
>conftest.err
38872 cat conftest.err
>&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); } &&
38875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try
='test -s conftest$ac_exeext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 eval "$as_ac_Lib=yes"
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.
$ac_ext >&5
38892 eval "$as_ac_Lib=no"
38894 rm -f conftest.err conftest.
$ac_objext \
38895 conftest
$ac_exeext conftest.
$ac_ext
38896 LIBS
=$ac_check_lib_save_LIBS
38898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38899 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38900 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38901 cat >>confdefs.h
<<\_ACEOF
38902 #define HAVE_INET_ATON 1
38912 if test "x$INET_LINK" != "x"; then
38913 cat >>confdefs.h
<<\_ACEOF
38914 #define HAVE_INET_ADDR 1
38917 INET_LINK
=" -l$INET_LINK"
38921 for wx_func
in fdopen
38923 echo "$as_me:$LINENO: checking for $wx_func" >&5
38924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38925 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 cat >conftest.
$ac_ext <<_ACEOF
38933 cat confdefs.h
>>conftest.
$ac_ext
38934 cat >>conftest.
$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38938 $ac_includes_default
38954 rm -f conftest.
$ac_objext conftest
$ac_exeext
38955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38956 (eval $ac_link) 2>conftest.er1
38958 grep -v '^ *+' conftest.er1
>conftest.err
38960 cat conftest.err
>&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } &&
38963 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965 (eval $ac_try) 2>&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; } &&
38969 { ac_try
='test -s conftest$ac_exeext'
38970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38971 (eval $ac_try) 2>&5
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); }; }; then
38975 eval wx_cv_func_
$wx_func=yes
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.
$ac_ext >&5
38980 eval wx_cv_func_
$wx_func=no
38982 rm -f conftest.err conftest.
$ac_objext \
38983 conftest
$ac_exeext conftest.
$ac_ext
38986 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38987 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38989 if eval test \
$wx_cv_func_$wx_func = yes
38991 cat >>confdefs.h
<<_ACEOF
38992 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39009 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39010 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39011 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39014 ac_check_lib_save_LIBS
=$LIBS
39016 cat >conftest.
$ac_ext <<_ACEOF
39019 cat confdefs.h
>>conftest.
$ac_ext
39020 cat >>conftest.
$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39023 /* Override any gcc2 internal prototype to avoid an error. */
39027 /* We use char because int might match the return type of a gcc2
39028 builtin and then its argument prototype would still apply. */
39038 rm -f conftest.
$ac_objext conftest
$ac_exeext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39040 (eval $ac_link) 2>conftest.er1
39042 grep -v '^ *+' conftest.er1
>conftest.err
39044 cat conftest.err
>&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); } &&
39047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39049 (eval $ac_try) 2>&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); }; } &&
39053 { ac_try
='test -s conftest$ac_exeext'
39054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39055 (eval $ac_try) 2>&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); }; }; then
39059 ac_cv_lib_esd_esd_close
=yes
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.
$ac_ext >&5
39064 ac_cv_lib_esd_esd_close
=no
39066 rm -f conftest.err conftest.
$ac_objext \
39067 conftest
$ac_exeext conftest.
$ac_ext
39068 LIBS
=$ac_check_lib_save_LIBS
39070 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39071 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39072 if test $ac_cv_lib_esd_esd_close = yes; then
39075 for ac_header
in esd.h
39077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39079 echo "$as_me:$LINENO: checking for $ac_header" >&5
39080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39082 echo $ECHO_N "(cached) $ECHO_C" >&6
39084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39087 # Is the header compilable?
39088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39090 cat >conftest.
$ac_ext <<_ACEOF
39093 cat confdefs.h
>>conftest.
$ac_ext
39094 cat >>conftest.
$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39096 $ac_includes_default
39097 #include <$ac_header>
39099 rm -f conftest.
$ac_objext
39100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39101 (eval $ac_compile) 2>conftest.er1
39103 grep -v '^ *+' conftest.er1
>conftest.err
39105 cat conftest.err
>&5
39106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107 (exit $ac_status); } &&
39108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; } &&
39114 { ac_try
='test -s conftest.$ac_objext'
39115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116 (eval $ac_try) 2>&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); }; }; then
39120 ac_header_compiler
=yes
39122 echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.
$ac_ext >&5
39125 ac_header_compiler
=no
39127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39129 echo "${ECHO_T}$ac_header_compiler" >&6
39131 # Is the header present?
39132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39134 cat >conftest.
$ac_ext <<_ACEOF
39137 cat confdefs.h
>>conftest.
$ac_ext
39138 cat >>conftest.
$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39140 #include <$ac_header>
39142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39145 grep -v '^ *+' conftest.er1
>conftest.err
39147 cat conftest.err
>&5
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); } >/dev
/null
; then
39150 if test -s conftest.err
; then
39151 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39152 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39159 if test -z "$ac_cpp_err"; then
39160 ac_header_preproc
=yes
39162 echo "$as_me: failed program was:" >&5
39163 sed 's/^/| /' conftest.
$ac_ext >&5
39165 ac_header_preproc
=no
39167 rm -f conftest.err conftest.
$ac_ext
39168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39169 echo "${ECHO_T}$ac_header_preproc" >&6
39171 # So? What about this header?
39172 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39178 ac_header_preproc
=yes
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39195 ## ----------------------------------------- ##
39196 ## Report this to wx-dev@lists.wxwidgets.org ##
39197 ## ----------------------------------------- ##
39200 sed "s/^/$as_me: WARNING: /" >&2
39203 echo "$as_me:$LINENO: checking for $ac_header" >&5
39204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 eval "$as_ac_Header=\$ac_header_preproc"
39210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39215 cat >>confdefs.h
<<_ACEOF
39216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39219 EXTRALIBS_ESD
="-lesd"
39230 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39231 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39232 cat >conftest.
$ac_ext <<_ACEOF
39235 cat confdefs.h
>>conftest.
$ac_ext
39236 cat >>conftest.
$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39239 #include <linux/cdrom.h>
39242 #include <sys/cdio.h>
39248 struct cdrom_tocentry entry, old_entry;
39253 rm -f conftest.
$ac_objext
39254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39255 (eval $ac_compile) 2>conftest.er1
39257 grep -v '^ *+' conftest.er1
>conftest.err
39259 cat conftest.err
>&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); } &&
39262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39264 (eval $ac_try) 2>&5
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); }; } &&
39268 { ac_try
='test -s conftest.$ac_objext'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; }; then
39274 echo "$as_me:$LINENO: result: yes" >&5
39275 echo "${ECHO_T}yes" >&6
39276 cat >>confdefs.h
<<\_ACEOF
39277 #define HAVE_KNOWN_CDROM_INTERFACE 1
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.
$ac_ext >&5
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39290 cat >confcache
<<\_ACEOF
39291 # This file is a shell script that caches the results of configure
39292 # tests run on this system so they can be shared between configure
39293 # scripts and configure runs, see configure's option --config-cache.
39294 # It is not useful on other systems. If it contains results you don't
39295 # want to keep, you may remove or edit it.
39297 # config.status only pays attention to the cache file if you give it
39298 # the --recheck option to rerun configure.
39300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39302 # following values.
39306 # The following way of writing the cache mishandles newlines in values,
39307 # but we know of no workaround that is simple, portable, and efficient.
39308 # So, don't put newlines in cache variables' values.
39309 # Ultrix sh set writes to stderr and can't be redirected directly,
39310 # and sets the high bit in the cache file unless we assign to the vars.
39313 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39315 # `set' does not quote correctly, so add quotes (double-quote
39316 # substitution turns \\\\ into \\, and sed turns \\ into \).
39319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39322 # `set' quotes correctly as required by POSIX, so do not add quotes.
39324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39333 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39335 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39336 if test -w $cache_file; then
39337 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39338 cat confcache
>$cache_file
39340 echo "not updating unwritable cache $cache_file"
39346 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39352 if test "$wxUSE_THREADS" = "yes" ; then
39353 if test "$USE_BEOS" = 1; then
39354 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39355 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39360 if test "$wxUSE_THREADS" = "yes" ; then
39363 THREAD_OPTS
="-pthread"
39365 *-*-solaris2* | *-*-sunos4* )
39366 if test "x$GCC" = "xyes"; then
39367 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39369 THREAD_OPTS
="-mt $THREAD_OPTS"
39373 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39375 *-*-darwin* | *-*-cygwin* )
39379 THREAD_OPTS
="pthreads"
39382 if test "x$GCC" = "xyes"; then
39383 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39391 if test "x$GCC" = "xyes"; then
39397 if test "x$GCC" != "xyes"; then
39398 THREAD_OPTS
="-Ethread"
39403 THREAD_OPTS
="$THREAD_OPTS pthread none"
39406 for flag
in $THREAD_OPTS; do
39409 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39410 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39414 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39415 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39416 THREADS_CXXFLAGS
="$flag"
39420 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39421 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39422 THREADS_LINK
="-l$flag"
39427 save_CXXFLAGS
="$CXXFLAGS"
39428 LIBS
="$THREADS_LINK $LIBS"
39429 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39431 cat >conftest.
$ac_ext <<_ACEOF
39434 cat confdefs.h
>>conftest.
$ac_ext
39435 cat >>conftest.
$ac_ext <<_ACEOF
39436 /* end confdefs.h. */
39437 #include <pthread.h>
39441 pthread_create(0,0,0,0);
39446 rm -f conftest.
$ac_objext conftest
$ac_exeext
39447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39448 (eval $ac_link) 2>conftest.er1
39450 grep -v '^ *+' conftest.er1
>conftest.err
39452 cat conftest.err
>&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } &&
39455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; } &&
39461 { ac_try
='test -s conftest$ac_exeext'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; }; then
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.
$ac_ext >&5
39473 rm -f conftest.err conftest.
$ac_objext \
39474 conftest
$ac_exeext conftest.
$ac_ext
39477 CXXFLAGS
="$save_CXXFLAGS"
39479 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39480 echo "${ECHO_T}$THREADS_OK" >&6
39481 if test "x$THREADS_OK" = "xyes"; then
39486 THREADS_CXXFLAGS
=""
39489 if test "x$THREADS_OK" != "xyes"; then
39491 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39492 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39494 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39495 LIBS
="$THREADS_LINK $LIBS"
39497 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39498 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39502 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39503 flag
="-D_THREAD_SAFE"
39506 flag
="-D_THREAD_SAFE"
39509 flag
="-D_REENTRANT"
39510 if test "x$GCC" != "xyes"; then
39511 flag
="$flag -D_RWSTD_MULTI_THREAD"
39514 *solaris
* | alpha
*-osf*)
39515 flag
="-D_REENTRANT"
39518 echo "$as_me:$LINENO: result: ${flag}" >&5
39519 echo "${ECHO_T}${flag}" >&6
39520 if test "x$flag" != xno
; then
39521 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39524 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39528 if test "$wxUSE_THREADS" = "yes" ; then
39530 for ac_func
in thr_setconcurrency
39532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39533 echo "$as_me:$LINENO: checking for $ac_func" >&5
39534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39535 if eval "test \"\${$as_ac_var+set}\" = set"; then
39536 echo $ECHO_N "(cached) $ECHO_C" >&6
39538 cat >conftest.
$ac_ext <<_ACEOF
39541 cat confdefs.h
>>conftest.
$ac_ext
39542 cat >>conftest.
$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39546 #define $ac_func innocuous_$ac_func
39548 /* System header to define __stub macros and hopefully few prototypes,
39549 which can conflict with char $ac_func (); below.
39550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39551 <limits.h> exists even on freestanding compilers. */
39554 # include <limits.h>
39556 # include <assert.h>
39561 /* Override any gcc2 internal prototype to avoid an error. */
39566 /* We use char because int might match the return type of a gcc2
39567 builtin and then its argument prototype would still apply. */
39569 /* The GNU C library defines this for functions which it implements
39570 to always fail with ENOSYS. Some functions are actually named
39571 something starting with __ and the normal name is an alias. */
39572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39575 char (*f) () = $ac_func;
39584 return f != $ac_func;
39589 rm -f conftest.
$ac_objext conftest
$ac_exeext
39590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39591 (eval $ac_link) 2>conftest.er1
39593 grep -v '^ *+' conftest.er1
>conftest.err
39595 cat conftest.err
>&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); } &&
39598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; } &&
39604 { ac_try
='test -s conftest$ac_exeext'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 eval "$as_ac_var=yes"
39612 echo "$as_me: failed program was:" >&5
39613 sed 's/^/| /' conftest.
$ac_ext >&5
39615 eval "$as_ac_var=no"
39617 rm -f conftest.err conftest.
$ac_objext \
39618 conftest
$ac_exeext conftest.
$ac_ext
39620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39622 if test `eval echo '${'$as_ac_var'}'` = yes; then
39623 cat >>confdefs.h
<<_ACEOF
39624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39631 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39632 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39633 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39634 echo $ECHO_N "(cached) $ECHO_C" >&6
39637 cat >conftest.
$ac_ext <<_ACEOF
39640 cat confdefs.h
>>conftest.
$ac_ext
39641 cat >>conftest.
$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 #include <pthread.h>
39644 void ThreadCleanupFunc(void *p);
39651 pthread_cleanup_push(ThreadCleanupFunc, p);
39652 pthread_cleanup_pop(0);
39658 rm -f conftest.
$ac_objext
39659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39660 (eval $ac_compile) 2>conftest.er1
39662 grep -v '^ *+' conftest.er1
>conftest.err
39664 cat conftest.err
>&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } &&
39667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669 (eval $ac_try) 2>&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); }; } &&
39673 { ac_try
='test -s conftest.$ac_objext'
39674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39675 (eval $ac_try) 2>&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); }; }; then
39680 wx_cv_func_pthread_cleanup
=yes
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.
$ac_ext >&5
39687 wx_cv_func_pthread_cleanup
=no
39691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39694 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39695 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39696 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39697 cat >>confdefs.h
<<\_ACEOF
39698 #define wxHAVE_PTHREAD_CLEANUP 1
39704 for ac_header
in sched.h
39706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39708 echo "$as_me:$LINENO: checking for $ac_header" >&5
39709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39716 # Is the header compilable?
39717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39719 cat >conftest.
$ac_ext <<_ACEOF
39722 cat confdefs.h
>>conftest.
$ac_ext
39723 cat >>conftest.
$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39725 $ac_includes_default
39726 #include <$ac_header>
39728 rm -f conftest.
$ac_objext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39730 (eval $ac_compile) 2>conftest.er1
39732 grep -v '^ *+' conftest.er1
>conftest.err
39734 cat conftest.err
>&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } &&
39737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try
='test -s conftest.$ac_objext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 ac_header_compiler
=yes
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.
$ac_ext >&5
39754 ac_header_compiler
=no
39756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39758 echo "${ECHO_T}$ac_header_compiler" >&6
39760 # Is the header present?
39761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39763 cat >conftest.
$ac_ext <<_ACEOF
39766 cat confdefs.h
>>conftest.
$ac_ext
39767 cat >>conftest.
$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769 #include <$ac_header>
39771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39774 grep -v '^ *+' conftest.er1
>conftest.err
39776 cat conftest.err
>&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } >/dev
/null
; then
39779 if test -s conftest.err
; then
39780 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39781 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39788 if test -z "$ac_cpp_err"; then
39789 ac_header_preproc
=yes
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.
$ac_ext >&5
39794 ac_header_preproc
=no
39796 rm -f conftest.err conftest.
$ac_ext
39797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39798 echo "${ECHO_T}$ac_header_preproc" >&6
39800 # So? What about this header?
39801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39807 ac_header_preproc
=yes
39810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39824 ## ----------------------------------------- ##
39825 ## Report this to wx-dev@lists.wxwidgets.org ##
39826 ## ----------------------------------------- ##
39829 sed "s/^/$as_me: WARNING: /" >&2
39832 echo "$as_me:$LINENO: checking for $ac_header" >&5
39833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 eval "$as_ac_Header=\$ac_header_preproc"
39839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39844 cat >>confdefs.h
<<_ACEOF
39845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39852 if test "$ac_cv_header_sched_h" = "yes"; then
39853 echo "$as_me:$LINENO: checking for sched_yield" >&5
39854 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39855 if test "${ac_cv_func_sched_yield+set}" = set; then
39856 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 cat >conftest.
$ac_ext <<_ACEOF
39861 cat confdefs.h
>>conftest.
$ac_ext
39862 cat >>conftest.
$ac_ext <<_ACEOF
39863 /* end confdefs.h. */
39864 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39866 #define sched_yield innocuous_sched_yield
39868 /* System header to define __stub macros and hopefully few prototypes,
39869 which can conflict with char sched_yield (); below.
39870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39871 <limits.h> exists even on freestanding compilers. */
39874 # include <limits.h>
39876 # include <assert.h>
39881 /* Override any gcc2 internal prototype to avoid an error. */
39886 /* We use char because int might match the return type of a gcc2
39887 builtin and then its argument prototype would still apply. */
39888 char sched_yield ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39895 char (*f) () = sched_yield;
39904 return f != sched_yield;
39909 rm -f conftest.
$ac_objext conftest
$ac_exeext
39910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39911 (eval $ac_link) 2>conftest.er1
39913 grep -v '^ *+' conftest.er1
>conftest.err
39915 cat conftest.err
>&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } &&
39918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39920 (eval $ac_try) 2>&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); }; } &&
39924 { ac_try
='test -s conftest$ac_exeext'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; }; then
39930 ac_cv_func_sched_yield
=yes
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.
$ac_ext >&5
39935 ac_cv_func_sched_yield
=no
39937 rm -f conftest.err conftest.
$ac_objext \
39938 conftest
$ac_exeext conftest.
$ac_ext
39940 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39941 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39942 if test $ac_cv_func_sched_yield = yes; then
39943 cat >>confdefs.h
<<\_ACEOF
39944 #define HAVE_SCHED_YIELD 1
39949 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39950 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39951 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39952 echo $ECHO_N "(cached) $ECHO_C" >&6
39954 ac_check_lib_save_LIBS
=$LIBS
39955 LIBS
="-lposix4 $LIBS"
39956 cat >conftest.
$ac_ext <<_ACEOF
39959 cat confdefs.h
>>conftest.
$ac_ext
39960 cat >>conftest.
$ac_ext <<_ACEOF
39961 /* end confdefs.h. */
39963 /* Override any gcc2 internal prototype to avoid an error. */
39967 /* We use char because int might match the return type of a gcc2
39968 builtin and then its argument prototype would still apply. */
39969 char sched_yield ();
39978 rm -f conftest.
$ac_objext conftest
$ac_exeext
39979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39980 (eval $ac_link) 2>conftest.er1
39982 grep -v '^ *+' conftest.er1
>conftest.err
39984 cat conftest.err
>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } &&
39987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; } &&
39993 { ac_try
='test -s conftest$ac_exeext'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; }; then
39999 ac_cv_lib_posix4_sched_yield
=yes
40001 echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.
$ac_ext >&5
40004 ac_cv_lib_posix4_sched_yield
=no
40006 rm -f conftest.err conftest.
$ac_objext \
40007 conftest
$ac_exeext conftest.
$ac_ext
40008 LIBS
=$ac_check_lib_save_LIBS
40010 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40011 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40012 if test $ac_cv_lib_posix4_sched_yield = yes; then
40013 cat >>confdefs.h
<<\_ACEOF
40014 #define HAVE_SCHED_YIELD 1
40016 POSIX4_LINK
=" -lposix4"
40018 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40019 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40030 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40031 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40032 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 cat >conftest.
$ac_ext <<_ACEOF
40038 cat confdefs.h
>>conftest.
$ac_ext
40039 cat >>conftest.
$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char pthread_attr_getschedpolicy (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40051 # include <limits.h>
40053 # include <assert.h>
40056 #undef pthread_attr_getschedpolicy
40058 /* Override any gcc2 internal prototype to avoid an error. */
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char pthread_attr_getschedpolicy ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40072 char (*f) () = pthread_attr_getschedpolicy;
40081 return f != pthread_attr_getschedpolicy;
40086 rm -f conftest.
$ac_objext conftest
$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40090 grep -v '^ *+' conftest.er1
>conftest.err
40092 cat conftest.err
>&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try
='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 ac_cv_func_pthread_attr_getschedpolicy
=yes
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.
$ac_ext >&5
40112 ac_cv_func_pthread_attr_getschedpolicy
=no
40114 rm -f conftest.err conftest.
$ac_objext \
40115 conftest
$ac_exeext conftest.
$ac_ext
40117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40119 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40120 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40121 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40122 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40125 cat >conftest.
$ac_ext <<_ACEOF
40128 cat confdefs.h
>>conftest.
$ac_ext
40129 cat >>conftest.
$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40131 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40133 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40135 /* System header to define __stub macros and hopefully few prototypes,
40136 which can conflict with char pthread_attr_setschedparam (); below.
40137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40138 <limits.h> exists even on freestanding compilers. */
40141 # include <limits.h>
40143 # include <assert.h>
40146 #undef pthread_attr_setschedparam
40148 /* Override any gcc2 internal prototype to avoid an error. */
40153 /* We use char because int might match the return type of a gcc2
40154 builtin and then its argument prototype would still apply. */
40155 char pthread_attr_setschedparam ();
40156 /* The GNU C library defines this for functions which it implements
40157 to always fail with ENOSYS. Some functions are actually named
40158 something starting with __ and the normal name is an alias. */
40159 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40162 char (*f) () = pthread_attr_setschedparam;
40171 return f != pthread_attr_setschedparam;
40176 rm -f conftest.
$ac_objext conftest
$ac_exeext
40177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40178 (eval $ac_link) 2>conftest.er1
40180 grep -v '^ *+' conftest.er1
>conftest.err
40182 cat conftest.err
>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } &&
40185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; } &&
40191 { ac_try
='test -s conftest$ac_exeext'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; }; then
40197 ac_cv_func_pthread_attr_setschedparam
=yes
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.
$ac_ext >&5
40202 ac_cv_func_pthread_attr_setschedparam
=no
40204 rm -f conftest.err conftest.
$ac_objext \
40205 conftest
$ac_exeext conftest.
$ac_ext
40207 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40208 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40209 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40210 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40211 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40212 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40213 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 cat >conftest.
$ac_ext <<_ACEOF
40218 cat confdefs.h
>>conftest.
$ac_ext
40219 cat >>conftest.
$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40221 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40223 #define sched_get_priority_max innocuous_sched_get_priority_max
40225 /* System header to define __stub macros and hopefully few prototypes,
40226 which can conflict with char sched_get_priority_max (); below.
40227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40228 <limits.h> exists even on freestanding compilers. */
40231 # include <limits.h>
40233 # include <assert.h>
40236 #undef sched_get_priority_max
40238 /* Override any gcc2 internal prototype to avoid an error. */
40243 /* We use char because int might match the return type of a gcc2
40244 builtin and then its argument prototype would still apply. */
40245 char sched_get_priority_max ();
40246 /* The GNU C library defines this for functions which it implements
40247 to always fail with ENOSYS. Some functions are actually named
40248 something starting with __ and the normal name is an alias. */
40249 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40252 char (*f) () = sched_get_priority_max;
40261 return f != sched_get_priority_max;
40266 rm -f conftest.
$ac_objext conftest
$ac_exeext
40267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40268 (eval $ac_link) 2>conftest.er1
40270 grep -v '^ *+' conftest.er1
>conftest.err
40272 cat conftest.err
>&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } &&
40275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; } &&
40281 { ac_try
='test -s conftest$ac_exeext'
40282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40283 (eval $ac_try) 2>&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); }; }; then
40287 ac_cv_func_sched_get_priority_max
=yes
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 ac_cv_func_sched_get_priority_max
=no
40294 rm -f conftest.err conftest.
$ac_objext \
40295 conftest
$ac_exeext conftest.
$ac_ext
40297 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40298 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40299 if test $ac_cv_func_sched_get_priority_max = yes; then
40302 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40303 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40304 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40305 echo $ECHO_N "(cached) $ECHO_C" >&6
40307 ac_check_lib_save_LIBS
=$LIBS
40308 LIBS
="-lposix4 $LIBS"
40309 cat >conftest.
$ac_ext <<_ACEOF
40312 cat confdefs.h
>>conftest.
$ac_ext
40313 cat >>conftest.
$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40316 /* Override any gcc2 internal prototype to avoid an error. */
40320 /* We use char because int might match the return type of a gcc2
40321 builtin and then its argument prototype would still apply. */
40322 char sched_get_priority_max ();
40326 sched_get_priority_max ();
40331 rm -f conftest.
$ac_objext conftest
$ac_exeext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40333 (eval $ac_link) 2>conftest.er1
40335 grep -v '^ *+' conftest.er1
>conftest.err
40337 cat conftest.err
>&5
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); } &&
40340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40342 (eval $ac_try) 2>&5
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); }; } &&
40346 { ac_try
='test -s conftest$ac_exeext'
40347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40348 (eval $ac_try) 2>&5
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); }; }; then
40352 ac_cv_lib_posix4_sched_get_priority_max
=yes
40354 echo "$as_me: failed program was:" >&5
40355 sed 's/^/| /' conftest.
$ac_ext >&5
40357 ac_cv_lib_posix4_sched_get_priority_max
=no
40359 rm -f conftest.err conftest.
$ac_objext \
40360 conftest
$ac_exeext conftest.
$ac_ext
40361 LIBS
=$ac_check_lib_save_LIBS
40363 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40364 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40365 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40368 POSIX4_LINK
=" -lposix4"
40382 if test "$HAVE_PRIOR_FUNCS" = 1; then
40383 cat >>confdefs.h
<<\_ACEOF
40384 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40388 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40389 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40392 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40393 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40394 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40395 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 cat >conftest.
$ac_ext <<_ACEOF
40400 cat confdefs.h
>>conftest.
$ac_ext
40401 cat >>conftest.
$ac_ext <<_ACEOF
40402 /* end confdefs.h. */
40403 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40405 #define pthread_cancel innocuous_pthread_cancel
40407 /* System header to define __stub macros and hopefully few prototypes,
40408 which can conflict with char pthread_cancel (); below.
40409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40410 <limits.h> exists even on freestanding compilers. */
40413 # include <limits.h>
40415 # include <assert.h>
40418 #undef pthread_cancel
40420 /* Override any gcc2 internal prototype to avoid an error. */
40425 /* We use char because int might match the return type of a gcc2
40426 builtin and then its argument prototype would still apply. */
40427 char pthread_cancel ();
40428 /* The GNU C library defines this for functions which it implements
40429 to always fail with ENOSYS. Some functions are actually named
40430 something starting with __ and the normal name is an alias. */
40431 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40434 char (*f) () = pthread_cancel;
40443 return f != pthread_cancel;
40448 rm -f conftest.
$ac_objext conftest
$ac_exeext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40450 (eval $ac_link) 2>conftest.er1
40452 grep -v '^ *+' conftest.er1
>conftest.err
40454 cat conftest.err
>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try
='test -s conftest$ac_exeext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40469 ac_cv_func_pthread_cancel
=yes
40471 echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.
$ac_ext >&5
40474 ac_cv_func_pthread_cancel
=no
40476 rm -f conftest.err conftest.
$ac_objext \
40477 conftest
$ac_exeext conftest.
$ac_ext
40479 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40480 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40481 if test $ac_cv_func_pthread_cancel = yes; then
40482 cat >>confdefs.h
<<\_ACEOF
40483 #define HAVE_PTHREAD_CANCEL 1
40487 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40488 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40492 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40493 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40494 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 cat >conftest.
$ac_ext <<_ACEOF
40500 cat confdefs.h
>>conftest.
$ac_ext
40501 cat >>conftest.
$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char pthread_attr_setstacksize (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40518 #undef pthread_attr_setstacksize
40520 /* Override any gcc2 internal prototype to avoid an error. */
40525 /* We use char because int might match the return type of a gcc2
40526 builtin and then its argument prototype would still apply. */
40527 char pthread_attr_setstacksize ();
40528 /* The GNU C library defines this for functions which it implements
40529 to always fail with ENOSYS. Some functions are actually named
40530 something starting with __ and the normal name is an alias. */
40531 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40534 char (*f) () = pthread_attr_setstacksize;
40543 return f != pthread_attr_setstacksize;
40548 rm -f conftest.
$ac_objext conftest
$ac_exeext
40549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40550 (eval $ac_link) 2>conftest.er1
40552 grep -v '^ *+' conftest.er1
>conftest.err
40554 cat conftest.err
>&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } &&
40557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; } &&
40563 { ac_try
='test -s conftest$ac_exeext'
40564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40565 (eval $ac_try) 2>&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); }; }; then
40569 ac_cv_func_pthread_attr_setstacksize
=yes
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.
$ac_ext >&5
40574 ac_cv_func_pthread_attr_setstacksize
=no
40576 rm -f conftest.err conftest.
$ac_objext \
40577 conftest
$ac_exeext conftest.
$ac_ext
40579 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40580 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40581 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40582 cat >>confdefs.h
<<\_ACEOF
40583 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40590 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40591 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40592 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 cat >conftest.
$ac_ext <<_ACEOF
40599 cat confdefs.h
>>conftest.
$ac_ext
40600 cat >>conftest.
$ac_ext <<_ACEOF
40601 /* end confdefs.h. */
40602 #include <pthread.h>
40607 pthread_mutexattr_t attr;
40608 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40614 rm -f conftest.
$ac_objext
40615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40616 (eval $ac_compile) 2>conftest.er1
40618 grep -v '^ *+' conftest.er1
>conftest.err
40620 cat conftest.err
>&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40625 (eval $ac_try) 2>&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); }; } &&
40629 { ac_try
='test -s conftest.$ac_objext'
40630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40631 (eval $ac_try) 2>&5
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); }; }; then
40635 wx_cv_type_pthread_mutexattr_t
=yes
40637 echo "$as_me: failed program was:" >&5
40638 sed 's/^/| /' conftest.
$ac_ext >&5
40640 wx_cv_type_pthread_mutexattr_t
=no
40643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40646 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40647 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40649 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40650 cat >>confdefs.h
<<\_ACEOF
40651 #define HAVE_PTHREAD_MUTEXATTR_T 1
40655 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40656 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40657 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 cat >conftest.
$ac_ext <<_ACEOF
40664 cat confdefs.h
>>conftest.
$ac_ext
40665 cat >>conftest.
$ac_ext <<_ACEOF
40666 /* end confdefs.h. */
40667 #include <pthread.h>
40672 pthread_mutexattr_t attr;
40673 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40679 rm -f conftest.
$ac_objext
40680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40681 (eval $ac_compile) 2>conftest.er1
40683 grep -v '^ *+' conftest.er1
>conftest.err
40685 cat conftest.err
>&5
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); } &&
40688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40690 (eval $ac_try) 2>&5
40692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40693 (exit $ac_status); }; } &&
40694 { ac_try
='test -s conftest.$ac_objext'
40695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40696 (eval $ac_try) 2>&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); }; }; then
40700 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40702 echo "$as_me: failed program was:" >&5
40703 sed 's/^/| /' conftest.
$ac_ext >&5
40705 wx_cv_func_pthread_mutexattr_settype_decl
=no
40708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40711 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40712 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40713 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40714 cat >>confdefs.h
<<\_ACEOF
40715 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40720 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40721 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40722 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 cat >conftest.
$ac_ext <<_ACEOF
40729 cat confdefs.h
>>conftest.
$ac_ext
40730 cat >>conftest.
$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 #include <pthread.h>
40737 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40743 rm -f conftest.
$ac_objext
40744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40745 (eval $ac_compile) 2>conftest.er1
40747 grep -v '^ *+' conftest.er1
>conftest.err
40749 cat conftest.err
>&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); } &&
40752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; } &&
40758 { ac_try
='test -s conftest.$ac_objext'
40759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40760 (eval $ac_try) 2>&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); }; }; then
40765 wx_cv_type_pthread_rec_mutex_init
=yes
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.
$ac_ext >&5
40772 wx_cv_type_pthread_rec_mutex_init
=no
40776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40779 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40780 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40781 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40782 cat >>confdefs.h
<<\_ACEOF
40783 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40787 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40788 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40794 if test "$wxUSE_THREADS" = "yes" ; then
40797 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40798 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40799 if test "${wx_cv_cflags_mthread+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40803 CXXFLAGS_OLD
="$CXXFLAGS"
40804 CXXFLAGS
="-mthreads $CXXFLAGS"
40805 cat >conftest.
$ac_ext <<_ACEOF
40808 cat confdefs.h
>>conftest.
$ac_ext
40809 cat >>conftest.
$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40820 rm -f conftest.
$ac_objext
40821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40822 (eval $ac_compile) 2>conftest.er1
40824 grep -v '^ *+' conftest.er1
>conftest.err
40826 cat conftest.err
>&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); } &&
40829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40831 (eval $ac_try) 2>&5
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); }; } &&
40835 { ac_try
='test -s conftest.$ac_objext'
40836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40837 (eval $ac_try) 2>&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); }; }; then
40841 wx_cv_cflags_mthread
=yes
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.
$ac_ext >&5
40846 wx_cv_cflags_mthread
=no
40849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40853 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40854 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40856 if test "$wx_cv_cflags_mthread" = "yes"; then
40857 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40858 LDFLAGS
="$LDFLAGS -mthreads"
40860 CXXFLAGS
="$CXXFLAGS_OLD"
40864 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40865 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40866 LDFLAGS
="$LDFLAGS -Zmt"
40872 echo "$as_me:$LINENO: checking for localtime_r" >&5
40873 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40874 if test "${ac_cv_func_localtime_r+set}" = set; then
40875 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 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40885 #define localtime_r innocuous_localtime_r
40887 /* System header to define __stub macros and hopefully few prototypes,
40888 which can conflict with char localtime_r (); below.
40889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40890 <limits.h> exists even on freestanding compilers. */
40893 # include <limits.h>
40895 # include <assert.h>
40900 /* Override any gcc2 internal prototype to avoid an error. */
40905 /* We use char because int might match the return type of a gcc2
40906 builtin and then its argument prototype would still apply. */
40907 char localtime_r ();
40908 /* The GNU C library defines this for functions which it implements
40909 to always fail with ENOSYS. Some functions are actually named
40910 something starting with __ and the normal name is an alias. */
40911 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40914 char (*f) () = localtime_r;
40923 return f != localtime_r;
40928 rm -f conftest.
$ac_objext conftest
$ac_exeext
40929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40930 (eval $ac_link) 2>conftest.er1
40932 grep -v '^ *+' conftest.er1
>conftest.err
40934 cat conftest.err
>&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); } &&
40937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; } &&
40943 { ac_try
='test -s conftest$ac_exeext'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; }; then
40949 ac_cv_func_localtime_r
=yes
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.
$ac_ext >&5
40954 ac_cv_func_localtime_r
=no
40956 rm -f conftest.err conftest.
$ac_objext \
40957 conftest
$ac_exeext conftest.
$ac_ext
40959 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40960 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40961 if test $ac_cv_func_localtime_r = yes; then
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define HAVE_LOCALTIME_R 1
40968 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40969 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40970 if test "${ac_cv_func_gmtime_r+set}" = set; then
40971 echo $ECHO_N "(cached) $ECHO_C" >&6
40973 cat >conftest.
$ac_ext <<_ACEOF
40976 cat confdefs.h
>>conftest.
$ac_ext
40977 cat >>conftest.
$ac_ext <<_ACEOF
40978 /* end confdefs.h. */
40979 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40981 #define gmtime_r innocuous_gmtime_r
40983 /* System header to define __stub macros and hopefully few prototypes,
40984 which can conflict with char gmtime_r (); below.
40985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40986 <limits.h> exists even on freestanding compilers. */
40989 # include <limits.h>
40991 # include <assert.h>
40996 /* Override any gcc2 internal prototype to avoid an error. */
41001 /* We use char because int might match the return type of a gcc2
41002 builtin and then its argument prototype would still apply. */
41004 /* The GNU C library defines this for functions which it implements
41005 to always fail with ENOSYS. Some functions are actually named
41006 something starting with __ and the normal name is an alias. */
41007 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41010 char (*f) () = gmtime_r;
41019 return f != gmtime_r;
41024 rm -f conftest.
$ac_objext conftest
$ac_exeext
41025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41026 (eval $ac_link) 2>conftest.er1
41028 grep -v '^ *+' conftest.er1
>conftest.err
41030 cat conftest.err
>&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } &&
41033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41035 (eval $ac_try) 2>&5
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); }; } &&
41039 { ac_try
='test -s conftest$ac_exeext'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; }; then
41045 ac_cv_func_gmtime_r
=yes
41047 echo "$as_me: failed program was:" >&5
41048 sed 's/^/| /' conftest.
$ac_ext >&5
41050 ac_cv_func_gmtime_r
=no
41052 rm -f conftest.err conftest.
$ac_objext \
41053 conftest
$ac_exeext conftest.
$ac_ext
41055 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41056 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41057 if test $ac_cv_func_gmtime_r = yes; then
41058 cat >>confdefs.h
<<\_ACEOF
41059 #define HAVE_GMTIME_R 1
41064 echo "$as_me:$LINENO: checking for readdir_r" >&5
41065 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41066 if test "${ac_cv_func_readdir_r+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 cat >conftest.
$ac_ext <<_ACEOF
41072 cat confdefs.h
>>conftest.
$ac_ext
41073 cat >>conftest.
$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define readdir_r innocuous_readdir_r
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char readdir_r (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41085 # include <limits.h>
41087 # include <assert.h>
41092 /* Override any gcc2 internal prototype to avoid an error. */
41097 /* We use char because int might match the return type of a gcc2
41098 builtin and then its argument prototype would still apply. */
41100 /* The GNU C library defines this for functions which it implements
41101 to always fail with ENOSYS. Some functions are actually named
41102 something starting with __ and the normal name is an alias. */
41103 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41106 char (*f) () = readdir_r;
41115 return f != readdir_r;
41120 rm -f conftest.
$ac_objext conftest
$ac_exeext
41121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41122 (eval $ac_link) 2>conftest.er1
41124 grep -v '^ *+' conftest.er1
>conftest.err
41126 cat conftest.err
>&5
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); } &&
41129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; } &&
41135 { ac_try
='test -s conftest$ac_exeext'
41136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41137 (eval $ac_try) 2>&5
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); }; }; then
41141 ac_cv_func_readdir_r
=yes
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.
$ac_ext >&5
41146 ac_cv_func_readdir_r
=no
41148 rm -f conftest.err conftest.
$ac_objext \
41149 conftest
$ac_exeext conftest.
$ac_ext
41151 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41152 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41153 if test $ac_cv_func_readdir_r = yes; then
41154 cat >>confdefs.h
<<\_ACEOF
41155 #define HAVE_READDIR_R 1
41164 ac_cpp
='$CPP $CPPFLAGS'
41165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41169 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41170 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41172 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41173 echo $ECHO_N "(cached) $ECHO_C" >&6
41177 ################################################################
41179 ac_cv_func_which_gethostbyname_r
=unknown
41182 # ONE ARGUMENT (sanity check)
41185 # This should fail, as there is no variant of gethostbyname_r() that takes
41186 # a single argument. If it actually compiles, then we can assume that
41187 # netdb.h is not declaring the function, and the compiler is thereby
41188 # assuming an implicit prototype. In which case, we're out of luck.
41190 cat >conftest.
$ac_ext <<_ACEOF
41193 cat confdefs.h
>>conftest.
$ac_ext
41194 cat >>conftest.
$ac_ext <<_ACEOF
41195 /* end confdefs.h. */
41201 char *name = "www.gnu.org";
41202 (void)gethostbyname_r(name) /* ; */
41208 rm -f conftest.
$ac_objext
41209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41210 (eval $ac_compile) 2>conftest.er1
41212 grep -v '^ *+' conftest.er1
>conftest.err
41214 cat conftest.err
>&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } &&
41217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41219 (eval $ac_try) 2>&5
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); }; } &&
41223 { ac_try
='test -s conftest.$ac_objext'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; }; then
41229 ac_cv_func_which_gethostbyname_r
=no
41231 echo "$as_me: failed program was:" >&5
41232 sed 's/^/| /' conftest.
$ac_ext >&5
41235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41242 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41244 cat >conftest.
$ac_ext <<_ACEOF
41247 cat confdefs.h
>>conftest.
$ac_ext
41248 cat >>conftest.
$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41255 char *name = "www.gnu.org";
41256 struct hostent ret, *retp;
41260 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41266 rm -f conftest.
$ac_objext
41267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41268 (eval $ac_compile) 2>conftest.er1
41270 grep -v '^ *+' conftest.er1
>conftest.err
41272 cat conftest.err
>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } &&
41275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; } &&
41281 { ac_try
='test -s conftest.$ac_objext'
41282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41283 (eval $ac_try) 2>&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); }; }; then
41287 ac_cv_func_which_gethostbyname_r
=six
41289 echo "$as_me: failed program was:" >&5
41290 sed 's/^/| /' conftest.
$ac_ext >&5
41293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41302 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41304 cat >conftest.
$ac_ext <<_ACEOF
41307 cat confdefs.h
>>conftest.
$ac_ext
41308 cat >>conftest.
$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41315 char *name = "www.gnu.org";
41316 struct hostent ret;
41320 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41326 rm -f conftest.
$ac_objext
41327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41328 (eval $ac_compile) 2>conftest.er1
41330 grep -v '^ *+' conftest.er1
>conftest.err
41332 cat conftest.err
>&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } &&
41335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41337 (eval $ac_try) 2>&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); }; } &&
41341 { ac_try
='test -s conftest.$ac_objext'
41342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41343 (eval $ac_try) 2>&5
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); }; }; then
41347 ac_cv_func_which_gethostbyname_r
=five
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.
$ac_ext >&5
41353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41359 # (e.g. AIX, HP-UX, Tru64)
41362 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41364 cat >conftest.
$ac_ext <<_ACEOF
41367 cat confdefs.h
>>conftest.
$ac_ext
41368 cat >>conftest.
$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41375 char *name = "www.gnu.org";
41376 struct hostent ret;
41377 struct hostent_data data;
41378 (void)gethostbyname_r(name, &ret, &data) /* ; */
41384 rm -f conftest.
$ac_objext
41385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41386 (eval $ac_compile) 2>conftest.er1
41388 grep -v '^ *+' conftest.er1
>conftest.err
41390 cat conftest.err
>&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } &&
41393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41395 (eval $ac_try) 2>&5
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); }; } &&
41399 { ac_try
='test -s conftest.$ac_objext'
41400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401 (eval $ac_try) 2>&5
41403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41404 (exit $ac_status); }; }; then
41405 ac_cv_func_which_gethostbyname_r
=three
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.
$ac_ext >&5
41411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41415 ################################################################
41420 case "$ac_cv_func_which_gethostbyname_r" in
41422 echo "$as_me:$LINENO: result: three" >&5
41423 echo "${ECHO_T}three" >&6
41424 cat >>confdefs.h
<<\_ACEOF
41425 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41431 echo "$as_me:$LINENO: result: five" >&5
41432 echo "${ECHO_T}five" >&6
41433 cat >>confdefs.h
<<\_ACEOF
41434 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41440 echo "$as_me:$LINENO: result: six" >&5
41441 echo "${ECHO_T}six" >&6
41442 cat >>confdefs.h
<<\_ACEOF
41443 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41449 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41450 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41454 echo "$as_me:$LINENO: result: can't tell" >&5
41455 echo "${ECHO_T}can't tell" >&6
41459 { { echo "$as_me:$LINENO: error: internal error" >&5
41460 echo "$as_me: error: internal error" >&2;}
41461 { (exit 1); exit 1; }; }
41466 ac_cpp
='$CXXCPP $CPPFLAGS'
41467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41473 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41474 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41475 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41476 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41477 if test "${ac_cv_func_gethostbyname+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41480 cat >conftest.
$ac_ext <<_ACEOF
41483 cat confdefs.h
>>conftest.
$ac_ext
41484 cat >>conftest.
$ac_ext <<_ACEOF
41485 /* end confdefs.h. */
41486 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41488 #define gethostbyname innocuous_gethostbyname
41490 /* System header to define __stub macros and hopefully few prototypes,
41491 which can conflict with char gethostbyname (); below.
41492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41493 <limits.h> exists even on freestanding compilers. */
41496 # include <limits.h>
41498 # include <assert.h>
41501 #undef gethostbyname
41503 /* Override any gcc2 internal prototype to avoid an error. */
41508 /* We use char because int might match the return type of a gcc2
41509 builtin and then its argument prototype would still apply. */
41510 char gethostbyname ();
41511 /* The GNU C library defines this for functions which it implements
41512 to always fail with ENOSYS. Some functions are actually named
41513 something starting with __ and the normal name is an alias. */
41514 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41517 char (*f) () = gethostbyname;
41526 return f != gethostbyname;
41531 rm -f conftest.
$ac_objext conftest
$ac_exeext
41532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41533 (eval $ac_link) 2>conftest.er1
41535 grep -v '^ *+' conftest.er1
>conftest.err
41537 cat conftest.err
>&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } &&
41540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41542 (eval $ac_try) 2>&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; } &&
41546 { ac_try
='test -s conftest$ac_exeext'
41547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41548 (eval $ac_try) 2>&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); }; }; then
41552 ac_cv_func_gethostbyname
=yes
41554 echo "$as_me: failed program was:" >&5
41555 sed 's/^/| /' conftest.
$ac_ext >&5
41557 ac_cv_func_gethostbyname
=no
41559 rm -f conftest.err conftest.
$ac_objext \
41560 conftest
$ac_exeext conftest.
$ac_ext
41562 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41564 if test $ac_cv_func_gethostbyname = yes; then
41565 cat >>confdefs.h
<<\_ACEOF
41566 #define HAVE_GETHOSTBYNAME 1
41573 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41574 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41575 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41579 cat >conftest.
$ac_ext <<_ACEOF
41582 cat confdefs.h
>>conftest.
$ac_ext
41583 cat >>conftest.
$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41592 struct servent *se, *res;
41595 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41601 rm -f conftest.
$ac_objext
41602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41603 (eval $ac_compile) 2>conftest.er1
41605 grep -v '^ *+' conftest.er1
>conftest.err
41607 cat conftest.err
>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } &&
41610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; } &&
41616 { ac_try
='test -s conftest.$ac_objext'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; }; then
41622 ac_cv_func_which_getservbyname_r
=six
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.
$ac_ext >&5
41628 cat >conftest.
$ac_ext <<_ACEOF
41631 cat confdefs.h
>>conftest.
$ac_ext
41632 cat >>conftest.
$ac_ext <<_ACEOF
41633 /* end confdefs.h. */
41641 struct servent *se;
41644 (void) getservbyname_r(name, proto, se, buffer, buflen)
41650 rm -f conftest.
$ac_objext
41651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41652 (eval $ac_compile) 2>conftest.er1
41654 grep -v '^ *+' conftest.er1
>conftest.err
41656 cat conftest.err
>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } &&
41659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41661 (eval $ac_try) 2>&5
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); }; } &&
41665 { ac_try
='test -s conftest.$ac_objext'
41666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41667 (eval $ac_try) 2>&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); }; }; then
41671 ac_cv_func_which_getservbyname_r
=five
41673 echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.
$ac_ext >&5
41677 cat >conftest.
$ac_ext <<_ACEOF
41680 cat confdefs.h
>>conftest.
$ac_ext
41681 cat >>conftest.
$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41690 struct servent *se;
41691 struct servent_data data;
41692 (void) getservbyname_r(name, proto, se, &data);
41698 rm -f conftest.
$ac_objext
41699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41700 (eval $ac_compile) 2>conftest.er1
41702 grep -v '^ *+' conftest.er1
>conftest.err
41704 cat conftest.err
>&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } &&
41707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41709 (eval $ac_try) 2>&5
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); }; } &&
41713 { ac_try
='test -s conftest.$ac_objext'
41714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41715 (eval $ac_try) 2>&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); }; }; then
41719 ac_cv_func_which_getservbyname_r
=four
41721 echo "$as_me: failed program was:" >&5
41722 sed 's/^/| /' conftest.
$ac_ext >&5
41724 ac_cv_func_which_getservbyname_r
=no
41727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41739 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41740 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41742 if test $ac_cv_func_which_getservbyname_r = six
; then
41743 cat >>confdefs.h
<<\_ACEOF
41744 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41747 elif test $ac_cv_func_which_getservbyname_r = five
; then
41748 cat >>confdefs.h
<<\_ACEOF
41749 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41752 elif test $ac_cv_func_which_getservbyname_r = four
; then
41753 cat >>confdefs.h
<<\_ACEOF
41754 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41760 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41761 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41763 for ac_func
in getservbyname
41765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41766 echo "$as_me:$LINENO: checking for $ac_func" >&5
41767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41768 if eval "test \"\${$as_ac_var+set}\" = set"; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 cat >conftest.
$ac_ext <<_ACEOF
41774 cat confdefs.h
>>conftest.
$ac_ext
41775 cat >>conftest.
$ac_ext <<_ACEOF
41776 /* end confdefs.h. */
41777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41779 #define $ac_func innocuous_$ac_func
41781 /* System header to define __stub macros and hopefully few prototypes,
41782 which can conflict with char $ac_func (); below.
41783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41784 <limits.h> exists even on freestanding compilers. */
41787 # include <limits.h>
41789 # include <assert.h>
41794 /* Override any gcc2 internal prototype to avoid an error. */
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41802 /* The GNU C library defines this for functions which it implements
41803 to always fail with ENOSYS. Some functions are actually named
41804 something starting with __ and the normal name is an alias. */
41805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41808 char (*f) () = $ac_func;
41817 return f != $ac_func;
41822 rm -f conftest.
$ac_objext conftest
$ac_exeext
41823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41824 (eval $ac_link) 2>conftest.er1
41826 grep -v '^ *+' conftest.er1
>conftest.err
41828 cat conftest.err
>&5
41829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41830 (exit $ac_status); } &&
41831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try
='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.
$ac_ext >&5
41848 eval "$as_ac_var=no"
41850 rm -f conftest.err conftest.
$ac_objext \
41851 conftest
$ac_exeext conftest.
$ac_ext
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h
<<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41859 cat >>confdefs.h
<<\_ACEOF
41860 #define HAVE_GETSERVBYNAME 1
41868 if test "$wxUSE_THREADS" = "yes"; then
41869 cat >>confdefs.h
<<\_ACEOF
41870 #define wxUSE_THREADS 1
41874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41876 if test "$wx_cv_func_strtok_r" = "yes"; then
41877 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41878 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41879 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41880 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41881 echo "$as_me:$LINENO: result: yes" >&5
41882 echo "${ECHO_T}yes" >&6
41884 echo "$as_me:$LINENO: result: no" >&5
41885 echo "${ECHO_T}no" >&6
41890 if test "$WXGTK20" = 1 ; then
41891 cat >>confdefs.h
<<_ACEOF
41892 #define __WXGTK20__ $WXGTK20
41898 if test "$WXGTK12" = 1 ; then
41899 cat >>confdefs.h
<<_ACEOF
41900 #define __WXGTK12__ $WXGTK12
41905 if test "$WXGTK127" = 1 ; then
41906 cat >>confdefs.h
<<_ACEOF
41907 #define __WXGTK127__ $WXGTK127
41912 if test "$WXGPE" = 1 ; then
41913 cat >>confdefs.h
<<_ACEOF
41914 #define __WXGPE__ $WXGPE
41920 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41925 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41926 wxUSE_DEBUG_INFO
=yes
41927 if test "$GCC" = yes; then
41928 DEBUG_CFLAGS
="-ggdb"
41932 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41933 cat >>confdefs.h
<<\_ACEOF
41937 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41939 if test "$wxUSE_GTK" = 1 ; then
41940 if test "x$wxGTK_VERSION" = "x1" ; then
41941 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41946 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41947 cat >>confdefs.h
<<\_ACEOF
41948 #define wxUSE_MEMORY_TRACING 1
41951 cat >>confdefs.h
<<\_ACEOF
41952 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41955 cat >>confdefs.h
<<\_ACEOF
41956 #define wxUSE_DEBUG_NEW_ALWAYS 1
41959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41962 if test "$wxUSE_DMALLOC" = "yes" ; then
41963 DMALLOC_LIBS
="-ldmallocthcxx"
41967 if test "$wxUSE_PROFILE" = "yes" ; then
41968 PROFILE_FLAGS
=" -pg"
41971 if test "$GCC" = "yes" ; then
41972 if test "$wxUSE_NO_RTTI" = "yes" ; then
41973 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41975 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41976 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41978 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41979 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41984 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41987 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41993 if test "$wxUSE_OPTIMISE" = "no" ; then
41994 if test "$GCC" = yes ; then
41995 OPTIMISE_CFLAGS
="-O0"
41998 if test "$GCC" = yes ; then
42000 *-pc-os2_emx | *-pc-os2-emx )
42001 OPTIMISE_CFLAGS
="-O2"
42004 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42008 OPTIMISE_CFLAGS
="-O"
42013 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42014 cat >>confdefs.h
<<\_ACEOF
42015 #define WXWIN_COMPATIBILITY_2_4 1
42019 WXWIN_COMPATIBILITY_2_6
="yes"
42022 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42023 cat >>confdefs.h
<<\_ACEOF
42024 #define WXWIN_COMPATIBILITY_2_6 1
42030 if test "$wxUSE_GUI" = "yes"; then
42031 cat >>confdefs.h
<<\_ACEOF
42032 #define wxUSE_GUI 1
42039 if test "$wxUSE_UNIX" = "yes"; then
42040 cat >>confdefs.h
<<\_ACEOF
42041 #define wxUSE_UNIX 1
42047 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42051 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42052 if test "$USE_DARWIN" = 1; then
42054 elif test "$USE_DOS" = 1; then
42058 for ac_func
in dlopen
42060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42061 echo "$as_me:$LINENO: checking for $ac_func" >&5
42062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42063 if eval "test \"\${$as_ac_var+set}\" = set"; then
42064 echo $ECHO_N "(cached) $ECHO_C" >&6
42066 cat >conftest.
$ac_ext <<_ACEOF
42069 cat confdefs.h
>>conftest.
$ac_ext
42070 cat >>conftest.
$ac_ext <<_ACEOF
42071 /* end confdefs.h. */
42072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42074 #define $ac_func innocuous_$ac_func
42076 /* System header to define __stub macros and hopefully few prototypes,
42077 which can conflict with char $ac_func (); below.
42078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42079 <limits.h> exists even on freestanding compilers. */
42082 # include <limits.h>
42084 # include <assert.h>
42089 /* Override any gcc2 internal prototype to avoid an error. */
42094 /* We use char because int might match the return type of a gcc2
42095 builtin and then its argument prototype would still apply. */
42097 /* The GNU C library defines this for functions which it implements
42098 to always fail with ENOSYS. Some functions are actually named
42099 something starting with __ and the normal name is an alias. */
42100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42103 char (*f) () = $ac_func;
42112 return f != $ac_func;
42117 rm -f conftest.
$ac_objext conftest
$ac_exeext
42118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42119 (eval $ac_link) 2>conftest.er1
42121 grep -v '^ *+' conftest.er1
>conftest.err
42123 cat conftest.err
>&5
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); } &&
42126 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42128 (eval $ac_try) 2>&5
42130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42131 (exit $ac_status); }; } &&
42132 { ac_try
='test -s conftest$ac_exeext'
42133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42134 (eval $ac_try) 2>&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); }; }; then
42138 eval "$as_ac_var=yes"
42140 echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.
$ac_ext >&5
42143 eval "$as_ac_var=no"
42145 rm -f conftest.err conftest.
$ac_objext \
42146 conftest
$ac_exeext conftest.
$ac_ext
42148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42150 if test `eval echo '${'$as_ac_var'}'` = yes; then
42151 cat >>confdefs.h
<<_ACEOF
42152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42155 cat >>confdefs.h
<<\_ACEOF
42156 #define HAVE_DLOPEN 1
42163 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42164 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42165 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42166 echo $ECHO_N "(cached) $ECHO_C" >&6
42168 ac_check_lib_save_LIBS
=$LIBS
42170 cat >conftest.
$ac_ext <<_ACEOF
42173 cat confdefs.h
>>conftest.
$ac_ext
42174 cat >>conftest.
$ac_ext <<_ACEOF
42175 /* end confdefs.h. */
42177 /* Override any gcc2 internal prototype to avoid an error. */
42181 /* We use char because int might match the return type of a gcc2
42182 builtin and then its argument prototype would still apply. */
42192 rm -f conftest.
$ac_objext conftest
$ac_exeext
42193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42194 (eval $ac_link) 2>conftest.er1
42196 grep -v '^ *+' conftest.er1
>conftest.err
42198 cat conftest.err
>&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } &&
42201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42203 (eval $ac_try) 2>&5
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); }; } &&
42207 { ac_try
='test -s conftest$ac_exeext'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; }; then
42213 ac_cv_lib_dl_dlopen
=yes
42215 echo "$as_me: failed program was:" >&5
42216 sed 's/^/| /' conftest.
$ac_ext >&5
42218 ac_cv_lib_dl_dlopen
=no
42220 rm -f conftest.err conftest.
$ac_objext \
42221 conftest
$ac_exeext conftest.
$ac_ext
42222 LIBS
=$ac_check_lib_save_LIBS
42224 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42225 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42226 if test $ac_cv_lib_dl_dlopen = yes; then
42228 cat >>confdefs.h
<<\_ACEOF
42229 #define HAVE_DLOPEN 1
42233 DL_LINK
=" -ldl$DL_LINK"
42238 for ac_func
in shl_load
42240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42241 echo "$as_me:$LINENO: checking for $ac_func" >&5
42242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42243 if eval "test \"\${$as_ac_var+set}\" = set"; then
42244 echo $ECHO_N "(cached) $ECHO_C" >&6
42246 cat >conftest.
$ac_ext <<_ACEOF
42249 cat confdefs.h
>>conftest.
$ac_ext
42250 cat >>conftest.
$ac_ext <<_ACEOF
42251 /* end confdefs.h. */
42252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42254 #define $ac_func innocuous_$ac_func
42256 /* System header to define __stub macros and hopefully few prototypes,
42257 which can conflict with char $ac_func (); below.
42258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42259 <limits.h> exists even on freestanding compilers. */
42262 # include <limits.h>
42264 # include <assert.h>
42269 /* Override any gcc2 internal prototype to avoid an error. */
42274 /* We use char because int might match the return type of a gcc2
42275 builtin and then its argument prototype would still apply. */
42277 /* The GNU C library defines this for functions which it implements
42278 to always fail with ENOSYS. Some functions are actually named
42279 something starting with __ and the normal name is an alias. */
42280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42283 char (*f) () = $ac_func;
42292 return f != $ac_func;
42297 rm -f conftest.
$ac_objext conftest
$ac_exeext
42298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42299 (eval $ac_link) 2>conftest.er1
42301 grep -v '^ *+' conftest.er1
>conftest.err
42303 cat conftest.err
>&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } &&
42306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; } &&
42312 { ac_try
='test -s conftest$ac_exeext'
42313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314 (eval $ac_try) 2>&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); }; }; then
42318 eval "$as_ac_var=yes"
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.
$ac_ext >&5
42323 eval "$as_ac_var=no"
42325 rm -f conftest.err conftest.
$ac_objext \
42326 conftest
$ac_exeext conftest.
$ac_ext
42328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42330 if test `eval echo '${'$as_ac_var'}'` = yes; then
42331 cat >>confdefs.h
<<_ACEOF
42332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42335 cat >>confdefs.h
<<\_ACEOF
42336 #define HAVE_SHL_LOAD 1
42343 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42344 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42345 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 ac_check_lib_save_LIBS
=$LIBS
42349 LIBS
="-lshl_load $LIBS"
42350 cat >conftest.
$ac_ext <<_ACEOF
42353 cat confdefs.h
>>conftest.
$ac_ext
42354 cat >>conftest.
$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42357 /* Override any gcc2 internal prototype to avoid an error. */
42361 /* We use char because int might match the return type of a gcc2
42362 builtin and then its argument prototype would still apply. */
42372 rm -f conftest.
$ac_objext conftest
$ac_exeext
42373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42374 (eval $ac_link) 2>conftest.er1
42376 grep -v '^ *+' conftest.er1
>conftest.err
42378 cat conftest.err
>&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } &&
42381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383 (eval $ac_try) 2>&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); }; } &&
42387 { ac_try
='test -s conftest$ac_exeext'
42388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42389 (eval $ac_try) 2>&5
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); }; }; then
42393 ac_cv_lib_shl_load_dld
=yes
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.
$ac_ext >&5
42398 ac_cv_lib_shl_load_dld
=no
42400 rm -f conftest.err conftest.
$ac_objext \
42401 conftest
$ac_exeext conftest.
$ac_ext
42402 LIBS
=$ac_check_lib_save_LIBS
42404 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42405 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42406 if test $ac_cv_lib_shl_load_dld = yes; then
42409 DL_LINK
=" -ldld$DL_LINK"
42425 if test "$HAVE_DL_FUNCS" = 1; then
42427 for ac_func
in dlerror
42429 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42430 echo "$as_me:$LINENO: checking for $ac_func" >&5
42431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42432 if eval "test \"\${$as_ac_var+set}\" = set"; then
42433 echo $ECHO_N "(cached) $ECHO_C" >&6
42435 cat >conftest.
$ac_ext <<_ACEOF
42438 cat confdefs.h
>>conftest.
$ac_ext
42439 cat >>conftest.
$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42443 #define $ac_func innocuous_$ac_func
42445 /* System header to define __stub macros and hopefully few prototypes,
42446 which can conflict with char $ac_func (); below.
42447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42448 <limits.h> exists even on freestanding compilers. */
42451 # include <limits.h>
42453 # include <assert.h>
42458 /* Override any gcc2 internal prototype to avoid an error. */
42463 /* We use char because int might match the return type of a gcc2
42464 builtin and then its argument prototype would still apply. */
42466 /* The GNU C library defines this for functions which it implements
42467 to always fail with ENOSYS. Some functions are actually named
42468 something starting with __ and the normal name is an alias. */
42469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42472 char (*f) () = $ac_func;
42481 return f != $ac_func;
42486 rm -f conftest.
$ac_objext conftest
$ac_exeext
42487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42488 (eval $ac_link) 2>conftest.er1
42490 grep -v '^ *+' conftest.er1
>conftest.err
42492 cat conftest.err
>&5
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); } &&
42495 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42497 (eval $ac_try) 2>&5
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); }; } &&
42501 { ac_try
='test -s conftest$ac_exeext'
42502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503 (eval $ac_try) 2>&5
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); }; }; then
42507 eval "$as_ac_var=yes"
42509 echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.
$ac_ext >&5
42512 eval "$as_ac_var=no"
42514 rm -f conftest.err conftest.
$ac_objext \
42515 conftest
$ac_exeext conftest.
$ac_ext
42517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42519 if test `eval echo '${'$as_ac_var'}'` = yes; then
42520 cat >>confdefs.h
<<_ACEOF
42521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42523 cat >>confdefs.h
<<\_ACEOF
42524 #define HAVE_DLERROR 1
42529 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42530 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42531 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42534 ac_check_lib_save_LIBS
=$LIBS
42536 cat >conftest.
$ac_ext <<_ACEOF
42539 cat confdefs.h
>>conftest.
$ac_ext
42540 cat >>conftest.
$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42543 /* Override any gcc2 internal prototype to avoid an error. */
42547 /* We use char because int might match the return type of a gcc2
42548 builtin and then its argument prototype would still apply. */
42558 rm -f conftest.
$ac_objext conftest
$ac_exeext
42559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42560 (eval $ac_link) 2>conftest.er1
42562 grep -v '^ *+' conftest.er1
>conftest.err
42564 cat conftest.err
>&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); } &&
42567 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42569 (eval $ac_try) 2>&5
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); }; } &&
42573 { ac_try
='test -s conftest$ac_exeext'
42574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42575 (eval $ac_try) 2>&5
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); }; }; then
42579 ac_cv_lib_dl_dlerror
=yes
42581 echo "$as_me: failed program was:" >&5
42582 sed 's/^/| /' conftest.
$ac_ext >&5
42584 ac_cv_lib_dl_dlerror
=no
42586 rm -f conftest.err conftest.
$ac_objext \
42587 conftest
$ac_exeext conftest.
$ac_ext
42588 LIBS
=$ac_check_lib_save_LIBS
42590 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42591 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42592 if test $ac_cv_lib_dl_dlerror = yes; then
42593 cat >>confdefs.h
<<\_ACEOF
42594 #define HAVE_DLERROR 1
42607 if test "$HAVE_DL_FUNCS" = 0; then
42608 if test "$HAVE_SHL_FUNCS" = 0; then
42609 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42610 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42611 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42612 wxUSE_DYNAMIC_LOADER
=no
42613 wxUSE_DYNLIB_CLASS
=no
42615 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42616 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42623 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42624 cat >>confdefs.h
<<\_ACEOF
42625 #define wxUSE_DYNAMIC_LOADER 1
42629 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_DYNLIB_CLASS 1
42638 if test "$wxUSE_PLUGINS" = "yes" ; then
42639 if test "$wxUSE_SHARED" = "no" ; then
42640 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42641 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42644 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42645 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42646 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42649 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42650 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42651 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42654 if test "$wxUSE_PLUGINS" = "yes" ; then
42655 cat >>confdefs.h
<<\_ACEOF
42656 #define wxUSE_PLUGINS 1
42663 if test "$wxUSE_STL" = "yes"; then
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define wxUSE_STL 1
42670 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42671 cat >>confdefs.h
<<\_ACEOF
42672 #define wxUSE_APPLE_IEEE 1
42677 if test "$wxUSE_TIMER" = "yes"; then
42678 cat >>confdefs.h
<<\_ACEOF
42679 #define wxUSE_TIMER 1
42684 if test "$USE_UNIX" = "1" ; then
42685 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42686 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42687 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 cat >conftest.
$ac_ext <<_ACEOF
42694 cat confdefs.h
>>conftest.
$ac_ext
42695 cat >>conftest.
$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42698 #include <sys/ioctl.h>
42699 #include <sys/soundcard.h>
42705 ioctl(0, SNDCTL_DSP_SPEED, 0);
42711 rm -f conftest.
$ac_objext conftest
$ac_exeext
42712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42713 (eval $ac_link) 2>conftest.er1
42715 grep -v '^ *+' conftest.er1
>conftest.err
42717 cat conftest.err
>&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } &&
42720 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722 (eval $ac_try) 2>&5
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); }; } &&
42726 { ac_try
='test -s conftest$ac_exeext'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; }; then
42732 ac_cv_header_sys_soundcard
=yes
42734 echo "$as_me: failed program was:" >&5
42735 sed 's/^/| /' conftest.
$ac_ext >&5
42739 LIBS
="$saveLibs -lossaudio"
42740 cat >conftest.
$ac_ext <<_ACEOF
42743 cat confdefs.h
>>conftest.
$ac_ext
42744 cat >>conftest.
$ac_ext <<_ACEOF
42745 /* end confdefs.h. */
42747 #include <sys/ioctl.h>
42748 #include <sys/soundcard.h>
42754 ioctl(0, SNDCTL_DSP_SPEED, 0);
42760 rm -f conftest.
$ac_objext conftest
$ac_exeext
42761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42762 (eval $ac_link) 2>conftest.er1
42764 grep -v '^ *+' conftest.er1
>conftest.err
42766 cat conftest.err
>&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } &&
42769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42771 (eval $ac_try) 2>&5
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; } &&
42775 { ac_try
='test -s conftest$ac_exeext'
42776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42777 (eval $ac_try) 2>&5
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; }; then
42781 ac_cv_header_sys_soundcard
=yes
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.
$ac_ext >&5
42788 ac_cv_header_sys_soundcard
=no
42792 rm -f conftest.err conftest.
$ac_objext \
42793 conftest
$ac_exeext conftest.
$ac_ext
42797 rm -f conftest.err conftest.
$ac_objext \
42798 conftest
$ac_exeext conftest.
$ac_ext
42801 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42802 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42804 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42805 cat >>confdefs.h
<<\_ACEOF
42806 #define HAVE_SYS_SOUNDCARD_H 1
42810 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42814 if test "$wxUSE_SOUND" = "yes"; then
42815 if test "$USE_UNIX" = "1" ; then
42816 if test "$wxUSE_LIBSDL" != "no"; then
42818 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42819 if test "${with_sdl_prefix+set}" = set; then
42820 withval
="$with_sdl_prefix"
42821 sdl_prefix
="$withval"
42826 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42827 if test "${with_sdl_exec_prefix+set}" = set; then
42828 withval
="$with_sdl_exec_prefix"
42829 sdl_exec_prefix
="$withval"
42833 # Check whether --enable-sdltest or --disable-sdltest was given.
42834 if test "${enable_sdltest+set}" = set; then
42835 enableval
="$enable_sdltest"
42841 if test x
$sdl_exec_prefix != x
; then
42842 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42843 if test x
${SDL_CONFIG+set} != xset
; then
42844 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42847 if test x
$sdl_prefix != x
; then
42848 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42849 if test x
${SDL_CONFIG+set} != xset
; then
42850 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42854 if test "x$prefix" != xNONE
; then
42855 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42857 # Extract the first word of "sdl-config", so it can be a program name with args.
42858 set dummy sdl
-config; ac_word
=$2
42859 echo "$as_me:$LINENO: checking for $ac_word" >&5
42860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42861 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42862 echo $ECHO_N "(cached) $ECHO_C" >&6
42864 case $SDL_CONFIG in
42866 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42870 for as_dir
in $PATH
42873 test -z "$as_dir" && as_dir
=.
42874 for ac_exec_ext
in '' $ac_executable_extensions; do
42875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42876 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42883 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42887 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42889 if test -n "$SDL_CONFIG"; then
42890 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42891 echo "${ECHO_T}$SDL_CONFIG" >&6
42893 echo "$as_me:$LINENO: result: no" >&5
42894 echo "${ECHO_T}no" >&6
42897 min_sdl_version
=1.2.0
42898 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42899 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42901 if test "$SDL_CONFIG" = "no" ; then
42904 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42905 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42907 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42909 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42911 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42913 if test "x$enable_sdltest" = "xyes" ; then
42914 ac_save_CFLAGS
="$CFLAGS"
42915 ac_save_CXXFLAGS
="$CXXFLAGS"
42916 ac_save_LIBS
="$LIBS"
42917 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42918 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42919 LIBS
="$LIBS $SDL_LIBS"
42921 if test "$cross_compiling" = yes; then
42922 echo $ac_n "cross compiling; assumed OK... $ac_c"
42924 cat >conftest.
$ac_ext <<_ACEOF
42927 cat confdefs.h
>>conftest.
$ac_ext
42928 cat >>conftest.
$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42932 #include <stdlib.h>
42933 #include <string.h>
42937 my_strdup (char *str)
42943 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42944 strcpy (new_str, str);
42952 int main (int argc, char *argv[])
42954 int major, minor, micro;
42957 /* This hangs on some systems (?)
42958 system ("touch conf.sdltest");
42960 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42962 /* HP/UX 9 (%@#!) writes to sscanf strings */
42963 tmp_version = my_strdup("$min_sdl_version");
42964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42965 printf("%s, bad version string\n", "$min_sdl_version");
42969 if (($sdl_major_version > major) ||
42970 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42971 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42977 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42978 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42979 printf("*** best to upgrade to the required version.\n");
42980 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42981 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42982 printf("*** config.cache before re-running configure\n");
42989 rm -f conftest
$ac_exeext
42990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42991 (eval $ac_link) 2>&5
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42996 (eval $ac_try) 2>&5
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; }; then
43002 echo "$as_me: program exited with status $ac_status" >&5
43003 echo "$as_me: failed program was:" >&5
43004 sed 's/^/| /' conftest.
$ac_ext >&5
43006 ( exit $ac_status )
43009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43011 CFLAGS
="$ac_save_CFLAGS"
43012 CXXFLAGS
="$ac_save_CXXFLAGS"
43013 LIBS
="$ac_save_LIBS"
43016 if test "x$no_sdl" = x
; then
43017 echo "$as_me:$LINENO: result: yes" >&5
43018 echo "${ECHO_T}yes" >&6
43020 EXTRALIBS_SDL
="$SDL_LIBS"
43021 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43022 cat >>confdefs.h
<<\_ACEOF
43023 #define wxUSE_LIBSDL 1
43028 echo "$as_me:$LINENO: result: no" >&5
43029 echo "${ECHO_T}no" >&6
43030 if test "$SDL_CONFIG" = "no" ; then
43031 echo "*** The sdl-config script installed by SDL could not be found"
43032 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43033 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43034 echo "*** full path to sdl-config."
43036 if test -f conf.sdltest
; then
43039 echo "*** Could not run SDL test program, checking why..."
43040 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43041 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43042 LIBS
="$LIBS $SDL_LIBS"
43043 cat >conftest.
$ac_ext <<_ACEOF
43046 cat confdefs.h
>>conftest.
$ac_ext
43047 cat >>conftest.
$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43053 int main(int argc, char *argv[])
43056 #define main K_and_R_C_main
43066 rm -f conftest.
$ac_objext conftest
$ac_exeext
43067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43068 (eval $ac_link) 2>conftest.er1
43070 grep -v '^ *+' conftest.er1
>conftest.err
43072 cat conftest.err
>&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } &&
43075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077 (eval $ac_try) 2>&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; } &&
43081 { ac_try
='test -s conftest$ac_exeext'
43082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43083 (eval $ac_try) 2>&5
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); }; }; then
43087 echo "*** The test program compiled, but did not run. This usually means"
43088 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43089 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43090 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43091 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43092 echo "*** is required on your system"
43094 echo "*** If you have an old version installed, it is best to remove it, although"
43095 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.
$ac_ext >&5
43100 echo "*** The test program failed to compile or link. See the file config.log for the"
43101 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43102 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43103 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43105 rm -f conftest.err conftest.
$ac_objext \
43106 conftest
$ac_exeext conftest.
$ac_ext
43107 CFLAGS
="$ac_save_CFLAGS"
43108 CXXFLAGS
="$ac_save_CXXFLAGS"
43109 LIBS
="$ac_save_LIBS"
43120 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43126 cat >>confdefs.h
<<\_ACEOF
43127 #define wxUSE_SOUND 1
43130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43133 if test "$WXGTK20" = 1; then
43136 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43137 if test -n "$ac_tool_prefix"; then
43138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43139 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43140 echo "$as_me:$LINENO: checking for $ac_word" >&5
43141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43142 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43143 echo $ECHO_N "(cached) $ECHO_C" >&6
43145 case $PKG_CONFIG in
43147 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43151 for as_dir
in $PATH
43154 test -z "$as_dir" && as_dir
=.
43155 for ac_exec_ext
in '' $ac_executable_extensions; do
43156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43157 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43167 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43169 if test -n "$PKG_CONFIG"; then
43170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43171 echo "${ECHO_T}$PKG_CONFIG" >&6
43173 echo "$as_me:$LINENO: result: no" >&5
43174 echo "${ECHO_T}no" >&6
43178 if test -z "$ac_cv_path_PKG_CONFIG"; then
43179 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43180 # Extract the first word of "pkg-config", so it can be a program name with args.
43181 set dummy pkg
-config; ac_word
=$2
43182 echo "$as_me:$LINENO: checking for $ac_word" >&5
43183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43184 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43185 echo $ECHO_N "(cached) $ECHO_C" >&6
43187 case $ac_pt_PKG_CONFIG in
43189 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43193 for as_dir
in $PATH
43196 test -z "$as_dir" && as_dir
=.
43197 for ac_exec_ext
in '' $ac_executable_extensions; do
43198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43199 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43209 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43211 if test -n "$ac_pt_PKG_CONFIG"; then
43212 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43213 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43215 echo "$as_me:$LINENO: result: no" >&5
43216 echo "${ECHO_T}no" >&6
43219 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43221 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43225 if test -n "$PKG_CONFIG"; then
43226 _pkg_min_version
=0.9.0
43227 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43228 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43229 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43230 echo "$as_me:$LINENO: result: yes" >&5
43231 echo "${ECHO_T}yes" >&6
43233 echo "$as_me:$LINENO: result: no" >&5
43234 echo "${ECHO_T}no" >&6
43240 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43241 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43245 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43246 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43248 if test -n "$PKG_CONFIG"; then
43249 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43250 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43252 if test -n "$PKG_CONFIG" && \
43253 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43254 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; then
43258 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43266 if test -n "$PKG_CONFIG"; then
43267 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43268 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43270 if test -n "$PKG_CONFIG" && \
43271 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43272 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; then
43276 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43287 if test $pkg_failed = yes; then
43289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43290 _pkg_short_errors_supported
=yes
43292 _pkg_short_errors_supported
=no
43294 if test $_pkg_short_errors_supported = yes; then
43295 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43297 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43299 # Put the nasty error message in config.log where it belongs
43300 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43303 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43304 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43305 wxUSE_LIBGNOMEPRINT
="no"
43308 elif test $pkg_failed = untried
; then
43310 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43311 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43312 wxUSE_LIBGNOMEPRINT
="no"
43316 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43317 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43318 echo "$as_me:$LINENO: result: yes" >&5
43319 echo "${ECHO_T}yes" >&6
43321 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43322 cat >>confdefs.h
<<\_ACEOF
43323 #define wxUSE_LIBGNOMEPRINT 1
43331 if test "$wxUSE_MIMETYPE" = "yes" ; then
43332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43336 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43337 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43339 if test -n "$PKG_CONFIG"; then
43340 if test -n "$GNOMEVFS_CFLAGS"; then
43341 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43343 if test -n "$PKG_CONFIG" && \
43344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43345 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; then
43349 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43357 if test -n "$PKG_CONFIG"; then
43358 if test -n "$GNOMEVFS_LIBS"; then
43359 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43361 if test -n "$PKG_CONFIG" && \
43362 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43363 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43366 (exit $ac_status); }; then
43367 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43378 if test $pkg_failed = yes; then
43380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43381 _pkg_short_errors_supported
=yes
43383 _pkg_short_errors_supported
=no
43385 if test $_pkg_short_errors_supported = yes; then
43386 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43388 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43390 # Put the nasty error message in config.log where it belongs
43391 echo "$GNOMEVFS_PKG_ERRORS" >&5
43394 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43395 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43396 wxUSE_LIBGNOMEVFS
="no"
43399 elif test $pkg_failed = untried
; then
43401 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43402 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43403 wxUSE_LIBGNOMEVFS
="no"
43407 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43408 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43409 echo "$as_me:$LINENO: result: yes" >&5
43410 echo "${ECHO_T}yes" >&6
43412 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43413 cat >>confdefs.h
<<\_ACEOF
43414 #define wxUSE_LIBGNOMEVFS 1
43422 if test "$wxUSE_LIBHILDON" = "yes" ; then
43425 echo "$as_me:$LINENO: checking for HILDON" >&5
43426 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43428 if test -n "$PKG_CONFIG"; then
43429 if test -n "$HILDON_CFLAGS"; then
43430 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43432 if test -n "$PKG_CONFIG" && \
43433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43434 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); }; then
43438 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43446 if test -n "$PKG_CONFIG"; then
43447 if test -n "$HILDON_LIBS"; then
43448 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43450 if test -n "$PKG_CONFIG" && \
43451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43452 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); }; then
43456 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43467 if test $pkg_failed = yes; then
43469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43470 _pkg_short_errors_supported
=yes
43472 _pkg_short_errors_supported
=no
43474 if test $_pkg_short_errors_supported = yes; then
43475 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43477 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43479 # Put the nasty error message in config.log where it belongs
43480 echo "$HILDON_PKG_ERRORS" >&5
43483 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43484 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43485 wxUSE_LIBHILDON
="no"
43488 elif test $pkg_failed = untried
; then
43490 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43491 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43492 wxUSE_LIBHILDON
="no"
43496 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43497 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43498 echo "$as_me:$LINENO: result: yes" >&5
43499 echo "${ECHO_T}yes" >&6
43501 EXTRALIBS_HILDON
="$HILDON_LIBS"
43502 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43503 cat >>confdefs.h
<<\_ACEOF
43504 #define wxUSE_LIBHILDON 1
43512 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43513 cat >>confdefs.h
<<\_ACEOF
43514 #define wxUSE_CMDLINE_PARSER 1
43519 if test "$wxUSE_STOPWATCH" = "yes"; then
43520 cat >>confdefs.h
<<\_ACEOF
43521 #define wxUSE_STOPWATCH 1
43526 if test "$wxUSE_DATETIME" = "yes"; then
43527 cat >>confdefs.h
<<\_ACEOF
43528 #define wxUSE_DATETIME 1
43533 if test "$wxUSE_FILE" = "yes"; then
43534 cat >>confdefs.h
<<\_ACEOF
43535 #define wxUSE_FILE 1
43540 if test "$wxUSE_FFILE" = "yes"; then
43541 cat >>confdefs.h
<<\_ACEOF
43542 #define wxUSE_FFILE 1
43547 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43548 if test "$wxUSE_STREAMS" != yes; then
43549 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43550 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43551 wxUSE_ARCHIVE_STREAMS
=no
43553 cat >>confdefs.h
<<\_ACEOF
43554 #define wxUSE_ARCHIVE_STREAMS 1
43560 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43561 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43562 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43563 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43564 elif test "$wxUSE_ZLIB" = "no"; then
43565 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43566 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43568 cat >>confdefs.h
<<\_ACEOF
43569 #define wxUSE_ZIPSTREAM 1
43575 if test "$wxUSE_TARSTREAM" = "yes"; then
43576 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43577 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43578 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43580 cat >>confdefs.h
<<\_ACEOF
43581 #define wxUSE_TARSTREAM 1
43587 if test "$wxUSE_FILESYSTEM" = "yes"; then
43588 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43589 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43590 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43591 wxUSE_FILESYSTEM
=no
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_FILESYSTEM 1
43600 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43601 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43602 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43603 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_FS_ARCHIVE 1
43612 if test "$wxUSE_FS_ZIP" = "yes"; then
43613 if test "$wxUSE_FS_ARCHIVE" != yes; then
43614 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43615 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43617 cat >>confdefs.h
<<\_ACEOF
43618 #define wxUSE_FS_ZIP 1
43624 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43625 if test "$USE_UNIX" != 1; then
43626 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43627 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43628 wxUSE_ON_FATAL_EXCEPTION
=no
43630 cat >>confdefs.h
<<\_ACEOF
43631 #define wxUSE_ON_FATAL_EXCEPTION 1
43637 if test "$wxUSE_STACKWALKER" = "yes"; then
43638 cat >>confdefs.h
<<\_ACEOF
43639 #define wxUSE_STACKWALKER 1
43644 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43645 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43646 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43647 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43648 wxUSE_DEBUGREPORT
=no
43650 cat >>confdefs.h
<<\_ACEOF
43651 #define wxUSE_DEBUGREPORT 1
43654 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43660 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_SNGLINST_CHECKER 1
43667 if test "$wxUSE_BUSYINFO" = "yes"; then
43668 cat >>confdefs.h
<<\_ACEOF
43669 #define wxUSE_BUSYINFO 1
43674 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43675 cat >>confdefs.h
<<\_ACEOF
43676 #define wxUSE_STD_IOSTREAM 1
43681 if test "$wxUSE_STD_STRING" = "yes"; then
43682 cat >>confdefs.h
<<\_ACEOF
43683 #define wxUSE_STD_STRING 1
43688 if test "$wxUSE_STDPATHS" = "yes"; then
43689 cat >>confdefs.h
<<\_ACEOF
43690 #define wxUSE_STDPATHS 1
43695 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43696 cat >>confdefs.h
<<\_ACEOF
43697 #define wxUSE_TEXTBUFFER 1
43702 if test "$wxUSE_TEXTFILE" = "yes"; then
43703 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43704 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43705 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43707 cat >>confdefs.h
<<\_ACEOF
43708 #define wxUSE_TEXTFILE 1
43714 if test "$wxUSE_CONFIG" = "yes" ; then
43715 if test "$wxUSE_TEXTFILE" != "yes"; then
43716 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43717 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43719 cat >>confdefs.h
<<\_ACEOF
43720 #define wxUSE_CONFIG 1
43723 cat >>confdefs.h
<<\_ACEOF
43724 #define wxUSE_CONFIG_NATIVE 1
43727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43731 if test "$wxUSE_INTL" = "yes" ; then
43732 if test "$wxUSE_FILE" != "yes"; then
43733 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43734 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_INTL 1
43740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43741 GUIDIST
="$GUIDIST INTL_DIST"
43745 if test "$wxUSE_LOG" = "yes"; then
43746 cat >>confdefs.h
<<\_ACEOF
43747 #define wxUSE_LOG 1
43751 if test "$wxUSE_LOGGUI" = "yes"; then
43752 cat >>confdefs.h
<<\_ACEOF
43753 #define wxUSE_LOGGUI 1
43758 if test "$wxUSE_LOGWINDOW" = "yes"; then
43759 cat >>confdefs.h
<<\_ACEOF
43760 #define wxUSE_LOGWINDOW 1
43765 if test "$wxUSE_LOGDIALOG" = "yes"; then
43766 cat >>confdefs.h
<<\_ACEOF
43767 #define wxUSE_LOG_DIALOG 1
43772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43775 if test "$wxUSE_LONGLONG" = "yes"; then
43776 cat >>confdefs.h
<<\_ACEOF
43777 #define wxUSE_LONGLONG 1
43782 if test "$wxUSE_GEOMETRY" = "yes"; then
43783 cat >>confdefs.h
<<\_ACEOF
43784 #define wxUSE_GEOMETRY 1
43789 if test "$wxUSE_STREAMS" = "yes" ; then
43790 cat >>confdefs.h
<<\_ACEOF
43791 #define wxUSE_STREAMS 1
43796 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43797 cat >>confdefs.h
<<\_ACEOF
43798 #define wxUSE_PRINTF_POS_PARAMS 1
43805 if test "$wxUSE_DATETIME" = "yes"; then
43807 for ac_func
in strptime
43809 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43810 echo "$as_me:$LINENO: checking for $ac_func" >&5
43811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43812 if eval "test \"\${$as_ac_var+set}\" = set"; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43815 cat >conftest.
$ac_ext <<_ACEOF
43818 cat confdefs.h
>>conftest.
$ac_ext
43819 cat >>conftest.
$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43823 #define $ac_func innocuous_$ac_func
43825 /* System header to define __stub macros and hopefully few prototypes,
43826 which can conflict with char $ac_func (); below.
43827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43828 <limits.h> exists even on freestanding compilers. */
43831 # include <limits.h>
43833 # include <assert.h>
43838 /* Override any gcc2 internal prototype to avoid an error. */
43843 /* We use char because int might match the return type of a gcc2
43844 builtin and then its argument prototype would still apply. */
43846 /* The GNU C library defines this for functions which it implements
43847 to always fail with ENOSYS. Some functions are actually named
43848 something starting with __ and the normal name is an alias. */
43849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43852 char (*f) () = $ac_func;
43861 return f != $ac_func;
43866 rm -f conftest.
$ac_objext conftest
$ac_exeext
43867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43868 (eval $ac_link) 2>conftest.er1
43870 grep -v '^ *+' conftest.er1
>conftest.err
43872 cat conftest.err
>&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } &&
43875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; } &&
43881 { ac_try
='test -s conftest$ac_exeext'
43882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43883 (eval $ac_try) 2>&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); }; }; then
43887 eval "$as_ac_var=yes"
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.
$ac_ext >&5
43892 eval "$as_ac_var=no"
43894 rm -f conftest.err conftest.
$ac_objext \
43895 conftest
$ac_exeext conftest.
$ac_ext
43897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43899 if test `eval echo '${'$as_ac_var'}'` = yes; then
43900 cat >>confdefs.h
<<_ACEOF
43901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43907 if test "$ac_cv_func_strptime" = "yes"; then
43908 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43909 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43910 if test "${wx_cv_func_strptime_decl+set}" = set; then
43911 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 cat >conftest.
$ac_ext <<_ACEOF
43917 cat confdefs.h
>>conftest.
$ac_ext
43918 cat >>conftest.
$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43928 strptime("foo", "bar", &t);
43934 rm -f conftest.
$ac_objext
43935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43936 (eval $ac_compile) 2>conftest.er1
43938 grep -v '^ *+' conftest.er1
>conftest.err
43940 cat conftest.err
>&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); } &&
43943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; } &&
43949 { ac_try
='test -s conftest.$ac_objext'
43950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951 (eval $ac_try) 2>&5
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; }; then
43955 wx_cv_func_strptime_decl
=yes
43957 echo "$as_me: failed program was:" >&5
43958 sed 's/^/| /' conftest.
$ac_ext >&5
43960 wx_cv_func_strptime_decl
=no
43963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43967 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43968 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43970 if test "$wx_cv_func_strptime_decl" = "yes"; then
43971 cat >>confdefs.h
<<\_ACEOF
43972 #define HAVE_STRPTIME_DECL 1
43977 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43978 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43979 if test "${wx_cv_var_timezone+set}" = set; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43983 cat >conftest.
$ac_ext <<_ACEOF
43986 cat confdefs.h
>>conftest.
$ac_ext
43987 cat >>conftest.
$ac_ext <<_ACEOF
43988 /* end confdefs.h. */
44003 rm -f conftest.
$ac_objext
44004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44005 (eval $ac_compile) 2>conftest.er1
44007 grep -v '^ *+' conftest.er1
>conftest.err
44009 cat conftest.err
>&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); } &&
44012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44014 (eval $ac_try) 2>&5
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); }; } &&
44018 { ac_try
='test -s conftest.$ac_objext'
44019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44020 (eval $ac_try) 2>&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); }; }; then
44025 wx_cv_var_timezone
=timezone
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.
$ac_ext >&5
44032 cat >conftest.
$ac_ext <<_ACEOF
44035 cat confdefs.h
>>conftest.
$ac_ext
44036 cat >>conftest.
$ac_ext <<_ACEOF
44037 /* end confdefs.h. */
44052 rm -f conftest.
$ac_objext
44053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44054 (eval $ac_compile) 2>conftest.er1
44056 grep -v '^ *+' conftest.er1
>conftest.err
44058 cat conftest.err
>&5
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); } &&
44061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44063 (eval $ac_try) 2>&5
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try
='test -s conftest.$ac_objext'
44068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44069 (eval $ac_try) 2>&5
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); }; }; then
44074 wx_cv_var_timezone
=_timezone
44077 echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.
$ac_ext >&5
44081 cat >conftest.
$ac_ext <<_ACEOF
44084 cat confdefs.h
>>conftest.
$ac_ext
44085 cat >>conftest.
$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44101 rm -f conftest.
$ac_objext
44102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44103 (eval $ac_compile) 2>conftest.er1
44105 grep -v '^ *+' conftest.er1
>conftest.err
44107 cat conftest.err
>&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } &&
44110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try
='test -s conftest.$ac_objext'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44123 wx_cv_var_timezone
=__timezone
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.
$ac_ext >&5
44130 if test "$USE_DOS" = 0 ; then
44131 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44132 echo "$as_me: WARNING: no timezone variable" >&2;}
44137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44149 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44150 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44152 if test "x$wx_cv_var_timezone" != x
; then
44153 cat >>confdefs.h
<<_ACEOF
44154 #define WX_TIMEZONE $wx_cv_var_timezone
44160 for ac_func
in localtime
44162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44163 echo "$as_me:$LINENO: checking for $ac_func" >&5
44164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44165 if eval "test \"\${$as_ac_var+set}\" = set"; then
44166 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 cat >conftest.
$ac_ext <<_ACEOF
44171 cat confdefs.h
>>conftest.
$ac_ext
44172 cat >>conftest.
$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44176 #define $ac_func innocuous_$ac_func
44178 /* System header to define __stub macros and hopefully few prototypes,
44179 which can conflict with char $ac_func (); below.
44180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44181 <limits.h> exists even on freestanding compilers. */
44184 # include <limits.h>
44186 # include <assert.h>
44191 /* Override any gcc2 internal prototype to avoid an error. */
44196 /* We use char because int might match the return type of a gcc2
44197 builtin and then its argument prototype would still apply. */
44199 /* The GNU C library defines this for functions which it implements
44200 to always fail with ENOSYS. Some functions are actually named
44201 something starting with __ and the normal name is an alias. */
44202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44205 char (*f) () = $ac_func;
44214 return f != $ac_func;
44219 rm -f conftest.
$ac_objext conftest
$ac_exeext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44221 (eval $ac_link) 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_exeext'
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
44240 eval "$as_ac_var=yes"
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.
$ac_ext >&5
44245 eval "$as_ac_var=no"
44247 rm -f conftest.err conftest.
$ac_objext \
44248 conftest
$ac_exeext conftest.
$ac_ext
44250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44252 if test `eval echo '${'$as_ac_var'}'` = yes; then
44253 cat >>confdefs.h
<<_ACEOF
44254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44261 if test "$ac_cv_func_localtime" = "yes"; then
44262 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44263 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44264 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44265 echo $ECHO_N "(cached) $ECHO_C" >&6
44268 cat >conftest.
$ac_ext <<_ACEOF
44271 cat confdefs.h
>>conftest.
$ac_ext
44272 cat >>conftest.
$ac_ext <<_ACEOF
44273 /* end confdefs.h. */
44288 rm -f conftest.
$ac_objext
44289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44290 (eval $ac_compile) 2>conftest.er1
44292 grep -v '^ *+' conftest.er1
>conftest.err
44294 cat conftest.err
>&5
44295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 (exit $ac_status); } &&
44297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44299 (eval $ac_try) 2>&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; } &&
44303 { ac_try
='test -s conftest.$ac_objext'
44304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44305 (eval $ac_try) 2>&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); }; }; then
44310 wx_cv_struct_tm_has_gmtoff
=yes
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.
$ac_ext >&5
44316 wx_cv_struct_tm_has_gmtoff
=no
44319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44322 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44323 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44326 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44327 cat >>confdefs.h
<<\_ACEOF
44328 #define WX_GMTOFF_IN_TM 1
44335 for ac_func
in gettimeofday ftime
44337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44338 echo "$as_me:$LINENO: checking for $ac_func" >&5
44339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44340 if eval "test \"\${$as_ac_var+set}\" = set"; then
44341 echo $ECHO_N "(cached) $ECHO_C" >&6
44343 cat >conftest.
$ac_ext <<_ACEOF
44346 cat confdefs.h
>>conftest.
$ac_ext
44347 cat >>conftest.
$ac_ext <<_ACEOF
44348 /* end confdefs.h. */
44349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44351 #define $ac_func innocuous_$ac_func
44353 /* System header to define __stub macros and hopefully few prototypes,
44354 which can conflict with char $ac_func (); below.
44355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44356 <limits.h> exists even on freestanding compilers. */
44359 # include <limits.h>
44361 # include <assert.h>
44366 /* Override any gcc2 internal prototype to avoid an error. */
44371 /* We use char because int might match the return type of a gcc2
44372 builtin and then its argument prototype would still apply. */
44374 /* The GNU C library defines this for functions which it implements
44375 to always fail with ENOSYS. Some functions are actually named
44376 something starting with __ and the normal name is an alias. */
44377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44380 char (*f) () = $ac_func;
44389 return f != $ac_func;
44394 rm -f conftest.
$ac_objext conftest
$ac_exeext
44395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44396 (eval $ac_link) 2>conftest.er1
44398 grep -v '^ *+' conftest.er1
>conftest.err
44400 cat conftest.err
>&5
44401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44402 (exit $ac_status); } &&
44403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44405 (eval $ac_try) 2>&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); }; } &&
44409 { ac_try
='test -s conftest$ac_exeext'
44410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44411 (eval $ac_try) 2>&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); }; }; then
44415 eval "$as_ac_var=yes"
44417 echo "$as_me: failed program was:" >&5
44418 sed 's/^/| /' conftest.
$ac_ext >&5
44420 eval "$as_ac_var=no"
44422 rm -f conftest.err conftest.
$ac_objext \
44423 conftest
$ac_exeext conftest.
$ac_ext
44425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44427 if test `eval echo '${'$as_ac_var'}'` = yes; then
44428 cat >>confdefs.h
<<_ACEOF
44429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44436 if test "$ac_cv_func_gettimeofday" = "yes"; then
44437 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44438 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44439 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44443 cat >conftest.
$ac_ext <<_ACEOF
44446 cat confdefs.h
>>conftest.
$ac_ext
44447 cat >>conftest.
$ac_ext <<_ACEOF
44448 /* end confdefs.h. */
44450 #include <sys/time.h>
44451 #include <unistd.h>
44458 gettimeofday(&tv, NULL);
44464 rm -f conftest.
$ac_objext
44465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44466 (eval $ac_compile) 2>conftest.er1
44468 grep -v '^ *+' conftest.er1
>conftest.err
44470 cat conftest.err
>&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } &&
44473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try
='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44485 wx_cv_func_gettimeofday_has_2_args
=yes
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.
$ac_ext >&5
44490 cat >conftest.
$ac_ext <<_ACEOF
44493 cat confdefs.h
>>conftest.
$ac_ext
44494 cat >>conftest.
$ac_ext <<_ACEOF
44495 /* end confdefs.h. */
44497 #include <sys/time.h>
44498 #include <unistd.h>
44511 rm -f conftest.
$ac_objext
44512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44513 (eval $ac_compile) 2>conftest.er1
44515 grep -v '^ *+' conftest.er1
>conftest.err
44517 cat conftest.err
>&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try
='test -s conftest.$ac_objext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 wx_cv_func_gettimeofday_has_2_args
=no
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.
$ac_ext >&5
44538 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44539 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44540 wx_cv_func_gettimeofday_has_2_args
=unknown
44544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44550 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44551 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44553 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44554 cat >>confdefs.h
<<\_ACEOF
44555 #define WX_GETTIMEOFDAY_NO_TZ 1
44561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44565 if test "$wxUSE_SOCKETS" = "yes"; then
44566 if test "$wxUSE_MGL" = "1"; then
44567 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44568 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44573 if test "$wxUSE_SOCKETS" = "yes"; then
44574 if test "$TOOLKIT" != "MSW"; then
44575 echo "$as_me:$LINENO: checking for socket" >&5
44576 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44577 if test "${ac_cv_func_socket+set}" = set; then
44578 echo $ECHO_N "(cached) $ECHO_C" >&6
44580 cat >conftest.
$ac_ext <<_ACEOF
44583 cat confdefs.h
>>conftest.
$ac_ext
44584 cat >>conftest.
$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44586 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44588 #define socket innocuous_socket
44590 /* System header to define __stub macros and hopefully few prototypes,
44591 which can conflict with char socket (); below.
44592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44593 <limits.h> exists even on freestanding compilers. */
44596 # include <limits.h>
44598 # include <assert.h>
44603 /* Override any gcc2 internal prototype to avoid an error. */
44608 /* We use char because int might match the return type of a gcc2
44609 builtin and then its argument prototype would still apply. */
44611 /* The GNU C library defines this for functions which it implements
44612 to always fail with ENOSYS. Some functions are actually named
44613 something starting with __ and the normal name is an alias. */
44614 #if defined (__stub_socket) || defined (__stub___socket)
44617 char (*f) () = socket;
44626 return f != socket;
44631 rm -f conftest.
$ac_objext conftest
$ac_exeext
44632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44633 (eval $ac_link) 2>conftest.er1
44635 grep -v '^ *+' conftest.er1
>conftest.err
44637 cat conftest.err
>&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } &&
44640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44642 (eval $ac_try) 2>&5
44644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44645 (exit $ac_status); }; } &&
44646 { ac_try
='test -s conftest$ac_exeext'
44647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44648 (eval $ac_try) 2>&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); }; }; then
44652 ac_cv_func_socket
=yes
44654 echo "$as_me: failed program was:" >&5
44655 sed 's/^/| /' conftest.
$ac_ext >&5
44657 ac_cv_func_socket
=no
44659 rm -f conftest.err conftest.
$ac_objext \
44660 conftest
$ac_exeext conftest.
$ac_ext
44662 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44663 echo "${ECHO_T}$ac_cv_func_socket" >&6
44664 if test $ac_cv_func_socket = yes; then
44668 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44669 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44670 if test "${ac_cv_lib_socket_socket+set}" = set; then
44671 echo $ECHO_N "(cached) $ECHO_C" >&6
44673 ac_check_lib_save_LIBS
=$LIBS
44674 LIBS
="-lsocket $LIBS"
44675 cat >conftest.
$ac_ext <<_ACEOF
44678 cat confdefs.h
>>conftest.
$ac_ext
44679 cat >>conftest.
$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44682 /* Override any gcc2 internal prototype to avoid an error. */
44686 /* We use char because int might match the return type of a gcc2
44687 builtin and then its argument prototype would still apply. */
44697 rm -f conftest.
$ac_objext conftest
$ac_exeext
44698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44699 (eval $ac_link) 2>conftest.er1
44701 grep -v '^ *+' conftest.er1
>conftest.err
44703 cat conftest.err
>&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } &&
44706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; } &&
44712 { ac_try
='test -s conftest$ac_exeext'
44713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44714 (eval $ac_try) 2>&5
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); }; }; then
44718 ac_cv_lib_socket_socket
=yes
44720 echo "$as_me: failed program was:" >&5
44721 sed 's/^/| /' conftest.
$ac_ext >&5
44723 ac_cv_lib_socket_socket
=no
44725 rm -f conftest.err conftest.
$ac_objext \
44726 conftest
$ac_exeext conftest.
$ac_ext
44727 LIBS
=$ac_check_lib_save_LIBS
44729 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44730 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44731 if test $ac_cv_lib_socket_socket = yes; then
44732 if test "$INET_LINK" != " -lsocket"; then
44733 INET_LINK
="$INET_LINK -lsocket"
44737 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44738 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44751 if test "$wxUSE_SOCKETS" = "yes" ; then
44752 if test "$TOOLKIT" != "MSW"; then
44753 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44754 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44755 if test "${wx_cv_type_getsockname3+set}" = set; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44759 cat >conftest.
$ac_ext <<_ACEOF
44762 cat confdefs.h
>>conftest.
$ac_ext
44763 cat >>conftest.
$ac_ext <<_ACEOF
44764 /* end confdefs.h. */
44766 #include <sys/types.h>
44767 #include <sys/socket.h>
44774 getsockname(0, 0, &len);
44780 rm -f conftest.
$ac_objext
44781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44782 (eval $ac_compile) 2>conftest.er1
44784 grep -v '^ *+' conftest.er1
>conftest.err
44786 cat conftest.err
>&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); } &&
44789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44791 (eval $ac_try) 2>&5
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); }; } &&
44795 { ac_try
='test -s conftest.$ac_objext'
44796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44797 (eval $ac_try) 2>&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); }; }; then
44801 wx_cv_type_getsockname3
=socklen_t
44803 echo "$as_me: failed program was:" >&5
44804 sed 's/^/| /' conftest.
$ac_ext >&5
44807 CXXFLAGS_OLD
="$CXXFLAGS"
44808 if test "$GCC" = yes ; then
44809 CXXFLAGS
="-Werror $CXXFLAGS"
44812 cat >conftest.
$ac_ext <<_ACEOF
44815 cat confdefs.h
>>conftest.
$ac_ext
44816 cat >>conftest.
$ac_ext <<_ACEOF
44817 /* end confdefs.h. */
44819 #include <sys/types.h>
44820 #include <sys/socket.h>
44827 getsockname(0, 0, &len);
44833 rm -f conftest.
$ac_objext
44834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44835 (eval $ac_compile) 2>conftest.er1
44837 grep -v '^ *+' conftest.er1
>conftest.err
44839 cat conftest.err
>&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } &&
44842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; } &&
44848 { ac_try
='test -s conftest.$ac_objext'
44849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44850 (eval $ac_try) 2>&5
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); }; }; then
44854 wx_cv_type_getsockname3
=size_t
44856 echo "$as_me: failed program was:" >&5
44857 sed 's/^/| /' conftest.
$ac_ext >&5
44859 cat >conftest.
$ac_ext <<_ACEOF
44862 cat confdefs.h
>>conftest.
$ac_ext
44863 cat >>conftest.
$ac_ext <<_ACEOF
44864 /* end confdefs.h. */
44866 #include <sys/types.h>
44867 #include <sys/socket.h>
44874 getsockname(0, 0, &len);
44880 rm -f conftest.
$ac_objext
44881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44882 (eval $ac_compile) 2>conftest.er1
44884 grep -v '^ *+' conftest.er1
>conftest.err
44886 cat conftest.err
>&5
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); } &&
44889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891 (eval $ac_try) 2>&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; } &&
44895 { ac_try
='test -s conftest.$ac_objext'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; }; then
44901 wx_cv_type_getsockname3
=int
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.
$ac_ext >&5
44906 wx_cv_type_getsockname3
=unknown
44909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44914 CXXFLAGS
="$CXXFLAGS_OLD"
44918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44921 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44922 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44924 if test "$wx_cv_type_getsockname3" = "unknown"; then
44926 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44927 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44929 cat >>confdefs.h
<<_ACEOF
44930 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44934 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44935 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44936 if test "${wx_cv_type_getsockopt5+set}" = set; then
44937 echo $ECHO_N "(cached) $ECHO_C" >&6
44940 cat >conftest.
$ac_ext <<_ACEOF
44943 cat confdefs.h
>>conftest.
$ac_ext
44944 cat >>conftest.
$ac_ext <<_ACEOF
44945 /* end confdefs.h. */
44947 #include <sys/types.h>
44948 #include <sys/socket.h>
44955 getsockopt(0, 0, 0, 0, &len);
44961 rm -f conftest.
$ac_objext
44962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44963 (eval $ac_compile) 2>conftest.er1
44965 grep -v '^ *+' conftest.er1
>conftest.err
44967 cat conftest.err
>&5
44968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44969 (exit $ac_status); } &&
44970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44972 (eval $ac_try) 2>&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; } &&
44976 { ac_try
='test -s conftest.$ac_objext'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; }; then
44982 wx_cv_type_getsockopt5
=socklen_t
44984 echo "$as_me: failed program was:" >&5
44985 sed 's/^/| /' conftest.
$ac_ext >&5
44988 CXXFLAGS_OLD
="$CXXFLAGS"
44989 if test "$GCC" = yes ; then
44990 CXXFLAGS
="-Werror $CXXFLAGS"
44993 cat >conftest.
$ac_ext <<_ACEOF
44996 cat confdefs.h
>>conftest.
$ac_ext
44997 cat >>conftest.
$ac_ext <<_ACEOF
44998 /* end confdefs.h. */
45000 #include <sys/types.h>
45001 #include <sys/socket.h>
45008 getsockopt(0, 0, 0, 0, &len);
45014 rm -f conftest.
$ac_objext
45015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45016 (eval $ac_compile) 2>conftest.er1
45018 grep -v '^ *+' conftest.er1
>conftest.err
45020 cat conftest.err
>&5
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); } &&
45023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45025 (eval $ac_try) 2>&5
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; } &&
45029 { ac_try
='test -s conftest.$ac_objext'
45030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45031 (eval $ac_try) 2>&5
45033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45034 (exit $ac_status); }; }; then
45035 wx_cv_type_getsockopt5
=size_t
45037 echo "$as_me: failed program was:" >&5
45038 sed 's/^/| /' conftest.
$ac_ext >&5
45040 cat >conftest.
$ac_ext <<_ACEOF
45043 cat confdefs.h
>>conftest.
$ac_ext
45044 cat >>conftest.
$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45047 #include <sys/types.h>
45048 #include <sys/socket.h>
45055 getsockopt(0, 0, 0, 0, &len);
45061 rm -f conftest.
$ac_objext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45063 (eval $ac_compile) 2>conftest.er1
45065 grep -v '^ *+' conftest.er1
>conftest.err
45067 cat conftest.err
>&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); } &&
45070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072 (eval $ac_try) 2>&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; } &&
45076 { ac_try
='test -s conftest.$ac_objext'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; }; then
45082 wx_cv_type_getsockopt5
=int
45084 echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.
$ac_ext >&5
45087 wx_cv_type_getsockopt5
=unknown
45090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45095 CXXFLAGS
="$CXXFLAGS_OLD"
45099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45102 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45103 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45105 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45107 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45108 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45110 cat >>confdefs.h
<<_ACEOF
45111 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45118 if test "$wxUSE_SOCKETS" = "yes" ; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_SOCKETS 1
45123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45126 if test "$wxUSE_PROTOCOL" = "yes"; then
45127 if test "$wxUSE_SOCKETS" != "yes"; then
45128 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45129 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45134 if test "$wxUSE_PROTOCOL" = "yes"; then
45135 cat >>confdefs.h
<<\_ACEOF
45136 #define wxUSE_PROTOCOL 1
45140 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45141 cat >>confdefs.h
<<\_ACEOF
45142 #define wxUSE_PROTOCOL_HTTP 1
45146 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45147 cat >>confdefs.h
<<\_ACEOF
45148 #define wxUSE_PROTOCOL_FTP 1
45152 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_PROTOCOL_FILE 1
45159 if test "$wxUSE_FS_INET" = "yes"; then
45160 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45161 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45166 if test "$wxUSE_URL" = "yes"; then
45167 if test "$wxUSE_PROTOCOL" != "yes"; then
45168 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45169 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45172 if test "$wxUSE_URL" = "yes"; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_URL 1
45180 if test "$wxUSE_VARIANT" = "yes"; then
45181 cat >>confdefs.h
<<\_ACEOF
45182 #define wxUSE_VARIANT 1
45187 if test "$wxUSE_FS_INET" = "yes"; then
45188 cat >>confdefs.h
<<\_ACEOF
45189 #define wxUSE_FS_INET 1
45195 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45198 if test "$TOOLKIT" = "MSW"; then
45201 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45202 if test "$USE_DARWIN" = 1; then
45203 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45204 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45205 cat >conftest.
$ac_ext <<_ACEOF
45208 cat confdefs.h
>>conftest.
$ac_ext
45209 cat >>conftest.
$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211 #include <IOKit/hid/IOHIDLib.h>
45215 IOHIDQueueInterface *qi = NULL;
45216 IOHIDCallbackFunction cb = NULL;
45217 qi->setEventCallout(NULL, cb, NULL, NULL);
45222 rm -f conftest.
$ac_objext
45223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45224 (eval $ac_compile) 2>conftest.er1
45226 grep -v '^ *+' conftest.er1
>conftest.err
45228 cat conftest.err
>&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 (eval $ac_try) 2>&5
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; } &&
45237 { ac_try
='test -s conftest.$ac_objext'
45238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239 (eval $ac_try) 2>&5
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); }; }; then
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.
$ac_ext >&5
45250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45251 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45252 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45257 for ac_header
in linux
/joystick.h
45259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45261 echo "$as_me:$LINENO: checking for $ac_header" >&5
45262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45264 echo $ECHO_N "(cached) $ECHO_C" >&6
45266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45269 # Is the header compilable?
45270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45272 cat >conftest.
$ac_ext <<_ACEOF
45275 cat confdefs.h
>>conftest.
$ac_ext
45276 cat >>conftest.
$ac_ext <<_ACEOF
45277 /* end confdefs.h. */
45278 $ac_includes_default
45279 #include <$ac_header>
45281 rm -f conftest.
$ac_objext
45282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45283 (eval $ac_compile) 2>conftest.er1
45285 grep -v '^ *+' conftest.er1
>conftest.err
45287 cat conftest.err
>&5
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); } &&
45290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; } &&
45296 { ac_try
='test -s conftest.$ac_objext'
45297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45298 (eval $ac_try) 2>&5
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); }; }; then
45302 ac_header_compiler
=yes
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.
$ac_ext >&5
45307 ac_header_compiler
=no
45309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45311 echo "${ECHO_T}$ac_header_compiler" >&6
45313 # Is the header present?
45314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45316 cat >conftest.
$ac_ext <<_ACEOF
45319 cat confdefs.h
>>conftest.
$ac_ext
45320 cat >>conftest.
$ac_ext <<_ACEOF
45321 /* end confdefs.h. */
45322 #include <$ac_header>
45324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45327 grep -v '^ *+' conftest.er1
>conftest.err
45329 cat conftest.err
>&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } >/dev
/null
; then
45332 if test -s conftest.err
; then
45333 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45334 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45341 if test -z "$ac_cpp_err"; then
45342 ac_header_preproc
=yes
45344 echo "$as_me: failed program was:" >&5
45345 sed 's/^/| /' conftest.
$ac_ext >&5
45347 ac_header_preproc
=no
45349 rm -f conftest.err conftest.
$ac_ext
45350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45351 echo "${ECHO_T}$ac_header_preproc" >&6
45353 # So? What about this header?
45354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45360 ac_header_preproc
=yes
45363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45377 ## ----------------------------------------- ##
45378 ## Report this to wx-dev@lists.wxwidgets.org ##
45379 ## ----------------------------------------- ##
45382 sed "s/^/$as_me: WARNING: /" >&2
45385 echo "$as_me:$LINENO: checking for $ac_header" >&5
45386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45388 echo $ECHO_N "(cached) $ECHO_C" >&6
45390 eval "$as_ac_Header=\$ac_header_preproc"
45392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45397 cat >>confdefs.h
<<_ACEOF
45398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45407 if test "$wxUSE_JOYSTICK" = "yes"; then
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_JOYSTICK 1
45412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45414 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45415 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45421 if test "$wxUSE_FONTMAP" = "yes" ; then
45422 cat >>confdefs.h
<<\_ACEOF
45423 #define wxUSE_FONTMAP 1
45428 if test "$wxUSE_UNICODE" = "yes" ; then
45429 cat >>confdefs.h
<<\_ACEOF
45430 #define wxUSE_UNICODE 1
45434 if test "$USE_WIN32" != 1; then
45435 wxUSE_UNICODE_MSLU
=no
45438 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45439 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45440 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45441 if test "${ac_cv_lib_unicows_main+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45444 ac_check_lib_save_LIBS
=$LIBS
45445 LIBS
="-lunicows $LIBS"
45446 cat >conftest.
$ac_ext <<_ACEOF
45449 cat confdefs.h
>>conftest.
$ac_ext
45450 cat >>conftest.
$ac_ext <<_ACEOF
45451 /* end confdefs.h. */
45462 rm -f conftest.
$ac_objext conftest
$ac_exeext
45463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45464 (eval $ac_link) 2>conftest.er1
45466 grep -v '^ *+' conftest.er1
>conftest.err
45468 cat conftest.err
>&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } &&
45471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45473 (eval $ac_try) 2>&5
45475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45476 (exit $ac_status); }; } &&
45477 { ac_try
='test -s conftest$ac_exeext'
45478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45479 (eval $ac_try) 2>&5
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); }; }; then
45483 ac_cv_lib_unicows_main
=yes
45485 echo "$as_me: failed program was:" >&5
45486 sed 's/^/| /' conftest.
$ac_ext >&5
45488 ac_cv_lib_unicows_main
=no
45490 rm -f conftest.err conftest.
$ac_objext \
45491 conftest
$ac_exeext conftest.
$ac_ext
45492 LIBS
=$ac_check_lib_save_LIBS
45494 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45495 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45496 if test $ac_cv_lib_unicows_main = yes; then
45498 cat >>confdefs.h
<<\_ACEOF
45499 #define wxUSE_UNICODE_MSLU 1
45505 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45506 Applications will only run on Windows NT/2000/XP!" >&5
45507 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45508 Applications will only run on Windows NT/2000/XP!" >&2;}
45509 wxUSE_UNICODE_MSLU
=no
45516 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_EXPERIMENTAL_PRINTF 1
45524 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_POSTSCRIPT 1
45531 cat >>confdefs.h
<<\_ACEOF
45532 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45536 cat >>confdefs.h
<<\_ACEOF
45537 #define wxUSE_NORMALIZED_PS_FONTS 1
45542 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_CONSTRAINTS 1
45547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45550 if test "$wxUSE_MDI" = "yes"; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_MDI 1
45556 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_MDI_ARCHITECTURE 1
45561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45565 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45571 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45576 if test "$wxUSE_HELP" = "yes"; then
45577 cat >>confdefs.h
<<\_ACEOF
45578 #define wxUSE_HELP 1
45581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45583 if test "$wxUSE_MSW" = 1; then
45584 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45585 cat >>confdefs.h
<<\_ACEOF
45586 #define wxUSE_MS_HTML_HELP 1
45592 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45593 if test "$wxUSE_HTML" = "yes"; then
45594 cat >>confdefs.h
<<\_ACEOF
45595 #define wxUSE_WXHTML_HELP 1
45599 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45600 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45601 wxUSE_WXHTML_HELP
=no
45606 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45607 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45608 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45609 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45611 cat >>confdefs.h
<<\_ACEOF
45612 #define wxUSE_PRINTING_ARCHITECTURE 1
45616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45619 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45620 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45621 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45622 { (exit 1); exit 1; }; }
45626 if test "$wxUSE_METAFILE" = "yes"; then
45627 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45628 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45629 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45635 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45636 -o "$wxUSE_CLIPBOARD" = "yes" \
45637 -o "$wxUSE_OLE" = "yes" \
45638 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45640 for ac_header
in ole2.h
45642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45644 echo "$as_me:$LINENO: checking for $ac_header" >&5
45645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45647 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45652 # Is the header compilable?
45653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45655 cat >conftest.
$ac_ext <<_ACEOF
45658 cat confdefs.h
>>conftest.
$ac_ext
45659 cat >>conftest.
$ac_ext <<_ACEOF
45660 /* end confdefs.h. */
45661 $ac_includes_default
45662 #include <$ac_header>
45664 rm -f conftest.
$ac_objext
45665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45666 (eval $ac_compile) 2>conftest.er1
45668 grep -v '^ *+' conftest.er1
>conftest.err
45670 cat conftest.err
>&5
45671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45672 (exit $ac_status); } &&
45673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45675 (eval $ac_try) 2>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); }; } &&
45679 { ac_try
='test -s conftest.$ac_objext'
45680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45681 (eval $ac_try) 2>&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); }; }; then
45685 ac_header_compiler
=yes
45687 echo "$as_me: failed program was:" >&5
45688 sed 's/^/| /' conftest.
$ac_ext >&5
45690 ac_header_compiler
=no
45692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45694 echo "${ECHO_T}$ac_header_compiler" >&6
45696 # Is the header present?
45697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45699 cat >conftest.
$ac_ext <<_ACEOF
45702 cat confdefs.h
>>conftest.
$ac_ext
45703 cat >>conftest.
$ac_ext <<_ACEOF
45704 /* end confdefs.h. */
45705 #include <$ac_header>
45707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45710 grep -v '^ *+' conftest.er1
>conftest.err
45712 cat conftest.err
>&5
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); } >/dev
/null
; then
45715 if test -s conftest.err
; then
45716 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45717 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45724 if test -z "$ac_cpp_err"; then
45725 ac_header_preproc
=yes
45727 echo "$as_me: failed program was:" >&5
45728 sed 's/^/| /' conftest.
$ac_ext >&5
45730 ac_header_preproc
=no
45732 rm -f conftest.err conftest.
$ac_ext
45733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45734 echo "${ECHO_T}$ac_header_preproc" >&6
45736 # So? What about this header?
45737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45743 ac_header_preproc
=yes
45746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45760 ## ----------------------------------------- ##
45761 ## Report this to wx-dev@lists.wxwidgets.org ##
45762 ## ----------------------------------------- ##
45765 sed "s/^/$as_me: WARNING: /" >&2
45768 echo "$as_me:$LINENO: checking for $ac_header" >&5
45769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45771 echo $ECHO_N "(cached) $ECHO_C" >&6
45773 eval "$as_ac_Header=\$ac_header_preproc"
45775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45780 cat >>confdefs.h
<<_ACEOF
45781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45789 if test "$ac_cv_header_ole2_h" = "yes" ; then
45790 if test "$GCC" = yes ; then
45791 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45792 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45793 cat >conftest.
$ac_ext <<_ACEOF
45796 cat confdefs.h
>>conftest.
$ac_ext
45797 cat >>conftest.
$ac_ext <<_ACEOF
45798 /* end confdefs.h. */
45799 #include <windows.h>
45809 rm -f conftest.
$ac_objext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45811 (eval $ac_compile) 2>conftest.er1
45813 grep -v '^ *+' conftest.er1
>conftest.err
45815 cat conftest.err
>&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } &&
45818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820 (eval $ac_try) 2>&5
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); }; } &&
45824 { ac_try
='test -s conftest.$ac_objext'
45825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45826 (eval $ac_try) 2>&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); }; }; then
45830 echo "$as_me:$LINENO: result: no" >&5
45831 echo "${ECHO_T}no" >&6
45833 echo "$as_me: failed program was:" >&5
45834 sed 's/^/| /' conftest.
$ac_ext >&5
45836 echo "$as_me:$LINENO: result: yes" >&5
45837 echo "${ECHO_T}yes" >&6
45838 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45841 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45842 if test "$wxUSE_OLE" = "yes" ; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_OLE 1
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_OLE_AUTOMATION 1
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_OLE_ACTIVEX 1
45855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45859 if test "$wxUSE_DATAOBJ" = "yes" ; then
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_DATAOBJ 1
45866 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45867 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45870 wxUSE_DRAG_AND_DROP
=no
45875 if test "$wxUSE_METAFILE" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_METAFILE 1
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_ENH_METAFILE 1
45888 if test "$wxUSE_IPC" = "yes"; then
45889 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45890 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45891 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45895 if test "$wxUSE_IPC" = "yes"; then
45896 cat >>confdefs.h
<<\_ACEOF
45897 #define wxUSE_IPC 1
45900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45904 if test "$wxUSE_DATAOBJ" = "yes"; then
45905 if test "$wxUSE_MGL" = 1; then
45906 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45907 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_DATAOBJ 1
45916 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45917 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45919 wxUSE_DRAG_AND_DROP
=no
45922 if test "$wxUSE_CLIPBOARD" = "yes"; then
45923 if test "$wxUSE_MGL" = 1; then
45924 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45925 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45929 if test "$wxUSE_CLIPBOARD" = "yes"; then
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_CLIPBOARD 1
45937 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45938 if test "$wxUSE_GTK" = 1; then
45939 if test "$WXGTK12" != 1; then
45940 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45941 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45942 wxUSE_DRAG_AND_DROP
=no
45946 if test "$wxUSE_MOTIF" = 1; then
45947 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45948 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45949 wxUSE_DRAG_AND_DROP
=no
45952 if test "$wxUSE_X11" = 1; then
45953 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45954 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45955 wxUSE_DRAG_AND_DROP
=no
45958 if test "$wxUSE_MGL" = 1; then
45959 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45960 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45961 wxUSE_DRAG_AND_DROP
=no
45964 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45965 cat >>confdefs.h
<<\_ACEOF
45966 #define wxUSE_DRAG_AND_DROP 1
45973 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45977 if test "$wxUSE_SPLINES" = "yes" ; then
45978 cat >>confdefs.h
<<\_ACEOF
45979 #define wxUSE_SPLINES 1
45984 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45985 cat >>confdefs.h
<<\_ACEOF
45986 #define wxUSE_MOUSEWHEEL 1
45993 if test "$wxUSE_CONTROLS" = "yes"; then
45997 if test "$wxUSE_ACCEL" = "yes"; then
45998 cat >>confdefs.h
<<\_ACEOF
45999 #define wxUSE_ACCEL 1
46005 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46006 cat >>confdefs.h
<<\_ACEOF
46007 #define wxUSE_ANIMATIONCTRL 1
46011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46014 if test "$wxUSE_BUTTON" = "yes"; then
46015 cat >>confdefs.h
<<\_ACEOF
46016 #define wxUSE_BUTTON 1
46022 if test "$wxUSE_BMPBUTTON" = "yes"; then
46023 cat >>confdefs.h
<<\_ACEOF
46024 #define wxUSE_BMPBUTTON 1
46030 if test "$wxUSE_CALCTRL" = "yes"; then
46031 cat >>confdefs.h
<<\_ACEOF
46032 #define wxUSE_CALENDARCTRL 1
46036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46039 if test "$wxUSE_CARET" = "yes"; then
46040 cat >>confdefs.h
<<\_ACEOF
46041 #define wxUSE_CARET 1
46045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46048 if test "$wxUSE_COLLPANE" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_COLLPANE 1
46054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46057 if test "$wxUSE_COMBOBOX" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_COMBOBOX 1
46065 if test "$wxUSE_COMBOCTRL" = "yes"; then
46066 cat >>confdefs.h
<<\_ACEOF
46067 #define wxUSE_COMBOCTRL 1
46073 if test "$wxUSE_CHOICE" = "yes"; then
46074 cat >>confdefs.h
<<\_ACEOF
46075 #define wxUSE_CHOICE 1
46081 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46082 cat >>confdefs.h
<<\_ACEOF
46083 #define wxUSE_CHOICEBOOK 1
46089 if test "$wxUSE_CHECKBOX" = "yes"; then
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_CHECKBOX 1
46097 if test "$wxUSE_CHECKLST" = "yes"; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_CHECKLISTBOX 1
46103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46106 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_COLOURPICKERCTRL 1
46114 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_DATEPICKCTRL 1
46122 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46123 cat >>confdefs.h
<<\_ACEOF
46124 #define wxUSE_DIRPICKERCTRL 1
46130 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46131 cat >>confdefs.h
<<\_ACEOF
46132 #define wxUSE_FILEPICKERCTRL 1
46138 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46139 cat >>confdefs.h
<<\_ACEOF
46140 #define wxUSE_FONTPICKERCTRL 1
46146 if test "$wxUSE_DISPLAY" = "yes"; then
46147 cat >>confdefs.h
<<\_ACEOF
46148 #define wxUSE_DISPLAY 1
46151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46154 if test "$wxUSE_DETECT_SM" = "yes"; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_DETECT_SM 1
46161 if test "$wxUSE_GAUGE" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_GAUGE 1
46169 if test "$wxUSE_GRID" = "yes"; then
46170 cat >>confdefs.h
<<\_ACEOF
46171 #define wxUSE_GRID 1
46175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46178 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46179 cat >>confdefs.h
<<\_ACEOF
46180 #define wxUSE_HYPERLINKCTRL 1
46186 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46187 cat >>confdefs.h
<<\_ACEOF
46188 #define wxUSE_BITMAPCOMBOBOX 1
46194 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_DATAVIEWCTRL 1
46200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46203 if test "$wxUSE_IMAGLIST" = "yes"; then
46204 cat >>confdefs.h
<<\_ACEOF
46205 #define wxUSE_IMAGLIST 1
46210 if test "$wxUSE_LISTBOOK" = "yes"; then
46211 cat >>confdefs.h
<<\_ACEOF
46212 #define wxUSE_LISTBOOK 1
46218 if test "$wxUSE_LISTBOX" = "yes"; then
46219 cat >>confdefs.h
<<\_ACEOF
46220 #define wxUSE_LISTBOX 1
46224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46227 if test "$wxUSE_LISTCTRL" = "yes"; then
46228 if test "$wxUSE_IMAGLIST" = "yes"; then
46229 cat >>confdefs.h
<<\_ACEOF
46230 #define wxUSE_LISTCTRL 1
46234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46236 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46237 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46241 if test "$wxUSE_NOTEBOOK" = "yes"; then
46242 cat >>confdefs.h
<<\_ACEOF
46243 #define wxUSE_NOTEBOOK 1
46247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46250 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46251 cat >>confdefs.h
<<\_ACEOF
46252 #define wxUSE_ODCOMBOBOX 1
46256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46260 if test "$wxUSE_RADIOBOX" = "yes"; then
46261 cat >>confdefs.h
<<\_ACEOF
46262 #define wxUSE_RADIOBOX 1
46268 if test "$wxUSE_RADIOBTN" = "yes"; then
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_RADIOBTN 1
46276 if test "$wxUSE_SASH" = "yes"; then
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_SASH 1
46281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46284 if test "$wxUSE_SCROLLBAR" = "yes"; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_SCROLLBAR 1
46290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46293 if test "$wxUSE_SLIDER" = "yes"; then
46294 cat >>confdefs.h
<<\_ACEOF
46295 #define wxUSE_SLIDER 1
46301 if test "$wxUSE_SPINBTN" = "yes"; then
46302 cat >>confdefs.h
<<\_ACEOF
46303 #define wxUSE_SPINBTN 1
46309 if test "$wxUSE_SPINCTRL" = "yes"; then
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_SPINCTRL 1
46317 if test "$wxUSE_SPLITTER" = "yes"; then
46318 cat >>confdefs.h
<<\_ACEOF
46319 #define wxUSE_SPLITTER 1
46322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46325 if test "$wxUSE_STATBMP" = "yes"; then
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_STATBMP 1
46333 if test "$wxUSE_STATBOX" = "yes"; then
46334 cat >>confdefs.h
<<\_ACEOF
46335 #define wxUSE_STATBOX 1
46341 if test "$wxUSE_STATTEXT" = "yes"; then
46342 cat >>confdefs.h
<<\_ACEOF
46343 #define wxUSE_STATTEXT 1
46349 if test "$wxUSE_STATLINE" = "yes"; then
46350 cat >>confdefs.h
<<\_ACEOF
46351 #define wxUSE_STATLINE 1
46357 if test "$wxUSE_STATUSBAR" = "yes"; then
46358 cat >>confdefs.h
<<\_ACEOF
46359 #define wxUSE_NATIVE_STATUSBAR 1
46362 cat >>confdefs.h
<<\_ACEOF
46363 #define wxUSE_STATUSBAR 1
46368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46371 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46372 cat >>confdefs.h
<<\_ACEOF
46373 #define wxUSE_TAB_DIALOG 1
46378 if test "$wxUSE_TEXTCTRL" = "yes"; then
46379 cat >>confdefs.h
<<\_ACEOF
46380 #define wxUSE_TEXTCTRL 1
46384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46387 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46388 if test "$wxUSE_COCOA" = 1 ; then
46389 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46390 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46394 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46395 cat >>confdefs.h
<<\_ACEOF
46396 #define wxUSE_TOGGLEBTN 1
46403 if test "$wxUSE_TOOLBAR" = "yes"; then
46404 cat >>confdefs.h
<<\_ACEOF
46405 #define wxUSE_TOOLBAR 1
46410 if test "$wxUSE_UNIVERSAL" = "yes"; then
46411 wxUSE_TOOLBAR_NATIVE
="no"
46413 wxUSE_TOOLBAR_NATIVE
="yes"
46414 cat >>confdefs.h
<<\_ACEOF
46415 #define wxUSE_TOOLBAR_NATIVE 1
46420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46423 if test "$wxUSE_TOOLTIPS" = "yes"; then
46424 if test "$wxUSE_MOTIF" = 1; then
46425 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46426 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46428 if test "$wxUSE_UNIVERSAL" = "yes"; then
46429 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46430 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46432 cat >>confdefs.h
<<\_ACEOF
46433 #define wxUSE_TOOLTIPS 1
46440 if test "$wxUSE_TREEBOOK" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_TREEBOOK 1
46448 if test "$wxUSE_TOOLBOOK" = "yes"; then
46449 cat >>confdefs.h
<<\_ACEOF
46450 #define wxUSE_TOOLBOOK 1
46456 if test "$wxUSE_TREECTRL" = "yes"; then
46457 if test "$wxUSE_IMAGLIST" = "yes"; then
46458 cat >>confdefs.h
<<\_ACEOF
46459 #define wxUSE_TREECTRL 1
46463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46465 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46466 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46470 if test "$wxUSE_POPUPWIN" = "yes"; then
46471 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46472 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46473 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46475 if test "$wxUSE_PM" = 1; then
46476 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46477 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46479 cat >>confdefs.h
<<\_ACEOF
46480 #define wxUSE_POPUPWIN 1
46483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46490 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46491 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46492 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46493 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46495 cat >>confdefs.h
<<\_ACEOF
46496 #define wxUSE_DIALUP_MANAGER 1
46499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46503 if test "$wxUSE_TIPWINDOW" = "yes"; then
46504 if test "$wxUSE_PM" = 1; then
46505 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46506 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_TIPWINDOW 1
46515 if test "$USES_CONTROLS" = 1; then
46516 cat >>confdefs.h
<<\_ACEOF
46517 #define wxUSE_CONTROLS 1
46523 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46524 cat >>confdefs.h
<<\_ACEOF
46525 #define wxUSE_ACCESSIBILITY 1
46528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46531 if test "$wxUSE_DC_CACHEING" = "yes"; then
46532 cat >>confdefs.h
<<\_ACEOF
46533 #define wxUSE_DC_CACHEING 1
46538 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46539 cat >>confdefs.h
<<\_ACEOF
46540 #define wxUSE_DRAGIMAGE 1
46543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46546 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46547 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46548 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46549 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46551 cat >>confdefs.h
<<\_ACEOF
46552 #define wxUSE_EXCEPTIONS 1
46555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46560 if test "$wxUSE_HTML" = "yes"; then
46561 cat >>confdefs.h
<<\_ACEOF
46562 #define wxUSE_HTML 1
46566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46567 if test "$wxUSE_MAC" = 1; then
46568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46571 if test "$wxUSE_WEBKIT" = "yes"; then
46572 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46573 old_CPPFLAGS
="$CPPFLAGS"
46574 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46575 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46576 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46577 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46578 echo $ECHO_N "(cached) $ECHO_C" >&6
46580 cat >conftest.
$ac_ext <<_ACEOF
46583 cat confdefs.h
>>conftest.
$ac_ext
46584 cat >>conftest.
$ac_ext <<_ACEOF
46585 /* end confdefs.h. */
46586 #include <Carbon/Carbon.h>
46588 #include <WebKit/HIWebView.h>
46590 rm -f conftest.
$ac_objext
46591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46592 (eval $ac_compile) 2>conftest.er1
46594 grep -v '^ *+' conftest.er1
>conftest.err
46596 cat conftest.err
>&5
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); } &&
46599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46601 (eval $ac_try) 2>&5
46603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46604 (exit $ac_status); }; } &&
46605 { ac_try
='test -s conftest.$ac_objext'
46606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46607 (eval $ac_try) 2>&5
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); }; }; then
46611 ac_cv_header_WebKit_HIWebView_h
=yes
46613 echo "$as_me: failed program was:" >&5
46614 sed 's/^/| /' conftest.
$ac_ext >&5
46616 ac_cv_header_WebKit_HIWebView_h
=no
46618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46620 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46621 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46622 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_WEBKIT 1
46628 WEBKIT_LINK
="-framework WebKit"
46632 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46633 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46639 CPPFLAGS
="$old_CPPFLAGS"
46640 elif test "$wxUSE_COCOA" = 1; then
46641 cat >>confdefs.h
<<\_ACEOF
46642 #define wxUSE_WEBKIT 1
46651 if test "$wxUSE_XRC" = "yes"; then
46652 if test "$wxUSE_XML" != "yes"; then
46653 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46654 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46657 cat >>confdefs.h
<<\_ACEOF
46658 #define wxUSE_XRC 1
46662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46667 if test "$wxUSE_AUI" = "yes"; then
46668 cat >>confdefs.h
<<\_ACEOF
46669 #define wxUSE_AUI 1
46673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46676 if test "$wxUSE_MENUS" = "yes"; then
46677 cat >>confdefs.h
<<\_ACEOF
46678 #define wxUSE_MENUS 1
46681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46684 if test "$wxUSE_METAFILE" = "yes"; then
46685 cat >>confdefs.h
<<\_ACEOF
46686 #define wxUSE_METAFILE 1
46691 if test "$wxUSE_MIMETYPE" = "yes"; then
46692 cat >>confdefs.h
<<\_ACEOF
46693 #define wxUSE_MIMETYPE 1
46698 if test "$wxUSE_MINIFRAME" = "yes"; then
46699 cat >>confdefs.h
<<\_ACEOF
46700 #define wxUSE_MINIFRAME 1
46703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46706 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46707 cat >>confdefs.h
<<\_ACEOF
46708 #define wxUSE_SYSTEM_OPTIONS 1
46711 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46712 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46718 if test "$wxUSE_VALIDATORS" = "yes"; then
46719 cat >>confdefs.h
<<\_ACEOF
46720 #define wxUSE_VALIDATORS 1
46723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46726 if test "$wxUSE_PALETTE" = "yes" ; then
46727 cat >>confdefs.h
<<\_ACEOF
46728 #define wxUSE_PALETTE 1
46733 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46734 LIBS
=" -lunicows $LIBS"
46738 if test "$wxUSE_RICHTEXT" = "yes"; then
46739 cat >>confdefs.h
<<\_ACEOF
46740 #define wxUSE_RICHTEXT 1
46744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46748 if test "$wxUSE_IMAGE" = "yes" ; then
46749 cat >>confdefs.h
<<\_ACEOF
46750 #define wxUSE_IMAGE 1
46754 if test "$wxUSE_GIF" = "yes" ; then
46755 cat >>confdefs.h
<<\_ACEOF
46756 #define wxUSE_GIF 1
46761 if test "$wxUSE_PCX" = "yes" ; then
46762 cat >>confdefs.h
<<\_ACEOF
46763 #define wxUSE_PCX 1
46768 if test "$wxUSE_TGA" = "yes" ; then
46769 cat >>confdefs.h
<<\_ACEOF
46770 #define wxUSE_TGA 1
46775 if test "$wxUSE_IFF" = "yes" ; then
46776 cat >>confdefs.h
<<\_ACEOF
46777 #define wxUSE_IFF 1
46782 if test "$wxUSE_PNM" = "yes" ; then
46783 cat >>confdefs.h
<<\_ACEOF
46784 #define wxUSE_PNM 1
46789 if test "$wxUSE_XPM" = "yes" ; then
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_XPM 1
46796 if test "$wxUSE_ICO_CUR" = "yes" ; then
46797 cat >>confdefs.h
<<\_ACEOF
46798 #define wxUSE_ICO_CUR 1
46805 if test "$wxUSE_ABOUTDLG" = "yes"; then
46806 cat >>confdefs.h
<<\_ACEOF
46807 #define wxUSE_ABOUTDLG 1
46812 if test "$wxUSE_CHOICEDLG" = "yes"; then
46813 cat >>confdefs.h
<<\_ACEOF
46814 #define wxUSE_CHOICEDLG 1
46819 if test "$wxUSE_COLOURDLG" = "yes"; then
46820 cat >>confdefs.h
<<\_ACEOF
46821 #define wxUSE_COLOURDLG 1
46826 if test "$wxUSE_FILEDLG" = "yes"; then
46827 cat >>confdefs.h
<<\_ACEOF
46828 #define wxUSE_FILEDLG 1
46833 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46834 cat >>confdefs.h
<<\_ACEOF
46835 #define wxUSE_FINDREPLDLG 1
46840 if test "$wxUSE_FONTDLG" = "yes"; then
46841 cat >>confdefs.h
<<\_ACEOF
46842 #define wxUSE_FONTDLG 1
46847 if test "$wxUSE_DIRDLG" = "yes"; then
46848 if test "$wxUSE_TREECTRL" != "yes"; then
46849 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46850 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46852 cat >>confdefs.h
<<\_ACEOF
46853 #define wxUSE_DIRDLG 1
46859 if test "$wxUSE_MSGDLG" = "yes"; then
46860 cat >>confdefs.h
<<\_ACEOF
46861 #define wxUSE_MSGDLG 1
46866 if test "$wxUSE_NUMBERDLG" = "yes"; then
46867 cat >>confdefs.h
<<\_ACEOF
46868 #define wxUSE_NUMBERDLG 1
46873 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46874 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46875 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46876 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46878 cat >>confdefs.h
<<\_ACEOF
46879 #define wxUSE_PROGRESSDLG 1
46885 if test "$wxUSE_SPLASH" = "yes"; then
46886 cat >>confdefs.h
<<\_ACEOF
46887 #define wxUSE_SPLASH 1
46890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46893 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46894 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46895 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46896 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46898 cat >>confdefs.h
<<\_ACEOF
46899 #define wxUSE_STARTUP_TIPS 1
46905 if test "$wxUSE_TEXTDLG" = "yes"; then
46906 cat >>confdefs.h
<<\_ACEOF
46907 #define wxUSE_TEXTDLG 1
46912 if test "$wxUSE_WIZARDDLG" = "yes"; then
46913 cat >>confdefs.h
<<\_ACEOF
46914 #define wxUSE_WIZARDDLG 1
46917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46921 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46922 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46923 cat >>confdefs.h
<<\_ACEOF
46924 #define wxUSE_GRAPHICS_CONTEXT 1
46927 elif test "$wxUSE_GTK" != 1; then
46928 cat >>confdefs.h
<<\_ACEOF
46929 #define wxUSE_GRAPHICS_CONTEXT 1
46935 echo "$as_me:$LINENO: checking for CAIRO" >&5
46936 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46938 if test -n "$PKG_CONFIG"; then
46939 if test -n "$CAIRO_CFLAGS"; then
46940 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46942 if test -n "$PKG_CONFIG" && \
46943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46944 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; then
46948 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$CAIRO_LIBS"; then
46958 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46977 if test $pkg_failed = yes; then
46979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46980 _pkg_short_errors_supported
=yes
46982 _pkg_short_errors_supported
=no
46984 if test $_pkg_short_errors_supported = yes; then
46985 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46987 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46989 # Put the nasty error message in config.log where it belongs
46990 echo "$CAIRO_PKG_ERRORS" >&5
46992 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46993 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46995 elif test $pkg_failed = untried
; then
46996 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46997 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47000 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47001 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47002 echo "$as_me:$LINENO: result: yes" >&5
47003 echo "${ECHO_T}yes" >&6
47004 cat >>confdefs.h
<<\_ACEOF
47005 #define wxUSE_GRAPHICS_CONTEXT 1
47015 if test "$wxUSE_MEDIACTRL" = "yes"; then
47018 if test "$wxUSE_GTK" = 1; then
47019 wxUSE_GSTREAMER
="no"
47021 GST_VERSION_MAJOR
=0
47022 GST_VERSION_MINOR
=10
47023 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47025 if test "$wxUSE_GSTREAMER8" = "no"; then
47028 echo "$as_me:$LINENO: checking for GST" >&5
47029 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47031 if test -n "$PKG_CONFIG"; then
47032 if test -n "$GST_CFLAGS"; then
47033 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47035 if test -n "$PKG_CONFIG" && \
47036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47037 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); }; then
47041 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47049 if test -n "$PKG_CONFIG"; then
47050 if test -n "$GST_LIBS"; then
47051 pkg_cv_GST_LIBS
="$GST_LIBS"
47053 if test -n "$PKG_CONFIG" && \
47054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47055 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47058 (exit $ac_status); }; then
47059 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47070 if test $pkg_failed = yes; then
47072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47073 _pkg_short_errors_supported
=yes
47075 _pkg_short_errors_supported
=no
47077 if test $_pkg_short_errors_supported = yes; then
47078 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47080 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47082 # Put the nasty error message in config.log where it belongs
47083 echo "$GST_PKG_ERRORS" >&5
47086 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47087 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47088 GST_VERSION_MINOR
=8
47091 elif test $pkg_failed = untried
; then
47093 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47094 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47095 GST_VERSION_MINOR
=8
47099 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47100 GST_LIBS
=$pkg_cv_GST_LIBS
47101 echo "$as_me:$LINENO: result: yes" >&5
47102 echo "${ECHO_T}yes" >&6
47104 wxUSE_GSTREAMER
="yes"
47105 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47109 GST_VERSION_MINOR
=8
47112 if test $GST_VERSION_MINOR = "8"; then
47113 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47116 echo "$as_me:$LINENO: checking for GST" >&5
47117 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47119 if test -n "$PKG_CONFIG"; then
47120 if test -n "$GST_CFLAGS"; then
47121 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47123 if test -n "$PKG_CONFIG" && \
47124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47125 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47128 (exit $ac_status); }; then
47129 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47137 if test -n "$PKG_CONFIG"; then
47138 if test -n "$GST_LIBS"; then
47139 pkg_cv_GST_LIBS
="$GST_LIBS"
47141 if test -n "$PKG_CONFIG" && \
47142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47143 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); }; then
47147 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47158 if test $pkg_failed = yes; then
47160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47161 _pkg_short_errors_supported
=yes
47163 _pkg_short_errors_supported
=no
47165 if test $_pkg_short_errors_supported = yes; then
47166 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47168 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47170 # Put the nasty error message in config.log where it belongs
47171 echo "$GST_PKG_ERRORS" >&5
47174 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47175 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47177 elif test $pkg_failed = untried
; then
47179 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47180 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47183 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47184 GST_LIBS
=$pkg_cv_GST_LIBS
47185 echo "$as_me:$LINENO: result: yes" >&5
47186 echo "${ECHO_T}yes" >&6
47187 wxUSE_GSTREAMER
="yes"
47192 if test "$wxUSE_GSTREAMER" = "yes"; then
47195 if "$GCC" = yes; then
47196 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47197 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47201 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47202 LIBS
="$GST_LIBS $LIBS"
47204 cat >>confdefs.h
<<\_ACEOF
47205 #define wxUSE_GSTREAMER 1
47213 if test $USE_MEDIA = 1; then
47214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47215 cat >>confdefs.h
<<\_ACEOF
47216 #define wxUSE_MEDIACTRL 1
47223 if test "$cross_compiling" = "yes"; then
47226 OSINFO
=`uname -s -r -m`
47227 OSINFO
="\"$OSINFO\""
47230 cat >>confdefs.h
<<_ACEOF
47231 #define WXWIN_OS_DESCRIPTION $OSINFO
47236 if test "x$prefix" != "xNONE"; then
47239 wxPREFIX
=$ac_default_prefix
47242 cat >>confdefs.h
<<_ACEOF
47243 #define wxINSTALL_PREFIX "$wxPREFIX"
47249 CORE_BASE_LIBS
="net base"
47250 CORE_GUI_LIBS
="adv core"
47252 if test "$wxUSE_XML" = "yes" ; then
47253 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47255 if test "$wxUSE_ODBC" != "no" ; then
47256 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47257 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47259 if test "$wxUSE_HTML" = "yes" ; then
47260 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47262 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47263 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47265 if test "$wxUSE_XRC" = "yes" ; then
47266 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47268 if test "$wxUSE_AUI" = "yes" ; then
47269 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47272 if test "$wxUSE_GUI" != "yes"; then
47281 ac_cpp
='$CPP $CPPFLAGS'
47282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47288 if test "$wxUSE_MAC" = 1 ; then
47289 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47290 if test "$USE_DARWIN" = 1; then
47291 LDFLAGS
="$LDFLAGS -framework QuickTime"
47293 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47296 if test "$USE_DARWIN" = 1; then
47297 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47299 LDFLAGS
="$LDFLAGS -lCarbonLib"
47302 if test "$wxUSE_COCOA" = 1 ; then
47303 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47304 if test "$wxUSE_MEDIACTRL" = "yes"; then
47305 LDFLAGS
="$LDFLAGS -framework QuickTime"
47308 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47309 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47312 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47314 if test "$wxUSE_GUI" = "yes"; then
47317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47318 dynamic erase event exec font image minimal mobile \
47319 mobile/wxedit mobile/styles propsize render \
47320 rotate shaped vscroll widgets"
47322 if test "$wxUSE_MONOLITHIC" != "yes"; then
47323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47325 if test "$TOOLKIT" = "MSW"; then
47326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47327 if test "$wxUSE_UNIVERSAL" != "yes"; then
47328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47331 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47335 SAMPLES_SUBDIRS
="console"
47339 if test "x$INTELCC" = "xyes" ; then
47340 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47341 elif test "$GCC" = yes ; then
47342 CWARNINGS
="-Wall -Wundef"
47345 if test "x$INTELCXX" = "xyes" ; then
47346 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47347 elif test "$GXX" = yes ; then
47348 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47352 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47353 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47356 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47357 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47358 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47361 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47362 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47363 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47365 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47368 if test "x$MWCC" = "xyes"; then
47370 CC
="$CC -cwd source -I-"
47371 CXX
="$CXX -cwd source -I-"
47376 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47377 EXTRALIBS_XML
="$EXPAT_LINK"
47378 EXTRALIBS_HTML
="$MSPACK_LINK"
47379 EXTRALIBS_ODBC
="$ODBC_LINK"
47380 if test "$wxUSE_GUI" = "yes"; then
47381 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47383 if test "$wxUSE_OPENGL" = "yes"; then
47384 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47387 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47389 WXCONFIG_LIBS
="$LIBS"
47391 if test "$wxUSE_REGEX" = "builtin" ; then
47392 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47394 if test "$wxUSE_EXPAT" = "builtin" ; then
47395 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47397 if test "$wxUSE_ODBC" = "builtin" ; then
47398 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47400 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47401 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47403 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47404 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47406 if test "$wxUSE_LIBPNG" = "builtin" ; then
47407 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47409 if test "$wxUSE_ZLIB" = "builtin" ; then
47410 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47413 for i
in $wxconfig_3rdparty ; do
47414 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47418 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47421 case "$wxUNIV_THEMES" in
47423 cat >>confdefs.h
<<\_ACEOF
47424 #define wxUSE_ALL_THEMES 1
47430 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47431 cat >>confdefs.h
<<_ACEOF
47432 #define wxUSE_THEME_$t 1
47449 if test $wxUSE_MONOLITHIC = "yes" ; then
47455 if test $wxUSE_PLUGINS = "yes" ; then
47461 if test $wxUSE_ODBC != "no" ; then
47467 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47473 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47503 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47514 TOOLKIT_DESC
="GTK+"
47515 if test "$WXGTK20" = 1; then
47516 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47517 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47518 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47520 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47521 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47523 if test "$wxUSE_LIBHILDON" = "yes"; then
47524 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47527 if test "$TOOLKIT_EXTRA" != ""; then
47528 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47534 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47538 TOOLKIT_DESC
="base only"
47542 if test "$wxUSE_WINE" = "yes"; then
47543 BAKEFILE_FORCE_PLATFORM
=win32
47546 if test "$wxUSE_MAC" = 1 ; then
47547 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47548 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47549 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47551 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47553 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47554 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47555 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47556 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47559 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47560 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47563 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47565 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47566 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47567 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47568 echo $ECHO_N "(cached) $ECHO_C" >&6
47571 echo '#include <stdio.h>
47572 const wchar_t test_var[] = L"awidetest";' > conftest.h
47574 echo '#include "conftest.h"
47577 printf("%ls", test_var);
47581 wx_cv_gcc_pch_bug
="pch not supported"
47583 if $CXX conftest.h
>/dev
/null
2>&1
47587 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47589 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47590 grep awidetest
>/dev
/null
47592 wx_cv_gcc_pch_bug
=no
47594 wx_cv_gcc_pch_bug
=yes
47599 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47602 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47603 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47605 if test "$wx_cv_gcc_pch_bug" = yes; then
47613 if test "x$BAKEFILE_HOST" = "x"; then
47614 if test "x${host}" = "x" ; then
47615 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47616 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47617 { (exit 1); exit 1; }; }
47620 BAKEFILE_HOST
="${host}"
47623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47625 if test -n "$ac_tool_prefix"; then
47626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47627 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47628 echo "$as_me:$LINENO: checking for $ac_word" >&5
47629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47630 if test "${ac_cv_prog_RANLIB+set}" = set; then
47631 echo $ECHO_N "(cached) $ECHO_C" >&6
47633 if test -n "$RANLIB"; then
47634 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47637 for as_dir
in $PATH
47640 test -z "$as_dir" && as_dir
=.
47641 for ac_exec_ext
in '' $ac_executable_extensions; do
47642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47643 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47652 RANLIB
=$ac_cv_prog_RANLIB
47653 if test -n "$RANLIB"; then
47654 echo "$as_me:$LINENO: result: $RANLIB" >&5
47655 echo "${ECHO_T}$RANLIB" >&6
47657 echo "$as_me:$LINENO: result: no" >&5
47658 echo "${ECHO_T}no" >&6
47662 if test -z "$ac_cv_prog_RANLIB"; then
47663 ac_ct_RANLIB
=$RANLIB
47664 # Extract the first word of "ranlib", so it can be a program name with args.
47665 set dummy ranlib
; ac_word
=$2
47666 echo "$as_me:$LINENO: checking for $ac_word" >&5
47667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47669 echo $ECHO_N "(cached) $ECHO_C" >&6
47671 if test -n "$ac_ct_RANLIB"; then
47672 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47675 for as_dir
in $PATH
47678 test -z "$as_dir" && as_dir
=.
47679 for ac_exec_ext
in '' $ac_executable_extensions; do
47680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47681 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47688 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47691 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47692 if test -n "$ac_ct_RANLIB"; then
47693 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47694 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47696 echo "$as_me:$LINENO: result: no" >&5
47697 echo "${ECHO_T}no" >&6
47700 RANLIB
=$ac_ct_RANLIB
47702 RANLIB
="$ac_cv_prog_RANLIB"
47705 # Find a good install program. We prefer a C program (faster),
47706 # so one script is as good as another. But avoid the broken or
47707 # incompatible versions:
47708 # SysV /etc/install, /usr/sbin/install
47709 # SunOS /usr/etc/install
47710 # IRIX /sbin/install
47712 # AmigaOS /C/install, which installs bootblocks on floppy discs
47713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47716 # OS/2's system install, which has a completely different semantic
47717 # ./install, which can be erroneously created by make from ./install.sh.
47718 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47719 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47720 if test -z "$INSTALL"; then
47721 if test "${ac_cv_path_install+set}" = set; then
47722 echo $ECHO_N "(cached) $ECHO_C" >&6
47724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47725 for as_dir
in $PATH
47728 test -z "$as_dir" && as_dir
=.
47729 # Account for people who put trailing slashes in PATH elements.
47731 .
/ | .
// | /cC
/* | \
47732 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47733 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47736 # OSF1 and SCO ODT 3.0 have their own names for install.
47737 # Don't use installbsd from OSF since it installs stuff as root
47739 for ac_prog
in ginstall scoinst
install; do
47740 for ac_exec_ext
in '' $ac_executable_extensions; do
47741 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47742 if test $ac_prog = install &&
47743 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47744 # AIX install. It has an incompatible calling convention.
47746 elif test $ac_prog = install &&
47747 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47748 # program-specific install script used by HP pwplus--don't use.
47751 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47763 if test "${ac_cv_path_install+set}" = set; then
47764 INSTALL
=$ac_cv_path_install
47766 # As a last resort, use the slow shell script. We don't cache a
47767 # path for INSTALL within a source directory, because that will
47768 # break other packages using the cache if that directory is
47769 # removed, or if the path is relative.
47770 INSTALL
=$ac_install_sh
47773 echo "$as_me:$LINENO: result: $INSTALL" >&5
47774 echo "${ECHO_T}$INSTALL" >&6
47776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47777 # It thinks the first close brace ends the variable substitution.
47778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47782 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47784 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47787 if test "$LN_S" = "ln -s"; then
47788 echo "$as_me:$LINENO: result: yes" >&5
47789 echo "${ECHO_T}yes" >&6
47791 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47792 echo "${ECHO_T}no, using $LN_S" >&6
47796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47798 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47800 echo $ECHO_N "(cached) $ECHO_C" >&6
47802 cat >conftest.
make <<\_ACEOF
47804 @
echo 'ac_maketemp="$(MAKE)"'
47806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47808 if test -n "$ac_maketemp"; then
47809 eval ac_cv_prog_make_
${ac_make}_set
=yes
47811 eval ac_cv_prog_make_
${ac_make}_set
=no
47813 rm -f conftest.
make
47815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47816 echo "$as_me:$LINENO: result: yes" >&5
47817 echo "${ECHO_T}yes" >&6
47820 echo "$as_me:$LINENO: result: no" >&5
47821 echo "${ECHO_T}no" >&6
47822 SET_MAKE
="MAKE=${MAKE-make}"
47827 if test -n "$ac_tool_prefix"; then
47828 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47829 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47830 echo "$as_me:$LINENO: checking for $ac_word" >&5
47831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47832 if test "${ac_cv_prog_AR+set}" = set; then
47833 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 if test -n "$AR"; then
47836 ac_cv_prog_AR
="$AR" # Let the user override the test.
47838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47839 for as_dir
in $PATH
47842 test -z "$as_dir" && as_dir
=.
47843 for ac_exec_ext
in '' $ac_executable_extensions; do
47844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47845 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47855 if test -n "$AR"; then
47856 echo "$as_me:$LINENO: result: $AR" >&5
47857 echo "${ECHO_T}$AR" >&6
47859 echo "$as_me:$LINENO: result: no" >&5
47860 echo "${ECHO_T}no" >&6
47864 if test -z "$ac_cv_prog_AR"; then
47866 # Extract the first word of "ar", so it can be a program name with args.
47867 set dummy
ar; ac_word
=$2
47868 echo "$as_me:$LINENO: checking for $ac_word" >&5
47869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47870 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47871 echo $ECHO_N "(cached) $ECHO_C" >&6
47873 if test -n "$ac_ct_AR"; then
47874 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47877 for as_dir
in $PATH
47880 test -z "$as_dir" && as_dir
=.
47881 for ac_exec_ext
in '' $ac_executable_extensions; do
47882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47883 ac_cv_prog_ac_ct_AR
="ar"
47884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47890 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47893 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47894 if test -n "$ac_ct_AR"; then
47895 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47896 echo "${ECHO_T}$ac_ct_AR" >&6
47898 echo "$as_me:$LINENO: result: no" >&5
47899 echo "${ECHO_T}no" >&6
47904 AR
="$ac_cv_prog_AR"
47907 if test -n "$ac_tool_prefix"; then
47908 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47909 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47910 echo "$as_me:$LINENO: checking for $ac_word" >&5
47911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47912 if test "${ac_cv_prog_STRIP+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47915 if test -n "$STRIP"; then
47916 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47919 for as_dir
in $PATH
47922 test -z "$as_dir" && as_dir
=.
47923 for ac_exec_ext
in '' $ac_executable_extensions; do
47924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47925 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47934 STRIP
=$ac_cv_prog_STRIP
47935 if test -n "$STRIP"; then
47936 echo "$as_me:$LINENO: result: $STRIP" >&5
47937 echo "${ECHO_T}$STRIP" >&6
47939 echo "$as_me:$LINENO: result: no" >&5
47940 echo "${ECHO_T}no" >&6
47944 if test -z "$ac_cv_prog_STRIP"; then
47946 # Extract the first word of "strip", so it can be a program name with args.
47947 set dummy strip
; ac_word
=$2
47948 echo "$as_me:$LINENO: checking for $ac_word" >&5
47949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47950 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47951 echo $ECHO_N "(cached) $ECHO_C" >&6
47953 if test -n "$ac_ct_STRIP"; then
47954 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47957 for as_dir
in $PATH
47960 test -z "$as_dir" && as_dir
=.
47961 for ac_exec_ext
in '' $ac_executable_extensions; do
47962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47963 ac_cv_prog_ac_ct_STRIP
="strip"
47964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47970 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47973 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47974 if test -n "$ac_ct_STRIP"; then
47975 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47976 echo "${ECHO_T}$ac_ct_STRIP" >&6
47978 echo "$as_me:$LINENO: result: no" >&5
47979 echo "${ECHO_T}no" >&6
47984 STRIP
="$ac_cv_prog_STRIP"
47987 if test -n "$ac_tool_prefix"; then
47988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47989 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47990 echo "$as_me:$LINENO: checking for $ac_word" >&5
47991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47992 if test "${ac_cv_prog_NM+set}" = set; then
47993 echo $ECHO_N "(cached) $ECHO_C" >&6
47995 if test -n "$NM"; then
47996 ac_cv_prog_NM
="$NM" # Let the user override the test.
47998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47999 for as_dir
in $PATH
48002 test -z "$as_dir" && as_dir
=.
48003 for ac_exec_ext
in '' $ac_executable_extensions; do
48004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48005 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48015 if test -n "$NM"; then
48016 echo "$as_me:$LINENO: result: $NM" >&5
48017 echo "${ECHO_T}$NM" >&6
48019 echo "$as_me:$LINENO: result: no" >&5
48020 echo "${ECHO_T}no" >&6
48024 if test -z "$ac_cv_prog_NM"; then
48026 # Extract the first word of "nm", so it can be a program name with args.
48027 set dummy nm
; ac_word
=$2
48028 echo "$as_me:$LINENO: checking for $ac_word" >&5
48029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48030 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48031 echo $ECHO_N "(cached) $ECHO_C" >&6
48033 if test -n "$ac_ct_NM"; then
48034 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48037 for as_dir
in $PATH
48040 test -z "$as_dir" && as_dir
=.
48041 for ac_exec_ext
in '' $ac_executable_extensions; do
48042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48043 ac_cv_prog_ac_ct_NM
="nm"
48044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48050 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48053 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48054 if test -n "$ac_ct_NM"; then
48055 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48056 echo "${ECHO_T}$ac_ct_NM" >&6
48058 echo "$as_me:$LINENO: result: no" >&5
48059 echo "${ECHO_T}no" >&6
48064 NM
="$ac_cv_prog_NM"
48068 case ${BAKEFILE_HOST} in
48070 INSTALL_DIR
="mkdir -p"
48072 *) INSTALL_DIR
="$INSTALL -d"
48078 case ${BAKEFILE_HOST} in
48079 *-*-cygwin* | *-*-mingw32* )
48080 LDFLAGS_GUI
="-mwindows"
48086 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48087 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48088 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48089 echo $ECHO_N "(cached) $ECHO_C" >&6
48092 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48093 egrep -s GNU
> /dev
/null
); then
48094 bakefile_cv_prog_makeisgnu
="yes"
48096 bakefile_cv_prog_makeisgnu
="no"
48100 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48101 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48103 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48120 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48121 case "${BAKEFILE_HOST}" in
48128 *-pc-os2_emx | *-pc-os2-emx )
48138 powerpc
-apple-macos* )
48147 case "$BAKEFILE_FORCE_PLATFORM" in
48168 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48169 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48170 { (exit 1); exit 1; }; }
48185 # Check whether --enable-omf or --disable-omf was given.
48186 if test "${enable_omf+set}" = set; then
48187 enableval
="$enable_omf"
48188 bk_os2_use_omf
="$enableval"
48191 case "${BAKEFILE_HOST}" in
48193 if test "x$GCC" = "xyes"; then
48194 CFLAGS
="$CFLAGS -fno-common"
48195 CXXFLAGS
="$CXXFLAGS -fno-common"
48197 if test "x$XLCC" = "xyes"; then
48198 CFLAGS
="$CFLAGS -qnocommon"
48199 CXXFLAGS
="$CXXFLAGS -qnocommon"
48203 *-pc-os2_emx | *-pc-os2-emx )
48204 if test "x$bk_os2_use_omf" = "xyes" ; then
48207 LDFLAGS
="-Zomf $LDFLAGS"
48208 CFLAGS
="-Zomf $CFLAGS"
48209 CXXFLAGS
="-Zomf $CXXFLAGS"
48217 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48223 SO_SUFFIX_MODULE
="so"
48228 DLLPREFIX_MODULE
=""
48232 case "${BAKEFILE_HOST}" in
48235 SO_SUFFIX_MODULE
="sl"
48239 SO_SUFFIX_MODULE
="a"
48243 SO_SUFFIX_MODULE
="dll"
48244 DLLIMP_SUFFIX
="dll.a"
48251 SO_SUFFIX_MODULE
="dll"
48252 DLLIMP_SUFFIX
="dll.a"
48262 *-pc-os2_emx | *-pc-os2-emx )
48264 SO_SUFFIX_MODULE
="dll"
48265 DLLIMP_SUFFIX
=$OS2_LIBEXT
48269 LIBEXT
=".$OS2_LIBEXT"
48274 SO_SUFFIX_MODULE
="bundle"
48278 if test "x$DLLIMP_SUFFIX" = "x" ; then
48279 DLLIMP_SUFFIX
="$SO_SUFFIX"
48294 if test "x$GCC" = "xyes"; then
48298 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48299 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48302 case "${BAKEFILE_HOST}" in
48304 if test "x$GCC" != "xyes"; then
48305 LDFLAGS
="$LDFLAGS -L/usr/lib"
48307 SHARED_LD_CC
="${CC} -b -o"
48308 SHARED_LD_CXX
="${CXX} -b -o"
48314 if test "x$GCC" != "xyes"; then
48315 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48316 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48317 if test "${bakefile_cv_prog_icc+set}" = set; then
48318 echo $ECHO_N "(cached) $ECHO_C" >&6
48321 cat >conftest.
$ac_ext <<_ACEOF
48324 cat confdefs.h
>>conftest.
$ac_ext
48325 cat >>conftest.
$ac_ext <<_ACEOF
48326 /* end confdefs.h. */
48332 #ifndef __INTEL_COMPILER
48340 rm -f conftest.
$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48344 grep -v '^ *+' conftest.er1
>conftest.err
48346 cat conftest.err
>&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48351 (eval $ac_try) 2>&5
48353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48354 (exit $ac_status); }; } &&
48355 { ac_try
='test -s conftest.$ac_objext'
48356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48357 (eval $ac_try) 2>&5
48359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48360 (exit $ac_status); }; }; then
48361 bakefile_cv_prog_icc
=yes
48363 echo "$as_me: failed program was:" >&5
48364 sed 's/^/| /' conftest.
$ac_ext >&5
48366 bakefile_cv_prog_icc
=no
48369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48372 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48373 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48374 if test "$bakefile_cv_prog_icc" = "yes"; then
48381 if test "x$GCC" != xyes
; then
48382 SHARED_LD_CC
="${CC} -G -o"
48383 SHARED_LD_CXX
="${CXX} -G -o"
48391 cat <<EOF >shared-ld-sh
48393 #-----------------------------------------------------------------------------
48394 #-- Name: distrib/mac/shared-ld-sh
48395 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48396 #-- Author: Gilles Depeyrot
48397 #-- Copyright: (c) 2002 Gilles Depeyrot
48398 #-- Licence: any use permitted
48399 #-----------------------------------------------------------------------------
48404 linking_flag="-dynamiclib"
48405 ldargs="-r -keep_private_externs -nostdlib"
48407 while test ${D}# -gt 0; do
48414 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48415 # collect these options and values
48416 args="${D}{args} ${D}1 ${D}2"
48421 # collect these load args
48422 ldargs="${D}{ldargs} ${D}1"
48425 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48426 # collect these options
48427 args="${D}{args} ${D}1"
48430 -dynamiclib|-bundle)
48431 linking_flag="${D}1"
48435 echo "shared-ld: unhandled option '${D}1'"
48439 *.o | *.a | *.dylib)
48440 # collect object files
48441 objects="${D}{objects} ${D}1"
48445 echo "shared-ld: unhandled argument '${D}1'"
48456 # Link one module containing all the others
48458 if test ${D}{verbose} = 1; then
48459 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48461 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48465 # Link the shared library from the single module created, but only if the
48466 # previous command didn't fail:
48468 if test ${D}{status} = 0; then
48469 if test ${D}{verbose} = 1; then
48470 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48472 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48477 # Remove intermediate module
48479 rm -f master.${D}${D}.o
48484 chmod +x shared
-ld-sh
48486 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48487 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48490 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48491 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48492 if test "${bakefile_cv_gcc31+set}" = set; then
48493 echo $ECHO_N "(cached) $ECHO_C" >&6
48496 cat >conftest.
$ac_ext <<_ACEOF
48499 cat confdefs.h
>>conftest.
$ac_ext
48500 cat >>conftest.
$ac_ext <<_ACEOF
48501 /* end confdefs.h. */
48507 #if (__GNUC__ < 3) || \
48508 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48516 rm -f conftest.
$ac_objext
48517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48518 (eval $ac_compile) 2>conftest.er1
48520 grep -v '^ *+' conftest.er1
>conftest.err
48522 cat conftest.err
>&5
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); } &&
48525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; } &&
48531 { ac_try
='test -s conftest.$ac_objext'
48532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48533 (eval $ac_try) 2>&5
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; }; then
48538 bakefile_cv_gcc31
=yes
48541 echo "$as_me: failed program was:" >&5
48542 sed 's/^/| /' conftest.
$ac_ext >&5
48545 bakefile_cv_gcc31
=no
48549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48552 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48553 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48554 if test "$bakefile_cv_gcc31" = "no"; then
48555 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48556 SHARED_LD_CXX
="$SHARED_LD_CC"
48558 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48559 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48562 if test "x$GCC" == "xyes"; then
48563 PIC_FLAG
="-dynamic -fPIC"
48565 if test "x$XLCC" = "xyes"; then
48566 PIC_FLAG
="-dynamic -DPIC"
48571 if test "x$GCC" = "xyes"; then
48574 case "${BAKEFILE_HOST}" in
48576 LD_EXPFULL
="-Wl,-bexpfull"
48580 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48581 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48584 set dummy makeC
++SharedLib
; ac_word
=$2
48585 echo "$as_me:$LINENO: checking for $ac_word" >&5
48586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48588 echo $ECHO_N "(cached) $ECHO_C" >&6
48590 if test -n "$AIX_CXX_LD"; then
48591 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48594 for as_dir
in $PATH
48597 test -z "$as_dir" && as_dir
=.
48598 for ac_exec_ext
in '' $ac_executable_extensions; do
48599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48600 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48607 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48610 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48611 if test -n "$AIX_CXX_LD"; then
48612 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48613 echo "${ECHO_T}$AIX_CXX_LD" >&6
48615 echo "$as_me:$LINENO: result: no" >&5
48616 echo "${ECHO_T}no" >&6
48619 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48620 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48625 SHARED_LD_CC
="${LD} -nostart -o"
48626 SHARED_LD_CXX
="${LD} -nostart -o"
48630 if test "x$GCC" != "xyes"; then
48635 *-*-cygwin* | *-*-mingw32* )
48637 SHARED_LD_CC
="\$(CC) -shared -o"
48638 SHARED_LD_CXX
="\$(CXX) -shared -o"
48642 *-pc-os2_emx | *-pc-os2-emx )
48643 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48644 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48648 cat <<EOF >dllar.sh
48651 # dllar - a tool to build both a .dll and an .a file
48652 # from a set of object (.o) files for EMX/OS2.
48654 # Written by Andrew Zabolotny, bit@freya.etu.ru
48655 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48657 # This script will accept a set of files on the command line.
48658 # All the public symbols from the .o files will be exported into
48659 # a .DEF file, then linker will be run (through gcc) against them to
48660 # build a shared library consisting of all given .o files. All libraries
48661 # (.a) will be first decompressed into component .o files then act as
48662 # described above. You can optionally give a description (-d "description")
48663 # which will be put into .DLL. To see the list of accepted options (as well
48664 # as command-line format) simply run this program without options. The .DLL
48665 # is built to be imported by name (there is no guarantee that new versions
48666 # of the library you build will have same ordinals for same symbols).
48668 # dllar is free software; you can redistribute it and/or modify
48669 # it under the terms of the GNU General Public License as published by
48670 # the Free Software Foundation; either version 2, or (at your option)
48671 # any later version.
48673 # dllar is distributed in the hope that it will be useful,
48674 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48675 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48676 # GNU General Public License for more details.
48678 # You should have received a copy of the GNU General Public License
48679 # along with dllar; see the file COPYING. If not, write to the Free
48680 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48683 # To successfuly run this program you will need:
48684 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48685 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48687 # (used to build the .dll)
48689 # (used to create .def file from .o files)
48691 # (used to create .a file from .def file)
48692 # - GNU text utilites (cat, sort, uniq)
48693 # used to process emxexp output
48694 # - GNU file utilities (mv, rm)
48696 # - lxlite (optional, see flag below)
48697 # (used for general .dll cleanup)
48704 # basnam, variant of basename, which does _not_ remove the path, _iff_
48705 # second argument (suffix to remove) is given
48709 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48712 echo ${D}1 | sed 's/'${D}2'${D}//'
48715 echo "error in basnam ${D}*"
48721 # Cleanup temporary files and output
48724 for i in ${D}inputFiles ; do
48727 rm -rf \`basnam ${D}i !\`
48734 # Kill result in case of failure as there is just to many stupid make/nmake
48735 # things out there which doesn't do this.
48736 if [ ${D}# -eq 0 ]; then
48737 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48741 # Print usage and exit script with rc=1.
48743 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48744 echo ' [-name-mangler-script script.sh]'
48745 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48746 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48747 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48748 echo ' [*.o] [*.a]'
48749 echo '*> "output_file" should have no extension.'
48750 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48751 echo ' The import library name is derived from this and is set to "name".a,'
48752 echo ' unless overridden by -import'
48753 echo '*> "importlib_name" should have no extension.'
48754 echo ' If it has the .o, or .a extension, it is automatically removed.'
48755 echo ' This name is used as the import library name and may be longer and'
48756 echo ' more descriptive than the DLL name which has to follow the old '
48757 echo ' 8.3 convention of FAT.'
48758 echo '*> "script.sh may be given to override the output_file name by a'
48759 echo ' different name. It is mainly useful if the regular make process'
48760 echo ' of some package does not take into account OS/2 restriction of'
48761 echo ' DLL name lengths. It takes the importlib name as input and is'
48762 echo ' supposed to procude a shorter name as output. The script should'
48763 echo ' expect to get importlib_name without extension and should produce'
48764 echo ' a (max.) 8 letter name without extension.'
48765 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48766 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48767 echo ' These flags will be put at the start of GCC command line.'
48768 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48769 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48770 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48771 echo ' If the last character of a symbol is "*", all symbols beginning'
48772 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48773 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48774 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48775 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48776 echo ' C runtime DLLs.'
48777 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48778 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48779 echo ' unchanged to GCC at the end of command line.'
48780 echo '*> If you create a DLL from a library and you do not specify -o,'
48781 echo ' the basename for DLL and import library will be set to library name,'
48782 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48783 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48784 echo ' library will be renamed into gcc_s.a.'
48787 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48788 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48793 # Execute a command.
48794 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48795 # @Uses Whatever CleanUp() uses.
48801 if [ ${D}rcCmd -ne 0 ]; then
48802 echo "command failed, exit code="${D}rcCmd
48817 CFLAGS="-s -Zcrtdll"
48819 EXPORT_BY_ORDINALS=0
48824 case ${D}curDirS in
48828 curDirS=${D}{curDirS}"/"
48831 # Parse commandline
48834 while [ ${D}1 ]; do
48837 EXPORT_BY_ORDINALS=1;
48847 -name-mangler-script)
48868 exclude_symbols=${D}{exclude_symbols}${D}1" "
48872 library_flags=${D}{library_flags}${D}1" "
48891 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48894 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48895 if [ ${D}omfLinking -eq 1 ]; then
48896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48903 if [ ${D}libsToLink -ne 0 ]; then
48904 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48906 for file in ${D}1 ; do
48907 if [ -f ${D}file ]; then
48908 inputFiles="${D}{inputFiles} ${D}file"
48912 if [ ${D}found -eq 0 ]; then
48913 echo "ERROR: No file(s) found: "${D}1
48920 done # iterate cmdline words
48923 if [ -z "${D}inputFiles" ]; then
48924 echo "dllar: no input files"
48928 # Now extract all .o files from .a files
48930 for file in ${D}inputFiles ; do
48941 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48946 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48948 if [ ${D}? -ne 0 ]; then
48949 echo "Failed to create subdirectory ./${D}dirname"
48953 # Append '!' to indicate archive
48954 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48955 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48958 for subfile in ${D}dirname/*.o* ; do
48959 if [ -f ${D}subfile ]; then
48961 if [ -s ${D}subfile ]; then
48962 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48963 newInputFiles="${D}newInputFiles ${D}subfile"
48967 if [ ${D}found -eq 0 ]; then
48968 echo "WARNING: there are no files in archive \\'${D}file\\'"
48972 newInputFiles="${D}{newInputFiles} ${D}file"
48976 inputFiles="${D}newInputFiles"
48978 # Output filename(s).
48980 if [ -z ${D}outFile ]; then
48982 set outFile ${D}inputFiles; outFile=${D}2
48985 # If it is an archive, remove the '!' and the '_%' suffixes
48986 case ${D}outFile in
48988 outFile=\`basnam ${D}outFile _%!\`
48993 case ${D}outFile in
48995 outFile=\`basnam ${D}outFile .dll\`
48998 outFile=\`basnam ${D}outFile .DLL\`
49001 outFile=\`basnam ${D}outFile .o\`
49004 outFile=\`basnam ${D}outFile .obj\`
49007 outFile=\`basnam ${D}outFile .a\`
49010 outFile=\`basnam ${D}outFile .lib\`
49015 case ${D}outimpFile in
49017 outimpFile=\`basnam ${D}outimpFile .a\`
49020 outimpFile=\`basnam ${D}outimpFile .lib\`
49025 if [ -z ${D}outimpFile ]; then
49026 outimpFile=${D}outFile
49028 defFile="${D}{outFile}.def"
49029 arcFile="${D}{outimpFile}.a"
49030 arcFile2="${D}{outimpFile}.lib"
49032 #create ${D}dllFile as something matching 8.3 restrictions,
49033 if [ -z ${D}renameScript ] ; then
49034 dllFile="${D}outFile"
49036 dllFile=\`${D}renameScript ${D}outimpFile\`
49039 if [ ${D}do_backup -ne 0 ] ; then
49040 if [ -f ${D}arcFile ] ; then
49041 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49043 if [ -f ${D}arcFile2 ] ; then
49044 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49048 # Extract public symbols from all the object files.
49049 tmpdefFile=${D}{defFile}_%
49050 rm -f ${D}tmpdefFile
49051 for file in ${D}inputFiles ; do
49056 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49061 # Create the def file.
49063 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49064 dllFile="${D}{dllFile}.dll"
49065 if [ ! -z ${D}description ]; then
49066 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49068 echo "EXPORTS" >> ${D}defFile
49070 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49071 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49073 # Checks if the export is ok or not.
49074 for word in ${D}exclude_symbols; do
49075 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49076 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49080 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49081 sed "=" < ${D}tmpdefFile | \\
49085 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49087 ' > ${D}{tmpdefFile}%
49088 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49090 rm -f ${D}{tmpdefFile}%
49092 cat ${D}tmpdefFile >> ${D}defFile
49093 rm -f ${D}tmpdefFile
49095 # Do linking, create implib, and apply lxlite.
49097 for file in ${D}inputFiles ; do
49102 gccCmdl="${D}gccCmdl ${D}file"
49106 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49107 touch "${D}{outFile}.dll"
49109 doCommand "emximp -o ${D}arcFile ${D}defFile"
49110 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49112 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49115 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49117 doCommand "emxomf -s -l ${D}arcFile"
49127 powerpc
-apple-macos* | \
49128 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49139 if test "x$PIC_FLAG" != "x" ; then
49140 PIC_FLAG
="$PIC_FLAG -DPIC"
49143 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49144 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49146 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49147 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49166 case "${BAKEFILE_HOST}" in
49167 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49168 SONAME_FLAG
="-Wl,-soname,"
49202 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49203 if test "${enable_dependency_tracking+set}" = set; then
49204 enableval
="$enable_dependency_tracking"
49205 bk_use_trackdeps
="$enableval"
49208 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49209 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49211 if test "x$bk_use_trackdeps" = "xno" ; then
49213 echo "$as_me:$LINENO: result: disabled" >&5
49214 echo "${ECHO_T}disabled" >&6
49218 if test "x$GCC" = "xyes"; then
49220 case "${BAKEFILE_HOST}" in
49222 DEPSFLAG
="-no-cpp-precomp -MMD"
49228 echo "$as_me:$LINENO: result: gcc" >&5
49229 echo "${ECHO_T}gcc" >&6
49230 elif test "x$MWCC" = "xyes"; then
49233 echo "$as_me:$LINENO: result: mwcc" >&5
49234 echo "${ECHO_T}mwcc" >&6
49235 elif test "x$SUNCC" = "xyes"; then
49238 echo "$as_me:$LINENO: result: Sun cc" >&5
49239 echo "${ECHO_T}Sun cc" >&6
49240 elif test "x$SGICC" = "xyes"; then
49243 echo "$as_me:$LINENO: result: SGI cc" >&5
49244 echo "${ECHO_T}SGI cc" >&6
49245 elif test "x$HPCC" = "xyes"; then
49248 echo "$as_me:$LINENO: result: HP cc" >&5
49249 echo "${ECHO_T}HP cc" >&6
49250 elif test "x$COMPAQCC" = "xyes"; then
49253 echo "$as_me:$LINENO: result: Compaq cc" >&5
49254 echo "${ECHO_T}Compaq cc" >&6
49257 echo "$as_me:$LINENO: result: none" >&5
49258 echo "${ECHO_T}none" >&6
49261 if test $DEPS_TRACKING = 1 ; then
49267 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49268 # script. It is used to track C/C++ files dependencies in portable way.
49270 # Permission is given to use this file in any way.
49272 DEPSMODE=${DEPSMODE}
49274 DEPSFLAG="${DEPSFLAG}"
49276 mkdir -p ${D}DEPSDIR
49278 if test ${D}DEPSMODE = gcc ; then
49279 ${D}* ${D}{DEPSFLAG}
49281 if test ${D}{status} != 0 ; then
49284 # move created file to the location we want it in:
49285 while test ${D}# -gt 0; do
49299 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49300 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49301 if test -f ${D}depfile ; then
49302 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49305 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49306 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49307 if test ! -f ${D}depfile ; then
49308 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49309 depfile="${D}objfile.d"
49311 if test -f ${D}depfile ; then
49312 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49317 elif test ${D}DEPSMODE = mwcc ; then
49318 ${D}* || exit ${D}?
49319 # Run mwcc again with -MM and redirect into the dep file we want
49320 # NOTE: We can't use shift here because we need ${D}* to be valid
49322 for arg in ${D}* ; do
49323 if test "${D}prevarg" = "-o"; then
49336 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49338 elif test ${D}DEPSMODE = unixcc; then
49339 ${D}* || exit ${D}?
49340 # Run compiler again with deps flag and redirect into the dep file.
49341 # It doesn't work if the '-o FILE' option is used, but without it the
49342 # dependency file will contain the wrong name for the object. So it is
49343 # removed from the command line, and the dep file is fixed with sed.
49345 while test ${D}# -gt 0; do
49352 eval arg${D}#=\\${D}1
49353 cmd="${D}cmd \\${D}arg${D}#"
49358 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49373 case ${BAKEFILE_HOST} in
49374 *-*-cygwin* | *-*-mingw32* )
49375 if test -n "$ac_tool_prefix"; then
49376 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49377 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49378 echo "$as_me:$LINENO: checking for $ac_word" >&5
49379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49380 if test "${ac_cv_prog_WINDRES+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49383 if test -n "$WINDRES"; then
49384 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49387 for as_dir
in $PATH
49390 test -z "$as_dir" && as_dir
=.
49391 for ac_exec_ext
in '' $ac_executable_extensions; do
49392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49393 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49402 WINDRES
=$ac_cv_prog_WINDRES
49403 if test -n "$WINDRES"; then
49404 echo "$as_me:$LINENO: result: $WINDRES" >&5
49405 echo "${ECHO_T}$WINDRES" >&6
49407 echo "$as_me:$LINENO: result: no" >&5
49408 echo "${ECHO_T}no" >&6
49412 if test -z "$ac_cv_prog_WINDRES"; then
49413 ac_ct_WINDRES
=$WINDRES
49414 # Extract the first word of "windres", so it can be a program name with args.
49415 set dummy windres
; ac_word
=$2
49416 echo "$as_me:$LINENO: checking for $ac_word" >&5
49417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49418 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49419 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 if test -n "$ac_ct_WINDRES"; then
49422 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49425 for as_dir
in $PATH
49428 test -z "$as_dir" && as_dir
=.
49429 for ac_exec_ext
in '' $ac_executable_extensions; do
49430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49431 ac_cv_prog_ac_ct_WINDRES
="windres"
49432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49441 if test -n "$ac_ct_WINDRES"; then
49442 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49443 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49445 echo "$as_me:$LINENO: result: no" >&5
49446 echo "${ECHO_T}no" >&6
49449 WINDRES
=$ac_ct_WINDRES
49451 WINDRES
="$ac_cv_prog_WINDRES"
49456 *-*-darwin* | powerpc
-apple-macos* )
49457 # Extract the first word of "Rez", so it can be a program name with args.
49458 set dummy Rez
; ac_word
=$2
49459 echo "$as_me:$LINENO: checking for $ac_word" >&5
49460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49461 if test "${ac_cv_prog_REZ+set}" = set; then
49462 echo $ECHO_N "(cached) $ECHO_C" >&6
49464 if test -n "$REZ"; then
49465 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49468 for as_dir
in $PATH
49471 test -z "$as_dir" && as_dir
=.
49472 for ac_exec_ext
in '' $ac_executable_extensions; do
49473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49474 ac_cv_prog_REZ
="Rez"
49475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49481 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49484 REZ
=$ac_cv_prog_REZ
49485 if test -n "$REZ"; then
49486 echo "$as_me:$LINENO: result: $REZ" >&5
49487 echo "${ECHO_T}$REZ" >&6
49489 echo "$as_me:$LINENO: result: no" >&5
49490 echo "${ECHO_T}no" >&6
49493 # Extract the first word of "SetFile", so it can be a program name with args.
49494 set dummy SetFile
; ac_word
=$2
49495 echo "$as_me:$LINENO: checking for $ac_word" >&5
49496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49497 if test "${ac_cv_prog_SETFILE+set}" = set; then
49498 echo $ECHO_N "(cached) $ECHO_C" >&6
49500 if test -n "$SETFILE"; then
49501 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49504 for as_dir
in $PATH
49507 test -z "$as_dir" && as_dir
=.
49508 for ac_exec_ext
in '' $ac_executable_extensions; do
49509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49510 ac_cv_prog_SETFILE
="SetFile"
49511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49517 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49520 SETFILE
=$ac_cv_prog_SETFILE
49521 if test -n "$SETFILE"; then
49522 echo "$as_me:$LINENO: result: $SETFILE" >&5
49523 echo "${ECHO_T}$SETFILE" >&6
49525 echo "$as_me:$LINENO: result: no" >&5
49526 echo "${ECHO_T}no" >&6
49537 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49540 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49544 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49545 if test "${enable_precomp_headers+set}" = set; then
49546 enableval
="$enable_precomp_headers"
49547 bk_use_pch
="$enableval"
49554 case ${BAKEFILE_HOST} in
49560 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49561 if test "x$GCC" = "xyes"; then
49562 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49563 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49564 cat >conftest.
$ac_ext <<_ACEOF
49567 cat confdefs.h
>>conftest.
$ac_ext
49568 cat >>conftest.
$ac_ext <<_ACEOF
49569 /* end confdefs.h. */
49575 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49576 There is no PCH support
49579 There is no PCH support
49581 #if (__GNUC__ == 3) && \
49582 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49583 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49584 ( defined(__INTEL_COMPILER) )
49585 There is no PCH support
49592 rm -f conftest.
$ac_objext
49593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49594 (eval $ac_compile) 2>conftest.er1
49596 grep -v '^ *+' conftest.er1
>conftest.err
49598 cat conftest.err
>&5
49599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49600 (exit $ac_status); } &&
49601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49603 (eval $ac_try) 2>&5
49605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606 (exit $ac_status); }; } &&
49607 { ac_try
='test -s conftest.$ac_objext'
49608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49609 (eval $ac_try) 2>&5
49611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49612 (exit $ac_status); }; }; then
49614 echo "$as_me:$LINENO: result: yes" >&5
49615 echo "${ECHO_T}yes" >&6
49619 echo "$as_me: failed program was:" >&5
49620 sed 's/^/| /' conftest.
$ac_ext >&5
49623 cat >conftest.
$ac_ext <<_ACEOF
49626 cat confdefs.h
>>conftest.
$ac_ext
49627 cat >>conftest.
$ac_ext <<_ACEOF
49628 /* end confdefs.h. */
49634 #if !defined(__INTEL_COMPILER) || \
49635 (__INTEL_COMPILER < 800)
49636 There is no PCH support
49643 rm -f conftest.
$ac_objext
49644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49645 (eval $ac_compile) 2>conftest.er1
49647 grep -v '^ *+' conftest.er1
>conftest.err
49649 cat conftest.err
>&5
49650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651 (exit $ac_status); } &&
49652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654 (eval $ac_try) 2>&5
49656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657 (exit $ac_status); }; } &&
49658 { ac_try
='test -s conftest.$ac_objext'
49659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660 (eval $ac_try) 2>&5
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); }; }; then
49665 echo "$as_me:$LINENO: result: yes" >&5
49666 echo "${ECHO_T}yes" >&6
49670 echo "$as_me: failed program was:" >&5
49671 sed 's/^/| /' conftest.
$ac_ext >&5
49674 echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6
49678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49682 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49686 cat <<EOF >bk-make-pch
49689 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49690 # script. It is used to generated precompiled headers.
49692 # Permission is given to use this file in any way.
49702 while test ${D}{#} -gt 0; do
49706 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49707 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49708 headerfile="${D}{incdir}/${D}{header}"
49711 -use-pch|-use_pch )
49716 if test ${D}add_to_cmdline = 1 ; then
49717 compiler="${D}{compiler} ${D}{1}"
49722 if test "x${D}{headerfile}" = "x" ; then
49723 echo "error: can't find header ${D}{header} in include paths" >&2
49725 if test -f ${D}{outfile} ; then
49726 rm -f ${D}{outfile}
49728 mkdir -p \`dirname ${D}{outfile}\`
49730 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49732 if test "x${GCC_PCH}" = "x1" ; then
49733 # can do this because gcc is >= 3.4:
49734 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49735 elif test "x${ICC_PCH}" = "x1" ; then
49736 filename=pch_gen-${D}${D}
49737 file=${D}{filename}.c
49738 dfile=${D}{filename}.d
49739 cat > ${D}file <<EOT
49740 #include "${D}header"
49742 # using -MF icc complains about differing command lines in creation/use
49743 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49744 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49745 rm -f ${D}file ${D}dfile ${D}{filename}.o
49751 chmod +x bk
-make-pch
49759 COND_BUILD_DEBUG
="#"
49760 if test "x$BUILD" = "xdebug" ; then
49761 COND_BUILD_DEBUG
=""
49764 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49765 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49766 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49769 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49770 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49771 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49774 COND_BUILD_DEBUG_UNICODE_0
="#"
49775 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49776 COND_BUILD_DEBUG_UNICODE_0
=""
49779 COND_BUILD_DEBUG_UNICODE_1
="#"
49780 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49781 COND_BUILD_DEBUG_UNICODE_1
=""
49784 COND_BUILD_RELEASE
="#"
49785 if test "x$BUILD" = "xrelease" ; then
49786 COND_BUILD_RELEASE
=""
49789 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49790 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49791 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49794 COND_BUILD_RELEASE_UNICODE_0
="#"
49795 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49796 COND_BUILD_RELEASE_UNICODE_0
=""
49799 COND_BUILD_RELEASE_UNICODE_1
="#"
49800 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49801 COND_BUILD_RELEASE_UNICODE_1
=""
49804 COND_DEBUG_FLAG_1
="#"
49805 if test "x$DEBUG_FLAG" = "x1" ; then
49806 COND_DEBUG_FLAG_1
=""
49809 COND_DEBUG_INFO_0
="#"
49810 if test "x$DEBUG_INFO" = "x0" ; then
49811 COND_DEBUG_INFO_0
=""
49814 COND_DEBUG_INFO_1
="#"
49815 if test "x$DEBUG_INFO" = "x1" ; then
49816 COND_DEBUG_INFO_1
=""
49819 COND_DEPS_TRACKING_0
="#"
49820 if test "x$DEPS_TRACKING" = "x0" ; then
49821 COND_DEPS_TRACKING_0
=""
49824 COND_DEPS_TRACKING_1
="#"
49825 if test "x$DEPS_TRACKING" = "x1" ; then
49826 COND_DEPS_TRACKING_1
=""
49830 if test "x$GCC_PCH" = "x1" ; then
49835 if test "x$ICC_PCH" = "x1" ; then
49839 COND_MONOLITHIC_0
="#"
49840 if test "x$MONOLITHIC" = "x0" ; then
49841 COND_MONOLITHIC_0
=""
49844 COND_MONOLITHIC_0_SHARED_0
="#"
49845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49846 COND_MONOLITHIC_0_SHARED_0
=""
49849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49851 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49879 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49881 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49884 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49886 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49889 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49891 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49894 COND_MONOLITHIC_0_SHARED_1
="#"
49895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49896 COND_MONOLITHIC_0_SHARED_1
=""
49899 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49901 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49911 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49929 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49931 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49934 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49936 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49939 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49941 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49944 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49945 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49946 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49949 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49950 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49951 COND_MONOLITHIC_0_USE_ODBC_1
=""
49954 COND_MONOLITHIC_1
="#"
49955 if test "x$MONOLITHIC" = "x1" ; then
49956 COND_MONOLITHIC_1
=""
49959 COND_MONOLITHIC_1_SHARED_0
="#"
49960 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49961 COND_MONOLITHIC_1_SHARED_0
=""
49964 COND_MONOLITHIC_1_SHARED_1
="#"
49965 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49966 COND_MONOLITHIC_1_SHARED_1
=""
49969 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49970 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49971 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49974 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49975 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49976 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49979 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49980 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49981 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49984 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49985 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49986 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49989 COND_PLATFORM_MACOSX_1
="#"
49990 if test "x$PLATFORM_MACOSX" = "x1" ; then
49991 COND_PLATFORM_MACOSX_1
=""
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50001 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50004 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50006 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50009 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50011 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50014 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50016 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50021 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50024 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50026 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50029 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50034 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50036 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50039 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50041 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50044 COND_PLATFORM_MACOS_1
="#"
50045 if test "x$PLATFORM_MACOS" = "x1" ; then
50046 COND_PLATFORM_MACOS_1
=""
50049 COND_PLATFORM_MAC_1
="#"
50050 if test "x$PLATFORM_MAC" = "x1" ; then
50051 COND_PLATFORM_MAC_1
=""
50054 COND_PLATFORM_MSDOS_0
="#"
50055 if test "x$PLATFORM_MSDOS" = "x0" ; then
50056 COND_PLATFORM_MSDOS_0
=""
50059 COND_PLATFORM_MSDOS_1
="#"
50060 if test "x$PLATFORM_MSDOS" = "x1" ; then
50061 COND_PLATFORM_MSDOS_1
=""
50064 COND_PLATFORM_OS2_1
="#"
50065 if test "x$PLATFORM_OS2" = "x1" ; then
50066 COND_PLATFORM_OS2_1
=""
50069 COND_PLATFORM_UNIX_0
="#"
50070 if test "x$PLATFORM_UNIX" = "x0" ; then
50071 COND_PLATFORM_UNIX_0
=""
50074 COND_PLATFORM_UNIX_1
="#"
50075 if test "x$PLATFORM_UNIX" = "x1" ; then
50076 COND_PLATFORM_UNIX_1
=""
50079 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50080 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50081 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50084 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50085 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50086 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50089 COND_PLATFORM_WIN32_0
="#"
50090 if test "x$PLATFORM_WIN32" = "x0" ; then
50091 COND_PLATFORM_WIN32_0
=""
50094 COND_PLATFORM_WIN32_1
="#"
50095 if test "x$PLATFORM_WIN32" = "x1" ; then
50096 COND_PLATFORM_WIN32_1
=""
50100 if test "x$SHARED" = "x0" ; then
50104 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50106 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50109 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50110 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50111 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50114 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50115 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50116 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50119 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50121 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50131 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50134 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50136 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50139 COND_SHARED_0_USE_XRC_1
="#"
50140 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50141 COND_SHARED_0_USE_XRC_1
=""
50144 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50145 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50146 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50149 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50150 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50151 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50154 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50155 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50156 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50159 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50160 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50161 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50165 if test "x$SHARED" = "x1" ; then
50169 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50170 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50171 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50174 COND_SHARED_1_USE_XRC_1
="#"
50175 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50176 COND_SHARED_1_USE_XRC_1
=""
50180 if test "x$TOOLKIT" = "x" ; then
50184 COND_TOOLKIT_COCOA
="#"
50185 if test "x$TOOLKIT" = "xCOCOA" ; then
50186 COND_TOOLKIT_COCOA
=""
50189 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50190 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50191 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50194 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50199 COND_TOOLKIT_DFB
="#"
50200 if test "x$TOOLKIT" = "xDFB" ; then
50201 COND_TOOLKIT_DFB
=""
50204 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50205 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50206 COND_TOOLKIT_DFB_USE_GUI_1
=""
50209 COND_TOOLKIT_GTK
="#"
50210 if test "x$TOOLKIT" = "xGTK" ; then
50211 COND_TOOLKIT_GTK
=""
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50234 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50236 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50244 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50245 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50246 COND_TOOLKIT_GTK_USE_GUI_1
=""
50249 COND_TOOLKIT_MAC
="#"
50250 if test "x$TOOLKIT" = "xMAC" ; then
50251 COND_TOOLKIT_MAC
=""
50254 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50255 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50256 COND_TOOLKIT_MAC_USE_GUI_1
=""
50259 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50261 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50264 COND_TOOLKIT_MGL
="#"
50265 if test "x$TOOLKIT" = "xMGL" ; then
50266 COND_TOOLKIT_MGL
=""
50269 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50270 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50271 COND_TOOLKIT_MGL_USE_GUI_1
=""
50274 COND_TOOLKIT_MOTIF
="#"
50275 if test "x$TOOLKIT" = "xMOTIF" ; then
50276 COND_TOOLKIT_MOTIF
=""
50279 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50280 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50281 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50284 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50286 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50289 COND_TOOLKIT_MSW
="#"
50290 if test "x$TOOLKIT" = "xMSW" ; then
50291 COND_TOOLKIT_MSW
=""
50294 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50295 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50296 COND_TOOLKIT_MSW_USE_GUI_1
=""
50299 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50301 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50304 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50305 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50306 COND_TOOLKIT_MSW_WXUNIV_0
=""
50309 COND_TOOLKIT_PM
="#"
50310 if test "x$TOOLKIT" = "xPM" ; then
50314 COND_TOOLKIT_PM_USE_GUI_1
="#"
50315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50316 COND_TOOLKIT_PM_USE_GUI_1
=""
50319 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50321 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50324 COND_TOOLKIT_WINCE
="#"
50325 if test "x$TOOLKIT" = "xWINCE" ; then
50326 COND_TOOLKIT_WINCE
=""
50329 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50331 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50334 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50336 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50339 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50340 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50341 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50344 COND_TOOLKIT_X11
="#"
50345 if test "x$TOOLKIT" = "xX11" ; then
50346 COND_TOOLKIT_X11
=""
50349 COND_TOOLKIT_X11_USE_GUI_1
="#"
50350 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50351 COND_TOOLKIT_X11_USE_GUI_1
=""
50355 if test "x$UNICODE" = "x1" ; then
50359 COND_USE_EXCEPTIONS_0
="#"
50360 if test "x$USE_EXCEPTIONS" = "x0" ; then
50361 COND_USE_EXCEPTIONS_0
=""
50364 COND_USE_EXCEPTIONS_1
="#"
50365 if test "x$USE_EXCEPTIONS" = "x1" ; then
50366 COND_USE_EXCEPTIONS_1
=""
50370 if test "x$USE_GUI" = "x0" ; then
50375 if test "x$USE_GUI" = "x1" ; then
50379 COND_USE_GUI_1_WXUNIV_0
="#"
50380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50381 COND_USE_GUI_1_WXUNIV_0
=""
50384 COND_USE_GUI_1_WXUNIV_1
="#"
50385 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50386 COND_USE_GUI_1_WXUNIV_1
=""
50389 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50391 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50394 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50396 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50399 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50401 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50404 COND_USE_ODBC_1
="#"
50405 if test "x$USE_ODBC" = "x1" ; then
50409 COND_USE_OPENGL_1
="#"
50410 if test "x$USE_OPENGL" = "x1" ; then
50411 COND_USE_OPENGL_1
=""
50415 if test "x$USE_PCH" = "x1" ; then
50419 COND_USE_PLUGINS_0
="#"
50420 if test "x$USE_PLUGINS" = "x0" ; then
50421 COND_USE_PLUGINS_0
=""
50424 COND_USE_RTTI_0
="#"
50425 if test "x$USE_RTTI" = "x0" ; then
50429 COND_USE_RTTI_1
="#"
50430 if test "x$USE_RTTI" = "x1" ; then
50434 COND_USE_SOSYMLINKS_1
="#"
50435 if test "x$USE_SOSYMLINKS" = "x1" ; then
50436 COND_USE_SOSYMLINKS_1
=""
50439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50444 COND_USE_SOVERLINUX_1
="#"
50445 if test "x$USE_SOVERLINUX" = "x1" ; then
50446 COND_USE_SOVERLINUX_1
=""
50449 COND_USE_SOVERSION_0
="#"
50450 if test "x$USE_SOVERSION" = "x0" ; then
50451 COND_USE_SOVERSION_0
=""
50454 COND_USE_SOVERSOLARIS_1
="#"
50455 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50456 COND_USE_SOVERSOLARIS_1
=""
50459 COND_USE_THREADS_0
="#"
50460 if test "x$USE_THREADS" = "x0" ; then
50461 COND_USE_THREADS_0
=""
50464 COND_USE_THREADS_1
="#"
50465 if test "x$USE_THREADS" = "x1" ; then
50466 COND_USE_THREADS_1
=""
50470 if test "x$USE_XRC" = "x1" ; then
50474 COND_WINDOWS_IMPLIB_1
="#"
50475 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50476 COND_WINDOWS_IMPLIB_1
=""
50479 COND_WITH_PLUGIN_SDL_1
="#"
50480 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50481 COND_WITH_PLUGIN_SDL_1
=""
50485 if test "x$WXUNIV" = "x0" ; then
50490 if test "x$WXUNIV" = "x1" ; then
50494 COND_WXUSE_EXPAT_BUILTIN
="#"
50495 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50496 COND_WXUSE_EXPAT_BUILTIN
=""
50499 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50500 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50501 COND_WXUSE_LIBJPEG_BUILTIN
=""
50504 COND_WXUSE_LIBPNG_BUILTIN
="#"
50505 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50506 COND_WXUSE_LIBPNG_BUILTIN
=""
50509 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50510 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50511 COND_WXUSE_LIBTIFF_BUILTIN
=""
50514 COND_WXUSE_ODBC_BUILTIN
="#"
50515 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50516 COND_WXUSE_ODBC_BUILTIN
=""
50519 COND_WXUSE_REGEX_BUILTIN
="#"
50520 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50521 COND_WXUSE_REGEX_BUILTIN
=""
50524 COND_WXUSE_ZLIB_BUILTIN
="#"
50525 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50526 COND_WXUSE_ZLIB_BUILTIN
=""
50531 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50532 { { 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
50533 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;}
50534 { (exit 1); exit 1; }; }
50537 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50538 { { 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
50539 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;}
50540 { (exit 1); exit 1; }; }
50544 if test $GCC_PCH = 1
50546 if test "$wx_cv_gcc_pch_bug" = yes; then
50547 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50548 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50549 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50550 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50551 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50552 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50555 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50559 if test "$wxUSE_MAC" = 1 ; then
50560 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50561 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50567 if test "$wxUSE_SHARED" = "yes"; then
50569 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50570 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50573 *-pc-os2_emx | *-pc-os2-emx )
50574 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50575 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50576 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50577 cp -p ${srcdir}/src
/os
2/dllar.sh .
50582 EXE_LINKER
="$CXX -o"
50585 if test "$wxUSE_OMF" = "yes"; then
50587 *-pc-os2_emx | *-pc-os2-emx )
50588 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50589 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50590 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50595 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50597 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50659 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50660 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50661 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50662 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50665 cat >conftest.
make <<\_ACEOF
50667 @
echo 'ac_maketemp="$(MAKE)"'
50669 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50670 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50671 if test -n "$ac_maketemp"; then
50672 eval ac_cv_prog_make_
${ac_make}_set
=yes
50674 eval ac_cv_prog_make_
${ac_make}_set
=no
50676 rm -f conftest.
make
50678 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50679 echo "$as_me:$LINENO: result: yes" >&5
50680 echo "${ECHO_T}yes" >&6
50683 echo "$as_me:$LINENO: result: no" >&5
50684 echo "${ECHO_T}no" >&6
50685 SET_MAKE
="MAKE=${MAKE-make}"
50690 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50693 if test "$USE_WIN32" = 1; then
50694 ac_config_commands
="$ac_config_commands
50700 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50703 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50706 ac_config_files
="$ac_config_files version-script Makefile"
50709 ac_config_commands
="$ac_config_commands wx-config"
50713 if test "$wxWITH_SUBDIRS" != "no"; then
50714 if test "$wxUSE_GUI" = "yes"; then
50715 SUBDIRS
="samples demos utils contrib"
50716 else SUBDIRS
="samples utils"
50721 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50722 if test "${with_cppunit_prefix+set}" = set; then
50723 withval
="$with_cppunit_prefix"
50724 cppunit_config_prefix
="$withval"
50726 cppunit_config_prefix
=""
50729 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50730 if test "${with_cppunit_exec_prefix+set}" = set; then
50731 withval
="$with_cppunit_exec_prefix"
50732 cppunit_config_exec_prefix
="$withval"
50734 cppunit_config_exec_prefix
=""
50737 if test x
$cppunit_config_exec_prefix != x
; then
50738 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50739 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50740 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50743 if test x
$cppunit_config_prefix != x
; then
50744 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50745 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50746 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50750 # Extract the first word of "cppunit-config", so it can be a program name with args.
50751 set dummy cppunit
-config; ac_word
=$2
50752 echo "$as_me:$LINENO: checking for $ac_word" >&5
50753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50754 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50755 echo $ECHO_N "(cached) $ECHO_C" >&6
50757 case $CPPUNIT_CONFIG in
50759 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50763 for as_dir
in $PATH
50766 test -z "$as_dir" && as_dir
=.
50767 for ac_exec_ext
in '' $ac_executable_extensions; do
50768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50769 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50776 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50780 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50782 if test -n "$CPPUNIT_CONFIG"; then
50783 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50784 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50786 echo "$as_me:$LINENO: result: no" >&5
50787 echo "${ECHO_T}no" >&6
50790 cppunit_version_min
=1.8.0
50792 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50793 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50795 if test "$CPPUNIT_CONFIG" = "no" ; then
50796 echo "$as_me:$LINENO: result: no" >&5
50797 echo "${ECHO_T}no" >&6
50800 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50801 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50802 cppunit_version
=`$CPPUNIT_CONFIG --version`
50804 cppunit_major_version
=`echo $cppunit_version | \
50805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50806 cppunit_minor_version
=`echo $cppunit_version | \
50807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50808 cppunit_micro_version
=`echo $cppunit_version | \
50809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50811 cppunit_major_min
=`echo $cppunit_version_min | \
50812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50813 cppunit_minor_min
=`echo $cppunit_version_min | \
50814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50815 cppunit_micro_min
=`echo $cppunit_version_min | \
50816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50818 cppunit_version_proper
=`expr \
50819 $cppunit_major_version \> $cppunit_major_min \| \
50820 $cppunit_major_version \= $cppunit_major_min \& \
50821 $cppunit_minor_version \> $cppunit_minor_min \| \
50822 $cppunit_major_version \= $cppunit_major_min \& \
50823 $cppunit_minor_version \= $cppunit_minor_min \& \
50824 $cppunit_micro_version \>= $cppunit_micro_min `
50826 if test "$cppunit_version_proper" = "1" ; then
50827 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50828 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50830 echo "$as_me:$LINENO: result: no" >&5
50831 echo "${ECHO_T}no" >&6
50836 if test "x$no_cppunit" = x
; then
50837 SUBDIRS
="$SUBDIRS tests"
50848 for subdir
in `echo $SUBDIRS`; do
50849 if test -d ${srcdir}/${subdir} ; then
50850 if test "$wxUSE_GUI" = "yes"; then
50851 if test ${subdir} = "samples"; then
50852 makefiles
="samples/Makefile.in $makefiles"
50853 for sample
in `echo $SAMPLES_SUBDIRS`; do
50854 if test -d $srcdir/samples
/$sample; then
50855 makefiles
="samples/$sample/Makefile.in $makefiles"
50859 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50860 eval "disabled=\$$disabled_var"
50861 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50862 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50864 else if test ${subdir} = "samples"; then
50865 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50866 elif test ${subdir} = "utils"; then
50868 for util
in HelpGen tex2rtf
; do
50869 if test -d $srcdir/utils
/$util ; then
50870 makefiles
="utils/$util/Makefile.in \
50871 utils/$util/src/Makefile.in \
50875 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50879 for mkin
in $makefiles ; do
50880 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50881 ac_config_files
="$ac_config_files $mk"
50887 cat >confcache
<<\_ACEOF
50888 # This file is a shell script that caches the results of configure
50889 # tests run on this system so they can be shared between configure
50890 # scripts and configure runs, see configure's option --config-cache.
50891 # It is not useful on other systems. If it contains results you don't
50892 # want to keep, you may remove or edit it.
50894 # config.status only pays attention to the cache file if you give it
50895 # the --recheck option to rerun configure.
50897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50899 # following values.
50903 # The following way of writing the cache mishandles newlines in values,
50904 # but we know of no workaround that is simple, portable, and efficient.
50905 # So, don't put newlines in cache variables' values.
50906 # Ultrix sh set writes to stderr and can't be redirected directly,
50907 # and sets the high bit in the cache file unless we assign to the vars.
50910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50912 # `set' does not quote correctly, so add quotes (double-quote
50913 # substitution turns \\\\ into \\, and sed turns \\ into \).
50916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50919 # `set' quotes correctly as required by POSIX, so do not add quotes.
50921 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50930 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50932 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50933 if test -w $cache_file; then
50934 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50935 cat confcache
>$cache_file
50937 echo "not updating unwritable cache $cache_file"
50942 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50943 # Let make expand exec_prefix.
50944 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50948 # trailing colons and then remove the whole line if VPATH becomes empty
50949 # (actually we leave an empty line to preserve line numbers).
50950 if test "x$srcdir" = x.
; then
50951 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50952 s/:*\$(srcdir):*/:/;
50953 s/:*\${srcdir}:*/:/;
50955 s/^\([^=]*=[ ]*\):*/\1/;
50961 DEFS
=-DHAVE_CONFIG_H
50965 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50966 # 1. Remove the extension, and $U if already installed.
50967 ac_i
=`echo "$ac_i" |
50968 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50970 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50971 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50973 LIBOBJS
=$ac_libobjs
50975 LTLIBOBJS
=$ac_ltlibobjs
50979 : ${CONFIG_STATUS=./config.status}
50980 ac_clean_files_save
=$ac_clean_files
50981 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50982 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50983 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50984 cat >$CONFIG_STATUS <<_ACEOF
50986 # Generated by $as_me.
50987 # Run this file to recreate the current configuration.
50988 # Compiler output produced by configure, useful for debugging
50989 # configure, is in config.log if it exists.
50992 ac_cs_recheck=false
50994 SHELL=\${CONFIG_SHELL-$SHELL}
50997 cat >>$CONFIG_STATUS <<\_ACEOF
50998 ## --------------------- ##
50999 ## M4sh Initialization. ##
51000 ## --------------------- ##
51002 # Be Bourne compatible
51003 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51006 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51007 # is contrary to our usage. Disable this feature.
51008 alias -g '${1+"$@"}'='"$@"'
51009 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51012 DUALCASE
=1; export DUALCASE
# for MKS sh
51014 # Support unset when possible.
51015 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51022 # Work around bugs in pre-3.0 UWIN ksh.
51023 $as_unset ENV MAIL MAILPATH
51030 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51031 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51032 LC_TELEPHONE LC_TIME
51034 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51035 eval $as_var=C
; export $as_var
51041 # Required to use basename.
51042 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51048 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51049 as_basename
=basename
51055 # Name of the executable.
51056 as_me
=`$as_basename "$0" ||
51057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51058 X"$0" : 'X\(//\)$' \| \
51059 X"$0" : 'X\(/\)$' \| \
51060 . : '\(.\)' 2>/dev/null ||
51062 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51063 /^X\/\(\/\/\)$/{ s//\1/; q; }
51064 /^X\/\(\/\).*/{ s//\1/; q; }
51068 # PATH needs CR, and LINENO needs CR and PATH.
51069 # Avoid depending upon Character Ranges.
51070 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51071 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51072 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51073 as_cr_digits
='0123456789'
51074 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51076 # The user is always right.
51077 if test "${PATH_SEPARATOR+set}" != set; then
51078 echo "#! /bin/sh" >conf$$.sh
51079 echo "exit 0" >>conf$$.sh
51081 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51090 as_lineno_1
=$LINENO
51091 as_lineno_2
=$LINENO
51092 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51093 test "x$as_lineno_1" != "x$as_lineno_2" &&
51094 test "x$as_lineno_3" = "x$as_lineno_2" || {
51095 # Find who we are. Look in the path if we contain no path at all
51098 *[\\/]* ) as_myself
=$0 ;;
51099 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51100 for as_dir
in $PATH
51103 test -z "$as_dir" && as_dir
=.
51104 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51109 # We did not find ourselves, most probably we were run as `sh COMMAND'
51110 # in which case we are not to be found in the path.
51111 if test "x$as_myself" = x
; then
51114 if test ! -f "$as_myself"; then
51115 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51116 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51117 { (exit 1); exit 1; }; }
51119 case $CONFIG_SHELL in
51121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51122 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51125 test -z "$as_dir" && as_dir
=.
51126 for as_base
in sh bash ksh sh5
; do
51129 if ("$as_dir/$as_base" -c '
51130 as_lineno_1=$LINENO
51131 as_lineno_2=$LINENO
51132 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51133 test "x$as_lineno_1" != "x$as_lineno_2" &&
51134 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51135 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51136 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51137 CONFIG_SHELL
=$as_dir/$as_base
51138 export CONFIG_SHELL
51139 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51147 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51148 # uniformly replaced by the line number. The first 'sed' inserts a
51149 # line-number line before each line; the second 'sed' does the real
51150 # work. The second script uses 'N' to pair each line-number line
51151 # with the numbered line, and appends trailing '-' during
51152 # substitution so that $LINENO is not a special case at line end.
51153 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51154 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51155 sed '=' <$as_myself |
51160 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51163 s,^['$as_cr_digits']*\n,,
51164 ' >$as_me.lineno
&&
51165 chmod +x
$as_me.lineno
||
51166 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51167 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51168 { (exit 1); exit 1; }; }
51170 # Don't try to exec as it changes $[0], causing all sort of problems
51171 # (the dirname of $[0] is not the place where we might find the
51172 # original and so on. Autoconf is especially sensible to this).
51174 # Exit status is that of the last command.
51179 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51180 *c
*,-n*) ECHO_N
= ECHO_C
='
51182 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51183 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51186 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51192 rm -f conf$$ conf$$.exe conf$$.
file
51194 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51195 # We could just check for DJGPP; but this test a) works b) is more generic
51196 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51197 if test -f conf$$.exe
; then
51198 # Don't use ln at all; we don't have any links
51203 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51208 rm -f conf$$ conf$$.exe conf$$.
file
51210 if mkdir -p .
2>/dev
/null
; then
51213 test -d .
/-p && rmdir .
/-p
51217 as_executable_p
="test -f"
51219 # Sed expression to map a string onto a valid CPP name.
51220 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51222 # Sed expression to map a string onto a valid variable name.
51223 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51227 # We need space, tab and new line, in precisely that order.
51237 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51238 # report actual input values of CONFIG_FILES etc. instead of their
51239 # values after options handling. Logging --version etc. is OK.
51243 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51244 ## Running $as_me. ##
51249 This file was extended by wxWidgets $as_me 2.7.1, which was
51250 generated by GNU Autoconf 2.59. Invocation command line was
51252 CONFIG_FILES = $CONFIG_FILES
51253 CONFIG_HEADERS = $CONFIG_HEADERS
51254 CONFIG_LINKS = $CONFIG_LINKS
51255 CONFIG_COMMANDS = $CONFIG_COMMANDS
51259 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51263 # Files that config.status was made for.
51264 if test -n "$ac_config_files"; then
51265 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51268 if test -n "$ac_config_headers"; then
51269 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51272 if test -n "$ac_config_links"; then
51273 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51276 if test -n "$ac_config_commands"; then
51277 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51280 cat >>$CONFIG_STATUS <<\_ACEOF
51283 \`$as_me' instantiates files from templates according to the
51284 current configuration.
51286 Usage: $0 [OPTIONS] [FILE]...
51288 -h, --help print this help, then exit
51289 -V, --version print version number, then exit
51290 -q, --quiet do not print progress messages
51291 -d, --debug don't remove temporary files
51292 --recheck update $as_me by reconfiguring in the same conditions
51293 --file=FILE[:TEMPLATE]
51294 instantiate the configuration file FILE
51295 --header=FILE[:TEMPLATE]
51296 instantiate the configuration header FILE
51298 Configuration files:
51301 Configuration headers:
51304 Configuration commands:
51307 Report bugs to <bug-autoconf@gnu.org>."
51310 cat >>$CONFIG_STATUS <<_ACEOF
51312 wxWidgets config.status 2.7.1
51313 configured by $0, generated by GNU Autoconf 2.59,
51314 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51316 Copyright (C) 2003 Free Software Foundation, Inc.
51317 This config.status script is free software; the Free Software Foundation
51318 gives unlimited permission to copy, distribute and modify it."
51323 cat >>$CONFIG_STATUS <<\_ACEOF
51324 # If no file are specified by the user, then we need to provide default
51325 # value. By we need to know if files were specified by the user.
51331 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51332 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51340 *) # This is not an option, so the user has probably given explicit
51343 ac_need_defaults
=false
;;
51347 # Handling of the options.
51349 cat >>$CONFIG_STATUS <<\_ACEOF
51350 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51352 --version | --vers* | -V )
51353 echo "$ac_cs_version"; exit 0 ;;
51355 # Conflict between --help and --header
51356 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51357 Try \`$0 --help' for more information." >&5
51358 echo "$as_me: error: ambiguous option: $1
51359 Try \`$0 --help' for more information." >&2;}
51360 { (exit 1); exit 1; }; };;
51361 --help | --hel | -h )
51362 echo "$ac_cs_usage"; exit 0 ;;
51363 --debug | --d* | -d )
51365 --file | --fil | --fi | --f )
51367 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51368 ac_need_defaults
=false
;;
51369 --header | --heade | --head | --hea )
51371 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51372 ac_need_defaults
=false
;;
51373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51374 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51377 # This is an error.
51378 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51379 Try \`$0 --help' for more information." >&5
51380 echo "$as_me: error: unrecognized option: $1
51381 Try \`$0 --help' for more information." >&2;}
51382 { (exit 1); exit 1; }; } ;;
51384 *) ac_config_targets
="$ac_config_targets $1" ;;
51390 ac_configure_extra_args
=
51392 if $ac_cs_silent; then
51394 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51398 cat >>$CONFIG_STATUS <<_ACEOF
51399 if \$ac_cs_recheck; then
51400 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51401 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51406 cat >>$CONFIG_STATUS <<_ACEOF
51408 # INIT-COMMANDS section.
51413 infile="$srcdir/include/wx/msw/genrcdefs.h"
51414 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51417 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51418 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51419 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51427 cat >>$CONFIG_STATUS <<\_ACEOF
51428 for ac_config_target
in $ac_config_targets
51430 case "$ac_config_target" in
51431 # Handling of arguments.
51432 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51433 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51434 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51435 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51436 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51437 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51438 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51439 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51440 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51441 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51442 { (exit 1); exit 1; }; };;
51446 # If the user did not use the arguments to specify the items to instantiate,
51447 # then the envvar interface is used. Set only those that are not.
51448 # We use the long form for the default assignment because of an extremely
51449 # bizarre bug on SunOS 4.1.3.
51450 if $ac_need_defaults; then
51451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51456 # Have a temporary directory for convenience. Make it in the build tree
51457 # simply because there is no reason to put it here, and in addition,
51458 # creating and moving files from /tmp can sometimes cause problems.
51459 # Create a temporary directory, and hook for its removal unless debugging.
51462 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51463 trap '{ (exit 1); exit 1; }' 1 2 13 15
51466 # Create a (secure) tmp directory for tmp files.
51469 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51470 test -n "$tmp" && test -d "$tmp"
51473 tmp
=.
/confstat$$
-$RANDOM
51474 (umask 077 && mkdir $tmp)
51477 echo "$me: cannot create a temporary directory in ." >&2
51478 { (exit 1); exit 1; }
51483 cat >>$CONFIG_STATUS <<_ACEOF
51486 # CONFIG_FILES section.
51489 # No need to generate the scripts if there are no CONFIG_FILES.
51490 # This happens for instance when ./config.status config.h
51491 if test -n "\$CONFIG_FILES"; then
51492 # Protect against being on the right side of a sed subst in config.status.
51493 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51494 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51495 s,@SHELL@,$SHELL,;t t
51496 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51497 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51498 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51499 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51500 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51501 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51502 s,@exec_prefix@,$exec_prefix,;t t
51503 s,@prefix@,$prefix,;t t
51504 s,@program_transform_name@,$program_transform_name,;t t
51505 s,@bindir@,$bindir,;t t
51506 s,@sbindir@,$sbindir,;t t
51507 s,@libexecdir@,$libexecdir,;t t
51508 s,@datadir@,$datadir,;t t
51509 s,@sysconfdir@,$sysconfdir,;t t
51510 s,@sharedstatedir@,$sharedstatedir,;t t
51511 s,@localstatedir@,$localstatedir,;t t
51512 s,@libdir@,$libdir,;t t
51513 s,@includedir@,$includedir,;t t
51514 s,@oldincludedir@,$oldincludedir,;t t
51515 s,@infodir@,$infodir,;t t
51516 s,@mandir@,$mandir,;t t
51517 s,@build_alias@,$build_alias,;t t
51518 s,@host_alias@,$host_alias,;t t
51519 s,@target_alias@,$target_alias,;t t
51520 s,@DEFS@,$DEFS,;t t
51521 s,@ECHO_C@,$ECHO_C,;t t
51522 s,@ECHO_N@,$ECHO_N,;t t
51523 s,@ECHO_T@,$ECHO_T,;t t
51524 s,@LIBS@,$LIBS,;t t
51525 s,@build@,$build,;t t
51526 s,@build_cpu@,$build_cpu,;t t
51527 s,@build_vendor@,$build_vendor,;t t
51528 s,@build_os@,$build_os,;t t
51529 s,@host@,$host,;t t
51530 s,@host_cpu@,$host_cpu,;t t
51531 s,@host_vendor@,$host_vendor,;t t
51532 s,@host_os@,$host_os,;t t
51533 s,@target@,$target,;t t
51534 s,@target_cpu@,$target_cpu,;t t
51535 s,@target_vendor@,$target_vendor,;t t
51536 s,@target_os@,$target_os,;t t
51538 s,@CFLAGS@,$CFLAGS,;t t
51539 s,@LDFLAGS@,$LDFLAGS,;t t
51540 s,@CPPFLAGS@,$CPPFLAGS,;t t
51541 s,@ac_ct_CC@,$ac_ct_CC,;t t
51542 s,@EXEEXT@,$EXEEXT,;t t
51543 s,@OBJEXT@,$OBJEXT,;t t
51545 s,@EGREP@,$EGREP,;t t
51547 s,@CXXFLAGS@,$CXXFLAGS,;t t
51548 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51549 s,@RANLIB@,$RANLIB,;t t
51550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51552 s,@ac_ct_AR@,$ac_ct_AR,;t t
51553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51556 s,@STRIP@,$STRIP,;t t
51557 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51558 s,@WINDRES@,$WINDRES,;t t
51559 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51560 s,@DLLTOOL@,$DLLTOOL,;t t
51561 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51562 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51563 s,@LN_S@,$LN_S,;t t
51564 s,@CXXCPP@,$CXXCPP,;t t
51565 s,@subdirs@,$subdirs,;t t
51566 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51567 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51568 s,@GTK_LIBS@,$GTK_LIBS,;t t
51569 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51570 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51571 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51572 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51573 s,@X_CFLAGS@,$X_CFLAGS,;t t
51574 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51575 s,@X_LIBS@,$X_LIBS,;t t
51576 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51577 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51578 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51579 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51580 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51581 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51582 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51584 s,@DEREZ@,$DEREZ,;t t
51585 s,@SETFILE@,$SETFILE,;t t
51586 s,@LIBICONV@,$LIBICONV,;t t
51587 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51588 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51589 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51590 s,@SDL_LIBS@,$SDL_LIBS,;t t
51591 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51592 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51593 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51594 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51595 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51596 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51597 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51598 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51599 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51600 s,@GST_LIBS@,$GST_LIBS,;t t
51601 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51602 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51603 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51604 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51605 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51606 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51607 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51608 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51609 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51610 s,@VENDOR@,$VENDOR,;t t
51611 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51612 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51613 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51614 s,@WXUNIV@,$WXUNIV,;t t
51615 s,@MONOLITHIC@,$MONOLITHIC,;t t
51616 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51617 s,@EXTRALIBS@,$EXTRALIBS,;t t
51618 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51619 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51620 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51621 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51622 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51623 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51624 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51625 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51626 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51627 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51628 s,@UNICODE@,$UNICODE,;t t
51629 s,@BUILD@,$BUILD,;t t
51630 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51631 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51632 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51633 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51634 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51635 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51636 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51637 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51638 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51639 s,@SET_MAKE@,$SET_MAKE,;t t
51640 s,@MAKE_SET@,$MAKE_SET,;t t
51642 s,@ac_ct_NM@,$ac_ct_NM,;t t
51643 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51644 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51645 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51646 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51647 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51648 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51649 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51650 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51651 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51652 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51653 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51654 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51655 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51656 s,@LIBPREFIX@,$LIBPREFIX,;t t
51657 s,@LIBEXT@,$LIBEXT,;t t
51658 s,@DLLPREFIX@,$DLLPREFIX,;t t
51659 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51660 s,@dlldir@,$dlldir,;t t
51661 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51662 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51663 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51664 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51665 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51666 s,@PIC_FLAG@,$PIC_FLAG,;t t
51667 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51668 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51669 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51670 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51671 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51672 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51673 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51674 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51675 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51676 s,@GCC_PCH@,$GCC_PCH,;t t
51677 s,@ICC_PCH@,$ICC_PCH,;t t
51678 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51679 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51680 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51681 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51682 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51683 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51684 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51685 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51686 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51687 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51688 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51689 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51690 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51691 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51692 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51693 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51694 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51695 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51696 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51697 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51698 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
51699 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
51700 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
51701 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
51702 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51703 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51704 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51705 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51706 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51707 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51708 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
51709 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
51710 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
51711 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
51712 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51713 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51714 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51715 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51716 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51717 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51718 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51719 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51720 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51721 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51722 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51723 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51724 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51725 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51726 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51727 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51728 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51729 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51730 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51731 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51732 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51733 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51734 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51735 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51736 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51737 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51738 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51739 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51740 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51741 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51742 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51743 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51744 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51745 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51746 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51747 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51748 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51749 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51750 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51751 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51752 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51753 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51754 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51755 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51756 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51757 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51758 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51759 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51760 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51761 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51762 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51763 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51764 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51765 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51766 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51767 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51768 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51769 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51770 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51771 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51772 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
51773 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51774 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51775 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51776 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51777 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51778 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51779 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51780 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51781 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51782 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51783 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51784 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51785 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51786 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51787 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51788 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51789 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51790 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51791 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51792 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51793 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51794 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51795 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51796 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51797 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51798 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51799 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51800 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51801 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51802 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51803 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51804 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51805 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51806 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51807 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51808 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51809 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51810 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51811 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51812 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51813 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51814 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51815 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51816 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51817 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51818 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51819 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51820 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51821 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51822 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51823 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51824 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51825 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51826 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51827 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51828 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51829 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51830 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51831 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51832 s,@SHARED@,$SHARED,;t t
51833 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51834 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51835 s,@USE_GUI@,$USE_GUI,;t t
51836 s,@AFMINSTALL@,$AFMINSTALL,;t t
51837 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51838 s,@TOOLKIT@,$TOOLKIT,;t t
51839 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51840 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51841 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51842 s,@cross_compiling@,$cross_compiling,;t t
51843 s,@WIDGET_SET@,$WIDGET_SET,;t t
51844 s,@WX_RELEASE@,$WX_RELEASE,;t t
51845 s,@WX_VERSION@,$WX_VERSION,;t t
51846 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51847 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51848 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51849 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51850 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51851 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51852 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51853 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51854 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51855 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51856 s,@EXE_LINKER@,$EXE_LINKER,;t t
51857 s,@GUIDIST@,$GUIDIST,;t t
51858 s,@DISTDIR@,$DISTDIR,;t t
51859 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51860 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51861 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51862 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51863 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51864 s,@RESCOMP@,$RESCOMP,;t t
51865 s,@RESFLAGS@,$RESFLAGS,;t t
51866 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51867 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51868 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51869 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51870 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51871 s,@MACSETFILE@,$MACSETFILE,;t t
51873 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51874 s,@LIBOBJS@,$LIBOBJS,;t t
51875 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51880 cat >>$CONFIG_STATUS <<\_ACEOF
51881 # Split the substitutions into bite-sized pieces for seds with
51882 # small command number limits, like on Digital OSF/1 and HP-UX.
51883 ac_max_sed_lines
=48
51884 ac_sed_frag
=1 # Number of current file.
51885 ac_beg
=1 # First line for current file.
51886 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51889 while $ac_more_lines; do
51890 if test $ac_beg -gt 1; then
51891 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51893 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51895 if test ! -s $tmp/subs.frag
; then
51896 ac_more_lines
=false
51898 # The purpose of the label and of the branching condition is to
51899 # speed up the sed processing (if there are no `@' at all, there
51900 # is no need to browse any of the substitutions).
51901 # These are the two extra sed commands mentioned above.
51903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51904 if test -z "$ac_sed_cmds"; then
51905 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51907 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51909 ac_sed_frag
=`expr $ac_sed_frag + 1`
51911 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51914 if test -z "$ac_sed_cmds"; then
51917 fi # test -n "$CONFIG_FILES"
51920 cat >>$CONFIG_STATUS <<\_ACEOF
51921 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51922 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51924 - | *:- | *:-:* ) # input from stdin
51926 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51927 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51928 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51929 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51930 * ) ac_file_in
=$ac_file.
in ;;
51933 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51934 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51936 X"$ac_file" : 'X\(//\)[^/]' \| \
51937 X"$ac_file" : 'X\(//\)$' \| \
51938 X"$ac_file" : 'X\(/\)' \| \
51939 . : '\(.\)' 2>/dev/null ||
51941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51943 /^X\(\/\/\)$/{ s//\1/; q; }
51944 /^X\(\/\).*/{ s//\1/; q; }
51946 { if $as_mkdir_p; then
51951 while test ! -d "$as_dir"; do
51952 as_dirs
="$as_dir $as_dirs"
51953 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51955 X"$as_dir" : 'X\(//\)[^/]' \| \
51956 X"$as_dir" : 'X\(//\)$' \| \
51957 X"$as_dir" : 'X\(/\)' \| \
51958 . : '\(.\)' 2>/dev/null ||
51960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51962 /^X\(\/\/\)$/{ s//\1/; q; }
51963 /^X\(\/\).*/{ s//\1/; q; }
51966 test ! -n "$as_dirs" || mkdir $as_dirs
51967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51969 { (exit 1); exit 1; }; }; }
51973 if test "$ac_dir" != .
; then
51974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51975 # A "../" for each directory in $ac_dir_suffix.
51976 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51978 ac_dir_suffix
= ac_top_builddir
=
51982 .
) # No --srcdir option. We are building in place.
51984 if test -z "$ac_top_builddir"; then
51987 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51989 [\\/]* | ?
:[\\/]* ) # Absolute path.
51990 ac_srcdir
=$srcdir$ac_dir_suffix;
51991 ac_top_srcdir
=$srcdir ;;
51992 *) # Relative path.
51993 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51994 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51997 # Do not use `cd foo && pwd` to compute absolute paths, because
51998 # the directories may not exist.
52000 .
) ac_abs_builddir
="$ac_dir";;
52003 .
) ac_abs_builddir
=`pwd`;;
52004 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52005 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52008 case $ac_abs_builddir in
52009 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52011 case ${ac_top_builddir}.
in
52012 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52013 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52014 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52017 case $ac_abs_builddir in
52018 .
) ac_abs_srcdir
=$ac_srcdir;;
52021 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52022 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52023 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52026 case $ac_abs_builddir in
52027 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52029 case $ac_top_srcdir in
52030 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52031 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52032 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52038 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52039 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52042 # Let's still pretend it is `configure' which instantiates (i.e., don't
52043 # use $as_me), people would be surprised to read:
52044 # /* config.h. Generated by config.status. */
52045 if test x
"$ac_file" = x
-; then
52048 configure_input
="$ac_file. "
52050 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52051 sed 's,.*/,,'` by configure."
52053 # First look for the input files in the build tree, otherwise in the
52055 ac_file_inputs
=`IFS=:
52056 for f in $ac_file_in; do
52058 -) echo $tmp/stdin ;;
52060 # Absolute (can't be DOS-style, as IFS=:)
52061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52062 echo "$as_me: error: cannot find input file: $f" >&2;}
52063 { (exit 1); exit 1; }; }
52066 if test -f "$f"; then
52069 elif test -f "$srcdir/$f"; then
52074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52075 echo "$as_me: error: cannot find input file: $f" >&2;}
52076 { (exit 1); exit 1; }; }
52079 done` || { (exit 1); exit 1; }
52081 if test x
"$ac_file" != x
-; then
52082 { echo "$as_me:$LINENO: creating $ac_file" >&5
52083 echo "$as_me: creating $ac_file" >&6;}
52087 cat >>$CONFIG_STATUS <<_ACEOF
52091 cat >>$CONFIG_STATUS <<\_ACEOF
52093 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52094 s
,@configure_input@
,$configure_input,;t t
52095 s
,@srcdir@
,$ac_srcdir,;t t
52096 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52097 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52098 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52099 s
,@builddir@
,$ac_builddir,;t t
52100 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52101 s
,@top_builddir@
,$ac_top_builddir,;t t
52102 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52103 s
,@INSTALL@
,$ac_INSTALL,;t t
52104 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52106 if test x"$ac_file" != x-; then
52107 mv $tmp/out $ac_file
52113 # Run the commands associated with the file.
52115 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52116 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52120 cat >>$CONFIG_STATUS <<\_ACEOF
52123 # CONFIG_HEADER section.
52126 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52127 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52129 # ac_d sets the value in "#define NAME VALUE" lines.
52130 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52131 ac_dB
='[ ].*$,\1#\2'
52134 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52135 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52136 ac_uB
='$,\1#\2define\3'
52140 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52141 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52143 - | *:- | *:-:* ) # input from stdin
52145 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52146 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52147 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52148 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52149 * ) ac_file_in
=$ac_file.
in ;;
52152 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52153 echo "$as_me: creating $ac_file" >&6;}
52155 # First look for the input files in the build tree, otherwise in the
52157 ac_file_inputs
=`IFS=:
52158 for f in $ac_file_in; do
52160 -) echo $tmp/stdin ;;
52162 # Absolute (can't be DOS-style, as IFS=:)
52163 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52164 echo "$as_me: error: cannot find input file: $f" >&2;}
52165 { (exit 1); exit 1; }; }
52166 # Do quote $f, to prevent DOS paths from being IFS'd.
52169 if test -f "$f"; then
52172 elif test -f "$srcdir/$f"; then
52177 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52178 echo "$as_me: error: cannot find input file: $f" >&2;}
52179 { (exit 1); exit 1; }; }
52182 done` || { (exit 1); exit 1; }
52183 # Remove the trailing spaces.
52184 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52188 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52189 # `conftest.undefs', that substitutes the proper values into
52190 # config.h.in to produce config.h. The first handles `#define'
52191 # templates, and the second `#undef' templates.
52192 # And first: Protect against being on the right side of a sed subst in
52193 # config.status. Protect against being in an unquoted here document
52194 # in config.status.
52195 rm -f conftest.defines conftest.undefs
52196 # Using a here document instead of a string reduces the quoting nightmare.
52197 # Putting comments in sed scripts is not portable.
52199 # `end' is used to avoid that the second main sed command (meant for
52200 # 0-ary CPP macros) applies to n-ary macro definitions.
52201 # See the Autoconf documentation for `clear'.
52202 cat >confdef2sed.
sed <<\_ACEOF
52207 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52209 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52212 # If some macros were called several times there might be several times
52213 # the same #defines, which is useless. Nevertheless, we may not want to
52214 # sort them, since we want the *last* AC-DEFINE to be honored.
52215 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52216 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52217 rm -f confdef2sed.sed
52219 # This sed command replaces #undef with comments. This is necessary, for
52220 # example, in the case of _POSIX_SOURCE, which is predefined and required
52221 # on some systems where configure will not decide to define it.
52222 cat >>conftest.undefs <<\_ACEOF
52223 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52226 # Break up conftest.defines because some shells have a limit on the size
52227 # of here documents, and old seds have small limits too (100 cmds).
52228 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52229 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52230 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52231 echo ' :' >>$CONFIG_STATUS
52232 rm -f conftest.tail
52233 while grep . conftest.defines >/dev/null
52235 # Write a limited-size here document to $tmp/defines.sed.
52236 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52237 # Speed up: don't consider the non `#define' lines.
52238 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52239 # Work around the forget-to-reset-the-flag bug.
52240 echo 't clr' >>$CONFIG_STATUS
52241 echo ': clr' >>$CONFIG_STATUS
52242 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52244 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52246 mv $tmp/out $tmp/in
52248 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52249 rm -f conftest.defines
52250 mv conftest.
tail conftest.defines
52252 rm -f conftest.defines
52253 echo ' fi # grep' >>$CONFIG_STATUS
52254 echo >>$CONFIG_STATUS
52256 # Break up conftest.undefs because some shells have a limit on the size
52257 # of here documents, and old seds have small limits too (100 cmds).
52258 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52259 rm -f conftest.
tail
52260 while grep . conftest.undefs
>/dev
/null
52262 # Write a limited-size here document to $tmp/undefs.sed.
52263 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52264 # Speed up: don't consider the non
`#undef'
52265 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52266 # Work around the forget-to-reset-the-flag bug.
52267 echo 't clr' >>$CONFIG_STATUS
52268 echo ': clr' >>$CONFIG_STATUS
52269 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52271 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52273 mv $tmp/out $tmp/in
52275 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52276 rm -f conftest.undefs
52277 mv conftest.tail conftest.undefs
52279 rm -f conftest.undefs
52281 cat >>$CONFIG_STATUS <<\_ACEOF
52282 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52283 # use $as_me), people would be surprised to read:
52284 # /* config.h. Generated by config.status. */
52285 if test x
"$ac_file" = x
-; then
52286 echo "/* Generated by configure. */" >$tmp/config.h
52288 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52290 cat $tmp/in >>$tmp/config.h
52292 if test x
"$ac_file" != x
-; then
52293 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52294 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52295 echo "$as_me: $ac_file is unchanged" >&6;}
52297 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52299 X"$ac_file" : 'X\(//\)[^/]' \| \
52300 X"$ac_file" : 'X\(//\)$' \| \
52301 X"$ac_file" : 'X\(/\)' \| \
52302 . : '\(.\)' 2>/dev/null ||
52304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52306 /^X\(\/\/\)$/{ s//\1/; q; }
52307 /^X\(\/\).*/{ s//\1/; q; }
52309 { if $as_mkdir_p; then
52314 while test ! -d "$as_dir"; do
52315 as_dirs
="$as_dir $as_dirs"
52316 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52318 X"$as_dir" : 'X\(//\)[^/]' \| \
52319 X"$as_dir" : 'X\(//\)$' \| \
52320 X"$as_dir" : 'X\(/\)' \| \
52321 . : '\(.\)' 2>/dev/null ||
52323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52325 /^X\(\/\/\)$/{ s//\1/; q; }
52326 /^X\(\/\).*/{ s//\1/; q; }
52329 test ! -n "$as_dirs" || mkdir $as_dirs
52330 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52331 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52332 { (exit 1); exit 1; }; }; }
52335 mv $tmp/config.h
$ac_file
52339 rm -f $tmp/config.h
52343 cat >>$CONFIG_STATUS <<\_ACEOF
52346 # CONFIG_COMMANDS section.
52348 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52349 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52350 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52351 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52352 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52353 X"$ac_dest" : 'X\(//\)[^/]' \| \
52354 X"$ac_dest" : 'X\(//\)$' \| \
52355 X"$ac_dest" : 'X\(/\)' \| \
52356 . : '\(.\)' 2>/dev/null ||
52358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52360 /^X\(\/\/\)$/{ s//\1/; q; }
52361 /^X\(\/\).*/{ s//\1/; q; }
52363 { if $as_mkdir_p; then
52368 while test ! -d "$as_dir"; do
52369 as_dirs
="$as_dir $as_dirs"
52370 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52372 X"$as_dir" : 'X\(//\)[^/]' \| \
52373 X"$as_dir" : 'X\(//\)$' \| \
52374 X"$as_dir" : 'X\(/\)' \| \
52375 . : '\(.\)' 2>/dev/null ||
52377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52379 /^X\(\/\/\)$/{ s//\1/; q; }
52380 /^X\(\/\).*/{ s//\1/; q; }
52383 test ! -n "$as_dirs" || mkdir $as_dirs
52384 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52385 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52386 { (exit 1); exit 1; }; }; }
52390 if test "$ac_dir" != .
; then
52391 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52392 # A "../" for each directory in $ac_dir_suffix.
52393 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52395 ac_dir_suffix
= ac_top_builddir
=
52399 .
) # No --srcdir option. We are building in place.
52401 if test -z "$ac_top_builddir"; then
52404 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52406 [\\/]* | ?
:[\\/]* ) # Absolute path.
52407 ac_srcdir
=$srcdir$ac_dir_suffix;
52408 ac_top_srcdir
=$srcdir ;;
52409 *) # Relative path.
52410 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52411 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52414 # Do not use `cd foo && pwd` to compute absolute paths, because
52415 # the directories may not exist.
52417 .
) ac_abs_builddir
="$ac_dir";;
52420 .
) ac_abs_builddir
=`pwd`;;
52421 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52422 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52425 case $ac_abs_builddir in
52426 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52428 case ${ac_top_builddir}.
in
52429 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52430 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52431 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52434 case $ac_abs_builddir in
52435 .
) ac_abs_srcdir
=$ac_srcdir;;
52438 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52439 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52440 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52443 case $ac_abs_builddir in
52444 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52446 case $ac_top_srcdir in
52447 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52448 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52449 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52454 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52455 echo "$as_me: executing $ac_dest commands" >&6;}
52458 mkdir -p $outdir &&
52459 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52461 wx
-config ) rm -f wx
-config
52462 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52468 cat >>$CONFIG_STATUS <<\_ACEOF
52470 { (exit 0); exit 0; }
52472 chmod +x
$CONFIG_STATUS
52473 ac_clean_files
=$ac_clean_files_save
52476 # configure is writing to config.log, and then calls config.status.
52477 # config.status does its own redirection, appending to config.log.
52478 # Unfortunately, on DOS this fails, as config.log is still kept open
52479 # by configure, so config.status won't be able to write to it; its
52480 # output is simply discarded. So we exec the FD to /dev/null,
52481 # effectively closing config.log, so it can be properly (re)opened and
52482 # appended to by config.status. When coming back to configure, we
52483 # need to make the FD available again.
52484 if test "$no_create" != yes; then
52486 ac_config_status_args
=
52487 test "$silent" = yes &&
52488 ac_config_status_args
="$ac_config_status_args --quiet"
52490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52493 # would make configure fail if this is the last instruction.
52494 $ac_cs_success || { (exit 1); exit 1; }
52498 # CONFIG_SUBDIRS section.
52500 if test "$no_recursion" != yes; then
52502 # Remove --cache-file and --srcdir arguments so they do not pile up.
52503 ac_sub_configure_args
=
52505 for ac_arg
in $ac_configure_args; do
52506 if test -n "$ac_prev"; then
52511 -cache-file | --cache-file | --cache-fil | --cache-fi \
52512 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52513 ac_prev
=cache_file
;;
52514 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52515 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52518 --config-cache | -C)
52520 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52522 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52528 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52532 # Always prepend --prefix to ensure using the same prefix
52533 # in subdir configurations.
52534 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52537 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52539 # Do not complain, so a configure script can configure whichever
52540 # parts of a large source tree are present.
52541 test -d $srcdir/$ac_dir || continue
52543 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52544 echo "$as_me: configuring in $ac_dir" >&6;}
52545 { if $as_mkdir_p; then
52550 while test ! -d "$as_dir"; do
52551 as_dirs
="$as_dir $as_dirs"
52552 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52554 X"$as_dir" : 'X\(//\)[^/]' \| \
52555 X"$as_dir" : 'X\(//\)$' \| \
52556 X"$as_dir" : 'X\(/\)' \| \
52557 . : '\(.\)' 2>/dev/null ||
52559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52561 /^X\(\/\/\)$/{ s//\1/; q; }
52562 /^X\(\/\).*/{ s//\1/; q; }
52565 test ! -n "$as_dirs" || mkdir $as_dirs
52566 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52567 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52568 { (exit 1); exit 1; }; }; }
52572 if test "$ac_dir" != .
; then
52573 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52574 # A "../" for each directory in $ac_dir_suffix.
52575 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52577 ac_dir_suffix
= ac_top_builddir
=
52581 .
) # No --srcdir option. We are building in place.
52583 if test -z "$ac_top_builddir"; then
52586 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52588 [\\/]* | ?
:[\\/]* ) # Absolute path.
52589 ac_srcdir
=$srcdir$ac_dir_suffix;
52590 ac_top_srcdir
=$srcdir ;;
52591 *) # Relative path.
52592 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52593 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52596 # Do not use `cd foo && pwd` to compute absolute paths, because
52597 # the directories may not exist.
52599 .
) ac_abs_builddir
="$ac_dir";;
52602 .
) ac_abs_builddir
=`pwd`;;
52603 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52604 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52607 case $ac_abs_builddir in
52608 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52610 case ${ac_top_builddir}.
in
52611 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52612 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52613 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52616 case $ac_abs_builddir in
52617 .
) ac_abs_srcdir
=$ac_srcdir;;
52620 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52621 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52622 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52625 case $ac_abs_builddir in
52626 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52628 case $ac_top_srcdir in
52629 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52630 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52631 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52638 # Check for guested configure; otherwise get Cygnus style configure.
52639 if test -f $ac_srcdir/configure.gnu
; then
52640 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52641 elif test -f $ac_srcdir/configure
; then
52642 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52643 elif test -f $ac_srcdir/configure.
in; then
52644 ac_sub_configure
=$ac_configure
52646 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52647 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52651 # The recursion is here.
52652 if test -n "$ac_sub_configure"; then
52653 # Make the cache file name correct relative to the subdirectory.
52654 case $cache_file in
52655 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52656 *) # Relative path.
52657 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52660 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52661 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52662 # The eval makes quoting arguments work.
52663 eval $ac_sub_configure $ac_sub_configure_args \
52664 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52665 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52666 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52667 { (exit 1); exit 1; }; }
52676 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52678 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52679 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52681 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52682 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52683 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52685 echo " What level of wxWidgets compatibility should be enabled?"
52686 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52687 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52689 echo " Which libraries should wxWidgets use?"
52690 echo " jpeg ${wxUSE_LIBJPEG-none}"
52691 echo " png ${wxUSE_LIBPNG-none}"
52692 echo " regex ${wxUSE_REGEX}"
52693 echo " tiff ${wxUSE_LIBTIFF-none}"
52694 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52695 echo " xpm ${wxUSE_LIBXPM-none}"
52697 echo " zlib ${wxUSE_ZLIB}"
52698 echo " odbc ${wxUSE_ODBC}"
52699 echo " expat ${wxUSE_EXPAT}"
52700 echo " libmspack ${wxUSE_LIBMSPACK}"
52701 echo " sdl ${wxUSE_LIBSDL}"