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.0.
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.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support
in wxProtocol
1015 --enable-protocol-ftp FTP support
in wxProtocol
1016 --enable-protocol-file FILE support
in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use
help subsystem
1020 --enable-mshtmlhelp use MS HTML Help
(win32
)
1021 --enable-html use wxHTML sub
-library
1022 --enable-htmlhelp use wxHTML
-based help
1023 --enable-xrc use XRC resources sub
-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout
-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl
(Mac
)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1035 --enable-prologio not available
; see contrib
1036 --enable-resources not available
; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag
'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-calendar use wxCalendarCtrl class
1045 --enable-caret use wxCaret class
1046 --enable-checkbox use wxCheckBox class
1047 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1048 --enable-choice use wxChoice class
1049 --enable-choicebook use wxChoicebook class
1050 --enable-colourpicker use wxColourPickerCtrl class
1051 --enable-combobox use wxComboBox class
1052 --enable-comboctrl use wxComboCtrl class
1053 --enable-datepick use wxDatePickerCtrl class
1054 --enable-dirpicker use wxDirPickerCtrl class
1055 --enable-display use wxDisplay class
1056 --enable-filepicker use wxFilePickerCtrl class
1057 --enable-fontpicker use wxFontPickerCtrl class
1058 --enable-gauge use wxGauge class
1059 --enable-grid use wxGrid class
1060 --enable-dataviewctrl, use wxDataViewCtrl class
1061 --enable-hyperlink use wxHyperlinkCtrl class
1062 --enable-imaglist use wxImageList class
1063 --enable-listbook use wxListbook class
1064 --enable-listbox use wxListBox class
1065 --enable-listctrl use wxListCtrl class
1066 --enable-notebook use wxNotebook class
1067 --enable-odcombobox use wxOwnerDrawnComboBox class
1068 --enable-radiobox use wxRadioBox class
1069 --enable-radiobtn use wxRadioButton class
1070 --enable-sash use wxSashWindow class
1071 --enable-scrollbar use wxScrollBar class and scrollable windows
1072 --enable-slider use wxSlider class
1073 --enable-spinbtn use wxSpinButton class
1074 --enable-spinctrl use wxSpinCtrl class
1075 --enable-splitter use wxSplitterWindow class
1076 --enable-statbmp use wxStaticBitmap class
1077 --enable-statbox use wxStaticBox class
1078 --enable-statline use wxStaticLine class
1079 --enable-stattext use wxStaticText class
1080 --enable-statusbar use wxStatusBar class
1081 --enable-tabdialog use wxTabControl class
1082 --enable-textctrl use wxTextCtrl class
1083 --enable-togglebtn use wxToggleButton class
1084 --enable-toolbar use wxToolBar class
1085 --enable-tbarnative use native wxToolBar class
1086 --enable-treebook use wxTreebook class
1087 --enable-toolbook use wxToolbook class
1088 --enable-treectrl use wxTreeCtrl class
1089 --enable-tipwindow use wxTipWindow class
1090 --enable-popupwin use wxPopUpWindow class
1091 --enable-commondlg use all common dialogs
1092 --enable-choicedlg use wxChoiceDialog
1093 --enable-coldlg use wxColourDialog
1094 --enable-filedlg use wxFileDialog
1095 --enable-finddlg use wxFindReplaceDialog
1096 --enable-fontdlg use wxFontDialog
1097 --enable-dirdlg use wxDirDialog
1098 --enable-msgdlg use wxMessageDialog
1099 --enable-numberdlg use wxNumberEntryDialog
1100 --enable-splash use wxSplashScreen
1101 --enable-textdlg use wxTextDialog
1102 --enable-tipdlg use startup tips
1103 --enable-progressdlg use wxProgressDialog
1104 --enable-wizarddlg use wxWizard
1105 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1106 --enable-miniframe use wxMiniFrame class
1107 --enable-tooltips use wxToolTip class
1108 --enable-splines use spline drawing code
1109 --enable-mousewheel use mousewheel
1110 --enable-validators use wxValidator and derived classes
1111 --enable-busyinfo use wxBusyInfo
1112 --enable-joystick use wxJoystick
1113 --enable-metafiles use wxMetaFile
(Win32 only
)
1114 --enable-dragimage use wxDragImage
1115 --enable-accessibility enable accessibility support
1116 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1117 --enable-palette use wxPalette class
1118 --enable-image use wxImage class
1119 --enable-gif use gif images
(GIF
file format
)
1120 --enable-pcx use pcx images
(PCX
file format
)
1121 --enable-iff use iff images
(IFF
file format
)
1122 --enable-pnm use pnm images
(PNM
file format
)
1123 --enable-xpm use xpm images
(XPM
file format
)
1124 --enable-icocur use Windows ICO and CUR formats
1125 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1126 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1127 --disable-largefile omit support
for large files
1128 --disable-gtktest do not try to compile and run a
test GTK
+ program
1129 --disable-gtktest Do not try to compile and run a
test GTK program
1130 --disable-sdltest Do not try to compile and run a
test SDL program
1131 --enable-omf use OMF object format
(OS
/2)
1132 --disable-dependency-tracking
1133 don
't use dependency tracking even if the compiler
1135 --disable-precomp-headers
1136 don't use precompiled headers even
if compiler can
1139 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1140 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1141 --without-subdirs don
't generate makefiles for samples/demos/...
1142 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1143 --with-motif use Motif/Lesstif
1144 --with-mac use Mac OS X
1145 --with-cocoa use Cocoa
1146 --with-wine use Wine
1147 --with-msw use MS-Windows
1148 --with-pm use OS/2 Presentation Manager
1149 --with-mgl use SciTech MGL
1150 --with-directfb use DirectFB
1151 --with-microwin use MicroWindows
1153 --with-libpng use libpng (PNG image format)
1154 --with-libjpeg use libjpeg (JPEG file format)
1155 --with-libtiff use libtiff (TIFF file format)
1156 --with-libxpm use libxpm (XPM file format)
1157 --with-libmspack use libmspack (CHM help files loading)
1158 --with-sdl use SDL for audio on Unix
1159 --with-gnomeprint use GNOME print for printing under GNOME
1160 --with-gnomevfs use GNOME VFS for associating MIME types
1161 --with-hildon use Hildon framework for Nokia 770
1162 --with-opengl use OpenGL (or Mesa)
1163 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1164 --with-regex enable support for wxRegEx class
1165 --with-zlib use zlib for LZW compression
1166 --with-odbc use the IODBC and wxODBC classes
1167 --with-expat enable XML support using expat parser
1168 --with-flavour=NAME specify a name to identify this build
1169 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1170 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1171 --with-x use the X Window System
1172 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1173 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1174 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1175 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1176 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1178 Some influential environment variables:
1179 CC C compiler command
1180 CFLAGS C compiler flags
1181 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1182 nonstandard directory <lib dir>
1183 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1184 headers in a nonstandard directory <include dir>
1186 CXX C++ compiler command
1187 CXXFLAGS C++ compiler flags
1188 CXXCPP C++ preprocessor
1189 PKG_CONFIG path to pkg-config utility
1191 C compiler flags for DIRECTFB, overriding pkg-config
1193 linker flags for DIRECTFB, overriding pkg-config
1195 C compiler flags for PANGOX, overriding pkg-config
1196 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1198 C compiler flags for PANGOFT2, overriding pkg-config
1200 linker flags for PANGOFT2, overriding pkg-config
1202 C compiler flags for PANGOXFT, overriding pkg-config
1204 linker flags for PANGOXFT, overriding pkg-config
1205 LIBGNOMEPRINTUI_CFLAGS
1206 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1207 LIBGNOMEPRINTUI_LIBS
1208 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1210 C compiler flags for GNOMEVFS, overriding pkg-config
1212 linker flags for GNOMEVFS, overriding pkg-config
1214 C compiler flags for HILDON, overriding pkg-config
1215 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1216 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1217 GST_LIBS linker flags for GST, overriding pkg-config
1219 Use these variables to override the choices made by `configure' or to
help
1220 it to
find libraries and programs with nonstandard names
/locations.
1222 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1226 if test "$ac_init_help" = "recursive"; then
1227 # If there are subdirs, report their specific --help.
1229 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1230 test -d $ac_dir || continue
1233 if test "$ac_dir" != .
; then
1234 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235 # A "../" for each directory in $ac_dir_suffix.
1236 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1238 ac_dir_suffix
= ac_top_builddir
=
1242 .
) # No --srcdir option. We are building in place.
1244 if test -z "$ac_top_builddir"; then
1247 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1249 [\\/]* | ?
:[\\/]* ) # Absolute path.
1250 ac_srcdir
=$srcdir$ac_dir_suffix;
1251 ac_top_srcdir
=$srcdir ;;
1253 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1254 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1257 # Do not use `cd foo && pwd` to compute absolute paths, because
1258 # the directories may not exist.
1260 .
) ac_abs_builddir
="$ac_dir";;
1263 .
) ac_abs_builddir
=`pwd`;;
1264 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1265 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1268 case $ac_abs_builddir in
1269 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1271 case ${ac_top_builddir}.
in
1272 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1273 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1274 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1277 case $ac_abs_builddir in
1278 .
) ac_abs_srcdir
=$ac_srcdir;;
1281 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1282 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1283 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1286 case $ac_abs_builddir in
1287 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1289 case $ac_top_srcdir in
1290 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1291 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1292 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1297 # Check for guested configure; otherwise get Cygnus style configure.
1298 if test -f $ac_srcdir/configure.gnu
; then
1300 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1301 elif test -f $ac_srcdir/configure
; then
1303 $SHELL $ac_srcdir/configure
--help=recursive
1304 elif test -f $ac_srcdir/configure.ac
||
1305 test -f $ac_srcdir/configure.
in; then
1307 $ac_configure --help
1309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 test -n "$ac_init_help" && exit 0
1316 if $ac_init_version; then
1318 wxWidgets configure
2.7.0
1319 generated by GNU Autoconf
2.59
1321 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1322 This configure
script is free software
; the Free Software Foundation
1323 gives unlimited permission to copy
, distribute and modify it.
1329 This file contains any messages produced by compilers while
1330 running configure, to aid debugging if configure makes a mistake.
1332 It was created by wxWidgets $as_me 2.7.0, which was
1333 generated by GNU Autoconf 2.59. Invocation command line was
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1367 test -z "$as_dir" && as_dir
=.
1368 echo "PATH: $as_dir"
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1392 ac_must_keep_next
=false
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1402 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1403 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1406 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1408 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1409 if test $ac_must_keep_next = true
; then
1410 ac_must_keep_next
=false
# Got value, back to normal.
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416 | -with-* | --with-* | -without-* | --without-* | --x)
1417 case "$ac_configure_args0 " in
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1421 -* ) ac_must_keep_next
=true
;;
1424 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1425 # Get rid of the leading space.
1431 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1432 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1434 # When interrupted or exit'd, cleanup temporary files, and complete
1435 # config.log. We remove comments because anyway the quotes in there
1436 # would cause problems or look ugly.
1437 # WARNING: Be sure not to use single quotes in there, as some shells,
1438 # such as our DU 5.0 friend, will then `close' the trap.
1439 trap 'exit_status=$?
1440 # Save into config.log some information that might help in debugging.
1445 ## ---------------- ##
1446 ## Cache variables. ##
1447 ## ---------------- ##
1450 # The following way of writing the cache mishandles newlines in values,
1453 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1456 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1461 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1468 ## ----------------- ##
1469 ## Output variables. ##
1470 ## ----------------- ##
1473 for ac_var in $ac_subst_vars
1475 eval ac_val=$`echo $ac_var`
1476 echo "$ac_var='"'"'$ac_val'"'"'"
1480 if test -n "$ac_subst_files"; then
1487 for ac_var in $ac_subst_files
1489 eval ac_val=$`echo $ac_var`
1490 echo "$ac_var='"'"'$ac_val'"'"'"
1495 if test -s confdefs.h; then
1502 sed "/^$/d" confdefs.h | sort
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1509 rm -f core *.core &&
1510 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1513 for ac_signal
in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -rf conftest
* confdefs.h
1520 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1523 # Predefined preprocessor variables.
1525 cat >>confdefs.h
<<_ACEOF
1526 #define PACKAGE_NAME "$PACKAGE_NAME"
1530 cat >>confdefs.h
<<_ACEOF
1531 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1535 cat >>confdefs.h
<<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1540 cat >>confdefs.h
<<_ACEOF
1541 #define PACKAGE_STRING "$PACKAGE_STRING"
1545 cat >>confdefs.h
<<_ACEOF
1546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550 # Let the site file select an alternate cache file if it wants to.
1551 # Prefer explicitly selected file to automatically selected ones.
1552 if test -z "$CONFIG_SITE"; then
1553 if test "x$prefix" != xNONE
; then
1554 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1556 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1559 for ac_site_file
in $CONFIG_SITE; do
1560 if test -r "$ac_site_file"; then
1561 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1562 echo "$as_me: loading site script $ac_site_file" >&6;}
1563 sed 's/^/| /' "$ac_site_file" >&5
1568 if test -r "$cache_file"; then
1569 # Some versions of bash will fail to source /dev/null (special
1570 # files actually), so we avoid doing that.
1571 if test -f "$cache_file"; then
1572 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1573 echo "$as_me: loading cache $cache_file" >&6;}
1575 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1576 *) . .
/$cache_file;;
1580 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1581 echo "$as_me: creating cache $cache_file" >&6;}
1585 # Check that the precious variables saved in the cache have kept the same
1587 ac_cache_corrupted
=false
1588 for ac_var
in `(set) 2>&1 |
1589 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1590 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1591 eval ac_new_set
=\
$ac_env_${ac_var}_set
1592 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1593 eval ac_new_val
="\$ac_env_${ac_var}_value"
1594 case $ac_old_set,$ac_new_set in
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted
=: ;;
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted
=: ;;
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted
=:
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1618 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1619 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 *) ac_arg
=$ac_var=$ac_new_val ;;
1622 case " $ac_configure_args " in
1623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1624 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1628 if $ac_cache_corrupted; then
1629 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1630 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1631 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1632 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1633 { (exit 1); exit 1; }; }
1637 ac_cpp
='$CPP $CPPFLAGS'
1638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1672 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1673 if test -f $ac_dir/install-sh; then
1675 ac_install_sh
="$ac_aux_dir/install-sh -c"
1677 elif test -f $ac_dir/install.sh
; then
1679 ac_install_sh
="$ac_aux_dir/install.sh -c"
1681 elif test -f $ac_dir/shtool
; then
1683 ac_install_sh
="$ac_aux_dir/shtool install -c"
1687 if test -z "$ac_aux_dir"; then
1688 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1689 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1690 { (exit 1); exit 1; }; }
1692 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1693 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1694 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1696 # Make sure we can run config.sub.
1697 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1698 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1699 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1700 { (exit 1); exit 1; }; }
1702 echo "$as_me:$LINENO: checking build system type" >&5
1703 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1704 if test "${ac_cv_build+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 ac_cv_build_alias
=$build_alias
1708 test -z "$ac_cv_build_alias" &&
1709 ac_cv_build_alias
=`$ac_config_guess`
1710 test -z "$ac_cv_build_alias" &&
1711 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1712 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1713 { (exit 1); exit 1; }; }
1714 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1715 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1717 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1721 echo "${ECHO_T}$ac_cv_build" >&6
1723 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1728 echo "$as_me:$LINENO: checking host system type" >&5
1729 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1730 if test "${ac_cv_host+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 ac_cv_host_alias
=$host_alias
1734 test -z "$ac_cv_host_alias" &&
1735 ac_cv_host_alias
=$ac_cv_build_alias
1736 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1743 echo "${ECHO_T}$ac_cv_host" >&6
1745 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750 echo "$as_me:$LINENO: checking target system type" >&5
1751 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1752 if test "${ac_cv_target+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_target_alias
=$target_alias
1756 test "x$ac_cv_target_alias" = "x" &&
1757 ac_cv_target_alias
=$ac_cv_host_alias
1758 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1765 echo "${ECHO_T}$ac_cv_target" >&6
1766 target
=$ac_cv_target
1767 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772 # The aliases save the names the user supplied, while $host etc.
1773 # will get canonicalized.
1774 test -n "$target_alias" &&
1775 test "$program_prefix$program_suffix$program_transform_name" = \
1777 program_prefix
=${target_alias}-
1781 wx_major_version_number
=2
1782 wx_minor_version_number
=7
1784 wx_subrelease_number
=1
1786 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1787 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1788 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1790 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1803 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1809 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1815 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1817 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1819 DEFAULT_wxUSE_COCOA
=0
1823 DEFAULT_wxUSE_MICROWIN
=0
1824 DEFAULT_wxUSE_MOTIF
=0
1830 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1831 DEFAULT_DEFAULT_wxUSE_GTK
=0
1832 DEFAULT_DEFAULT_wxUSE_MAC
=0
1833 DEFAULT_DEFAULT_wxUSE_MGL
=0
1834 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1835 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1836 DEFAULT_DEFAULT_wxUSE_MSW
=0
1837 DEFAULT_DEFAULT_wxUSE_PM
=0
1838 DEFAULT_DEFAULT_wxUSE_X11
=0
1839 DEFAULT_DEFAULT_wxUSE_DFB
=0
1844 SAMPLES_RPATH_POSTLINK
=
1846 DEFAULT_STD_FLAG
=yes
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1854 cat >>confdefs.h
<<\_ACEOF
1859 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1863 cat >>confdefs.h
<<\_ACEOF
1868 if test "x$TMP" = "xalpha"; then
1870 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_GTK
=1
1877 *-*-gnu* | *-*-k*bsd
*-gnu )
1880 if test "x$TMP" = "xalpha"; then
1882 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_GTK
=1
1889 *-*-irix5* | *-*-irix6* )
1892 cat >>confdefs.h
<<\_ACEOF
1896 cat >>confdefs.h
<<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1911 #define __SOLARIS__ 1
1914 cat >>confdefs.h
<<\_ACEOF
1918 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1925 cat >>confdefs.h
<<\_ACEOF
1929 cat >>confdefs.h
<<\_ACEOF
1933 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1942 cat >>confdefs.h
<<\_ACEOF
1943 #define __FREEBSD__ 1
1946 cat >>confdefs.h
<<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_GTK
=1
1952 *-*-openbsd*|*-*-mirbsd*)
1955 cat >>confdefs.h
<<\_ACEOF
1956 #define __OPENBSD__ 1
1959 cat >>confdefs.h
<<\_ACEOF
1963 DEFAULT_DEFAULT_wxUSE_GTK
=1
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __NETBSD__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1976 DEFAULT_DEFAULT_wxUSE_GTK
=1
1977 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1979 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1992 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1993 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1998 cat >>confdefs.h
<<\_ACEOF
2002 cat >>confdefs.h
<<\_ACEOF
2006 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2011 cat >>confdefs.h
<<\_ACEOF
2015 cat >>confdefs.h
<<\_ACEOF
2019 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2026 cat >>confdefs.h
<<\_ACEOF
2030 cat >>confdefs.h
<<\_ACEOF
2034 cat >>confdefs.h
<<\_ACEOF
2038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2045 cat >>confdefs.h
<<\_ACEOF
2046 #define __UNIXWARE__ 1
2051 *-*-cygwin* | *-*-mingw32* )
2054 DEFAULT_DEFAULT_wxUSE_MSW
=1
2061 cat >>confdefs.h
<<\_ACEOF
2066 DEFAULT_DEFAULT_wxUSE_MGL
=1
2069 *-pc-os2_emx | *-pc-os2-emx )
2070 cat >>confdefs.h
<<\_ACEOF
2075 cat >>confdefs.h
<<\_ACEOF
2080 DEFAULT_DEFAULT_wxUSE_PM
=1
2082 LDFLAGS
="$LDFLAGS -Zcrtdll"
2083 ac_executable_extensions
=".exe"
2084 export ac_executable_extensions
2088 for ac_dir
in $PATH; do
2090 if test -z "$ac_TEMP_PATH"; then
2091 ac_TEMP_PATH
="$ac_dir"
2093 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2096 export PATH
="$ac_TEMP_PATH"
2105 cat >>confdefs.h
<<\_ACEOF
2109 cat >>confdefs.h
<<\_ACEOF
2110 #define __DARWIN__ 1
2113 cat >>confdefs.h
<<\_ACEOF
2114 #define TARGET_CARBON 1
2117 DEFAULT_DEFAULT_wxUSE_MAC
=1
2120 powerpc
-apple-macos* )
2122 ac_cv_c_bigendian
=yes
2124 DEFAULT_DEFAULT_wxUSE_MAC
=1
2130 cat >>confdefs.h
<<\_ACEOF
2137 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2138 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2139 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2140 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2142 DEFAULT_DEFAULT_wxUSE_X11
=1
2143 DEFAULT_wxUSE_SHARED
=no
2149 wx_arg_cache_file
="configarg.cache"
2150 echo "loading argument cache $wx_arg_cache_file"
2151 rm -f ${wx_arg_cache_file}.tmp
2152 touch ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}
2157 if test $DEBUG_CONFIGURE = 1; then
2158 DEFAULT_wxUSE_UNIVERSAL
=no
2159 DEFAULT_wxUSE_STL
=no
2161 DEFAULT_wxUSE_NANOX
=no
2163 DEFAULT_wxUSE_THREADS
=yes
2165 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2166 DEFAULT_wxUSE_OPTIMISE
=no
2167 DEFAULT_wxUSE_PROFILE
=no
2168 DEFAULT_wxUSE_NO_DEPS
=no
2169 DEFAULT_wxUSE_NO_RTTI
=no
2170 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2171 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2172 DEFAULT_wxUSE_RPATH
=yes
2173 DEFAULT_wxUSE_PERMISSIVE
=no
2174 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2175 DEFAULT_wxUSE_DEBUG_INFO
=yes
2176 DEFAULT_wxUSE_DEBUG_GDB
=yes
2177 DEFAULT_wxUSE_MEM_TRACING
=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2179 DEFAULT_wxUSE_DMALLOC
=no
2180 DEFAULT_wxUSE_APPLE_IEEE
=no
2182 DEFAULT_wxUSE_EXCEPTIONS
=no
2183 DEFAULT_wxUSE_LOG
=yes
2184 DEFAULT_wxUSE_LOGWINDOW
=no
2185 DEFAULT_wxUSE_LOGGUI
=no
2186 DEFAULT_wxUSE_LOGDIALOG
=no
2188 DEFAULT_wxUSE_GUI
=yes
2189 DEFAULT_wxUSE_CONTROLS
=no
2191 DEFAULT_wxUSE_REGEX
=no
2192 DEFAULT_wxUSE_XML
=no
2193 DEFAULT_wxUSE_EXPAT
=no
2194 DEFAULT_wxUSE_ZLIB
=no
2195 DEFAULT_wxUSE_LIBPNG
=no
2196 DEFAULT_wxUSE_LIBJPEG
=no
2197 DEFAULT_wxUSE_LIBTIFF
=no
2198 DEFAULT_wxUSE_LIBXPM
=no
2199 DEFAULT_wxUSE_LIBMSPACK
=no
2200 DEFAULT_wxUSE_LIBSDL
=no
2201 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2202 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2203 DEFAULT_wxUSE_LIBHILDON
=no
2204 DEFAULT_wxUSE_ODBC
=no
2205 DEFAULT_wxUSE_OPENGL
=no
2207 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2208 DEFAULT_wxUSE_STACKWALKER
=no
2209 DEFAULT_wxUSE_DEBUGREPORT
=no
2210 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2211 DEFAULT_wxUSE_STD_IOSTREAM
=no
2212 DEFAULT_wxUSE_STD_STRING
=no
2213 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2214 DEFAULT_wxUSE_DATETIME
=no
2215 DEFAULT_wxUSE_TIMER
=no
2216 DEFAULT_wxUSE_STOPWATCH
=no
2217 DEFAULT_wxUSE_FILE
=no
2218 DEFAULT_wxUSE_FFILE
=no
2219 DEFAULT_wxUSE_STDPATHS
=no
2220 DEFAULT_wxUSE_TEXTBUFFER
=no
2221 DEFAULT_wxUSE_TEXTFILE
=no
2222 DEFAULT_wxUSE_SOUND
=no
2223 DEFAULT_wxUSE_MEDIACTRL
=no
2224 DEFAULT_wxUSE_GSTREAMER8
=no
2225 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2226 DEFAULT_wxUSE_INTL
=no
2227 DEFAULT_wxUSE_CONFIG
=no
2228 DEFAULT_wxUSE_FONTMAP
=no
2229 DEFAULT_wxUSE_STREAMS
=no
2230 DEFAULT_wxUSE_SOCKETS
=no
2231 DEFAULT_wxUSE_OLE
=no
2232 DEFAULT_wxUSE_DATAOBJ
=no
2233 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2234 DEFAULT_wxUSE_JOYSTICK
=no
2235 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2236 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2237 DEFAULT_wxUSE_LONGLONG
=no
2238 DEFAULT_wxUSE_GEOMETRY
=no
2240 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2241 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2242 DEFAULT_wxUSE_POSTSCRIPT
=no
2244 DEFAULT_wxUSE_CLIPBOARD
=no
2245 DEFAULT_wxUSE_TOOLTIPS
=no
2246 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2247 DEFAULT_wxUSE_DRAGIMAGE
=no
2248 DEFAULT_wxUSE_SPLINES
=no
2249 DEFAULT_wxUSE_MOUSEWHEEL
=no
2251 DEFAULT_wxUSE_MDI
=no
2252 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2253 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2254 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2256 DEFAULT_wxUSE_RESOURCES
=no
2257 DEFAULT_wxUSE_CONSTRAINTS
=no
2258 DEFAULT_wxUSE_IPC
=no
2259 DEFAULT_wxUSE_HELP
=no
2260 DEFAULT_wxUSE_MS_HTML_HELP
=no
2261 DEFAULT_wxUSE_WXHTML_HELP
=no
2262 DEFAULT_wxUSE_TREELAYOUT
=no
2263 DEFAULT_wxUSE_METAFILE
=no
2264 DEFAULT_wxUSE_MIMETYPE
=no
2265 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2266 DEFAULT_wxUSE_PROTOCOL
=no
2267 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2268 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2269 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2270 DEFAULT_wxUSE_URL
=no
2272 DEFAULT_wxUSE_COMMONDLGS
=no
2273 DEFAULT_wxUSE_CHOICEDLG
=no
2274 DEFAULT_wxUSE_COLOURDLG
=no
2275 DEFAULT_wxUSE_DIRDLG
=no
2276 DEFAULT_wxUSE_FILEDLG
=no
2277 DEFAULT_wxUSE_FINDREPLDLG
=no
2278 DEFAULT_wxUSE_FONTDLG
=no
2279 DEFAULT_wxUSE_MSGDLG
=no
2280 DEFAULT_wxUSE_NUMBERDLG
=no
2281 DEFAULT_wxUSE_TEXTDLG
=no
2282 DEFAULT_wxUSE_SPLASH
=no
2283 DEFAULT_wxUSE_STARTUP_TIPS
=no
2284 DEFAULT_wxUSE_PROGRESSDLG
=no
2285 DEFAULT_wxUSE_WIZARDDLG
=no
2287 DEFAULT_wxUSE_MENUS
=no
2288 DEFAULT_wxUSE_MINIFRAME
=no
2289 DEFAULT_wxUSE_HTML
=no
2290 DEFAULT_wxUSE_RICHTEXT
=no
2291 DEFAULT_wxUSE_XRC
=no
2292 DEFAULT_wxUSE_AUI
=no
2293 DEFAULT_wxUSE_WEBKIT
=no
2294 DEFAULT_wxUSE_FILESYSTEM
=no
2295 DEFAULT_wxUSE_FS_INET
=no
2296 DEFAULT_wxUSE_FS_ZIP
=no
2297 DEFAULT_wxUSE_BUSYINFO
=no
2298 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2299 DEFAULT_wxUSE_ZIPSTREAM
=no
2300 DEFAULT_wxUSE_VALIDATORS
=no
2302 DEFAULT_wxUSE_ACCEL
=no
2303 DEFAULT_wxUSE_BUTTON
=no
2304 DEFAULT_wxUSE_BMPBUTTON
=no
2305 DEFAULT_wxUSE_CALCTRL
=no
2306 DEFAULT_wxUSE_CARET
=no
2307 DEFAULT_wxUSE_CHECKBOX
=no
2308 DEFAULT_wxUSE_CHECKLST
=no
2309 DEFAULT_wxUSE_CHOICE
=no
2310 DEFAULT_wxUSE_CHOICEBOOK
=no
2311 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2312 DEFAULT_wxUSE_COMBOBOX
=no
2313 DEFAULT_wxUSE_COMBOCTRL
=no
2314 DEFAULT_wxUSE_DATEPICKCTRL
=no
2315 DEFAULT_wxUSE_DISPLAY
=no
2316 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2317 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2318 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2319 DEFAULT_wxUSE_GAUGE
=no
2320 DEFAULT_wxUSE_GRID
=no
2321 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2322 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2323 DEFAULT_wxUSE_IMAGLIST
=no
2324 DEFAULT_wxUSE_LISTBOOK
=no
2325 DEFAULT_wxUSE_LISTBOX
=no
2326 DEFAULT_wxUSE_LISTCTRL
=no
2327 DEFAULT_wxUSE_NOTEBOOK
=no
2328 DEFAULT_wxUSE_ODCOMBOBOX
=no
2329 DEFAULT_wxUSE_RADIOBOX
=no
2330 DEFAULT_wxUSE_RADIOBTN
=no
2331 DEFAULT_wxUSE_SASH
=no
2332 DEFAULT_wxUSE_SCROLLBAR
=no
2333 DEFAULT_wxUSE_SLIDER
=no
2334 DEFAULT_wxUSE_SPINBTN
=no
2335 DEFAULT_wxUSE_SPINCTRL
=no
2336 DEFAULT_wxUSE_SPLITTER
=no
2337 DEFAULT_wxUSE_STATBMP
=no
2338 DEFAULT_wxUSE_STATBOX
=no
2339 DEFAULT_wxUSE_STATLINE
=no
2340 DEFAULT_wxUSE_STATTEXT
=no
2341 DEFAULT_wxUSE_STATUSBAR
=yes
2342 DEFAULT_wxUSE_TAB_DIALOG
=no
2343 DEFAULT_wxUSE_TEXTCTRL
=no
2344 DEFAULT_wxUSE_TOGGLEBTN
=no
2345 DEFAULT_wxUSE_TOOLBAR
=no
2346 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2347 DEFAULT_wxUSE_TREEBOOK
=no
2348 DEFAULT_wxUSE_TOOLBOOK
=no
2349 DEFAULT_wxUSE_TREECTRL
=no
2350 DEFAULT_wxUSE_POPUPWIN
=no
2351 DEFAULT_wxUSE_TIPWINDOW
=no
2353 DEFAULT_wxUSE_UNICODE
=no
2354 DEFAULT_wxUSE_UNICODE_MSLU
=no
2355 DEFAULT_wxUSE_WCSRTOMBS
=no
2357 DEFAULT_wxUSE_PALETTE
=no
2358 DEFAULT_wxUSE_IMAGE
=no
2359 DEFAULT_wxUSE_GIF
=no
2360 DEFAULT_wxUSE_PCX
=no
2361 DEFAULT_wxUSE_PNM
=no
2362 DEFAULT_wxUSE_IFF
=no
2363 DEFAULT_wxUSE_XPM
=no
2364 DEFAULT_wxUSE_ICO_CUR
=no
2365 DEFAULT_wxUSE_ACCESSIBILITY
=no
2367 DEFAULT_wxUSE_MONOLITHIC
=no
2368 DEFAULT_wxUSE_PLUGINS
=no
2369 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2371 DEFAULT_wxUSE_UNIVERSAL
=no
2372 DEFAULT_wxUSE_STL
=no
2374 DEFAULT_wxUSE_NANOX
=no
2376 DEFAULT_wxUSE_THREADS
=yes
2378 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2379 DEFAULT_wxUSE_OPTIMISE
=yes
2380 DEFAULT_wxUSE_PROFILE
=no
2381 DEFAULT_wxUSE_NO_DEPS
=no
2382 DEFAULT_wxUSE_NO_RTTI
=no
2383 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2384 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2385 DEFAULT_wxUSE_RPATH
=yes
2386 DEFAULT_wxUSE_PERMISSIVE
=no
2387 DEFAULT_wxUSE_DEBUG_FLAG
=no
2388 DEFAULT_wxUSE_DEBUG_INFO
=no
2389 DEFAULT_wxUSE_DEBUG_GDB
=no
2390 DEFAULT_wxUSE_MEM_TRACING
=no
2391 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2392 DEFAULT_wxUSE_DMALLOC
=no
2393 DEFAULT_wxUSE_APPLE_IEEE
=yes
2395 DEFAULT_wxUSE_EXCEPTIONS
=yes
2396 DEFAULT_wxUSE_LOG
=yes
2397 DEFAULT_wxUSE_LOGWINDOW
=yes
2398 DEFAULT_wxUSE_LOGGUI
=yes
2399 DEFAULT_wxUSE_LOGDIALOG
=yes
2401 DEFAULT_wxUSE_GUI
=yes
2403 DEFAULT_wxUSE_REGEX
=yes
2404 DEFAULT_wxUSE_XML
=yes
2405 DEFAULT_wxUSE_EXPAT
=yes
2406 DEFAULT_wxUSE_ZLIB
=yes
2407 DEFAULT_wxUSE_LIBPNG
=yes
2408 DEFAULT_wxUSE_LIBJPEG
=yes
2409 DEFAULT_wxUSE_LIBTIFF
=yes
2410 DEFAULT_wxUSE_LIBXPM
=yes
2411 DEFAULT_wxUSE_LIBMSPACK
=yes
2412 DEFAULT_wxUSE_LIBSDL
=no
2413 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2414 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2415 DEFAULT_wxUSE_LIBHILDON
=no
2416 DEFAULT_wxUSE_ODBC
=no
2417 DEFAULT_wxUSE_OPENGL
=no
2419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2420 DEFAULT_wxUSE_STACKWALKER
=yes
2421 DEFAULT_wxUSE_DEBUGREPORT
=yes
2422 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2423 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2424 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2425 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2426 DEFAULT_wxUSE_DATETIME
=yes
2427 DEFAULT_wxUSE_TIMER
=yes
2428 DEFAULT_wxUSE_STOPWATCH
=yes
2429 DEFAULT_wxUSE_FILE
=yes
2430 DEFAULT_wxUSE_FFILE
=yes
2431 DEFAULT_wxUSE_STDPATHS
=yes
2432 DEFAULT_wxUSE_TEXTBUFFER
=yes
2433 DEFAULT_wxUSE_TEXTFILE
=yes
2434 DEFAULT_wxUSE_SOUND
=yes
2435 DEFAULT_wxUSE_MEDIACTRL
=no
2436 DEFAULT_wxUSE_GSTREAMER8
=no
2437 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2438 DEFAULT_wxUSE_INTL
=yes
2439 DEFAULT_wxUSE_CONFIG
=yes
2440 DEFAULT_wxUSE_FONTMAP
=yes
2441 DEFAULT_wxUSE_STREAMS
=yes
2442 DEFAULT_wxUSE_SOCKETS
=yes
2443 DEFAULT_wxUSE_OLE
=yes
2444 DEFAULT_wxUSE_DATAOBJ
=yes
2445 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2446 DEFAULT_wxUSE_JOYSTICK
=yes
2447 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2448 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2449 DEFAULT_wxUSE_LONGLONG
=yes
2450 DEFAULT_wxUSE_GEOMETRY
=yes
2452 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2453 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2454 DEFAULT_wxUSE_POSTSCRIPT
=yes
2456 DEFAULT_wxUSE_CLIPBOARD
=yes
2457 DEFAULT_wxUSE_TOOLTIPS
=yes
2458 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2459 DEFAULT_wxUSE_DRAGIMAGE
=yes
2460 DEFAULT_wxUSE_SPLINES
=yes
2461 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2463 DEFAULT_wxUSE_MDI
=yes
2464 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2465 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2466 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2468 DEFAULT_wxUSE_RESOURCES
=no
2469 DEFAULT_wxUSE_CONSTRAINTS
=yes
2470 DEFAULT_wxUSE_IPC
=yes
2471 DEFAULT_wxUSE_HELP
=yes
2472 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2473 DEFAULT_wxUSE_WXHTML_HELP
=yes
2474 DEFAULT_wxUSE_TREELAYOUT
=yes
2475 DEFAULT_wxUSE_METAFILE
=yes
2476 DEFAULT_wxUSE_MIMETYPE
=yes
2477 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2478 DEFAULT_wxUSE_PROTOCOL
=yes
2479 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2480 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2481 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2482 DEFAULT_wxUSE_URL
=yes
2484 DEFAULT_wxUSE_COMMONDLGS
=yes
2485 DEFAULT_wxUSE_CHOICEDLG
=yes
2486 DEFAULT_wxUSE_COLOURDLG
=yes
2487 DEFAULT_wxUSE_DIRDLG
=yes
2488 DEFAULT_wxUSE_FILEDLG
=yes
2489 DEFAULT_wxUSE_FINDREPLDLG
=yes
2490 DEFAULT_wxUSE_FONTDLG
=yes
2491 DEFAULT_wxUSE_MSGDLG
=yes
2492 DEFAULT_wxUSE_NUMBERDLG
=yes
2493 DEFAULT_wxUSE_TEXTDLG
=yes
2494 DEFAULT_wxUSE_SPLASH
=yes
2495 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2496 DEFAULT_wxUSE_PROGRESSDLG
=yes
2497 DEFAULT_wxUSE_WIZARDDLG
=yes
2499 DEFAULT_wxUSE_MENUS
=yes
2500 DEFAULT_wxUSE_MINIFRAME
=yes
2501 DEFAULT_wxUSE_HTML
=yes
2502 DEFAULT_wxUSE_RICHTEXT
=yes
2503 DEFAULT_wxUSE_XRC
=yes
2504 DEFAULT_wxUSE_AUI
=yes
2505 DEFAULT_wxUSE_WEBKIT
=yes
2506 DEFAULT_wxUSE_FILESYSTEM
=yes
2507 DEFAULT_wxUSE_FS_INET
=yes
2508 DEFAULT_wxUSE_FS_ZIP
=yes
2509 DEFAULT_wxUSE_BUSYINFO
=yes
2510 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2511 DEFAULT_wxUSE_ZIPSTREAM
=yes
2512 DEFAULT_wxUSE_VALIDATORS
=yes
2514 DEFAULT_wxUSE_ACCEL
=yes
2515 DEFAULT_wxUSE_BUTTON
=yes
2516 DEFAULT_wxUSE_BMPBUTTON
=yes
2517 DEFAULT_wxUSE_CALCTRL
=yes
2518 DEFAULT_wxUSE_CARET
=yes
2519 DEFAULT_wxUSE_CHECKBOX
=yes
2520 DEFAULT_wxUSE_CHECKLST
=yes
2521 DEFAULT_wxUSE_CHOICE
=yes
2522 DEFAULT_wxUSE_CHOICEBOOK
=yes
2523 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2524 DEFAULT_wxUSE_COMBOBOX
=yes
2525 DEFAULT_wxUSE_COMBOCTRL
=yes
2526 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2527 DEFAULT_wxUSE_DISPLAY
=yes
2528 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2529 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2530 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2531 DEFAULT_wxUSE_GAUGE
=yes
2532 DEFAULT_wxUSE_GRID
=yes
2533 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2534 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2535 DEFAULT_wxUSE_IMAGLIST
=yes
2536 DEFAULT_wxUSE_LISTBOOK
=yes
2537 DEFAULT_wxUSE_LISTBOX
=yes
2538 DEFAULT_wxUSE_LISTCTRL
=yes
2539 DEFAULT_wxUSE_NOTEBOOK
=yes
2540 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2541 DEFAULT_wxUSE_RADIOBOX
=yes
2542 DEFAULT_wxUSE_RADIOBTN
=yes
2543 DEFAULT_wxUSE_SASH
=yes
2544 DEFAULT_wxUSE_SCROLLBAR
=yes
2545 DEFAULT_wxUSE_SLIDER
=yes
2546 DEFAULT_wxUSE_SPINBTN
=yes
2547 DEFAULT_wxUSE_SPINCTRL
=yes
2548 DEFAULT_wxUSE_SPLITTER
=yes
2549 DEFAULT_wxUSE_STATBMP
=yes
2550 DEFAULT_wxUSE_STATBOX
=yes
2551 DEFAULT_wxUSE_STATLINE
=yes
2552 DEFAULT_wxUSE_STATTEXT
=yes
2553 DEFAULT_wxUSE_STATUSBAR
=yes
2554 DEFAULT_wxUSE_TAB_DIALOG
=no
2555 DEFAULT_wxUSE_TEXTCTRL
=yes
2556 DEFAULT_wxUSE_TOGGLEBTN
=yes
2557 DEFAULT_wxUSE_TOOLBAR
=yes
2558 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2559 DEFAULT_wxUSE_TREEBOOK
=yes
2560 DEFAULT_wxUSE_TOOLBOOK
=yes
2561 DEFAULT_wxUSE_TREECTRL
=yes
2562 DEFAULT_wxUSE_POPUPWIN
=yes
2563 DEFAULT_wxUSE_TIPWINDOW
=yes
2565 DEFAULT_wxUSE_UNICODE
=no
2566 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2567 DEFAULT_wxUSE_WCSRTOMBS
=no
2569 DEFAULT_wxUSE_PALETTE
=yes
2570 DEFAULT_wxUSE_IMAGE
=yes
2571 DEFAULT_wxUSE_GIF
=yes
2572 DEFAULT_wxUSE_PCX
=yes
2573 DEFAULT_wxUSE_IFF
=no
2574 DEFAULT_wxUSE_PNM
=yes
2575 DEFAULT_wxUSE_XPM
=yes
2576 DEFAULT_wxUSE_ICO_CUR
=yes
2577 DEFAULT_wxUSE_ACCESSIBILITY
=no
2579 DEFAULT_wxUSE_MONOLITHIC
=no
2580 DEFAULT_wxUSE_PLUGINS
=no
2581 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2583 DEFAULT_wxUSE_GTK2
=yes
2589 for toolkit
in `echo $ALL_TOOLKITS`; do
2590 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2591 if test "x$LINE" != "x" ; then
2592 has_toolkit_in_cache
=1
2593 eval "DEFAULT_$LINE"
2594 eval "CACHE_$toolkit=1"
2596 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 eval "DEFAULT_$LINE"
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2609 # Check whether --enable-gui or --disable-gui was given.
2610 if test "${enable_gui+set}" = set; then
2611 enableval
="$enable_gui"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gui
='wxUSE_GUI=yes'
2616 ac_cv_use_gui
='wxUSE_GUI=no'
2621 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2632 eval "$ac_cv_use_gui"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_GUI" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2650 # Check whether --enable-monolithic or --disable-monolithic was given.
2651 if test "${enable_monolithic+set}" = set; then
2652 enableval
="$enable_monolithic"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2657 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2662 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2673 eval "$ac_cv_use_monolithic"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_MONOLITHIC" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2689 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2691 # Check whether --enable-plugins or --disable-plugins was given.
2692 if test "${enable_plugins+set}" = set; then
2693 enableval
="$enable_plugins"
2695 if test "$enableval" = yes; then
2696 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2698 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2703 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x
; then
2705 eval "DEFAULT_$LINE"
2710 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2714 eval "$ac_cv_use_plugins"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2719 if test "$wxUSE_PLUGINS" = yes; then
2720 echo "$as_me:$LINENO: result: yes" >&5
2721 echo "${ECHO_T}yes" >&6
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2729 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2730 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2733 # Check whether --with-subdirs or --without-subdirs was given.
2734 if test "${with_subdirs+set}" = set; then
2735 withval
="$with_subdirs"
2737 if test "$withval" = yes; then
2738 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2740 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2745 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x
; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2756 eval "$ac_cv_use_subdirs"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2761 if test "$wxWITH_SUBDIRS" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2770 if test "$wxUSE_GUI" = "yes"; then
2774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2775 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2777 # Check whether --enable-universal or --disable-universal was given.
2778 if test "${enable_universal+set}" = set; then
2779 enableval
="$enable_universal"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2784 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2789 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2800 eval "$ac_cv_use_universal"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_UNIVERSAL" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2814 # Check whether --with-gtk or --without-gtk was given.
2815 if test "${with_gtk+set}" = set; then
2817 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2820 # Check whether --with-motif or --without-motif was given.
2821 if test "${with_motif+set}" = set; then
2822 withval
="$with_motif"
2823 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2826 # Check whether --with-mac or --without-mac was given.
2827 if test "${with_mac+set}" = set; then
2829 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2832 # Check whether --with-cocoa or --without-cocoa was given.
2833 if test "${with_cocoa+set}" = set; then
2834 withval
="$with_cocoa"
2835 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2838 # Check whether --with-wine or --without-wine was given.
2839 if test "${with_wine+set}" = set; then
2840 withval
="$with_wine"
2841 wxUSE_WINE
="$withval" CACHE_WINE
=1
2844 # Check whether --with-msw or --without-msw was given.
2845 if test "${with_msw+set}" = set; then
2847 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2850 # Check whether --with-pm or --without-pm was given.
2851 if test "${with_pm+set}" = set; then
2853 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2856 # Check whether --with-mgl or --without-mgl was given.
2857 if test "${with_mgl+set}" = set; then
2859 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2862 # Check whether --with-directfb or --without-directfb was given.
2863 if test "${with_directfb+set}" = set; then
2864 withval
="$with_directfb"
2865 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2868 # Check whether --with-microwin or --without-microwin was given.
2869 if test "${with_microwin+set}" = set; then
2870 withval
="$with_microwin"
2871 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2874 # Check whether --with-x11 or --without-x11 was given.
2875 if test "${with_x11+set}" = set; then
2877 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2882 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2884 # Check whether --enable-nanox or --disable-nanox was given.
2885 if test "${enable_nanox+set}" = set; then
2886 enableval
="$enable_nanox"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2891 ac_cv_use_nanox
='wxUSE_NANOX=no'
2896 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2907 eval "$ac_cv_use_nanox"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2912 if test "$wxUSE_NANOX" = yes; then
2913 echo "$as_me:$LINENO: result: yes" >&5
2914 echo "${ECHO_T}yes" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2921 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2922 if test "${enable_gtk2+set}" = set; then
2923 enableval
="$enable_gtk2"
2924 wxUSE_GTK2
="$enableval"
2928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2929 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2931 # Check whether --enable-gpe or --disable-gpe was given.
2932 if test "${enable_gpe+set}" = set; then
2933 enableval
="$enable_gpe"
2935 if test "$enableval" = yes; then
2936 ac_cv_use_gpe
='wxUSE_GPE=yes'
2938 ac_cv_use_gpe
='wxUSE_GPE=no'
2943 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2954 eval "$ac_cv_use_gpe"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_GPE" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2969 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2970 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2973 # Check whether --with-libpng or --without-libpng was given.
2974 if test "${with_libpng+set}" = set; then
2975 withval
="$with_libpng"
2977 if test "$withval" = yes; then
2978 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2979 elif test "$withval" = no
; then
2980 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2981 elif test "$withval" = sys
; then
2982 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2983 elif test "$withval" = builtin; then
2984 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2993 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3004 eval "$ac_cv_use_libpng"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3009 if test "$wxUSE_LIBPNG" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 elif test "$wxUSE_LIBPNG" = no
; then
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 elif test "$wxUSE_LIBPNG" = sys
; then
3016 echo "$as_me:$LINENO: result: system version" >&5
3017 echo "${ECHO_T}system version" >&6
3018 elif test "$wxUSE_LIBPNG" = builtin; then
3019 echo "$as_me:$LINENO: result: builtin version" >&5
3020 echo "${ECHO_T}builtin version" >&6
3022 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3023 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3024 { (exit 1); exit 1; }; }
3028 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3029 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3032 # Check whether --with-libjpeg or --without-libjpeg was given.
3033 if test "${with_libjpeg+set}" = set; then
3034 withval
="$with_libjpeg"
3036 if test "$withval" = yes; then
3037 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3038 elif test "$withval" = no
; then
3039 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3040 elif test "$withval" = sys
; then
3041 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3042 elif test "$withval" = builtin; then
3043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3052 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x
; then
3054 eval "DEFAULT_$LINE"
3059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3063 eval "$ac_cv_use_libjpeg"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_LIBJPEG" = yes; then
3069 echo "$as_me:$LINENO: result: yes" >&5
3070 echo "${ECHO_T}yes" >&6
3071 elif test "$wxUSE_LIBJPEG" = no
; then
3072 echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6
3074 elif test "$wxUSE_LIBJPEG" = sys
; then
3075 echo "$as_me:$LINENO: result: system version" >&5
3076 echo "${ECHO_T}system version" >&6
3077 elif test "$wxUSE_LIBJPEG" = builtin; then
3078 echo "$as_me:$LINENO: result: builtin version" >&5
3079 echo "${ECHO_T}builtin version" >&6
3081 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3082 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3083 { (exit 1); exit 1; }; }
3087 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3088 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3091 # Check whether --with-libtiff or --without-libtiff was given.
3092 if test "${with_libtiff+set}" = set; then
3093 withval
="$with_libtiff"
3095 if test "$withval" = yes; then
3096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3097 elif test "$withval" = no
; then
3098 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3099 elif test "$withval" = sys
; then
3100 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3101 elif test "$withval" = builtin; then
3102 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3111 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3122 eval "$ac_cv_use_libtiff"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_LIBTIFF" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3130 elif test "$wxUSE_LIBTIFF" = no
; then
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3133 elif test "$wxUSE_LIBTIFF" = sys
; then
3134 echo "$as_me:$LINENO: result: system version" >&5
3135 echo "${ECHO_T}system version" >&6
3136 elif test "$wxUSE_LIBTIFF" = builtin; then
3137 echo "$as_me:$LINENO: result: builtin version" >&5
3138 echo "${ECHO_T}builtin version" >&6
3140 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3141 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3142 { (exit 1); exit 1; }; }
3146 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3147 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3150 # Check whether --with-libxpm or --without-libxpm was given.
3151 if test "${with_libxpm+set}" = set; then
3152 withval
="$with_libxpm"
3154 if test "$withval" = yes; then
3155 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3156 elif test "$withval" = no
; then
3157 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3158 elif test "$withval" = sys
; then
3159 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3170 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3181 eval "$ac_cv_use_libxpm"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_LIBXPM" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_LIBXPM" = no
; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_LIBXPM" = sys
; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_LIBXPM" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3206 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3210 # Check whether --with-libmspack or --without-libmspack was given.
3211 if test "${with_libmspack+set}" = set; then
3212 withval
="$with_libmspack"
3214 if test "$withval" = yes; then
3215 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3217 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3222 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3233 eval "$ac_cv_use_libmspack"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_LIBMSPACK" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3248 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3249 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3252 # Check whether --with-sdl or --without-sdl was given.
3253 if test "${with_sdl+set}" = set; then
3256 if test "$withval" = yes; then
3257 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3259 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3264 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3265 if test "x$LINE" != x
; then
3266 eval "DEFAULT_$LINE"
3271 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3275 eval "$ac_cv_use_sdl"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_LIBSDL" = yes; then
3281 echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3290 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3291 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3294 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3295 if test "${with_gnomeprint+set}" = set; then
3296 withval
="$with_gnomeprint"
3298 if test "$withval" = yes; then
3299 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3301 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3306 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3317 eval "$ac_cv_use_gnomeprint"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3332 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3333 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3336 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3337 if test "${with_gnomevfs+set}" = set; then
3338 withval
="$with_gnomevfs"
3340 if test "$withval" = yes; then
3341 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3343 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3348 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3359 eval "$ac_cv_use_gnomevfs"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3374 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3375 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3378 # Check whether --with-hildon or --without-hildon was given.
3379 if test "${with_hildon+set}" = set; then
3380 withval
="$with_hildon"
3382 if test "$withval" = yes; then
3383 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3385 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3390 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x
; then
3392 eval "DEFAULT_$LINE"
3397 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3401 eval "$ac_cv_use_hildon"
3402 if test "$no_cache" != 1; then
3403 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3406 if test "$wxUSE_LIBHILDON" = yes; then
3407 echo "$as_me:$LINENO: result: yes" >&5
3408 echo "${ECHO_T}yes" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3416 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3417 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3420 # Check whether --with-opengl or --without-opengl was given.
3421 if test "${with_opengl+set}" = set; then
3422 withval
="$with_opengl"
3424 if test "$withval" = yes; then
3425 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3427 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3432 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x
; then
3434 eval "DEFAULT_$LINE"
3439 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3443 eval "$ac_cv_use_opengl"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_OPENGL" = yes; then
3449 echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3452 echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3461 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3462 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3465 # Check whether --with-dmalloc or --without-dmalloc was given.
3466 if test "${with_dmalloc+set}" = set; then
3467 withval
="$with_dmalloc"
3469 if test "$withval" = yes; then
3470 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3472 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3477 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x
; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3488 eval "$ac_cv_use_dmalloc"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_DMALLOC" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3502 echo "$as_me:$LINENO: checking for --with-regex" >&5
3503 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3506 # Check whether --with-regex or --without-regex was given.
3507 if test "${with_regex+set}" = set; then
3508 withval
="$with_regex"
3510 if test "$withval" = yes; then
3511 ac_cv_use_regex
='wxUSE_REGEX=yes'
3512 elif test "$withval" = no
; then
3513 ac_cv_use_regex
='wxUSE_REGEX=no'
3514 elif test "$withval" = sys
; then
3515 ac_cv_use_regex
='wxUSE_REGEX=sys'
3516 elif test "$withval" = builtin; then
3517 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3519 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3520 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3521 { (exit 1); exit 1; }; }
3526 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3537 eval "$ac_cv_use_regex"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_REGEX" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 elif test "$wxUSE_REGEX" = no
; then
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 elif test "$wxUSE_REGEX" = sys
; then
3549 echo "$as_me:$LINENO: result: system version" >&5
3550 echo "${ECHO_T}system version" >&6
3551 elif test "$wxUSE_REGEX" = builtin; then
3552 echo "$as_me:$LINENO: result: builtin version" >&5
3553 echo "${ECHO_T}builtin version" >&6
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3561 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3562 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3565 # Check whether --with-zlib or --without-zlib was given.
3566 if test "${with_zlib+set}" = set; then
3567 withval
="$with_zlib"
3569 if test "$withval" = yes; then
3570 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3571 elif test "$withval" = no
; then
3572 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3573 elif test "$withval" = sys
; then
3574 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3575 elif test "$withval" = builtin; then
3576 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3585 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3596 eval "$ac_cv_use_zlib"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_ZLIB" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 elif test "$wxUSE_ZLIB" = no
; then
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 elif test "$wxUSE_ZLIB" = sys
; then
3608 echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6
3610 elif test "$wxUSE_ZLIB" = builtin; then
3611 echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3620 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3621 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3624 # Check whether --with-odbc or --without-odbc was given.
3625 if test "${with_odbc+set}" = set; then
3626 withval
="$with_odbc"
3628 if test "$withval" = yes; then
3629 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3630 elif test "$withval" = no
; then
3631 ac_cv_use_odbc
='wxUSE_ODBC=no'
3632 elif test "$withval" = sys
; then
3633 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3634 elif test "$withval" = builtin; then
3635 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3644 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3655 eval "$ac_cv_use_odbc"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_ODBC" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3663 elif test "$wxUSE_ODBC" = no
; then
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3666 elif test "$wxUSE_ODBC" = sys
; then
3667 echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6
3669 elif test "$wxUSE_ODBC" = builtin; then
3670 echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3679 echo "$as_me:$LINENO: checking for --with-expat" >&5
3680 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3683 # Check whether --with-expat or --without-expat was given.
3684 if test "${with_expat+set}" = set; then
3685 withval
="$with_expat"
3687 if test "$withval" = yes; then
3688 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3689 elif test "$withval" = no
; then
3690 ac_cv_use_expat
='wxUSE_EXPAT=no'
3691 elif test "$withval" = sys
; then
3692 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3693 elif test "$withval" = builtin; then
3694 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3703 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3714 eval "$ac_cv_use_expat"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_EXPAT" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 elif test "$wxUSE_EXPAT" = no
; then
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 elif test "$wxUSE_EXPAT" = sys
; then
3726 echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6
3728 elif test "$wxUSE_EXPAT" = builtin; then
3729 echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3744 # Check whether --enable-shared or --disable-shared was given.
3745 if test "${enable_shared+set}" = set; then
3746 enableval
="$enable_shared"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_shared
='wxUSE_SHARED=yes'
3751 ac_cv_use_shared
='wxUSE_SHARED=no'
3756 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3767 eval "$ac_cv_use_shared"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_SHARED" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3785 # Check whether --enable-optimise or --disable-optimise was given.
3786 if test "${enable_optimise+set}" = set; then
3787 enableval
="$enable_optimise"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3792 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3797 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3808 eval "$ac_cv_use_optimise"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_OPTIMISE" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3826 # Check whether --enable-debug or --disable-debug was given.
3827 if test "${enable_debug+set}" = set; then
3828 enableval
="$enable_debug"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3833 ac_cv_use_debug
='wxUSE_DEBUG=no'
3838 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3849 eval "$ac_cv_use_debug"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_DEBUG" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3867 # Check whether --enable-stl or --disable-stl was given.
3868 if test "${enable_stl+set}" = set; then
3869 enableval
="$enable_stl"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_stl
='wxUSE_STL=yes'
3874 ac_cv_use_stl
='wxUSE_STL=no'
3879 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3890 eval "$ac_cv_use_stl"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_STL" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3903 if test "$USE_OS2" = "1"; then
3904 DEFAULT_wxUSE_OMF
=no
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3910 # Check whether --enable-omf or --disable-omf was given.
3911 if test "${enable_omf+set}" = set; then
3912 enableval
="$enable_omf"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_omf
='wxUSE_OMF=yes'
3917 ac_cv_use_omf
='wxUSE_OMF=no'
3922 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3933 eval "$ac_cv_use_omf"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_OMF" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 if test "$wxUSE_DEBUG" = "yes"; then
3949 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3950 DEFAULT_wxUSE_DEBUG_INFO
=yes
3952 elif test "$wxUSE_DEBUG" = "no"; then
3953 DEFAULT_wxUSE_DEBUG_FLAG
=no
3954 DEFAULT_wxUSE_DEBUG_INFO
=no
3960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3961 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3963 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3964 if test "${enable_debug_flag+set}" = set; then
3965 enableval
="$enable_debug_flag"
3967 if test "$enableval" = yes; then
3968 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3970 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3975 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x
; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3986 eval "$ac_cv_use_debug_flag"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3991 if test "$wxUSE_DEBUG_FLAG" = yes; then
3992 echo "$as_me:$LINENO: result: yes" >&5
3993 echo "${ECHO_T}yes" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4004 # Check whether --enable-debug_info or --disable-debug_info was given.
4005 if test "${enable_debug_info+set}" = set; then
4006 enableval
="$enable_debug_info"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4011 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4016 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4027 eval "$ac_cv_use_debug_info"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4032 if test "$wxUSE_DEBUG_INFO" = yes; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4045 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4046 if test "${enable_debug_gdb+set}" = set; then
4047 enableval
="$enable_debug_gdb"
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4052 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4057 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x
; then
4059 eval "DEFAULT_$LINE"
4064 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4068 eval "$ac_cv_use_debug_gdb"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_DEBUG_GDB" = yes; then
4074 echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4086 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4087 if test "${enable_debug_cntxt+set}" = set; then
4088 enableval
="$enable_debug_cntxt"
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4093 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4098 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x
; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4109 eval "$ac_cv_use_debug_cntxt"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4114 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4127 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4128 if test "${enable_mem_tracing+set}" = set; then
4129 enableval
="$enable_mem_tracing"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4134 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4139 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x
; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4150 eval "$ac_cv_use_mem_tracing"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_MEM_TRACING" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4168 # Check whether --enable-profile or --disable-profile was given.
4169 if test "${enable_profile+set}" = set; then
4170 enableval
="$enable_profile"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4175 ac_cv_use_profile
='wxUSE_PROFILE=no'
4180 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4191 eval "$ac_cv_use_profile"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_PROFILE" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4210 if test "${enable_no_rtti+set}" = set; then
4211 enableval
="$enable_no_rtti"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4216 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4221 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4232 eval "$ac_cv_use_no_rtti"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4237 if test "$wxUSE_NO_RTTI" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4250 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4251 if test "${enable_no_exceptions+set}" = set; then
4252 enableval
="$enable_no_exceptions"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4257 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4262 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4273 eval "$ac_cv_use_no_exceptions"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4291 # Check whether --enable-permissive or --disable-permissive was given.
4292 if test "${enable_permissive+set}" = set; then
4293 enableval
="$enable_permissive"
4295 if test "$enableval" = yes; then
4296 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4298 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4303 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x
; then
4305 eval "DEFAULT_$LINE"
4310 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4314 eval "$ac_cv_use_permissive"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_PERMISSIVE" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4332 # Check whether --enable-no_deps or --disable-no_deps was given.
4333 if test "${enable_no_deps+set}" = set; then
4334 enableval
="$enable_no_deps"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4339 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4344 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4355 eval "$ac_cv_use_no_deps"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_NO_DEPS" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4373 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4374 if test "${enable_universal_binary+set}" = set; then
4375 enableval
="$enable_universal_binary"
4377 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4381 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4384 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4387 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4392 eval "$wx_cv_use_universal_binary"
4393 if test "$no_cache" != 1; then
4394 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4397 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4398 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4406 # Check whether --enable-compat24 or --disable-compat24 was given.
4407 if test "${enable_compat24+set}" = set; then
4408 enableval
="$enable_compat24"
4410 if test "$enableval" = yes; then
4411 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4413 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4418 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x
; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4429 eval "$ac_cv_use_compat24"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4434 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4443 enablestring
=disable
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4447 # Check whether --enable-compat26 or --disable-compat26 was given.
4448 if test "${enable_compat26+set}" = set; then
4449 enableval
="$enable_compat26"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4454 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4459 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4470 eval "$ac_cv_use_compat26"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4475 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4489 # Check whether --enable-rpath or --disable-rpath was given.
4490 if test "${enable_rpath+set}" = set; then
4491 enableval
="$enable_rpath"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4496 ac_cv_use_rpath
='wxUSE_RPATH=no'
4501 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4512 eval "$ac_cv_use_rpath"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_RPATH" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4533 # Check whether --enable-intl or --disable-intl was given.
4534 if test "${enable_intl+set}" = set; then
4535 enableval
="$enable_intl"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_intl
='wxUSE_INTL=yes'
4540 ac_cv_use_intl
='wxUSE_INTL=no'
4545 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4556 eval "$ac_cv_use_intl"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_INTL" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4574 # Check whether --enable-config or --disable-config was given.
4575 if test "${enable_config+set}" = set; then
4576 enableval
="$enable_config"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_config
='wxUSE_CONFIG=yes'
4581 ac_cv_use_config
='wxUSE_CONFIG=no'
4586 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4597 eval "$ac_cv_use_config"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_CONFIG" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4616 # Check whether --enable-protocols or --disable-protocols was given.
4617 if test "${enable_protocols+set}" = set; then
4618 enableval
="$enable_protocols"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4623 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4628 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x
; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4639 eval "$ac_cv_use_protocols"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_PROTOCOL" = yes; then
4645 echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6
4648 echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4657 # Check whether --enable-ftp or --disable-ftp was given.
4658 if test "${enable_ftp+set}" = set; then
4659 enableval
="$enable_ftp"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4664 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4669 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4680 eval "$ac_cv_use_ftp"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4698 # Check whether --enable-http or --disable-http was given.
4699 if test "${enable_http+set}" = set; then
4700 enableval
="$enable_http"
4702 if test "$enableval" = yes; then
4703 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4705 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4710 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x
; then
4712 eval "DEFAULT_$LINE"
4717 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4721 eval "$ac_cv_use_http"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4726 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4727 echo "$as_me:$LINENO: result: yes" >&5
4728 echo "${ECHO_T}yes" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4739 # Check whether --enable-fileproto or --disable-fileproto was given.
4740 if test "${enable_fileproto+set}" = set; then
4741 enableval
="$enable_fileproto"
4743 if test "$enableval" = yes; then
4744 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4746 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4751 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x
; then
4753 eval "DEFAULT_$LINE"
4758 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4762 eval "$ac_cv_use_fileproto"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4768 echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4780 # Check whether --enable-sockets or --disable-sockets was given.
4781 if test "${enable_sockets+set}" = set; then
4782 enableval
="$enable_sockets"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4787 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4792 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4803 eval "$ac_cv_use_sockets"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_SOCKETS" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4821 # Check whether --enable-ole or --disable-ole was given.
4822 if test "${enable_ole+set}" = set; then
4823 enableval
="$enable_ole"
4825 if test "$enableval" = yes; then
4826 ac_cv_use_ole
='wxUSE_OLE=yes'
4828 ac_cv_use_ole
='wxUSE_OLE=no'
4833 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x
; then
4835 eval "DEFAULT_$LINE"
4840 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4844 eval "$ac_cv_use_ole"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_OLE" = yes; then
4850 echo "$as_me:$LINENO: result: yes" >&5
4851 echo "${ECHO_T}yes" >&6
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4862 # Check whether --enable-dataobj or --disable-dataobj was given.
4863 if test "${enable_dataobj+set}" = set; then
4864 enableval
="$enable_dataobj"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4869 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4874 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4885 eval "$ac_cv_use_dataobj"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_DATAOBJ" = yes; then
4891 echo "$as_me:$LINENO: result: yes" >&5
4892 echo "${ECHO_T}yes" >&6
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4904 # Check whether --enable-ipc or --disable-ipc was given.
4905 if test "${enable_ipc+set}" = set; then
4906 enableval
="$enable_ipc"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_ipc
='wxUSE_IPC=yes'
4911 ac_cv_use_ipc
='wxUSE_IPC=no'
4916 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4927 eval "$ac_cv_use_ipc"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_IPC" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4946 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4947 if test "${enable_apple_ieee+set}" = set; then
4948 enableval
="$enable_apple_ieee"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4953 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4958 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4969 eval "$ac_cv_use_apple_ieee"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_APPLE_IEEE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4987 # Check whether --enable-arcstream or --disable-arcstream was given.
4988 if test "${enable_arcstream+set}" = set; then
4989 enableval
="$enable_arcstream"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4994 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4999 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5010 eval "$ac_cv_use_arcstream"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5028 # Check whether --enable-backtrace or --disable-backtrace was given.
5029 if test "${enable_backtrace+set}" = set; then
5030 enableval
="$enable_backtrace"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5035 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5040 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5051 eval "$ac_cv_use_backtrace"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_STACKWALKER" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5069 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5070 if test "${enable_catch_segvs+set}" = set; then
5071 enableval
="$enable_catch_segvs"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5076 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5081 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5092 eval "$ac_cv_use_catch_segvs"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5110 # Check whether --enable-cmdline or --disable-cmdline was given.
5111 if test "${enable_cmdline+set}" = set; then
5112 enableval
="$enable_cmdline"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5117 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5122 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5133 eval "$ac_cv_use_cmdline"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5151 # Check whether --enable-datetime or --disable-datetime was given.
5152 if test "${enable_datetime+set}" = set; then
5153 enableval
="$enable_datetime"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5158 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5163 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5174 eval "$ac_cv_use_datetime"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_DATETIME" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5192 # Check whether --enable-debugreport or --disable-debugreport was given.
5193 if test "${enable_debugreport+set}" = set; then
5194 enableval
="$enable_debugreport"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5199 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5204 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5215 eval "$ac_cv_use_debugreport"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_DEBUGREPORT" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5233 # Check whether --enable-dialupman or --disable-dialupman was given.
5234 if test "${enable_dialupman+set}" = set; then
5235 enableval
="$enable_dialupman"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5240 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5245 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5256 eval "$ac_cv_use_dialupman"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5274 # Check whether --enable-dynlib or --disable-dynlib was given.
5275 if test "${enable_dynlib+set}" = set; then
5276 enableval
="$enable_dynlib"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5281 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5286 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5297 eval "$ac_cv_use_dynlib"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5315 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5316 if test "${enable_dynamicloader+set}" = set; then
5317 enableval
="$enable_dynamicloader"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5322 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5327 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5338 eval "$ac_cv_use_dynamicloader"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5356 # Check whether --enable-exceptions or --disable-exceptions was given.
5357 if test "${enable_exceptions+set}" = set; then
5358 enableval
="$enable_exceptions"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5363 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5368 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5379 eval "$ac_cv_use_exceptions"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_EXCEPTIONS" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5397 # Check whether --enable-ffile or --disable-ffile was given.
5398 if test "${enable_ffile+set}" = set; then
5399 enableval
="$enable_ffile"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5404 ac_cv_use_ffile
='wxUSE_FFILE=no'
5409 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5420 eval "$ac_cv_use_ffile"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_FFILE" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5438 # Check whether --enable-file or --disable-file was given.
5439 if test "${enable_file+set}" = set; then
5440 enableval
="$enable_file"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_file
='wxUSE_FILE=yes'
5445 ac_cv_use_file
='wxUSE_FILE=no'
5450 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5461 eval "$ac_cv_use_file"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_FILE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5479 # Check whether --enable-filesystem or --disable-filesystem was given.
5480 if test "${enable_filesystem+set}" = set; then
5481 enableval
="$enable_filesystem"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5486 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5491 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5502 eval "$ac_cv_use_filesystem"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_FILESYSTEM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5520 # Check whether --enable-fontmap or --disable-fontmap was given.
5521 if test "${enable_fontmap+set}" = set; then
5522 enableval
="$enable_fontmap"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5527 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5532 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5543 eval "$ac_cv_use_fontmap"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_FONTMAP" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5561 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5562 if test "${enable_fs_inet+set}" = set; then
5563 enableval
="$enable_fs_inet"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5568 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5573 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5584 eval "$ac_cv_use_fs_inet"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_FS_INET" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5602 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5603 if test "${enable_fs_zip+set}" = set; then
5604 enableval
="$enable_fs_zip"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5609 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5614 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5625 eval "$ac_cv_use_fs_zip"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_FS_ZIP" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5643 # Check whether --enable-geometry or --disable-geometry was given.
5644 if test "${enable_geometry+set}" = set; then
5645 enableval
="$enable_geometry"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5650 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5655 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5666 eval "$ac_cv_use_geometry"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_GEOMETRY" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5684 # Check whether --enable-log or --disable-log was given.
5685 if test "${enable_log+set}" = set; then
5686 enableval
="$enable_log"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_log
='wxUSE_LOG=yes'
5691 ac_cv_use_log
='wxUSE_LOG=no'
5696 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5707 eval "$ac_cv_use_log"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_LOG" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5725 # Check whether --enable-longlong or --disable-longlong was given.
5726 if test "${enable_longlong+set}" = set; then
5727 enableval
="$enable_longlong"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5732 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5737 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5748 eval "$ac_cv_use_longlong"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_LONGLONG" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5766 # Check whether --enable-mimetype or --disable-mimetype was given.
5767 if test "${enable_mimetype+set}" = set; then
5768 enableval
="$enable_mimetype"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5773 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5778 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5789 eval "$ac_cv_use_mimetype"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_MIMETYPE" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5807 # Check whether --enable-mslu or --disable-mslu was given.
5808 if test "${enable_mslu+set}" = set; then
5809 enableval
="$enable_mslu"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5814 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5819 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5830 eval "$ac_cv_use_mslu"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_UNICODE_MSLU" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5848 # Check whether --enable-snglinst or --disable-snglinst was given.
5849 if test "${enable_snglinst+set}" = set; then
5850 enableval
="$enable_snglinst"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5855 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5860 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5871 eval "$ac_cv_use_snglinst"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5889 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5890 if test "${enable_std_iostreams+set}" = set; then
5891 enableval
="$enable_std_iostreams"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5896 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5901 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5912 eval "$ac_cv_use_std_iostreams"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_STD_IOSTREAM" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5930 # Check whether --enable-std_string or --disable-std_string was given.
5931 if test "${enable_std_string+set}" = set; then
5932 enableval
="$enable_std_string"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5937 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5942 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5953 eval "$ac_cv_use_std_string"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_STD_STRING" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5971 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5972 if test "${enable_stdpaths+set}" = set; then
5973 enableval
="$enable_stdpaths"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5978 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5983 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5994 eval "$ac_cv_use_stdpaths"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_STDPATHS" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6012 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6013 if test "${enable_stopwatch+set}" = set; then
6014 enableval
="$enable_stopwatch"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6019 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6024 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6035 eval "$ac_cv_use_stopwatch"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_STOPWATCH" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6053 # Check whether --enable-streams or --disable-streams was given.
6054 if test "${enable_streams+set}" = set; then
6055 enableval
="$enable_streams"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6060 ac_cv_use_streams
='wxUSE_STREAMS=no'
6065 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6076 eval "$ac_cv_use_streams"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_STREAMS" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6094 # Check whether --enable-system_options or --disable-system_options was given.
6095 if test "${enable_system_options+set}" = set; then
6096 enableval
="$enable_system_options"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6101 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6106 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6117 eval "$ac_cv_use_system_options"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6135 # Check whether --enable-textbuf or --disable-textbuf was given.
6136 if test "${enable_textbuf+set}" = set; then
6137 enableval
="$enable_textbuf"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6142 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6147 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6158 eval "$ac_cv_use_textbuf"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_TEXTBUFFER" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6176 # Check whether --enable-textfile or --disable-textfile was given.
6177 if test "${enable_textfile+set}" = set; then
6178 enableval
="$enable_textfile"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6183 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6188 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6199 eval "$ac_cv_use_textfile"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_TEXTFILE" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6217 # Check whether --enable-timer or --disable-timer was given.
6218 if test "${enable_timer+set}" = set; then
6219 enableval
="$enable_timer"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_timer
='wxUSE_TIMER=yes'
6224 ac_cv_use_timer
='wxUSE_TIMER=no'
6229 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6240 eval "$ac_cv_use_timer"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_TIMER" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6258 # Check whether --enable-unicode or --disable-unicode was given.
6259 if test "${enable_unicode+set}" = set; then
6260 enableval
="$enable_unicode"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6265 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6270 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6281 eval "$ac_cv_use_unicode"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_UNICODE" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6299 # Check whether --enable-sound or --disable-sound was given.
6300 if test "${enable_sound+set}" = set; then
6301 enableval
="$enable_sound"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_sound
='wxUSE_SOUND=yes'
6306 ac_cv_use_sound
='wxUSE_SOUND=no'
6311 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6322 eval "$ac_cv_use_sound"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_SOUND" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6340 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6341 if test "${enable_mediactrl+set}" = set; then
6342 enableval
="$enable_mediactrl"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6347 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6352 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6363 eval "$ac_cv_use_mediactrl"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_MEDIACTRL" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6381 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6382 if test "${enable_gstreamer8+set}" = set; then
6383 enableval
="$enable_gstreamer8"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6388 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6393 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6404 eval "$ac_cv_use_gstreamer8"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_GSTREAMER8" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6422 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6423 if test "${enable_printfposparam+set}" = set; then
6424 enableval
="$enable_printfposparam"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6429 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6434 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6445 eval "$ac_cv_use_printfposparam"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6463 # Check whether --enable-zipstream or --disable-zipstream was given.
6464 if test "${enable_zipstream+set}" = set; then
6465 enableval
="$enable_zipstream"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6470 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6475 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6486 eval "$ac_cv_use_zipstream"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_ZIPSTREAM" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6505 # Check whether --enable-url or --disable-url was given.
6506 if test "${enable_url+set}" = set; then
6507 enableval
="$enable_url"
6509 if test "$enableval" = yes; then
6510 ac_cv_use_url
='wxUSE_URL=yes'
6512 ac_cv_use_url
='wxUSE_URL=no'
6517 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x
; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6528 eval "$ac_cv_use_url"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6533 if test "$wxUSE_URL" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6546 # Check whether --enable-protocol or --disable-protocol was given.
6547 if test "${enable_protocol+set}" = set; then
6548 enableval
="$enable_protocol"
6550 if test "$enableval" = yes; then
6551 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6553 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6558 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x
; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6569 eval "$ac_cv_use_protocol"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6574 if test "$wxUSE_PROTOCOL" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6587 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6588 if test "${enable_protocol_http+set}" = set; then
6589 enableval
="$enable_protocol_http"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6594 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6599 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6610 eval "$ac_cv_use_protocol_http"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6628 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6629 if test "${enable_protocol_ftp+set}" = set; then
6630 enableval
="$enable_protocol_ftp"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6635 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6640 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6651 eval "$ac_cv_use_protocol_ftp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6669 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6670 if test "${enable_protocol_file+set}" = set; then
6671 enableval
="$enable_protocol_file"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6676 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6681 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6692 eval "$ac_cv_use_protocol_file"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6713 # Check whether --enable-threads or --disable-threads was given.
6714 if test "${enable_threads+set}" = set; then
6715 enableval
="$enable_threads"
6717 if test "$enableval" = yes; then
6718 ac_cv_use_threads
='wxUSE_THREADS=yes'
6720 ac_cv_use_threads
='wxUSE_THREADS=no'
6725 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x
; then
6727 eval "DEFAULT_$LINE"
6732 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6736 eval "$ac_cv_use_threads"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6741 if test "$wxUSE_THREADS" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6750 if test "$wxUSE_GUI" = "yes"; then
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6758 # Check whether --enable-docview or --disable-docview was given.
6759 if test "${enable_docview+set}" = set; then
6760 enableval
="$enable_docview"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6765 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6770 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6781 eval "$ac_cv_use_docview"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6799 # Check whether --enable-help or --disable-help was given.
6800 if test "${enable_help+set}" = set; then
6801 enableval
="$enable_help"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_help
='wxUSE_HELP=yes'
6806 ac_cv_use_help
='wxUSE_HELP=no'
6811 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6822 eval "$ac_cv_use_help"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_HELP" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6840 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6841 if test "${enable_mshtmlhelp+set}" = set; then
6842 enableval
="$enable_mshtmlhelp"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6847 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6852 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6863 eval "$ac_cv_use_mshtmlhelp"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6868 if test "$wxUSE_MS_HTML_HELP" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6881 # Check whether --enable-html or --disable-html was given.
6882 if test "${enable_html+set}" = set; then
6883 enableval
="$enable_html"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_html
='wxUSE_HTML=yes'
6888 ac_cv_use_html
='wxUSE_HTML=no'
6893 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6904 eval "$ac_cv_use_html"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_HTML" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6922 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6923 if test "${enable_htmlhelp+set}" = set; then
6924 enableval
="$enable_htmlhelp"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6929 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6934 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6945 eval "$ac_cv_use_htmlhelp"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_WXHTML_HELP" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6963 # Check whether --enable-xrc or --disable-xrc was given.
6964 if test "${enable_xrc+set}" = set; then
6965 enableval
="$enable_xrc"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_xrc
='wxUSE_XRC=yes'
6970 ac_cv_use_xrc
='wxUSE_XRC=no'
6975 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6986 eval "$ac_cv_use_xrc"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_XRC" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7004 # Check whether --enable-aui or --disable-aui was given.
7005 if test "${enable_aui+set}" = set; then
7006 enableval
="$enable_aui"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_aui
='wxUSE_AUI=yes'
7011 ac_cv_use_aui
='wxUSE_AUI=no'
7016 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7027 eval "$ac_cv_use_aui"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_AUI" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7045 # Check whether --enable-constraints or --disable-constraints was given.
7046 if test "${enable_constraints+set}" = set; then
7047 enableval
="$enable_constraints"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7052 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7057 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7068 eval "$ac_cv_use_constraints"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_CONSTRAINTS" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7086 # Check whether --enable-printarch or --disable-printarch was given.
7087 if test "${enable_printarch+set}" = set; then
7088 enableval
="$enable_printarch"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7093 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7098 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7109 eval "$ac_cv_use_printarch"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7114 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7127 # Check whether --enable-mdi or --disable-mdi was given.
7128 if test "${enable_mdi+set}" = set; then
7129 enableval
="$enable_mdi"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_mdi
='wxUSE_MDI=yes'
7134 ac_cv_use_mdi
='wxUSE_MDI=no'
7139 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7150 eval "$ac_cv_use_mdi"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_MDI" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7168 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7169 if test "${enable_mdidoc+set}" = set; then
7170 enableval
="$enable_mdidoc"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7175 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7180 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7191 eval "$ac_cv_use_mdidoc"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7209 # Check whether --enable-loggui or --disable-loggui was given.
7210 if test "${enable_loggui+set}" = set; then
7211 enableval
="$enable_loggui"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7216 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7221 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7232 eval "$ac_cv_use_loggui"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7237 if test "$wxUSE_LOGGUI" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7250 # Check whether --enable-logwin or --disable-logwin was given.
7251 if test "${enable_logwin+set}" = set; then
7252 enableval
="$enable_logwin"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7257 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7262 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7273 eval "$ac_cv_use_logwin"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_LOGWINDOW" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7291 # Check whether --enable-logdialog or --disable-logdialog was given.
7292 if test "${enable_logdialog+set}" = set; then
7293 enableval
="$enable_logdialog"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7298 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7303 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7314 eval "$ac_cv_use_logdialog"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7319 if test "$wxUSE_LOGDIALOG" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7332 # Check whether --enable-webkit or --disable-webkit was given.
7333 if test "${enable_webkit+set}" = set; then
7334 enableval
="$enable_webkit"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7339 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7344 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7355 eval "$ac_cv_use_webkit"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_WEBKIT" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7373 # Check whether --enable-html or --disable-html was given.
7374 if test "${enable_html+set}" = set; then
7375 enableval
="$enable_html"
7377 if test "$enableval" = yes; then
7378 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7380 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7385 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x
; then
7387 eval "DEFAULT_$LINE"
7392 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7396 eval "$ac_cv_use_html"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_RICHTEXT" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7415 # Check whether --enable-postscript or --disable-postscript was given.
7416 if test "${enable_postscript+set}" = set; then
7417 enableval
="$enable_postscript"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7422 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7427 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7438 eval "$ac_cv_use_postscript"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_POSTSCRIPT" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7459 # Check whether --enable-prologio or --disable-prologio was given.
7460 if test "${enable_prologio+set}" = set; then
7461 enableval
="$enable_prologio"
7463 if test "$enableval" = yes; then
7464 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7466 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7471 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7482 eval "$ac_cv_use_prologio"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_PROLOGIO" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7500 # Check whether --enable-resources or --disable-resources was given.
7501 if test "${enable_resources+set}" = set; then
7502 enableval
="$enable_resources"
7504 if test "$enableval" = yes; then
7505 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7507 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7512 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x
; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7523 eval "$ac_cv_use_resources"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_RESOURCES" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7543 # Check whether --enable-clipboard or --disable-clipboard was given.
7544 if test "${enable_clipboard+set}" = set; then
7545 enableval
="$enable_clipboard"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7550 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7555 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7566 eval "$ac_cv_use_clipboard"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_CLIPBOARD" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7584 # Check whether --enable-dnd or --disable-dnd was given.
7585 if test "${enable_dnd+set}" = set; then
7586 enableval
="$enable_dnd"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7591 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7596 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7607 eval "$ac_cv_use_dnd"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7625 # Check whether --enable-metafile or --disable-metafile was given.
7626 if test "${enable_metafile+set}" = set; then
7627 enableval
="$enable_metafile"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7632 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7637 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7648 eval "$ac_cv_use_metafile"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_METAFILE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7669 # Check whether --enable-controls or --disable-controls was given.
7670 if test "${enable_controls+set}" = set; then
7671 enableval
="$enable_controls"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7676 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7681 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7692 eval "$ac_cv_use_controls"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CONTROLS" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7706 if test "$wxUSE_CONTROLS" = "yes"; then
7707 DEFAULT_wxUSE_ACCEL
=yes
7708 DEFAULT_wxUSE_BMPBUTTON
=yes
7709 DEFAULT_wxUSE_BUTTON
=yes
7710 DEFAULT_wxUSE_CALCTRL
=yes
7711 DEFAULT_wxUSE_CARET
=yes
7712 DEFAULT_wxUSE_COMBOBOX
=yes
7713 DEFAULT_wxUSE_CHECKBOX
=yes
7714 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7715 DEFAULT_wxUSE_CHOICE
=yes
7716 DEFAULT_wxUSE_CHOICEBOOK
=yes
7717 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7718 DEFAULT_wxUSE_COMBOBOX
=yes
7719 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7720 DEFAULT_wxUSE_DISPLAY
=yes
7721 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7722 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7723 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7724 DEFAULT_wxUSE_GAUGE
=yes
7725 DEFAULT_wxUSE_GRID
=yes
7726 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7727 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7728 DEFAULT_wxUSE_IMAGLIST
=yes
7729 DEFAULT_wxUSE_LISTBOOK
=yes
7730 DEFAULT_wxUSE_LISTBOX
=yes
7731 DEFAULT_wxUSE_LISTCTRL
=yes
7732 DEFAULT_wxUSE_NOTEBOOK
=yes
7733 DEFAULT_wxUSE_RADIOBOX
=yes
7734 DEFAULT_wxUSE_RADIOBTN
=yes
7735 DEFAULT_wxUSE_SASH
=yes
7736 DEFAULT_wxUSE_SCROLLBAR
=yes
7737 DEFAULT_wxUSE_SLIDER
=yes
7738 DEFAULT_wxUSE_SPINBTN
=yes
7739 DEFAULT_wxUSE_SPINCTRL
=yes
7740 DEFAULT_wxUSE_SPLITTER
=yes
7741 DEFAULT_wxUSE_STATBMP
=yes
7742 DEFAULT_wxUSE_STATBOX
=yes
7743 DEFAULT_wxUSE_STATLINE
=yes
7744 DEFAULT_wxUSE_STATUSBAR
=yes
7745 DEFAULT_wxUSE_TAB_DIALOG
=yes
7746 DEFAULT_wxUSE_TOGGLEBTN
=yes
7747 DEFAULT_wxUSE_TOOLBAR
=yes
7748 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7749 DEFAULT_wxUSE_TOOLTIPS
=yes
7750 DEFAULT_wxUSE_TREEBOOK
=yes
7751 DEFAULT_wxUSE_TOOLBOOK
=yes
7752 DEFAULT_wxUSE_TREECTRL
=yes
7753 DEFAULT_wxUSE_POPUPWIN
=yes
7754 DEFAULT_wxUSE_TIPWINDOW
=yes
7755 elif test "$wxUSE_CONTROLS" = "no"; then
7756 DEFAULT_wxUSE_ACCEL
=no
7757 DEFAULT_wxUSE_BMPBUTTON
=no
7758 DEFAULT_wxUSE_BUTTON
=no
7759 DEFAULT_wxUSE_CALCTRL
=no
7760 DEFAULT_wxUSE_CARET
=no
7761 DEFAULT_wxUSE_COMBOBOX
=no
7762 DEFAULT_wxUSE_CHECKBOX
=no
7763 DEFAULT_wxUSE_CHECKLISTBOX
=no
7764 DEFAULT_wxUSE_CHOICE
=no
7765 DEFAULT_wxUSE_CHOICEBOOK
=no
7766 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7767 DEFAULT_wxUSE_COMBOBOX
=no
7768 DEFAULT_wxUSE_DATEPICKCTRL
=no
7769 DEFAULT_wxUSE_DISPLAY
=no
7770 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7771 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7772 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7773 DEFAULT_wxUSE_GAUGE
=no
7774 DEFAULT_wxUSE_GRID
=no
7775 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7776 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7777 DEFAULT_wxUSE_IMAGLIST
=no
7778 DEFAULT_wxUSE_LISTBOOK
=no
7779 DEFAULT_wxUSE_LISTBOX
=no
7780 DEFAULT_wxUSE_LISTCTRL
=no
7781 DEFAULT_wxUSE_NOTEBOOK
=no
7782 DEFAULT_wxUSE_RADIOBOX
=no
7783 DEFAULT_wxUSE_RADIOBTN
=no
7784 DEFAULT_wxUSE_SASH
=no
7785 DEFAULT_wxUSE_SCROLLBAR
=no
7786 DEFAULT_wxUSE_SLIDER
=no
7787 DEFAULT_wxUSE_SPINBTN
=no
7788 DEFAULT_wxUSE_SPINCTRL
=no
7789 DEFAULT_wxUSE_SPLITTER
=no
7790 DEFAULT_wxUSE_STATBMP
=no
7791 DEFAULT_wxUSE_STATBOX
=no
7792 DEFAULT_wxUSE_STATLINE
=no
7793 DEFAULT_wxUSE_STATUSBAR
=no
7794 DEFAULT_wxUSE_TAB_DIALOG
=no
7795 DEFAULT_wxUSE_TOGGLEBTN
=no
7796 DEFAULT_wxUSE_TOOLBAR
=no
7797 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7798 DEFAULT_wxUSE_TOOLTIPS
=no
7799 DEFAULT_wxUSE_TREEBOOK
=no
7800 DEFAULT_wxUSE_TOOLBOOK
=no
7801 DEFAULT_wxUSE_TREECTRL
=no
7802 DEFAULT_wxUSE_POPUPWIN
=no
7803 DEFAULT_wxUSE_TIPWINDOW
=no
7808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7811 # Check whether --enable-accel or --disable-accel was given.
7812 if test "${enable_accel+set}" = set; then
7813 enableval
="$enable_accel"
7815 if test "$enableval" = yes; then
7816 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7818 ac_cv_use_accel
='wxUSE_ACCEL=no'
7823 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7824 if test "x$LINE" != x
; then
7825 eval "DEFAULT_$LINE"
7830 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7834 eval "$ac_cv_use_accel"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7839 if test "$wxUSE_ACCEL" = yes; then
7840 echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6
7843 echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6
7849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7852 # Check whether --enable-button or --disable-button was given.
7853 if test "${enable_button+set}" = set; then
7854 enableval
="$enable_button"
7856 if test "$enableval" = yes; then
7857 ac_cv_use_button
='wxUSE_BUTTON=yes'
7859 ac_cv_use_button
='wxUSE_BUTTON=no'
7864 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x
; then
7866 eval "DEFAULT_$LINE"
7871 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7875 eval "$ac_cv_use_button"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7880 if test "$wxUSE_BUTTON" = yes; then
7881 echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6
7884 echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6
7890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7893 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7894 if test "${enable_bmpbutton+set}" = set; then
7895 enableval
="$enable_bmpbutton"
7897 if test "$enableval" = yes; then
7898 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7900 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7905 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7906 if test "x$LINE" != x
; then
7907 eval "DEFAULT_$LINE"
7912 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7916 eval "$ac_cv_use_bmpbutton"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7921 if test "$wxUSE_BMPBUTTON" = yes; then
7922 echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6
7925 echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6
7931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7934 # Check whether --enable-calendar or --disable-calendar was given.
7935 if test "${enable_calendar+set}" = set; then
7936 enableval
="$enable_calendar"
7938 if test "$enableval" = yes; then
7939 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7941 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7946 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x
; then
7948 eval "DEFAULT_$LINE"
7953 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7957 eval "$ac_cv_use_calendar"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7962 if test "$wxUSE_CALCTRL" = yes; then
7963 echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6
7966 echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6
7972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7975 # Check whether --enable-caret or --disable-caret was given.
7976 if test "${enable_caret+set}" = set; then
7977 enableval
="$enable_caret"
7979 if test "$enableval" = yes; then
7980 ac_cv_use_caret
='wxUSE_CARET=yes'
7982 ac_cv_use_caret
='wxUSE_CARET=no'
7987 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x
; then
7989 eval "DEFAULT_$LINE"
7994 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7998 eval "$ac_cv_use_caret"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8003 if test "$wxUSE_CARET" = yes; then
8004 echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6
8007 echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8016 # Check whether --enable-checkbox or --disable-checkbox was given.
8017 if test "${enable_checkbox+set}" = set; then
8018 enableval
="$enable_checkbox"
8020 if test "$enableval" = yes; then
8021 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8023 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8028 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x
; then
8030 eval "DEFAULT_$LINE"
8035 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8039 eval "$ac_cv_use_checkbox"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8044 if test "$wxUSE_CHECKBOX" = yes; then
8045 echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6
8048 echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6
8054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8057 # Check whether --enable-checklst or --disable-checklst was given.
8058 if test "${enable_checklst+set}" = set; then
8059 enableval
="$enable_checklst"
8061 if test "$enableval" = yes; then
8062 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8064 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8069 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x
; then
8071 eval "DEFAULT_$LINE"
8076 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8080 eval "$ac_cv_use_checklst"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_CHECKLST" = yes; then
8086 echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8089 echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6
8095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8098 # Check whether --enable-choice or --disable-choice was given.
8099 if test "${enable_choice+set}" = set; then
8100 enableval
="$enable_choice"
8102 if test "$enableval" = yes; then
8103 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8105 ac_cv_use_choice
='wxUSE_CHOICE=no'
8110 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x
; then
8112 eval "DEFAULT_$LINE"
8117 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8121 eval "$ac_cv_use_choice"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8126 if test "$wxUSE_CHOICE" = yes; then
8127 echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6
8130 echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6
8136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8139 # Check whether --enable-choicebook or --disable-choicebook was given.
8140 if test "${enable_choicebook+set}" = set; then
8141 enableval
="$enable_choicebook"
8143 if test "$enableval" = yes; then
8144 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8146 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8151 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x
; then
8153 eval "DEFAULT_$LINE"
8158 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8162 eval "$ac_cv_use_choicebook"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8167 if test "$wxUSE_CHOICEBOOK" = yes; then
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8171 echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6
8177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8180 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8181 if test "${enable_colourpicker+set}" = set; then
8182 enableval
="$enable_colourpicker"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8187 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8192 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8203 eval "$ac_cv_use_colourpicker"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8208 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8209 echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6
8212 echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6
8218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8221 # Check whether --enable-combobox or --disable-combobox was given.
8222 if test "${enable_combobox+set}" = set; then
8223 enableval
="$enable_combobox"
8225 if test "$enableval" = yes; then
8226 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8228 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8233 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x
; then
8235 eval "DEFAULT_$LINE"
8240 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8244 eval "$ac_cv_use_combobox"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_COMBOBOX" = yes; then
8250 echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8253 echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8262 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8263 if test "${enable_comboctrl+set}" = set; then
8264 enableval
="$enable_comboctrl"
8266 if test "$enableval" = yes; then
8267 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8269 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8274 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x
; then
8276 eval "DEFAULT_$LINE"
8281 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8285 eval "$ac_cv_use_comboctrl"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8290 if test "$wxUSE_COMBOCTRL" = yes; then
8291 echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8303 # Check whether --enable-datepick or --disable-datepick was given.
8304 if test "${enable_datepick+set}" = set; then
8305 enableval
="$enable_datepick"
8307 if test "$enableval" = yes; then
8308 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8310 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8315 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x
; then
8317 eval "DEFAULT_$LINE"
8322 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8326 eval "$ac_cv_use_datepick"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8331 if test "$wxUSE_DATEPICKCTRL" = yes; then
8332 echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8344 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8345 if test "${enable_dirpicker+set}" = set; then
8346 enableval
="$enable_dirpicker"
8348 if test "$enableval" = yes; then
8349 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8351 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8356 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x
; then
8358 eval "DEFAULT_$LINE"
8363 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8367 eval "$ac_cv_use_dirpicker"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8372 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8373 echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8383 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8385 # Check whether --enable-display or --disable-display was given.
8386 if test "${enable_display+set}" = set; then
8387 enableval
="$enable_display"
8389 if test "$enableval" = yes; then
8390 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8392 ac_cv_use_display
='wxUSE_DISPLAY=no'
8397 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x
; then
8399 eval "DEFAULT_$LINE"
8404 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8408 eval "$ac_cv_use_display"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8413 if test "$wxUSE_DISPLAY" = yes; then
8414 echo "$as_me:$LINENO: result: yes" >&5
8415 echo "${ECHO_T}yes" >&6
8417 echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6
8423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8424 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8426 # Check whether --enable-filepicker or --disable-filepicker was given.
8427 if test "${enable_filepicker+set}" = set; then
8428 enableval
="$enable_filepicker"
8430 if test "$enableval" = yes; then
8431 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8433 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8438 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x
; then
8440 eval "DEFAULT_$LINE"
8445 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8449 eval "$ac_cv_use_filepicker"
8450 if test "$no_cache" != 1; then
8451 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8454 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8455 echo "$as_me:$LINENO: result: yes" >&5
8456 echo "${ECHO_T}yes" >&6
8458 echo "$as_me:$LINENO: result: no" >&5
8459 echo "${ECHO_T}no" >&6
8464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8468 if test "${enable_fontpicker+set}" = set; then
8469 enableval
="$enable_fontpicker"
8471 if test "$enableval" = yes; then
8472 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8474 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8479 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x
; then
8481 eval "DEFAULT_$LINE"
8486 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8490 eval "$ac_cv_use_fontpicker"
8491 if test "$no_cache" != 1; then
8492 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8495 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8496 echo "$as_me:$LINENO: result: yes" >&5
8497 echo "${ECHO_T}yes" >&6
8499 echo "$as_me:$LINENO: result: no" >&5
8500 echo "${ECHO_T}no" >&6
8505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8508 # Check whether --enable-gauge or --disable-gauge was given.
8509 if test "${enable_gauge+set}" = set; then
8510 enableval
="$enable_gauge"
8512 if test "$enableval" = yes; then
8513 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8515 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8520 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8521 if test "x$LINE" != x
; then
8522 eval "DEFAULT_$LINE"
8527 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8531 eval "$ac_cv_use_gauge"
8532 if test "$no_cache" != 1; then
8533 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8536 if test "$wxUSE_GAUGE" = yes; then
8537 echo "$as_me:$LINENO: result: yes" >&5
8538 echo "${ECHO_T}yes" >&6
8540 echo "$as_me:$LINENO: result: no" >&5
8541 echo "${ECHO_T}no" >&6
8546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8549 # Check whether --enable-grid or --disable-grid was given.
8550 if test "${enable_grid+set}" = set; then
8551 enableval
="$enable_grid"
8553 if test "$enableval" = yes; then
8554 ac_cv_use_grid
='wxUSE_GRID=yes'
8556 ac_cv_use_grid
='wxUSE_GRID=no'
8561 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8562 if test "x$LINE" != x
; then
8563 eval "DEFAULT_$LINE"
8568 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8572 eval "$ac_cv_use_grid"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8577 if test "$wxUSE_GRID" = yes; then
8578 echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8581 echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6
8587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8590 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8591 if test "${enable_dataviewctrl+set}" = set; then
8592 enableval
="$enable_dataviewctrl"
8594 if test "$enableval" = yes; then
8595 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8597 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8602 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8603 if test "x$LINE" != x
; then
8604 eval "DEFAULT_$LINE"
8609 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8613 eval "$ac_cv_use_dataviewctrl"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8618 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8619 echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8622 echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6
8628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8631 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8632 if test "${enable_hyperlink+set}" = set; then
8633 enableval
="$enable_hyperlink"
8635 if test "$enableval" = yes; then
8636 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8638 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8643 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8644 if test "x$LINE" != x
; then
8645 eval "DEFAULT_$LINE"
8650 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8654 eval "$ac_cv_use_hyperlink"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8659 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8660 echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6
8663 echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6
8669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8672 # Check whether --enable-imaglist or --disable-imaglist was given.
8673 if test "${enable_imaglist+set}" = set; then
8674 enableval
="$enable_imaglist"
8676 if test "$enableval" = yes; then
8677 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8679 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8684 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8685 if test "x$LINE" != x
; then
8686 eval "DEFAULT_$LINE"
8691 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8695 eval "$ac_cv_use_imaglist"
8696 if test "$no_cache" != 1; then
8697 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8700 if test "$wxUSE_IMAGLIST" = yes; then
8701 echo "$as_me:$LINENO: result: yes" >&5
8702 echo "${ECHO_T}yes" >&6
8704 echo "$as_me:$LINENO: result: no" >&5
8705 echo "${ECHO_T}no" >&6
8710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8713 # Check whether --enable-listbook or --disable-listbook was given.
8714 if test "${enable_listbook+set}" = set; then
8715 enableval
="$enable_listbook"
8717 if test "$enableval" = yes; then
8718 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8720 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8725 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x
; then
8727 eval "DEFAULT_$LINE"
8732 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8736 eval "$ac_cv_use_listbook"
8737 if test "$no_cache" != 1; then
8738 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8741 if test "$wxUSE_LISTBOOK" = yes; then
8742 echo "$as_me:$LINENO: result: yes" >&5
8743 echo "${ECHO_T}yes" >&6
8745 echo "$as_me:$LINENO: result: no" >&5
8746 echo "${ECHO_T}no" >&6
8751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8754 # Check whether --enable-listbox or --disable-listbox was given.
8755 if test "${enable_listbox+set}" = set; then
8756 enableval
="$enable_listbox"
8758 if test "$enableval" = yes; then
8759 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8761 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8766 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x
; then
8768 eval "DEFAULT_$LINE"
8773 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8777 eval "$ac_cv_use_listbox"
8778 if test "$no_cache" != 1; then
8779 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8782 if test "$wxUSE_LISTBOX" = yes; then
8783 echo "$as_me:$LINENO: result: yes" >&5
8784 echo "${ECHO_T}yes" >&6
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8795 # Check whether --enable-listctrl or --disable-listctrl was given.
8796 if test "${enable_listctrl+set}" = set; then
8797 enableval
="$enable_listctrl"
8799 if test "$enableval" = yes; then
8800 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8802 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8807 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x
; then
8809 eval "DEFAULT_$LINE"
8814 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8818 eval "$ac_cv_use_listctrl"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8823 if test "$wxUSE_LISTCTRL" = yes; then
8824 echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6
8827 echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6
8833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8836 # Check whether --enable-notebook or --disable-notebook was given.
8837 if test "${enable_notebook+set}" = set; then
8838 enableval
="$enable_notebook"
8840 if test "$enableval" = yes; then
8841 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8843 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8848 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x
; then
8850 eval "DEFAULT_$LINE"
8855 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8859 eval "$ac_cv_use_notebook"
8860 if test "$no_cache" != 1; then
8861 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8864 if test "$wxUSE_NOTEBOOK" = yes; then
8865 echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6
8868 echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6
8874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8877 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8878 if test "${enable_odcombobox+set}" = set; then
8879 enableval
="$enable_odcombobox"
8881 if test "$enableval" = yes; then
8882 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8884 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8889 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x
; then
8891 eval "DEFAULT_$LINE"
8896 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8900 eval "$ac_cv_use_odcombobox"
8901 if test "$no_cache" != 1; then
8902 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8905 if test "$wxUSE_ODCOMBOBOX" = yes; then
8906 echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6
8909 echo "$as_me:$LINENO: result: no" >&5
8910 echo "${ECHO_T}no" >&6
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8918 # Check whether --enable-radiobox or --disable-radiobox was given.
8919 if test "${enable_radiobox+set}" = set; then
8920 enableval
="$enable_radiobox"
8922 if test "$enableval" = yes; then
8923 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8925 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8930 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x
; then
8932 eval "DEFAULT_$LINE"
8937 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8941 eval "$ac_cv_use_radiobox"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8946 if test "$wxUSE_RADIOBOX" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8959 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8960 if test "${enable_radiobtn+set}" = set; then
8961 enableval
="$enable_radiobtn"
8963 if test "$enableval" = yes; then
8964 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8966 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8971 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x
; then
8973 eval "DEFAULT_$LINE"
8978 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8982 eval "$ac_cv_use_radiobtn"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8987 if test "$wxUSE_RADIOBTN" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9000 # Check whether --enable-sash or --disable-sash was given.
9001 if test "${enable_sash+set}" = set; then
9002 enableval
="$enable_sash"
9004 if test "$enableval" = yes; then
9005 ac_cv_use_sash
='wxUSE_SASH=yes'
9007 ac_cv_use_sash
='wxUSE_SASH=no'
9012 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x
; then
9014 eval "DEFAULT_$LINE"
9019 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9023 eval "$ac_cv_use_sash"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9028 if test "$wxUSE_SASH" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9041 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9042 if test "${enable_scrollbar+set}" = set; then
9043 enableval
="$enable_scrollbar"
9045 if test "$enableval" = yes; then
9046 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9048 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9053 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x
; then
9055 eval "DEFAULT_$LINE"
9060 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9064 eval "$ac_cv_use_scrollbar"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9069 if test "$wxUSE_SCROLLBAR" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9082 # Check whether --enable-slider or --disable-slider was given.
9083 if test "${enable_slider+set}" = set; then
9084 enableval
="$enable_slider"
9086 if test "$enableval" = yes; then
9087 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9089 ac_cv_use_slider
='wxUSE_SLIDER=no'
9094 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x
; then
9096 eval "DEFAULT_$LINE"
9101 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9105 eval "$ac_cv_use_slider"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9110 if test "$wxUSE_SLIDER" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9124 if test "${enable_spinbtn+set}" = set; then
9125 enableval
="$enable_spinbtn"
9127 if test "$enableval" = yes; then
9128 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9130 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9135 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x
; then
9137 eval "DEFAULT_$LINE"
9142 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9146 eval "$ac_cv_use_spinbtn"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9151 if test "$wxUSE_SPINBTN" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9164 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9165 if test "${enable_spinctrl+set}" = set; then
9166 enableval
="$enable_spinctrl"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9171 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9176 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x
; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9187 eval "$ac_cv_use_spinctrl"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_SPINCTRL" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9205 # Check whether --enable-splitter or --disable-splitter was given.
9206 if test "${enable_splitter+set}" = set; then
9207 enableval
="$enable_splitter"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9212 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9217 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x
; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9228 eval "$ac_cv_use_splitter"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_SPLITTER" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9246 # Check whether --enable-statbmp or --disable-statbmp was given.
9247 if test "${enable_statbmp+set}" = set; then
9248 enableval
="$enable_statbmp"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9253 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9258 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x
; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9269 eval "$ac_cv_use_statbmp"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_STATBMP" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9287 # Check whether --enable-statbox or --disable-statbox was given.
9288 if test "${enable_statbox+set}" = set; then
9289 enableval
="$enable_statbox"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9294 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9299 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x
; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9310 eval "$ac_cv_use_statbox"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_STATBOX" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9328 # Check whether --enable-statline or --disable-statline was given.
9329 if test "${enable_statline+set}" = set; then
9330 enableval
="$enable_statline"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9335 ac_cv_use_statline
='wxUSE_STATLINE=no'
9340 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x
; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9351 eval "$ac_cv_use_statline"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_STATLINE" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9369 # Check whether --enable-stattext or --disable-stattext was given.
9370 if test "${enable_stattext+set}" = set; then
9371 enableval
="$enable_stattext"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9376 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9381 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x
; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9392 eval "$ac_cv_use_stattext"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_STATTEXT" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9410 # Check whether --enable-statusbar or --disable-statusbar was given.
9411 if test "${enable_statusbar+set}" = set; then
9412 enableval
="$enable_statusbar"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9417 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9422 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x
; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9433 eval "$ac_cv_use_statusbar"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_STATUSBAR" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9451 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9452 if test "${enable_tabdialog+set}" = set; then
9453 enableval
="$enable_tabdialog"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9458 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9463 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x
; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9474 eval "$ac_cv_use_tabdialog"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_TAB_DIALOG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9492 # Check whether --enable-textctrl or --disable-textctrl was given.
9493 if test "${enable_textctrl+set}" = set; then
9494 enableval
="$enable_textctrl"
9496 if test "$enableval" = yes; then
9497 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9499 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9504 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x
; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9515 eval "$ac_cv_use_textctrl"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9520 if test "$wxUSE_TEXTCTRL" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9533 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9534 if test "${enable_togglebtn+set}" = set; then
9535 enableval
="$enable_togglebtn"
9537 if test "$enableval" = yes; then
9538 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9540 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9545 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x
; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9556 eval "$ac_cv_use_togglebtn"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9561 if test "$wxUSE_TOGGLEBTN" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9574 # Check whether --enable-toolbar or --disable-toolbar was given.
9575 if test "${enable_toolbar+set}" = set; then
9576 enableval
="$enable_toolbar"
9578 if test "$enableval" = yes; then
9579 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9581 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9586 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x
; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9597 eval "$ac_cv_use_toolbar"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9602 if test "$wxUSE_TOOLBAR" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9615 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9616 if test "${enable_tbarnative+set}" = set; then
9617 enableval
="$enable_tbarnative"
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9622 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9627 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x
; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9638 eval "$ac_cv_use_tbarnative"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9643 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9656 # Check whether --enable-treebook or --disable-treebook was given.
9657 if test "${enable_treebook+set}" = set; then
9658 enableval
="$enable_treebook"
9660 if test "$enableval" = yes; then
9661 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9663 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9668 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x
; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9679 eval "$ac_cv_use_treebook"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9684 if test "$wxUSE_TREEBOOK" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9697 # Check whether --enable-toolbook or --disable-toolbook was given.
9698 if test "${enable_toolbook+set}" = set; then
9699 enableval
="$enable_toolbook"
9701 if test "$enableval" = yes; then
9702 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9704 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9709 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x
; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9720 eval "$ac_cv_use_toolbook"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9725 if test "$wxUSE_TOOLBOOK" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9738 # Check whether --enable-treectrl or --disable-treectrl was given.
9739 if test "${enable_treectrl+set}" = set; then
9740 enableval
="$enable_treectrl"
9742 if test "$enableval" = yes; then
9743 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9745 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9750 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x
; then
9752 eval "DEFAULT_$LINE"
9757 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9761 eval "$ac_cv_use_treectrl"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9766 if test "$wxUSE_TREECTRL" = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9770 echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6
9776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9779 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9780 if test "${enable_tipwindow+set}" = set; then
9781 enableval
="$enable_tipwindow"
9783 if test "$enableval" = yes; then
9784 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9786 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9791 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x
; then
9793 eval "DEFAULT_$LINE"
9798 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9802 eval "$ac_cv_use_tipwindow"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9807 if test "$wxUSE_TIPWINDOW" = yes; then
9808 echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6
9811 echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9820 # Check whether --enable-popupwin or --disable-popupwin was given.
9821 if test "${enable_popupwin+set}" = set; then
9822 enableval
="$enable_popupwin"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9827 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9832 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9843 eval "$ac_cv_use_popupwin"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_POPUPWIN" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9863 # Check whether --enable-commondlg or --disable-commondlg was given.
9864 if test "${enable_commondlg+set}" = set; then
9865 enableval
="$enable_commondlg"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9870 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9875 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x
; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9886 eval "$ac_cv_use_commondlg"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_COMMONDLGS" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9904 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9905 if test "${enable_choicedlg+set}" = set; then
9906 enableval
="$enable_choicedlg"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9911 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9916 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x
; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9927 eval "$ac_cv_use_choicedlg"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_CHOICEDLG" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9945 # Check whether --enable-coldlg or --disable-coldlg was given.
9946 if test "${enable_coldlg+set}" = set; then
9947 enableval
="$enable_coldlg"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9952 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9957 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x
; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9968 eval "$ac_cv_use_coldlg"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_COLOURDLG" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9986 # Check whether --enable-filedlg or --disable-filedlg was given.
9987 if test "${enable_filedlg+set}" = set; then
9988 enableval
="$enable_filedlg"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9993 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9998 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x
; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10009 eval "$ac_cv_use_filedlg"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_FILEDLG" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10027 # Check whether --enable-finddlg or --disable-finddlg was given.
10028 if test "${enable_finddlg+set}" = set; then
10029 enableval
="$enable_finddlg"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10034 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10039 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x
; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10050 eval "$ac_cv_use_finddlg"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_FINDREPLDLG" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10068 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10069 if test "${enable_fontdlg+set}" = set; then
10070 enableval
="$enable_fontdlg"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10075 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10080 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x
; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10091 eval "$ac_cv_use_fontdlg"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_FONTDLG" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10109 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10110 if test "${enable_dirdlg+set}" = set; then
10111 enableval
="$enable_dirdlg"
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10116 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10121 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x
; then
10123 eval "DEFAULT_$LINE"
10128 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10132 eval "$ac_cv_use_dirdlg"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10137 if test "$wxUSE_DIRDLG" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10150 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10151 if test "${enable_msgdlg+set}" = set; then
10152 enableval
="$enable_msgdlg"
10154 if test "$enableval" = yes; then
10155 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10157 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10162 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x
; then
10164 eval "DEFAULT_$LINE"
10169 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10173 eval "$ac_cv_use_msgdlg"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_MSGDLG" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10191 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10192 if test "${enable_numberdlg+set}" = set; then
10193 enableval
="$enable_numberdlg"
10195 if test "$enableval" = yes; then
10196 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10198 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10203 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10204 if test "x$LINE" != x
; then
10205 eval "DEFAULT_$LINE"
10210 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10214 eval "$ac_cv_use_numberdlg"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10219 if test "$wxUSE_NUMBERDLG" = yes; then
10220 echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10223 echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6
10229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10232 # Check whether --enable-splash or --disable-splash was given.
10233 if test "${enable_splash+set}" = set; then
10234 enableval
="$enable_splash"
10236 if test "$enableval" = yes; then
10237 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10239 ac_cv_use_splash
='wxUSE_SPLASH=no'
10244 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x
; then
10246 eval "DEFAULT_$LINE"
10251 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10255 eval "$ac_cv_use_splash"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10260 if test "$wxUSE_SPLASH" = yes; then
10261 echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6
10264 echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6
10270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10273 # Check whether --enable-textdlg or --disable-textdlg was given.
10274 if test "${enable_textdlg+set}" = set; then
10275 enableval
="$enable_textdlg"
10277 if test "$enableval" = yes; then
10278 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10280 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10285 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10286 if test "x$LINE" != x
; then
10287 eval "DEFAULT_$LINE"
10292 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10296 eval "$ac_cv_use_textdlg"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10301 if test "$wxUSE_TEXTDLG" = yes; then
10302 echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10314 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10315 if test "${enable_tipdlg+set}" = set; then
10316 enableval
="$enable_tipdlg"
10318 if test "$enableval" = yes; then
10319 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10321 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10326 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10327 if test "x$LINE" != x
; then
10328 eval "DEFAULT_$LINE"
10333 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10337 eval "$ac_cv_use_tipdlg"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10342 if test "$wxUSE_STARTUP_TIPS" = yes; then
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10355 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10356 if test "${enable_progressdlg+set}" = set; then
10357 enableval
="$enable_progressdlg"
10359 if test "$enableval" = yes; then
10360 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10362 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10367 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10368 if test "x$LINE" != x
; then
10369 eval "DEFAULT_$LINE"
10374 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10378 eval "$ac_cv_use_progressdlg"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10383 if test "$wxUSE_PROGRESSDLG" = yes; then
10384 echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10396 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10397 if test "${enable_wizarddlg+set}" = set; then
10398 enableval
="$enable_wizarddlg"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10403 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10408 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10419 eval "$ac_cv_use_wizarddlg"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_WIZARDDLG" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10439 # Check whether --enable-menus or --disable-menus was given.
10440 if test "${enable_menus+set}" = set; then
10441 enableval
="$enable_menus"
10443 if test "$enableval" = yes; then
10444 ac_cv_use_menus
='wxUSE_MENUS=yes'
10446 ac_cv_use_menus
='wxUSE_MENUS=no'
10451 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x
; then
10453 eval "DEFAULT_$LINE"
10458 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10462 eval "$ac_cv_use_menus"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10467 if test "$wxUSE_MENUS" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10480 # Check whether --enable-miniframe or --disable-miniframe was given.
10481 if test "${enable_miniframe+set}" = set; then
10482 enableval
="$enable_miniframe"
10484 if test "$enableval" = yes; then
10485 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10487 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10492 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x
; then
10494 eval "DEFAULT_$LINE"
10499 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10503 eval "$ac_cv_use_miniframe"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10508 if test "$wxUSE_MINIFRAME" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10521 # Check whether --enable-tooltips or --disable-tooltips was given.
10522 if test "${enable_tooltips+set}" = set; then
10523 enableval
="$enable_tooltips"
10525 if test "$enableval" = yes; then
10526 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10528 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10533 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x
; then
10535 eval "DEFAULT_$LINE"
10540 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10544 eval "$ac_cv_use_tooltips"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10549 if test "$wxUSE_TOOLTIPS" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10562 # Check whether --enable-splines or --disable-splines was given.
10563 if test "${enable_splines+set}" = set; then
10564 enableval
="$enable_splines"
10566 if test "$enableval" = yes; then
10567 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10569 ac_cv_use_splines
='wxUSE_SPLINES=no'
10574 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x
; then
10576 eval "DEFAULT_$LINE"
10581 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10585 eval "$ac_cv_use_splines"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10590 if test "$wxUSE_SPLINES" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10603 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10604 if test "${enable_mousewheel+set}" = set; then
10605 enableval
="$enable_mousewheel"
10607 if test "$enableval" = yes; then
10608 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10610 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10615 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x
; then
10617 eval "DEFAULT_$LINE"
10622 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10626 eval "$ac_cv_use_mousewheel"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10631 if test "$wxUSE_MOUSEWHEEL" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10644 # Check whether --enable-validators or --disable-validators was given.
10645 if test "${enable_validators+set}" = set; then
10646 enableval
="$enable_validators"
10648 if test "$enableval" = yes; then
10649 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10651 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10656 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x
; then
10658 eval "DEFAULT_$LINE"
10663 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10667 eval "$ac_cv_use_validators"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10672 if test "$wxUSE_VALIDATORS" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10685 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10686 if test "${enable_busyinfo+set}" = set; then
10687 enableval
="$enable_busyinfo"
10689 if test "$enableval" = yes; then
10690 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10692 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10697 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x
; then
10699 eval "DEFAULT_$LINE"
10704 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10708 eval "$ac_cv_use_busyinfo"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10713 if test "$wxUSE_BUSYINFO" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10726 # Check whether --enable-joystick or --disable-joystick was given.
10727 if test "${enable_joystick+set}" = set; then
10728 enableval
="$enable_joystick"
10730 if test "$enableval" = yes; then
10731 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10733 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10738 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x
; then
10740 eval "DEFAULT_$LINE"
10745 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10749 eval "$ac_cv_use_joystick"
10750 if test "$no_cache" != 1; then
10751 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10754 if test "$wxUSE_JOYSTICK" = yes; then
10755 echo "$as_me:$LINENO: result: yes" >&5
10756 echo "${ECHO_T}yes" >&6
10758 echo "$as_me:$LINENO: result: no" >&5
10759 echo "${ECHO_T}no" >&6
10764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10765 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10767 # Check whether --enable-metafile or --disable-metafile was given.
10768 if test "${enable_metafile+set}" = set; then
10769 enableval
="$enable_metafile"
10771 if test "$enableval" = yes; then
10772 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10774 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10779 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10780 if test "x$LINE" != x
; then
10781 eval "DEFAULT_$LINE"
10786 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10790 eval "$ac_cv_use_metafile"
10791 if test "$no_cache" != 1; then
10792 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10795 if test "$wxUSE_METAFILE" = yes; then
10796 echo "$as_me:$LINENO: result: yes" >&5
10797 echo "${ECHO_T}yes" >&6
10799 echo "$as_me:$LINENO: result: no" >&5
10800 echo "${ECHO_T}no" >&6
10805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10808 # Check whether --enable-dragimage or --disable-dragimage was given.
10809 if test "${enable_dragimage+set}" = set; then
10810 enableval
="$enable_dragimage"
10812 if test "$enableval" = yes; then
10813 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10815 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10820 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10821 if test "x$LINE" != x
; then
10822 eval "DEFAULT_$LINE"
10827 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10831 eval "$ac_cv_use_dragimage"
10832 if test "$no_cache" != 1; then
10833 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10836 if test "$wxUSE_DRAGIMAGE" = yes; then
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10849 # Check whether --enable-accessibility or --disable-accessibility was given.
10850 if test "${enable_accessibility+set}" = set; then
10851 enableval
="$enable_accessibility"
10853 if test "$enableval" = yes; then
10854 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10856 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10861 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x
; then
10863 eval "DEFAULT_$LINE"
10868 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10872 eval "$ac_cv_use_accessibility"
10873 if test "$no_cache" != 1; then
10874 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10877 if test "$wxUSE_ACCESSIBILITY" = yes; then
10878 echo "$as_me:$LINENO: result: yes" >&5
10879 echo "${ECHO_T}yes" >&6
10881 echo "$as_me:$LINENO: result: no" >&5
10882 echo "${ECHO_T}no" >&6
10886 if test "$wxUSE_MSW" = "1"; then
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10892 # Check whether --enable-dccache or --disable-dccache was given.
10893 if test "${enable_dccache+set}" = set; then
10894 enableval
="$enable_dccache"
10896 if test "$enableval" = yes; then
10897 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10899 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10904 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x
; then
10906 eval "DEFAULT_$LINE"
10911 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10915 eval "$ac_cv_use_dccache"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_DC_CACHEING" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10936 # Check whether --enable-palette or --disable-palette was given.
10937 if test "${enable_palette+set}" = set; then
10938 enableval
="$enable_palette"
10940 if test "$enableval" = yes; then
10941 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10943 ac_cv_use_palette
='wxUSE_PALETTE=no'
10948 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x
; then
10950 eval "DEFAULT_$LINE"
10955 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10959 eval "$ac_cv_use_palette"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10964 if test "$wxUSE_PALETTE" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10977 # Check whether --enable-image or --disable-image was given.
10978 if test "${enable_image+set}" = set; then
10979 enableval
="$enable_image"
10981 if test "$enableval" = yes; then
10982 ac_cv_use_image
='wxUSE_IMAGE=yes'
10984 ac_cv_use_image
='wxUSE_IMAGE=no'
10989 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10990 if test "x$LINE" != x
; then
10991 eval "DEFAULT_$LINE"
10996 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11000 eval "$ac_cv_use_image"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11005 if test "$wxUSE_IMAGE" = yes; then
11006 echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6
11009 echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6
11015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11018 # Check whether --enable-gif or --disable-gif was given.
11019 if test "${enable_gif+set}" = set; then
11020 enableval
="$enable_gif"
11022 if test "$enableval" = yes; then
11023 ac_cv_use_gif
='wxUSE_GIF=yes'
11025 ac_cv_use_gif
='wxUSE_GIF=no'
11030 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11031 if test "x$LINE" != x
; then
11032 eval "DEFAULT_$LINE"
11037 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11041 eval "$ac_cv_use_gif"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11046 if test "$wxUSE_GIF" = yes; then
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11059 # Check whether --enable-pcx or --disable-pcx was given.
11060 if test "${enable_pcx+set}" = set; then
11061 enableval
="$enable_pcx"
11063 if test "$enableval" = yes; then
11064 ac_cv_use_pcx
='wxUSE_PCX=yes'
11066 ac_cv_use_pcx
='wxUSE_PCX=no'
11071 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11072 if test "x$LINE" != x
; then
11073 eval "DEFAULT_$LINE"
11078 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11082 eval "$ac_cv_use_pcx"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11087 if test "$wxUSE_PCX" = yes; then
11088 echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11100 # Check whether --enable-iff or --disable-iff was given.
11101 if test "${enable_iff+set}" = set; then
11102 enableval
="$enable_iff"
11104 if test "$enableval" = yes; then
11105 ac_cv_use_iff
='wxUSE_IFF=yes'
11107 ac_cv_use_iff
='wxUSE_IFF=no'
11112 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x
; then
11114 eval "DEFAULT_$LINE"
11119 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11123 eval "$ac_cv_use_iff"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11128 if test "$wxUSE_IFF" = yes; then
11129 echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11141 # Check whether --enable-pnm or --disable-pnm was given.
11142 if test "${enable_pnm+set}" = set; then
11143 enableval
="$enable_pnm"
11145 if test "$enableval" = yes; then
11146 ac_cv_use_pnm
='wxUSE_PNM=yes'
11148 ac_cv_use_pnm
='wxUSE_PNM=no'
11153 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x
; then
11155 eval "DEFAULT_$LINE"
11160 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11164 eval "$ac_cv_use_pnm"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11169 if test "$wxUSE_PNM" = yes; then
11170 echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11182 # Check whether --enable-xpm or --disable-xpm was given.
11183 if test "${enable_xpm+set}" = set; then
11184 enableval
="$enable_xpm"
11186 if test "$enableval" = yes; then
11187 ac_cv_use_xpm
='wxUSE_XPM=yes'
11189 ac_cv_use_xpm
='wxUSE_XPM=no'
11194 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x
; then
11196 eval "DEFAULT_$LINE"
11201 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11205 eval "$ac_cv_use_xpm"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11210 if test "$wxUSE_XPM" = yes; then
11211 echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6
11214 echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6
11220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11223 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11224 if test "${enable_ico_cur+set}" = set; then
11225 enableval
="$enable_ico_cur"
11227 if test "$enableval" = yes; then
11228 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11230 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11235 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x
; then
11237 eval "DEFAULT_$LINE"
11242 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11246 eval "$ac_cv_use_ico_cur"
11247 if test "$no_cache" != 1; then
11248 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11251 if test "$wxUSE_ICO_CUR" = yes; then
11252 echo "$as_me:$LINENO: result: yes" >&5
11253 echo "${ECHO_T}yes" >&6
11255 echo "$as_me:$LINENO: result: no" >&5
11256 echo "${ECHO_T}no" >&6
11264 # Check whether --with-flavour or --without-flavour was given.
11265 if test "${with_flavour+set}" = set; then
11266 withval
="$with_flavour"
11267 WX_FLAVOUR
="$withval"
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11276 # Check whether --enable-official_build or --disable-official_build was given.
11277 if test "${enable_official_build+set}" = set; then
11278 enableval
="$enable_official_build"
11280 if test "$enableval" = yes; then
11281 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11283 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11288 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x
; then
11290 eval "DEFAULT_$LINE"
11295 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11299 eval "$ac_cv_use_official_build"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11312 # Check whether --enable-vendor or --disable-vendor was given.
11313 if test "${enable_vendor+set}" = set; then
11314 enableval
="$enable_vendor"
11315 VENDOR
="$enableval"
11317 if test "x$VENDOR" = "x"; then
11324 echo "saving argument cache $wx_arg_cache_file"
11325 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11329 echo "$as_me:$LINENO: checking for toolkit" >&5
11330 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11332 # In Wine, we need to default to MSW, not GTK or MOTIF
11333 if test "$wxUSE_WINE" = "yes"; then
11334 DEFAULT_DEFAULT_wxUSE_GTK
=0
11335 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11336 DEFAULT_DEFAULT_wxUSE_MSW
=1
11341 if test "$wxUSE_GUI" = "yes"; then
11343 if test "$USE_BEOS" = 1; then
11344 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11345 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11346 { (exit 1); exit 1; }; }
11349 if test "$TOOLKIT_GIVEN" = 1; then
11350 for toolkit
in `echo $ALL_TOOLKITS`; do
11352 eval "value=\$${var}"
11353 if test "x$value" = "xno"; then
11355 elif test "x$value" != "x"; then
11359 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11360 eval "wx${toolkit}_VERSION=$value"
11364 for toolkit
in `echo $ALL_TOOLKITS`; do
11365 if test "$has_toolkit_in_cache" != 1; then
11366 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11368 var
=DEFAULT_wxUSE_
$toolkit
11370 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11371 if test "x$version" != "x"; then
11372 eval "wx${toolkit}_VERSION=$version"
11375 eval "wxUSE_$toolkit=\$${var}"
11379 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11380 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11381 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11384 *-pc-os2_emx | *-pc-os2-emx )
11385 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11388 case "$NUM_TOOLKITS" in
11392 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11393 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11394 { (exit 1); exit 1; }; }
11397 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11398 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11399 { (exit 1); exit 1; }; }
11402 # to be removed when --disable-gtk2 isn't needed
11403 if test "x$wxUSE_GTK2" = "xyes"; then
11405 elif test "x$wxUSE_GTK2" = "xno"; then
11409 for toolkit
in `echo $ALL_TOOLKITS`; do
11411 eval "value=\$${var}"
11412 if test "x$value" != x
; then
11413 cache_var
=CACHE_
$toolkit
11414 eval "cache=\$${cache_var}"
11415 if test "$cache" = 1; then
11416 echo "$var=$value" >> ${wx_arg_cache_file}
11417 eval "version=\$wx${toolkit}_VERSION"
11418 if test "x$version" != "x"; then
11419 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11422 if test "$value" = 1; then
11423 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11424 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11425 echo "${ECHO_T}$toolkit_echo" >&6
11430 if test "x$host_alias" != "x"; then
11431 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11432 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11434 echo "$as_me:$LINENO: result: base only" >&5
11435 echo "${ECHO_T}base only" >&6
11440 doesnt_want_win32
=0
11443 if test "$wxUSE_MSW" = 1 ; then
11445 BAKEFILE_FORCE_PLATFORM
=win32
11447 doesnt_want_win32
=1
11455 if test "$wxUSE_WINE" = "yes"; then
11459 LDFLAGS_GUI
="-mwindows"
11462 if test "$wants_win32" = 1 ; then
11465 cat >>confdefs.h
<<\_ACEOF
11466 #define __WIN32__ 1
11469 cat >>confdefs.h
<<\_ACEOF
11470 #define __WIN95__ 1
11473 cat >>confdefs.h
<<\_ACEOF
11474 #define __WINDOWS__ 1
11477 cat >>confdefs.h
<<\_ACEOF
11478 #define __GNUWIN32__ 1
11481 cat >>confdefs.h
<<\_ACEOF
11485 cat >>confdefs.h
<<\_ACEOF
11486 #define WINVER 0x0400
11490 if test "$doesnt_want_win32" = 1 ; then
11495 if test "$USE_UNIX" = 1 ; then
11497 cat >>confdefs.h
<<\_ACEOF
11504 cat >confcache
<<\_ACEOF
11505 # This file is a shell script that caches the results of configure
11506 # tests run on this system so they can be shared between configure
11507 # scripts and configure runs, see configure's option --config-cache.
11508 # It is not useful on other systems. If it contains results you don't
11509 # want to keep, you may remove or edit it.
11511 # config.status only pays attention to the cache file if you give it
11512 # the --recheck option to rerun configure.
11514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11516 # following values.
11520 # The following way of writing the cache mishandles newlines in values,
11521 # but we know of no workaround that is simple, portable, and efficient.
11522 # So, don't put newlines in cache variables' values.
11523 # Ultrix sh set writes to stderr and can't be redirected directly,
11524 # and sets the high bit in the cache file unless we assign to the vars.
11527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11529 # `set' does not quote correctly, so add quotes (double-quote
11530 # substitution turns \\\\ into \\, and sed turns \\ into \).
11533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11536 # `set' quotes correctly as required by POSIX, so do not add quotes.
11538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11549 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11550 if test -w $cache_file; then
11551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11552 cat confcache
>$cache_file
11554 echo "not updating unwritable cache $cache_file"
11564 ac_cpp
='$CPP $CPPFLAGS'
11565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11568 if test -n "$ac_tool_prefix"; then
11569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11570 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11571 echo "$as_me:$LINENO: checking for $ac_word" >&5
11572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11573 if test "${ac_cv_prog_CC+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 if test -n "$CC"; then
11577 ac_cv_prog_CC
="$CC" # Let the user override the test.
11579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11580 for as_dir
in $PATH
11583 test -z "$as_dir" && as_dir
=.
11584 for ac_exec_ext
in '' $ac_executable_extensions; do
11585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11596 if test -n "$CC"; then
11597 echo "$as_me:$LINENO: result: $CC" >&5
11598 echo "${ECHO_T}$CC" >&6
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11605 if test -z "$ac_cv_prog_CC"; then
11607 # Extract the first word of "gcc", so it can be a program name with args.
11608 set dummy gcc
; ac_word
=$2
11609 echo "$as_me:$LINENO: checking for $ac_word" >&5
11610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 if test -n "$ac_ct_CC"; then
11615 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11618 for as_dir
in $PATH
11621 test -z "$as_dir" && as_dir
=.
11622 for ac_exec_ext
in '' $ac_executable_extensions; do
11623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_ac_ct_CC
="gcc"
11625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11634 if test -n "$ac_ct_CC"; then
11635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11636 echo "${ECHO_T}$ac_ct_CC" >&6
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11644 CC
="$ac_cv_prog_CC"
11647 if test -z "$CC"; then
11648 if test -n "$ac_tool_prefix"; then
11649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11650 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_CC+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC
="$CC" # Let the user override the test.
11659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11660 for as_dir
in $PATH
11663 test -z "$as_dir" && as_dir
=.
11664 for ac_exec_ext
in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11676 if test -n "$CC"; then
11677 echo "$as_me:$LINENO: result: $CC" >&5
11678 echo "${ECHO_T}$CC" >&6
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11685 if test -z "$ac_cv_prog_CC"; then
11687 # Extract the first word of "cc", so it can be a program name with args.
11688 set dummy cc
; ac_word
=$2
11689 echo "$as_me:$LINENO: checking for $ac_word" >&5
11690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 if test -n "$ac_ct_CC"; then
11695 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11698 for as_dir
in $PATH
11701 test -z "$as_dir" && as_dir
=.
11702 for ac_exec_ext
in '' $ac_executable_extensions; do
11703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11704 ac_cv_prog_ac_ct_CC
="cc"
11705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11714 if test -n "$ac_ct_CC"; then
11715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11716 echo "${ECHO_T}$ac_ct_CC" >&6
11718 echo "$as_me:$LINENO: result: no" >&5
11719 echo "${ECHO_T}no" >&6
11724 CC
="$ac_cv_prog_CC"
11728 if test -z "$CC"; then
11729 # Extract the first word of "cc", so it can be a program name with args.
11730 set dummy cc
; ac_word
=$2
11731 echo "$as_me:$LINENO: checking for $ac_word" >&5
11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11733 if test "${ac_cv_prog_CC+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 if test -n "$CC"; then
11737 ac_cv_prog_CC
="$CC" # Let the user override the test.
11739 ac_prog_rejected
=no
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11748 ac_prog_rejected
=yes
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 if test $ac_prog_rejected = yes; then
11759 # We found a bogon in the path, so make sure we never use it.
11760 set dummy
$ac_cv_prog_CC
11762 if test $# != 0; then
11763 # We chose a different compiler from the bogus one.
11764 # However, it has the same basename, so the bogon will be chosen
11765 # first if we set CC to just the basename; use the full file name.
11767 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11773 if test -n "$CC"; then
11774 echo "$as_me:$LINENO: result: $CC" >&5
11775 echo "${ECHO_T}$CC" >&6
11777 echo "$as_me:$LINENO: result: no" >&5
11778 echo "${ECHO_T}no" >&6
11782 if test -z "$CC"; then
11783 if test -n "$ac_tool_prefix"; then
11786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11787 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_prog_CC+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 if test -n "$CC"; then
11794 ac_cv_prog_CC
="$CC" # Let the user override the test.
11796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11797 for as_dir
in $PATH
11800 test -z "$as_dir" && as_dir
=.
11801 for ac_exec_ext
in '' $ac_executable_extensions; do
11802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11803 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11813 if test -n "$CC"; then
11814 echo "$as_me:$LINENO: result: $CC" >&5
11815 echo "${ECHO_T}$CC" >&6
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11821 test -n "$CC" && break
11824 if test -z "$CC"; then
11828 # Extract the first word of "$ac_prog", so it can be a program name with args.
11829 set dummy
$ac_prog; ac_word
=$2
11830 echo "$as_me:$LINENO: checking for $ac_word" >&5
11831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 if test -n "$ac_ct_CC"; then
11836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11839 for as_dir
in $PATH
11842 test -z "$as_dir" && as_dir
=.
11843 for ac_exec_ext
in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_ac_ct_CC
="$ac_prog"
11846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11855 if test -n "$ac_ct_CC"; then
11856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11857 echo "${ECHO_T}$ac_ct_CC" >&6
11859 echo "$as_me:$LINENO: result: no" >&5
11860 echo "${ECHO_T}no" >&6
11863 test -n "$ac_ct_CC" && break
11872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11873 See \`config.log' for more details." >&5
11874 echo "$as_me: error: no acceptable C compiler found in \$PATH
11875 See \`config.log' for more details." >&2;}
11876 { (exit 1); exit 1; }; }
11878 # Provide some information about the compiler.
11879 echo "$as_me:$LINENO:" \
11880 "checking for C compiler version" >&5
11881 ac_compiler
=`set X $ac_compile; echo $2`
11882 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11883 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }
11887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11888 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }
11892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11893 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11913 ac_clean_files_save
=$ac_clean_files
11914 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11915 # Try to create an executable without -o first, disregard a.out.
11916 # It will help us diagnose broken compilers, and finding out an intuition
11918 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11919 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11920 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11922 (eval $ac_link_default) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; then
11926 # Find the output, starting from the most likely. This scheme is
11927 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11930 # Be careful to initialize this variable, since it used to be cached.
11931 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11933 # b.out is created by i960 compilers.
11934 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11936 test -f "$ac_file" || continue
11938 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11941 # This is the source file.
11944 # We found the default executable, but exeext='' is most
11948 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11949 # FIXME: I believe we export ac_cv_exeext for Libtool,
11950 # but it would be cool to find out if it's true. Does anybody
11951 # maintain Libtool? --akim.
11952 export ac_cv_exeext
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11963 See \`config.log' for more details." >&5
11964 echo "$as_me: error: C compiler cannot create executables
11965 See \`config.log' for more details." >&2;}
11966 { (exit 77); exit 77; }; }
11969 ac_exeext
=$ac_cv_exeext
11970 echo "$as_me:$LINENO: result: $ac_file" >&5
11971 echo "${ECHO_T}$ac_file" >&6
11973 # Check the compiler produces executables we can run. If not, either
11974 # the compiler is broken, or we cross compile.
11975 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11976 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11977 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11978 # If not cross compiling, check that we can run a simple program.
11979 if test "$cross_compiling" != yes; then
11980 if { ac_try
='./$ac_file'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11988 if test "$cross_compiling" = maybe
; then
11989 cross_compiling
=yes
11991 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11992 If you meant to cross compile, use \`--host'.
11993 See \`config.log' for more details." >&5
11994 echo "$as_me: error: cannot run C compiled programs.
11995 If you meant to cross compile, use \`--host'.
11996 See \`config.log' for more details." >&2;}
11997 { (exit 1); exit 1; }; }
12001 echo "$as_me:$LINENO: result: yes" >&5
12002 echo "${ECHO_T}yes" >&6
12004 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12005 ac_clean_files
=$ac_clean_files_save
12006 # Check the compiler produces executables we can run. If not, either
12007 # the compiler is broken, or we cross compile.
12008 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12009 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12010 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12011 echo "${ECHO_T}$cross_compiling" >&6
12013 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12014 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016 (eval $ac_link) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; then
12020 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12021 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12022 # work properly (i.e., refer to `conftest.exe'), while it won't with
12024 for ac_file
in conftest.exe conftest conftest.
*; do
12025 test -f "$ac_file" || continue
12027 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12028 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12029 export ac_cv_exeext
12035 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12042 rm -f conftest
$ac_cv_exeext
12043 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12044 echo "${ECHO_T}$ac_cv_exeext" >&6
12046 rm -f conftest.
$ac_ext
12047 EXEEXT
=$ac_cv_exeext
12049 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12050 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12051 if test "${ac_cv_objext+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 cat >conftest.
$ac_ext <<_ACEOF
12057 cat confdefs.h
>>conftest.
$ac_ext
12058 cat >>conftest.
$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12069 rm -f conftest.o conftest.obj
12070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 (eval $ac_compile) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; then
12075 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12077 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12078 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.
$ac_ext >&5
12086 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12087 See \`config.log' for more details." >&5
12088 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12089 See \`config.log' for more details." >&2;}
12090 { (exit 1); exit 1; }; }
12093 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12095 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12096 echo "${ECHO_T}$ac_cv_objext" >&6
12097 OBJEXT
=$ac_cv_objext
12099 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12100 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12101 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12107 cat confdefs.h
>>conftest.
$ac_ext
12108 cat >>conftest.
$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12122 rm -f conftest.
$ac_objext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>conftest.er1
12126 grep -v '^ *+' conftest.er1
>conftest.err
12128 cat conftest.err
>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try
='test -z "$ac_c_werror_flag"
12132 || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try
='test -s conftest.$ac_objext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_compiler_gnu
=yes
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12152 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12155 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12156 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12157 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12158 ac_test_CFLAGS
=${CFLAGS+set}
12159 ac_save_CFLAGS
=$CFLAGS
12161 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12162 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12163 if test "${ac_cv_prog_cc_g+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12181 rm -f conftest.
$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try
='test -s conftest.$ac_objext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12203 ac_cv_prog_cc_g
=yes
12205 echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.
$ac_ext >&5
12210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12214 if test "$ac_test_CFLAGS" = set; then
12215 CFLAGS
=$ac_save_CFLAGS
12216 elif test $ac_cv_prog_cc_g = yes; then
12217 if test "$GCC" = yes; then
12223 if test "$GCC" = yes; then
12229 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12230 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12231 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 ac_cv_prog_cc_stdc
=no
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 cat confdefs.h
>>conftest.
$ac_ext
12240 cat >>conftest.
$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 #include <stdarg.h>
12244 #include <sys/types.h>
12245 #include <sys/stat.h>
12246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12247 struct buf { int x; };
12248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12249 static char *e (p, i)
12255 static char *f (char * (*g) (char **, int), char **p, ...)
12260 s = g (p, va_arg (v,int));
12265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12266 function prototypes and stuff, but not '\xHH' hex character constants.
12267 These don't provoke an error unfortunately, instead are silently treated
12268 as 'x'. The following induces an error, until -std1 is added to get
12269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12270 array size at least. It's necessary to write '\x00'==0 to get something
12271 that's true only with -std1. */
12272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12274 int test (int i, double x);
12275 struct s1 {int (*f) (int a);};
12276 struct s2 {int (*f) (double a);};
12277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12288 # Don't try gcc -ansi; that turns off useful extensions and
12289 # breaks some systems' header files.
12290 # AIX -qlanglvl=ansi
12291 # Ultrix and OSF/1 -std1
12292 # HP-UX 10.20 and later -Ae
12293 # HP-UX older versions -Aa -D_HPUX_SOURCE
12294 # SVR4 -Xc -D__EXTENSIONS__
12295 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12297 CC
="$ac_save_CC $ac_arg"
12298 rm -f conftest.
$ac_objext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12300 (eval $ac_compile) 2>conftest.er1
12302 grep -v '^ *+' conftest.er1
>conftest.err
12304 cat conftest.err
>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try
='test -z "$ac_c_werror_flag"
12308 || test ! -s conftest.err'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; } &&
12314 { ac_try
='test -s conftest.$ac_objext'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; }; then
12320 ac_cv_prog_cc_stdc
=$ac_arg
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12327 rm -f conftest.err conftest.
$ac_objext
12329 rm -f conftest.
$ac_ext conftest.
$ac_objext
12334 case "x$ac_cv_prog_cc_stdc" in
12336 echo "$as_me:$LINENO: result: none needed" >&5
12337 echo "${ECHO_T}none needed" >&6 ;;
12339 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12340 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12341 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12344 # Some people use a C++ compiler to compile C. Since we use `exit',
12345 # in C++ we need to declare it. In case someone uses the same compiler
12346 # for both compiling C and C++ we need to have the C++ compiler decide
12347 # the declaration of exit, since it's the most demanding environment.
12348 cat >conftest.
$ac_ext <<_ACEOF
12349 #ifndef __cplusplus
12353 rm -f conftest.
$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 for ac_declaration
in \
12377 'extern "C" void std::exit (int) throw (); using std::exit;' \
12378 'extern "C" void std::exit (int); using std::exit;' \
12379 'extern "C" void exit (int) throw ();' \
12380 'extern "C" void exit (int);' \
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12390 #include <stdlib.h>
12399 rm -f conftest.
$ac_objext
12400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12401 (eval $ac_compile) 2>conftest.er1
12403 grep -v '^ *+' conftest.er1
>conftest.err
12405 cat conftest.err
>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } &&
12408 { ac_try
='test -z "$ac_c_werror_flag"
12409 || test ! -s conftest.err'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; } &&
12415 { ac_try
='test -s conftest.$ac_objext'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12423 echo "$as_me: failed program was:" >&5
12424 sed 's/^/| /' conftest.
$ac_ext >&5
12428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12429 cat >conftest.
$ac_ext <<_ACEOF
12432 cat confdefs.h
>>conftest.
$ac_ext
12433 cat >>conftest.
$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12444 rm -f conftest.
$ac_objext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>conftest.er1
12448 grep -v '^ *+' conftest.er1
>conftest.err
12450 cat conftest.err
>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try
='test -z "$ac_c_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try
='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.
$ac_ext >&5
12472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12475 if test -n "$ac_declaration"; then
12476 echo '#ifdef __cplusplus' >>confdefs.h
12477 echo $ac_declaration >>confdefs.h
12478 echo '#endif' >>confdefs.h
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12488 ac_cpp
='$CPP $CPPFLAGS'
12489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12496 ac_cpp
='$CPP $CPPFLAGS'
12497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12501 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12502 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12503 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12517 #ifndef __INTEL_COMPILER
12525 rm -f conftest.
$ac_objext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12527 (eval $ac_compile) 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try
='test -z "$ac_c_werror_flag"
12535 || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12552 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12559 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12562 ac_cpp
='$CPP $CPPFLAGS'
12563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12567 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12574 if test "x$GCC" != "xyes"; then
12575 if test "xCC" = "xC"; then
12576 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12577 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12578 if test "${bakefile_cv_c_exto+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 cat >conftest.
$ac_ext <<_ACEOF
12584 cat confdefs.h
>>conftest.
$ac_ext
12585 cat >>conftest.
$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12596 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12598 (eval $ac_compile) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; then
12602 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12604 conftest.
$ac_ext.o
)
12605 bakefile_cv_c_exto
="-ext o"
12612 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12613 See \`config.log' for more details." >&5
12614 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12615 See \`config.log' for more details." >&2;}
12616 { (exit 1); exit 1; }; }
12620 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12623 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12624 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12625 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12626 if test "c" = "c"; then
12627 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12629 if test "c" = "cxx"; then
12630 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12635 unset ac_cv_prog_cc_g
12636 ac_test_CFLAGS
=${CFLAGS+set}
12637 ac_save_CFLAGS
=$CFLAGS
12639 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12641 if test "${ac_cv_prog_cc_g+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12644 cat >conftest.
$ac_ext <<_ACEOF
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12659 rm -f conftest.
$ac_objext
12660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12661 (eval $ac_compile) 2>conftest.er1
12663 grep -v '^ *+' conftest.er1
>conftest.err
12665 cat conftest.err
>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } &&
12668 { ac_try
='test -z "$ac_c_werror_flag"
12669 || test ! -s conftest.err'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; } &&
12675 { ac_try
='test -s conftest.$ac_objext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12681 ac_cv_prog_cc_g
=yes
12683 echo "$as_me: failed program was:" >&5
12684 sed 's/^/| /' conftest.
$ac_ext >&5
12688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12690 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12691 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12692 if test "$ac_test_CFLAGS" = set; then
12693 CFLAGS
=$ac_save_CFLAGS
12694 elif test $ac_cv_prog_cc_g = yes; then
12695 if test "$GCC" = yes; then
12701 if test "$GCC" = yes; then
12713 ac_cpp
='$CPP $CPPFLAGS'
12714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12718 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12719 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12720 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.
$ac_ext <<_ACEOF
12726 cat confdefs.h
>>conftest.
$ac_ext
12727 cat >>conftest.
$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12741 rm -f conftest.
$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>conftest.er1
12745 grep -v '^ *+' conftest.er1
>conftest.err
12747 cat conftest.err
>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try
='test -z "$ac_c_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try
='test -s conftest.$ac_objext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 bakefile_compiler_xlc
=yes
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 bakefile_compiler_xlc
=no
12770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12771 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12774 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12775 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12777 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12779 ac_cpp
='$CPP $CPPFLAGS'
12780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12789 ac_cpp
='$CPP $CPPFLAGS'
12790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12794 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12795 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12796 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12817 rm -f conftest.
$ac_objext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12819 (eval $ac_compile) 2>conftest.er1
12821 grep -v '^ *+' conftest.er1
>conftest.err
12823 cat conftest.err
>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } &&
12826 { ac_try
='test -z "$ac_c_werror_flag"
12827 || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try
='test -s conftest.$ac_objext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 bakefile_compiler_mwerks
=yes
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12844 bakefile_compiler_mwerks
=no
12846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12847 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12850 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12851 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12853 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12855 ac_cpp
='$CPP $CPPFLAGS'
12856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12862 ac_cpp
='$CPP $CPPFLAGS'
12863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12867 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12868 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12869 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12890 rm -f conftest.
$ac_objext
12891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12892 (eval $ac_compile) 2>conftest.er1
12894 grep -v '^ *+' conftest.er1
>conftest.err
12896 cat conftest.err
>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try
='test -z "$ac_c_werror_flag"
12900 || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try
='test -s conftest.$ac_objext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 bakefile_compiler_xlc
=yes
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12917 bakefile_compiler_xlc
=no
12919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12920 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12923 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12924 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12926 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12928 ac_cpp
='$CPP $CPPFLAGS'
12929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12940 ac_cpp
='$CPP $CPPFLAGS'
12941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12945 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12961 #ifndef _SGI_COMPILER_VERSION
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag"
12979 || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try
='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13003 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13004 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13006 ac_cpp
='$CPP $CPPFLAGS'
13007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13011 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13024 ac_cpp
='$CPP $CPPFLAGS'
13025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13029 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13030 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13031 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13032 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 cat >conftest.
$ac_ext <<_ACEOF
13037 cat confdefs.h
>>conftest.
$ac_ext
13038 cat >>conftest.
$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13053 rm -f conftest.
$ac_objext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 (eval $ac_compile) 2>conftest.er1
13057 grep -v '^ *+' conftest.er1
>conftest.err
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -z "$ac_c_werror_flag"
13063 || test ! -s conftest.err'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try
='test -s conftest.$ac_objext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 bakefile_cv_c_compiler___HP_cc
=yes
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.
$ac_ext >&5
13080 bakefile_cv_c_compiler___HP_cc
=no
13083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13087 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13088 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13090 ac_cpp
='$CPP $CPPFLAGS'
13091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13095 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13108 ac_cpp
='$CPP $CPPFLAGS'
13109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13113 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13114 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13115 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 cat >conftest.
$ac_ext <<_ACEOF
13121 cat confdefs.h
>>conftest.
$ac_ext
13122 cat >>conftest.
$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13137 rm -f conftest.
$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13141 grep -v '^ *+' conftest.er1
>conftest.err
13143 cat conftest.err
>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try
='test -z "$ac_c_werror_flag"
13147 || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try
='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 bakefile_cv_c_compiler___DECC
=yes
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13164 bakefile_cv_c_compiler___DECC
=no
13167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13171 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13172 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13174 ac_cpp
='$CPP $CPPFLAGS'
13175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13179 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13192 ac_cpp
='$CPP $CPPFLAGS'
13193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13197 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13198 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13199 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 cat >conftest.
$ac_ext <<_ACEOF
13205 cat confdefs.h
>>conftest.
$ac_ext
13206 cat >>conftest.
$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13221 rm -f conftest.
$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1
>conftest.err
13227 cat conftest.err
>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try
='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try
='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 bakefile_cv_c_compiler___SUNPRO_C
=yes
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.
$ac_ext >&5
13248 bakefile_cv_c_compiler___SUNPRO_C
=no
13251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13255 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13256 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13258 ac_cpp
='$CPP $CPPFLAGS'
13259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13263 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13277 ac_cpp
='$CPP $CPPFLAGS'
13278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13281 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13282 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13283 # On Suns, sometimes $CPP names a directory.
13284 if test -n "$CPP" && test -d "$CPP"; then
13287 if test -z "$CPP"; then
13288 if test "${ac_cv_prog_CPP+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 # Double quotes because CPP needs to be expanded
13292 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13294 ac_preproc_ok
=false
13295 for ac_c_preproc_warn_flag
in '' yes
13297 # Use a header file that comes with gcc, so configuring glibc
13298 # with a fresh cross-compiler works.
13299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13300 # <limits.h> exists even on freestanding compilers.
13301 # On the NeXT, cc -E runs the code through the compiler's parser,
13302 # not just through cpp. "Syntax error" is here to catch this case.
13303 cat >conftest.
$ac_ext <<_ACEOF
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13310 # include <limits.h>
13312 # include <assert.h>
13316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1
>conftest.err
13321 cat conftest.err
>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } >/dev
/null
; then
13324 if test -s conftest.err
; then
13325 ac_cpp_err
=$ac_c_preproc_warn_flag
13326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13333 if test -z "$ac_cpp_err"; then
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.
$ac_ext >&5
13339 # Broken: fails on valid input.
13342 rm -f conftest.err conftest.
$ac_ext
13344 # OK, works on sane cases. Now check whether non-existent headers
13345 # can be detected and how.
13346 cat >conftest.
$ac_ext <<_ACEOF
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #include <ac_nonexistent.h>
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13357 grep -v '^ *+' conftest.er1
>conftest.err
13359 cat conftest.err
>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev
/null
; then
13362 if test -s conftest.err
; then
13363 ac_cpp_err
=$ac_c_preproc_warn_flag
13364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13371 if test -z "$ac_cpp_err"; then
13372 # Broken: success on invalid input.
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.
$ac_ext >&5
13378 # Passes both tests.
13382 rm -f conftest.err conftest.
$ac_ext
13385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13386 rm -f conftest.err conftest.
$ac_ext
13387 if $ac_preproc_ok; then
13392 ac_cv_prog_CPP
=$CPP
13395 CPP
=$ac_cv_prog_CPP
13397 ac_cv_prog_CPP
=$CPP
13399 echo "$as_me:$LINENO: result: $CPP" >&5
13400 echo "${ECHO_T}$CPP" >&6
13401 ac_preproc_ok
=false
13402 for ac_c_preproc_warn_flag
in '' yes
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13407 # <limits.h> exists even on freestanding compilers.
13408 # On the NeXT, cc -E runs the code through the compiler's parser,
13409 # not just through cpp. "Syntax error" is here to catch this case.
13410 cat >conftest.
$ac_ext <<_ACEOF
13413 cat confdefs.h
>>conftest.
$ac_ext
13414 cat >>conftest.
$ac_ext <<_ACEOF
13415 /* end confdefs.h. */
13417 # include <limits.h>
13419 # include <assert.h>
13423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13426 grep -v '^ *+' conftest.er1
>conftest.err
13428 cat conftest.err
>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } >/dev
/null
; then
13431 if test -s conftest.err
; then
13432 ac_cpp_err
=$ac_c_preproc_warn_flag
13433 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13440 if test -z "$ac_cpp_err"; then
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.
$ac_ext >&5
13446 # Broken: fails on valid input.
13449 rm -f conftest.err conftest.
$ac_ext
13451 # OK, works on sane cases. Now check whether non-existent headers
13452 # can be detected and how.
13453 cat >conftest.
$ac_ext <<_ACEOF
13456 cat confdefs.h
>>conftest.
$ac_ext
13457 cat >>conftest.
$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 #include <ac_nonexistent.h>
13461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13464 grep -v '^ *+' conftest.er1
>conftest.err
13466 cat conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } >/dev
/null
; then
13469 if test -s conftest.err
; then
13470 ac_cpp_err
=$ac_c_preproc_warn_flag
13471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13478 if test -z "$ac_cpp_err"; then
13479 # Broken: success on invalid input.
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 # Passes both tests.
13489 rm -f conftest.err conftest.
$ac_ext
13492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13493 rm -f conftest.err conftest.
$ac_ext
13494 if $ac_preproc_ok; then
13497 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13498 See \`config.log' for more details." >&5
13499 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13500 See \`config.log' for more details." >&2;}
13501 { (exit 1); exit 1; }; }
13505 ac_cpp
='$CPP $CPPFLAGS'
13506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13511 echo "$as_me:$LINENO: checking for egrep" >&5
13512 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13513 if test "${ac_cv_prog_egrep+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13517 then ac_cv_prog_egrep
='grep -E'
13518 else ac_cv_prog_egrep
='egrep'
13521 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13522 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13523 EGREP
=$ac_cv_prog_egrep
13526 if test $ac_cv_c_compiler_gnu = yes; then
13527 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13528 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13529 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 ac_pattern
="Autoconf.*'x'"
13533 cat >conftest.
$ac_ext <<_ACEOF
13536 cat confdefs.h
>>conftest.
$ac_ext
13537 cat >>conftest.
$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13543 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13544 ac_cv_prog_gcc_traditional
=yes
13546 ac_cv_prog_gcc_traditional
=no
13551 if test $ac_cv_prog_gcc_traditional = no
; then
13552 cat >conftest.
$ac_ext <<_ACEOF
13555 cat confdefs.h
>>conftest.
$ac_ext
13556 cat >>conftest.
$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 #include <termio.h>
13561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13562 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13563 ac_cv_prog_gcc_traditional
=yes
13569 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13570 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13571 if test $ac_cv_prog_gcc_traditional = yes; then
13572 CC
="$CC -traditional"
13578 ac_cpp
='$CXXCPP $CPPFLAGS'
13579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13584 CXXFLAGS
=${CXXFLAGS:=}
13589 ac_cpp
='$CXXCPP $CPPFLAGS'
13590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13593 if test -n "$ac_tool_prefix"; then
13594 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13598 echo "$as_me:$LINENO: checking for $ac_word" >&5
13599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13600 if test "${ac_cv_prog_CXX+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 if test -n "$CXX"; then
13604 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13607 for as_dir
in $PATH
13610 test -z "$as_dir" && as_dir
=.
13611 for ac_exec_ext
in '' $ac_executable_extensions; do
13612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13613 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13622 CXX
=$ac_cv_prog_CXX
13623 if test -n "$CXX"; then
13624 echo "$as_me:$LINENO: result: $CXX" >&5
13625 echo "${ECHO_T}$CXX" >&6
13627 echo "$as_me:$LINENO: result: no" >&5
13628 echo "${ECHO_T}no" >&6
13631 test -n "$CXX" && break
13634 if test -z "$CXX"; then
13636 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13638 # Extract the first word of "$ac_prog", so it can be a program name with args.
13639 set dummy
$ac_prog; ac_word
=$2
13640 echo "$as_me:$LINENO: checking for $ac_word" >&5
13641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13642 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13645 if test -n "$ac_ct_CXX"; then
13646 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13649 for as_dir
in $PATH
13652 test -z "$as_dir" && as_dir
=.
13653 for ac_exec_ext
in '' $ac_executable_extensions; do
13654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13655 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13664 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13665 if test -n "$ac_ct_CXX"; then
13666 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13667 echo "${ECHO_T}$ac_ct_CXX" >&6
13669 echo "$as_me:$LINENO: result: no" >&5
13670 echo "${ECHO_T}no" >&6
13673 test -n "$ac_ct_CXX" && break
13675 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13681 # Provide some information about the compiler.
13682 echo "$as_me:$LINENO:" \
13683 "checking for C++ compiler version" >&5
13684 ac_compiler
=`set X $ac_compile; echo $2`
13685 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13686 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }
13690 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13691 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }
13695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13696 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }
13701 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13702 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13703 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13704 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 cat >conftest.
$ac_ext <<_ACEOF
13709 cat confdefs.h
>>conftest.
$ac_ext
13710 cat >>conftest.
$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13724 rm -f conftest.
$ac_objext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13726 (eval $ac_compile) 2>conftest.er1
13728 grep -v '^ *+' conftest.er1
>conftest.err
13730 cat conftest.err
>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try
='test -z "$ac_cxx_werror_flag"
13734 || test ! -s conftest.err'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; } &&
13740 { ac_try
='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_compiler_gnu
=yes
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.
$ac_ext >&5
13753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13754 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13757 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13758 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13759 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13760 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13761 ac_save_CXXFLAGS
=$CXXFLAGS
13763 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13764 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13765 if test "${ac_cv_prog_cxx_g+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 cat >conftest.
$ac_ext <<_ACEOF
13771 cat confdefs.h
>>conftest.
$ac_ext
13772 cat >>conftest.
$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13783 rm -f conftest.
$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>conftest.er1
13787 grep -v '^ *+' conftest.er1
>conftest.err
13789 cat conftest.err
>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try
='test -z "$ac_cxx_werror_flag"
13793 || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try
='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ac_cv_prog_cxx_g
=yes
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.
$ac_ext >&5
13810 ac_cv_prog_cxx_g
=no
13812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13814 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13815 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13816 if test "$ac_test_CXXFLAGS" = set; then
13817 CXXFLAGS
=$ac_save_CXXFLAGS
13818 elif test $ac_cv_prog_cxx_g = yes; then
13819 if test "$GXX" = yes; then
13825 if test "$GXX" = yes; then
13831 for ac_declaration
in \
13833 'extern "C" void std::exit (int) throw (); using std::exit;' \
13834 'extern "C" void std::exit (int); using std::exit;' \
13835 'extern "C" void exit (int) throw ();' \
13836 'extern "C" void exit (int);' \
13839 cat >conftest.
$ac_ext <<_ACEOF
13842 cat confdefs.h
>>conftest.
$ac_ext
13843 cat >>conftest.
$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13846 #include <stdlib.h>
13855 rm -f conftest.
$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13859 grep -v '^ *+' conftest.er1
>conftest.err
13861 cat conftest.err
>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try
='test -z "$ac_cxx_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try
='test -s conftest.$ac_objext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.
$ac_ext >&5
13884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13885 cat >conftest.
$ac_ext <<_ACEOF
13888 cat confdefs.h
>>conftest.
$ac_ext
13889 cat >>conftest.
$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13900 rm -f conftest.
$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>conftest.er1
13904 grep -v '^ *+' conftest.er1
>conftest.err
13906 cat conftest.err
>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } &&
13909 { ac_try
='test -z "$ac_cxx_werror_flag"
13910 || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try
='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13931 if test -n "$ac_declaration"; then
13932 echo '#ifdef __cplusplus' >>confdefs.h
13933 echo $ac_declaration >>confdefs.h
13934 echo '#endif' >>confdefs.h
13938 ac_cpp
='$CXXCPP $CPPFLAGS'
13939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13946 ac_cpp
='$CXXCPP $CPPFLAGS'
13947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13951 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13952 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13953 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 cat >conftest.
$ac_ext <<_ACEOF
13959 cat confdefs.h
>>conftest.
$ac_ext
13960 cat >>conftest.
$ac_ext <<_ACEOF
13961 /* end confdefs.h. */
13967 #ifndef __INTEL_COMPILER
13975 rm -f conftest.
$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13979 grep -v '^ *+' conftest.er1
>conftest.err
13981 cat conftest.err
>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try
='test -z "$ac_cxx_werror_flag"
13985 || test ! -s conftest.err'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try
='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.
$ac_ext >&5
14002 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14009 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14012 ac_cpp
='$CXXCPP $CPPFLAGS'
14013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14017 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14024 if test "x$GCXX" != "xyes"; then
14025 if test "xCXX" = "xC"; then
14026 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14027 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14028 if test "${bakefile_cv_cxx_exto+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 cat >conftest.
$ac_ext <<_ACEOF
14034 cat confdefs.h
>>conftest.
$ac_ext
14035 cat >>conftest.
$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14046 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; then
14052 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14054 conftest.
$ac_ext.o
)
14055 bakefile_cv_cxx_exto
="-ext o"
14062 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14063 See \`config.log' for more details." >&5
14064 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14065 See \`config.log' for more details." >&2;}
14066 { (exit 1); exit 1; }; }
14070 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14073 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14074 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14075 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14076 if test "cxx" = "c"; then
14077 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14079 if test "cxx" = "cxx"; then
14080 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14084 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14085 unset ac_cv_prog_cc_g
14086 ac_test_CFLAGS
=${CFLAGS+set}
14087 ac_save_CFLAGS
=$CFLAGS
14089 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14090 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14091 if test "${ac_cv_prog_cc_g+set}" = set; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 cat >conftest.
$ac_ext <<_ACEOF
14097 cat confdefs.h
>>conftest.
$ac_ext
14098 cat >>conftest.
$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14109 rm -f conftest.
$ac_objext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14111 (eval $ac_compile) 2>conftest.er1
14113 grep -v '^ *+' conftest.er1
>conftest.err
14115 cat conftest.err
>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try
='test -z "$ac_cxx_werror_flag"
14119 || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try
='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_cv_prog_cc_g
=yes
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14141 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14142 if test "$ac_test_CFLAGS" = set; then
14143 CFLAGS
=$ac_save_CFLAGS
14144 elif test $ac_cv_prog_cc_g = yes; then
14145 if test "$GCC" = yes; then
14151 if test "$GCC" = yes; then
14163 ac_cpp
='$CXXCPP $CPPFLAGS'
14164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14168 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14169 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14170 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 cat >conftest.
$ac_ext <<_ACEOF
14176 cat confdefs.h
>>conftest.
$ac_ext
14177 cat >>conftest.
$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14191 rm -f conftest.
$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>conftest.er1
14195 grep -v '^ *+' conftest.er1
>conftest.err
14197 cat conftest.err
>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } &&
14200 { ac_try
='test -z "$ac_cxx_werror_flag"
14201 || test ! -s conftest.err'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; } &&
14207 { ac_try
='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 bakefile_compiler_xlc
=yes
14215 echo "$as_me: failed program was:" >&5
14216 sed 's/^/| /' conftest.
$ac_ext >&5
14218 bakefile_compiler_xlc
=no
14220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14221 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14224 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14225 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14227 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14229 ac_cpp
='$CXXCPP $CPPFLAGS'
14230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14239 ac_cpp
='$CXXCPP $CPPFLAGS'
14240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14244 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14245 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14246 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 cat >conftest.
$ac_ext <<_ACEOF
14252 cat confdefs.h
>>conftest.
$ac_ext
14253 cat >>conftest.
$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14267 rm -f conftest.
$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>conftest.er1
14271 grep -v '^ *+' conftest.er1
>conftest.err
14273 cat conftest.err
>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try
='test -z "$ac_cxx_werror_flag"
14277 || test ! -s conftest.err'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; } &&
14283 { ac_try
='test -s conftest.$ac_objext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14289 bakefile_compiler_mwerks
=yes
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.
$ac_ext >&5
14294 bakefile_compiler_mwerks
=no
14296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14297 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14300 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14301 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14303 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14305 ac_cpp
='$CXXCPP $CPPFLAGS'
14306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14312 ac_cpp
='$CXXCPP $CPPFLAGS'
14313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14317 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14319 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 cat >conftest.
$ac_ext <<_ACEOF
14325 cat confdefs.h
>>conftest.
$ac_ext
14326 cat >>conftest.
$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14340 rm -f conftest.
$ac_objext
14341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14342 (eval $ac_compile) 2>conftest.er1
14344 grep -v '^ *+' conftest.er1
>conftest.err
14346 cat conftest.err
>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); } &&
14349 { ac_try
='test -z "$ac_cxx_werror_flag"
14350 || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try
='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 bakefile_compiler_xlc
=yes
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.
$ac_ext >&5
14367 bakefile_compiler_xlc
=no
14369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14370 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14373 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14374 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14376 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14378 ac_cpp
='$CXXCPP $CPPFLAGS'
14379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14390 ac_cpp
='$CXXCPP $CPPFLAGS'
14391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14395 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14396 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14397 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14398 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 cat >conftest.
$ac_ext <<_ACEOF
14403 cat confdefs.h
>>conftest.
$ac_ext
14404 cat >>conftest.
$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14411 #ifndef _SGI_COMPILER_VERSION
14419 rm -f conftest.
$ac_objext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14421 (eval $ac_compile) 2>conftest.er1
14423 grep -v '^ *+' conftest.er1
>conftest.err
14425 cat conftest.err
>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try
='test -z "$ac_cxx_werror_flag"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try
='test -s conftest.$ac_objext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.
$ac_ext >&5
14446 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14453 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14454 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14456 ac_cpp
='$CXXCPP $CPPFLAGS'
14457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14461 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14474 ac_cpp
='$CXXCPP $CPPFLAGS'
14475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14479 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14480 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14481 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 cat >conftest.
$ac_ext <<_ACEOF
14487 cat confdefs.h
>>conftest.
$ac_ext
14488 cat >>conftest.
$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14503 rm -f conftest.
$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_cxx_werror_flag"
14513 || test ! -s conftest.err'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; } &&
14519 { ac_try
='test -s conftest.$ac_objext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 bakefile_cv_cxx_compiler___HP_aCC
=yes
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.
$ac_ext >&5
14530 bakefile_cv_cxx_compiler___HP_aCC
=no
14533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14537 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14538 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14540 ac_cpp
='$CXXCPP $CPPFLAGS'
14541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14545 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14558 ac_cpp
='$CXXCPP $CPPFLAGS'
14559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14563 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14564 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14565 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 cat >conftest.
$ac_ext <<_ACEOF
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14587 rm -f conftest.
$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -z "$ac_cxx_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 bakefile_cv_cxx_compiler___DECCXX
=yes
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 bakefile_cv_cxx_compiler___DECCXX
=no
14617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14621 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14622 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14624 ac_cpp
='$CXXCPP $CPPFLAGS'
14625 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14626 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14627 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14629 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14642 ac_cpp
='$CXXCPP $CPPFLAGS'
14643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14647 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14648 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14649 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 cat >conftest.
$ac_ext <<_ACEOF
14655 cat confdefs.h
>>conftest.
$ac_ext
14656 cat >>conftest.
$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14663 #ifndef __SUNPRO_CC
14671 rm -f conftest.
$ac_objext
14672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673 (eval $ac_compile) 2>conftest.er1
14675 grep -v '^ *+' conftest.er1
>conftest.err
14677 cat conftest.err
>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } &&
14680 { ac_try
='test -z "$ac_cxx_werror_flag"
14681 || test ! -s conftest.err'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; } &&
14687 { ac_try
='test -s conftest.$ac_objext'
14688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14689 (eval $ac_try) 2>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); }; }; then
14693 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.
$ac_ext >&5
14698 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14706 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14708 ac_cpp
='$CXXCPP $CPPFLAGS'
14709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14713 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14726 if test -n "$ac_tool_prefix"; then
14727 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14728 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14729 echo "$as_me:$LINENO: checking for $ac_word" >&5
14730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14731 if test "${ac_cv_prog_RANLIB+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 if test -n "$RANLIB"; then
14735 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14738 for as_dir
in $PATH
14741 test -z "$as_dir" && as_dir
=.
14742 for ac_exec_ext
in '' $ac_executable_extensions; do
14743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14744 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14753 RANLIB
=$ac_cv_prog_RANLIB
14754 if test -n "$RANLIB"; then
14755 echo "$as_me:$LINENO: result: $RANLIB" >&5
14756 echo "${ECHO_T}$RANLIB" >&6
14758 echo "$as_me:$LINENO: result: no" >&5
14759 echo "${ECHO_T}no" >&6
14763 if test -z "$ac_cv_prog_RANLIB"; then
14764 ac_ct_RANLIB
=$RANLIB
14765 # Extract the first word of "ranlib", so it can be a program name with args.
14766 set dummy ranlib
; ac_word
=$2
14767 echo "$as_me:$LINENO: checking for $ac_word" >&5
14768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14769 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 if test -n "$ac_ct_RANLIB"; then
14773 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14776 for as_dir
in $PATH
14779 test -z "$as_dir" && as_dir
=.
14780 for ac_exec_ext
in '' $ac_executable_extensions; do
14781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14782 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14789 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14792 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14793 if test -n "$ac_ct_RANLIB"; then
14794 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14795 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14797 echo "$as_me:$LINENO: result: no" >&5
14798 echo "${ECHO_T}no" >&6
14801 RANLIB
=$ac_ct_RANLIB
14803 RANLIB
="$ac_cv_prog_RANLIB"
14807 if test -n "$ac_tool_prefix"; then
14808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14809 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14810 echo "$as_me:$LINENO: checking for $ac_word" >&5
14811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14812 if test "${ac_cv_prog_AR+set}" = set; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 if test -n "$AR"; then
14816 ac_cv_prog_AR
="$AR" # Let the user override the test.
14818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14819 for as_dir
in $PATH
14822 test -z "$as_dir" && as_dir
=.
14823 for ac_exec_ext
in '' $ac_executable_extensions; do
14824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14825 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14835 if test -n "$AR"; then
14836 echo "$as_me:$LINENO: result: $AR" >&5
14837 echo "${ECHO_T}$AR" >&6
14839 echo "$as_me:$LINENO: result: no" >&5
14840 echo "${ECHO_T}no" >&6
14844 if test -z "$ac_cv_prog_AR"; then
14846 # Extract the first word of "ar", so it can be a program name with args.
14847 set dummy
ar; ac_word
=$2
14848 echo "$as_me:$LINENO: checking for $ac_word" >&5
14849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 if test -n "$ac_ct_AR"; then
14854 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14857 for as_dir
in $PATH
14860 test -z "$as_dir" && as_dir
=.
14861 for ac_exec_ext
in '' $ac_executable_extensions; do
14862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14863 ac_cv_prog_ac_ct_AR
="ar"
14864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14872 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14873 if test -n "$ac_ct_AR"; then
14874 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14875 echo "${ECHO_T}$ac_ct_AR" >&6
14877 echo "$as_me:$LINENO: result: no" >&5
14878 echo "${ECHO_T}no" >&6
14883 AR
="$ac_cv_prog_AR"
14886 if test "x$AR" = "x" ; then
14887 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14888 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14889 { (exit 1); exit 1; }; }
14892 # Find a good install program. We prefer a C program (faster),
14893 # so one script is as good as another. But avoid the broken or
14894 # incompatible versions:
14895 # SysV /etc/install, /usr/sbin/install
14896 # SunOS /usr/etc/install
14897 # IRIX /sbin/install
14899 # AmigaOS /C/install, which installs bootblocks on floppy discs
14900 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14901 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14902 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14903 # OS/2's system install, which has a completely different semantic
14904 # ./install, which can be erroneously created by make from ./install.sh.
14905 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14906 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14907 if test -z "$INSTALL"; then
14908 if test "${ac_cv_path_install+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14912 for as_dir
in $PATH
14915 test -z "$as_dir" && as_dir
=.
14916 # Account for people who put trailing slashes in PATH elements.
14918 .
/ | .
// | /cC
/* | \
14919 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14920 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14923 # OSF1 and SCO ODT 3.0 have their own names for install.
14924 # Don't use installbsd from OSF since it installs stuff as root
14926 for ac_prog
in ginstall scoinst
install; do
14927 for ac_exec_ext
in '' $ac_executable_extensions; do
14928 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14929 if test $ac_prog = install &&
14930 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14931 # AIX install. It has an incompatible calling convention.
14933 elif test $ac_prog = install &&
14934 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14935 # program-specific install script used by HP pwplus--don't use.
14938 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14950 if test "${ac_cv_path_install+set}" = set; then
14951 INSTALL
=$ac_cv_path_install
14953 # As a last resort, use the slow shell script. We don't cache a
14954 # path for INSTALL within a source directory, because that will
14955 # break other packages using the cache if that directory is
14956 # removed, or if the path is relative.
14957 INSTALL
=$ac_install_sh
14960 echo "$as_me:$LINENO: result: $INSTALL" >&5
14961 echo "${ECHO_T}$INSTALL" >&6
14963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14964 # It thinks the first close brace ends the variable substitution.
14965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14969 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14975 ?
:* ) # Drive letter, considered as absolute.
14978 INSTALL
=`pwd`/${INSTALL} ;;
14985 INSTALL_PROGRAM
="cp -fp"
14986 INSTALL_DATA
="cp -fp"
14992 if test -n "$ac_tool_prefix"; then
14993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14994 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_prog_STRIP+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 if test -n "$STRIP"; then
15001 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15004 for as_dir
in $PATH
15007 test -z "$as_dir" && as_dir
=.
15008 for ac_exec_ext
in '' $ac_executable_extensions; do
15009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15010 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15019 STRIP
=$ac_cv_prog_STRIP
15020 if test -n "$STRIP"; then
15021 echo "$as_me:$LINENO: result: $STRIP" >&5
15022 echo "${ECHO_T}$STRIP" >&6
15024 echo "$as_me:$LINENO: result: no" >&5
15025 echo "${ECHO_T}no" >&6
15029 if test -z "$ac_cv_prog_STRIP"; then
15031 # Extract the first word of "strip", so it can be a program name with args.
15032 set dummy strip
; ac_word
=$2
15033 echo "$as_me:$LINENO: checking for $ac_word" >&5
15034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15035 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 if test -n "$ac_ct_STRIP"; then
15039 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15042 for as_dir
in $PATH
15045 test -z "$as_dir" && as_dir
=.
15046 for ac_exec_ext
in '' $ac_executable_extensions; do
15047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_prog_ac_ct_STRIP
="strip"
15049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15055 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15058 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15059 if test -n "$ac_ct_STRIP"; then
15060 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15061 echo "${ECHO_T}$ac_ct_STRIP" >&6
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15069 STRIP
="$ac_cv_prog_STRIP"
15073 if test "$wxUSE_WINE" = "yes"; then
15074 if test -n "$ac_tool_prefix"; then
15075 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15076 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_WINDRES+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 if test -n "$WINDRES"; then
15083 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15086 for as_dir
in $PATH
15089 test -z "$as_dir" && as_dir
=.
15090 for ac_exec_ext
in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15101 WINDRES
=$ac_cv_prog_WINDRES
15102 if test -n "$WINDRES"; then
15103 echo "$as_me:$LINENO: result: $WINDRES" >&5
15104 echo "${ECHO_T}$WINDRES" >&6
15106 echo "$as_me:$LINENO: result: no" >&5
15107 echo "${ECHO_T}no" >&6
15111 if test -z "$ac_cv_prog_WINDRES"; then
15112 ac_ct_WINDRES
=$WINDRES
15113 # Extract the first word of "wrc", so it can be a program name with args.
15114 set dummy wrc
; ac_word
=$2
15115 echo "$as_me:$LINENO: checking for $ac_word" >&5
15116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15117 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 if test -n "$ac_ct_WINDRES"; then
15121 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15124 for as_dir
in $PATH
15127 test -z "$as_dir" && as_dir
=.
15128 for ac_exec_ext
in '' $ac_executable_extensions; do
15129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15130 ac_cv_prog_ac_ct_WINDRES
="wrc"
15131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15139 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15140 if test -n "$ac_ct_WINDRES"; then
15141 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15142 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15144 echo "$as_me:$LINENO: result: no" >&5
15145 echo "${ECHO_T}no" >&6
15148 WINDRES
=$ac_ct_WINDRES
15150 WINDRES
="$ac_cv_prog_WINDRES"
15156 *-*-cygwin* | *-*-mingw32* )
15157 if test -n "$ac_tool_prefix"; then
15158 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15159 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15160 echo "$as_me:$LINENO: checking for $ac_word" >&5
15161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15162 if test "${ac_cv_prog_WINDRES+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 if test -n "$WINDRES"; then
15166 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15169 for as_dir
in $PATH
15172 test -z "$as_dir" && as_dir
=.
15173 for ac_exec_ext
in '' $ac_executable_extensions; do
15174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15175 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15184 WINDRES
=$ac_cv_prog_WINDRES
15185 if test -n "$WINDRES"; then
15186 echo "$as_me:$LINENO: result: $WINDRES" >&5
15187 echo "${ECHO_T}$WINDRES" >&6
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15194 if test -z "$ac_cv_prog_WINDRES"; then
15195 ac_ct_WINDRES
=$WINDRES
15196 # Extract the first word of "windres", so it can be a program name with args.
15197 set dummy windres
; ac_word
=$2
15198 echo "$as_me:$LINENO: checking for $ac_word" >&5
15199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15200 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 if test -n "$ac_ct_WINDRES"; then
15204 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15207 for as_dir
in $PATH
15210 test -z "$as_dir" && as_dir
=.
15211 for ac_exec_ext
in '' $ac_executable_extensions; do
15212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15213 ac_cv_prog_ac_ct_WINDRES
="windres"
15214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15222 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15223 if test -n "$ac_ct_WINDRES"; then
15224 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15225 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15227 echo "$as_me:$LINENO: result: no" >&5
15228 echo "${ECHO_T}no" >&6
15231 WINDRES
=$ac_ct_WINDRES
15233 WINDRES
="$ac_cv_prog_WINDRES"
15237 if test -n "$ac_tool_prefix"; then
15238 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15239 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 if test -n "$DLLTOOL"; then
15246 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15249 for as_dir
in $PATH
15252 test -z "$as_dir" && as_dir
=.
15253 for ac_exec_ext
in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15264 DLLTOOL
=$ac_cv_prog_DLLTOOL
15265 if test -n "$DLLTOOL"; then
15266 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15267 echo "${ECHO_T}$DLLTOOL" >&6
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15274 if test -z "$ac_cv_prog_DLLTOOL"; then
15275 ac_ct_DLLTOOL
=$DLLTOOL
15276 # Extract the first word of "dlltool", so it can be a program name with args.
15277 set dummy dlltool
; ac_word
=$2
15278 echo "$as_me:$LINENO: checking for $ac_word" >&5
15279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15280 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 if test -n "$ac_ct_DLLTOOL"; then
15284 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15287 for as_dir
in $PATH
15290 test -z "$as_dir" && as_dir
=.
15291 for ac_exec_ext
in '' $ac_executable_extensions; do
15292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15293 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15302 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15303 if test -n "$ac_ct_DLLTOOL"; then
15304 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15305 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15307 echo "$as_me:$LINENO: result: no" >&5
15308 echo "${ECHO_T}no" >&6
15311 DLLTOOL
=$ac_ct_DLLTOOL
15313 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15320 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15321 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15322 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15327 egrep -s GNU
> /dev
/null
); then
15328 wx_cv_prog_makeisgnu
="yes"
15330 wx_cv_prog_makeisgnu
="no"
15334 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15335 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15337 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15345 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15346 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15347 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15348 if test "${wx_cv_prog_makevpath+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 cat - << EOF > confMake
15358 if test ! -d sub
; then
15361 echo dummy
> sub
/file
15362 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15364 rm -f sub
/file check final_file confMake
15366 if test "$RESULT" = 0; then
15367 wx_cv_prog_makevpath
="yes"
15369 wx_cv_prog_makevpath
="no"
15373 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15374 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15376 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15377 { { echo "$as_me:$LINENO: error:
15378 You need a make-utility that is able to use the variable
15380 If your version of make does not support VPATH correctly,
15381 please install GNU-make (possibly as gmake), and start
15382 configure with the following command:
15383 export MAKE=gmake; ./configure for sh-type shells
15384 setenv MAKE gmake; ./configure for csh-type shells
15385 Also please do remember to use gmake in this case every time
15386 you are trying to compile.
15388 echo "$as_me: error:
15389 You need a make-utility that is able to use the variable
15391 If your version of make does not support VPATH correctly,
15392 please install GNU-make (possibly as gmake), and start
15393 configure with the following command:
15394 export MAKE=gmake; ./configure for sh-type shells
15395 setenv MAKE gmake; ./configure for csh-type shells
15396 Also please do remember to use gmake in this case every time
15397 you are trying to compile.
15399 { (exit 1); exit 1; }; }
15401 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15404 if test "$LN_S" = "ln -s"; then
15405 echo "$as_me:$LINENO: result: yes" >&5
15406 echo "${ECHO_T}yes" >&6
15408 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15409 echo "${ECHO_T}no, using $LN_S" >&6
15415 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15416 CXXFLAGS
="-qunique $CXXFLAGS"
15420 powerpc
-*-darwin* )
15421 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15422 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15423 cat >conftest.
$ac_ext <<_ACEOF
15426 cat confdefs.h
>>conftest.
$ac_ext
15427 cat >>conftest.
$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15433 #ifndef __POWERPC__
15434 choke me for lack of PowerPC
15441 rm -f conftest.
$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15445 grep -v '^ *+' conftest.er1
>conftest.err
15447 cat conftest.err
>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try
='test -z "$ac_cxx_werror_flag"
15451 || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 echo "$as_me:$LINENO: result: yes" >&5
15464 echo "${ECHO_T}yes" >&6
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.
$ac_ext >&5
15469 echo "$as_me:$LINENO: result: no" >&5
15470 echo "${ECHO_T}no" >&6
15471 cat >>confdefs.h
<<\_ACEOF
15472 #define __POWERPC__ 1
15477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15483 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15484 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15485 cat >conftest.
$ac_ext <<_ACEOF
15488 cat confdefs.h
>>conftest.
$ac_ext
15489 cat >>conftest.
$ac_ext <<_ACEOF
15490 /* end confdefs.h. */
15491 #include <CoreFoundation/CFBase.h>
15501 rm -f conftest.
$ac_objext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15503 (eval $ac_compile) 2>conftest.er1
15505 grep -v '^ *+' conftest.er1
>conftest.err
15507 cat conftest.err
>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } &&
15510 { ac_try
='test -z "$ac_cxx_werror_flag"
15511 || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try
='test -s conftest.$ac_objext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 echo "$as_me:$LINENO: result: yes" >&5
15524 echo "${ECHO_T}yes" >&6
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.
$ac_ext >&5
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15531 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15532 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15533 cat >conftest.
$ac_ext <<_ACEOF
15536 cat confdefs.h
>>conftest.
$ac_ext
15537 cat >>conftest.
$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 #define __CF_USE_FRAMEWORK_INCLUDES__
15540 #include <CoreFoundation/CFBase.h>
15550 rm -f conftest.
$ac_objext
15551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15552 (eval $ac_compile) 2>conftest.er1
15554 grep -v '^ *+' conftest.er1
>conftest.err
15556 cat conftest.err
>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } &&
15559 { ac_try
='test -z "$ac_cxx_werror_flag"
15560 || test ! -s conftest.err'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try
='test -s conftest.$ac_objext'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; }; then
15572 echo "$as_me:$LINENO: result: yes" >&5
15573 echo "${ECHO_T}yes" >&6
15574 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.
$ac_ext >&5
15579 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15580 See \`config.log' for more details." >&5
15581 echo "$as_me: error: no. CoreFoundation not available.
15582 See \`config.log' for more details." >&2;}
15583 { (exit 1); exit 1; }; }
15586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15595 *-pc-os2_emx | *-pc-os2-emx )
15597 ac_cpp
='$CPP $CPPFLAGS'
15598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15602 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15603 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15604 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15605 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 ac_check_lib_save_LIBS
=$LIBS
15609 LIBS
="-lcExt $LIBS"
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15617 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15632 rm -f conftest.
$ac_objext conftest
$ac_exeext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15634 (eval $ac_link) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest$ac_exeext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_lib_cExt_drand48
=yes
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.
$ac_ext >&5
15659 ac_cv_lib_cExt_drand48
=no
15661 rm -f conftest.err conftest.
$ac_objext \
15662 conftest
$ac_exeext conftest.
$ac_ext
15663 LIBS
=$ac_check_lib_save_LIBS
15665 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15666 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15667 if test $ac_cv_lib_cExt_drand48 = yes; then
15668 LIBS
="$LIBS -lcExt"
15672 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15674 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15675 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15676 if test "${wx_cv_gccversion+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 if test "$cross_compiling" = yes; then
15681 wx_cv_gccversion
="EMX2"
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15695 FILE *f=fopen("conftestval", "w");
15700 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15702 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15712 rm -f conftest
$ac_exeext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15714 (eval $ac_link) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 wx_cv_gccversion
=`cat conftestval`
15725 echo "$as_me: program exited with status $ac_status" >&5
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.
$ac_ext >&5
15729 ( exit $ac_status )
15730 wx_cv_gccversion
="EMX2"
15732 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15736 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15737 echo "${ECHO_T}$wx_cv_gccversion" >&6
15739 ac_cpp
='$CXXCPP $CPPFLAGS'
15740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15744 if test "$wx_cv_gccversion" = "EMX2"; then
15745 LIBS
="$LIBS -lstdcpp"
15746 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15748 if test "$wx_cv_gccversion" = "EMX3"; then
15749 LIBS
="$LIBS -lstdcxx -lgcc"
15750 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15752 LIBS
="$LIBS -lstdc++"
15755 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15756 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15757 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15764 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15765 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15766 if test "${ac_cv_string_strcasecmp+set}" = set; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 cat >conftest.
$ac_ext <<_ACEOF
15773 cat confdefs.h
>>conftest.
$ac_ext
15774 cat >>conftest.
$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 #include <string.h>
15783 strcasecmp("foo", "bar");
15789 rm -f conftest.
$ac_objext conftest
$ac_exeext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15791 (eval $ac_link) 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try
='test -z "$ac_cxx_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try
='test -s conftest$ac_exeext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_cv_string_strcasecmp
=yes
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 ac_cv_string_strcasecmp
=no
15819 rm -f conftest.err conftest.
$ac_objext \
15820 conftest
$ac_exeext conftest.
$ac_ext
15823 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15824 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15826 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15827 cat >>confdefs.h
<<\_ACEOF
15828 #define HAVE_STRCASECMP_IN_STRING_H 1
15832 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15833 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15834 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15835 echo $ECHO_N "(cached) $ECHO_C" >&6
15838 cat >conftest.
$ac_ext <<_ACEOF
15841 cat confdefs.h
>>conftest.
$ac_ext
15842 cat >>conftest.
$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15845 #include <strings.h>
15851 strcasecmp("foo", "bar");
15857 rm -f conftest.
$ac_objext conftest
$ac_exeext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15859 (eval $ac_link) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1
>conftest.err
15863 cat conftest.err
>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try
='test -z "$ac_cxx_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest$ac_exeext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_cv_strings_strcasecmp
=yes
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 ac_cv_strings_strcasecmp
=no
15887 rm -f conftest.err conftest.
$ac_objext \
15888 conftest
$ac_exeext conftest.
$ac_ext
15891 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15894 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15895 cat >>confdefs.h
<<\_ACEOF
15896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15902 { (exit 1); exit 1; }; }
15911 ac_cpp
='$CXXCPP $CPPFLAGS'
15912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15915 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15916 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15917 if test -z "$CXXCPP"; then
15918 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 # Double quotes because CXXCPP needs to be expanded
15922 for CXXCPP
in "$CXX -E" "/lib/cpp"
15924 ac_preproc_ok
=false
15925 for ac_cxx_preproc_warn_flag
in '' yes
15927 # Use a header file that comes with gcc, so configuring glibc
15928 # with a fresh cross-compiler works.
15929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15930 # <limits.h> exists even on freestanding compilers.
15931 # On the NeXT, cc -E runs the code through the compiler's parser,
15932 # not just through cpp. "Syntax error" is here to catch this case.
15933 cat >conftest.
$ac_ext <<_ACEOF
15936 cat confdefs.h
>>conftest.
$ac_ext
15937 cat >>conftest.
$ac_ext <<_ACEOF
15938 /* end confdefs.h. */
15940 # include <limits.h>
15942 # include <assert.h>
15946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15949 grep -v '^ *+' conftest.er1
>conftest.err
15951 cat conftest.err
>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } >/dev
/null
; then
15954 if test -s conftest.err
; then
15955 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15956 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15963 if test -z "$ac_cpp_err"; then
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 # Broken: fails on valid input.
15972 rm -f conftest.err conftest.
$ac_ext
15974 # OK, works on sane cases. Now check whether non-existent headers
15975 # can be detected and how.
15976 cat >conftest.
$ac_ext <<_ACEOF
15979 cat confdefs.h
>>conftest.
$ac_ext
15980 cat >>conftest.
$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 #include <ac_nonexistent.h>
15984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15987 grep -v '^ *+' conftest.er1
>conftest.err
15989 cat conftest.err
>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } >/dev
/null
; then
15992 if test -s conftest.err
; then
15993 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15994 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16001 if test -z "$ac_cpp_err"; then
16002 # Broken: success on invalid input.
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.
$ac_ext >&5
16008 # Passes both tests.
16012 rm -f conftest.err conftest.
$ac_ext
16015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16016 rm -f conftest.err conftest.
$ac_ext
16017 if $ac_preproc_ok; then
16022 ac_cv_prog_CXXCPP
=$CXXCPP
16025 CXXCPP
=$ac_cv_prog_CXXCPP
16027 ac_cv_prog_CXXCPP
=$CXXCPP
16029 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16030 echo "${ECHO_T}$CXXCPP" >&6
16031 ac_preproc_ok
=false
16032 for ac_cxx_preproc_warn_flag
in '' yes
16034 # Use a header file that comes with gcc, so configuring glibc
16035 # with a fresh cross-compiler works.
16036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16037 # <limits.h> exists even on freestanding compilers.
16038 # On the NeXT, cc -E runs the code through the compiler's parser,
16039 # not just through cpp. "Syntax error" is here to catch this case.
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16047 # include <limits.h>
16049 # include <assert.h>
16053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16056 grep -v '^ *+' conftest.er1
>conftest.err
16058 cat conftest.err
>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } >/dev
/null
; then
16061 if test -s conftest.err
; then
16062 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16063 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16070 if test -z "$ac_cpp_err"; then
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.
$ac_ext >&5
16076 # Broken: fails on valid input.
16079 rm -f conftest.err conftest.
$ac_ext
16081 # OK, works on sane cases. Now check whether non-existent headers
16082 # can be detected and how.
16083 cat >conftest.
$ac_ext <<_ACEOF
16086 cat confdefs.h
>>conftest.
$ac_ext
16087 cat >>conftest.
$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 #include <ac_nonexistent.h>
16091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16094 grep -v '^ *+' conftest.er1
>conftest.err
16096 cat conftest.err
>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } >/dev
/null
; then
16099 if test -s conftest.err
; then
16100 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16101 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16108 if test -z "$ac_cpp_err"; then
16109 # Broken: success on invalid input.
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 # Passes both tests.
16119 rm -f conftest.err conftest.
$ac_ext
16122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16123 rm -f conftest.err conftest.
$ac_ext
16124 if $ac_preproc_ok; then
16127 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16128 See \`config.log' for more details." >&5
16129 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16130 See \`config.log' for more details." >&2;}
16131 { (exit 1); exit 1; }; }
16135 ac_cpp
='$CXXCPP $CPPFLAGS'
16136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16141 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16142 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16143 if test "${ac_cv_header_stdc+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 cat >conftest.
$ac_ext <<_ACEOF
16149 cat confdefs.h
>>conftest.
$ac_ext
16150 cat >>conftest.
$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152 #include <stdlib.h>
16153 #include <stdarg.h>
16154 #include <string.h>
16165 rm -f conftest.
$ac_objext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16167 (eval $ac_compile) 2>conftest.er1
16169 grep -v '^ *+' conftest.er1
>conftest.err
16171 cat conftest.err
>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try
='test -z "$ac_cxx_werror_flag"
16175 || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try
='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_cv_header_stdc
=yes
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ac_cv_header_stdc
=no
16194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16196 if test $ac_cv_header_stdc = yes; then
16197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16198 cat >conftest.
$ac_ext <<_ACEOF
16201 cat confdefs.h
>>conftest.
$ac_ext
16202 cat >>conftest.
$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 #include <string.h>
16207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16208 $EGREP "memchr" >/dev
/null
2>&1; then
16211 ac_cv_header_stdc
=no
16217 if test $ac_cv_header_stdc = yes; then
16218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #include <stdlib.h>
16228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16229 $EGREP "free" >/dev
/null
2>&1; then
16232 ac_cv_header_stdc
=no
16238 if test $ac_cv_header_stdc = yes; then
16239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16240 if test "$cross_compiling" = yes; then
16243 cat >conftest.
$ac_ext <<_ACEOF
16246 cat confdefs.h
>>conftest.
$ac_ext
16247 cat >>conftest.
$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16250 #if ((' ' & 0x0FF) == 0x020)
16251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16254 # define ISLOWER(c) \
16255 (('a' <= (c) && (c) <= 'i') \
16256 || ('j' <= (c) && (c) <= 'r') \
16257 || ('s' <= (c) && (c) <= 'z'))
16258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16266 for (i = 0; i < 256; i++)
16267 if (XOR (islower (i), ISLOWER (i))
16268 || toupper (i) != TOUPPER (i))
16273 rm -f conftest
$ac_exeext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16275 (eval $ac_link) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; }; then
16286 echo "$as_me: program exited with status $ac_status" >&5
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ( exit $ac_status )
16291 ac_cv_header_stdc
=no
16293 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16298 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16299 if test $ac_cv_header_stdc = yes; then
16301 cat >>confdefs.h
<<\_ACEOF
16302 #define STDC_HEADERS 1
16307 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16317 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16318 inttypes.h stdint.h unistd.h
16320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16321 echo "$as_me:$LINENO: checking for $ac_header" >&5
16322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16334 #include <$ac_header>
16336 rm -f conftest.
$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16340 grep -v '^ *+' conftest.er1
>conftest.err
16342 cat conftest.err
>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try
='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 eval "$as_ac_Header=yes"
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 eval "$as_ac_Header=no"
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16370 cat >>confdefs.h
<<_ACEOF
16371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16380 for ac_header
in stdlib.h
16382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16384 echo "$as_me:$LINENO: checking for $ac_header" >&5
16385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16392 # Is the header compilable?
16393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16395 cat >conftest.
$ac_ext <<_ACEOF
16398 cat confdefs.h
>>conftest.
$ac_ext
16399 cat >>conftest.
$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 $ac_includes_default
16402 #include <$ac_header>
16404 rm -f conftest.
$ac_objext
16405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16406 (eval $ac_compile) 2>conftest.er1
16408 grep -v '^ *+' conftest.er1
>conftest.err
16410 cat conftest.err
>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } &&
16413 { ac_try
='test -z "$ac_cxx_werror_flag"
16414 || test ! -s conftest.err'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try
='test -s conftest.$ac_objext'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; }; then
16426 ac_header_compiler
=yes
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.
$ac_ext >&5
16431 ac_header_compiler
=no
16433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16435 echo "${ECHO_T}$ac_header_compiler" >&6
16437 # Is the header present?
16438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <$ac_header>
16448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16451 grep -v '^ *+' conftest.er1
>conftest.err
16453 cat conftest.err
>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } >/dev
/null
; then
16456 if test -s conftest.err
; then
16457 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16458 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16465 if test -z "$ac_cpp_err"; then
16466 ac_header_preproc
=yes
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.
$ac_ext >&5
16471 ac_header_preproc
=no
16473 rm -f conftest.err conftest.
$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16475 echo "${ECHO_T}$ac_header_preproc" >&6
16477 # So? What about this header?
16478 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16484 ac_header_preproc
=yes
16487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16501 ## ----------------------------------------- ##
16502 ## Report this to wx-dev@lists.wxwidgets.org ##
16503 ## ----------------------------------------- ##
16506 sed "s/^/$as_me: WARNING: /" >&2
16509 echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 eval "$as_ac_Header=\$ac_header_preproc"
16516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16521 cat >>confdefs.h
<<_ACEOF
16522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16530 for ac_header
in malloc.h
16532 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16534 echo "$as_me:$LINENO: checking for $ac_header" >&5
16535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16542 # Is the header compilable?
16543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16545 cat >conftest.
$ac_ext <<_ACEOF
16548 cat confdefs.h
>>conftest.
$ac_ext
16549 cat >>conftest.
$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 #include <$ac_header>
16554 rm -f conftest.
$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16558 grep -v '^ *+' conftest.er1
>conftest.err
16560 cat conftest.err
>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try
='test -z "$ac_cxx_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try
='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 ac_header_compiler
=yes
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.
$ac_ext >&5
16581 ac_header_compiler
=no
16583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16585 echo "${ECHO_T}$ac_header_compiler" >&6
16587 # Is the header present?
16588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16590 cat >conftest.
$ac_ext <<_ACEOF
16593 cat confdefs.h
>>conftest.
$ac_ext
16594 cat >>conftest.
$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 #include <$ac_header>
16598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16599 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1
>conftest.err
16603 cat conftest.err
>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } >/dev
/null
; then
16606 if test -s conftest.err
; then
16607 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16608 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16615 if test -z "$ac_cpp_err"; then
16616 ac_header_preproc
=yes
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 ac_header_preproc
=no
16623 rm -f conftest.err conftest.
$ac_ext
16624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16625 echo "${ECHO_T}$ac_header_preproc" >&6
16627 # So? What about this header?
16628 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16634 ac_header_preproc
=yes
16637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16651 ## ----------------------------------------- ##
16652 ## Report this to wx-dev@lists.wxwidgets.org ##
16653 ## ----------------------------------------- ##
16656 sed "s/^/$as_me: WARNING: /" >&2
16659 echo "$as_me:$LINENO: checking for $ac_header" >&5
16660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 eval "$as_ac_Header=\$ac_header_preproc"
16666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16671 cat >>confdefs.h
<<_ACEOF
16672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16680 for ac_header
in unistd.h
16682 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16684 echo "$as_me:$LINENO: checking for $ac_header" >&5
16685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16692 # Is the header compilable?
16693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16695 cat >conftest.
$ac_ext <<_ACEOF
16698 cat confdefs.h
>>conftest.
$ac_ext
16699 cat >>conftest.
$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 $ac_includes_default
16702 #include <$ac_header>
16704 rm -f conftest.
$ac_objext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>conftest.er1
16708 grep -v '^ *+' conftest.er1
>conftest.err
16710 cat conftest.err
>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try
='test -z "$ac_cxx_werror_flag"
16714 || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try
='test -s conftest.$ac_objext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 ac_header_compiler
=yes
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.
$ac_ext >&5
16731 ac_header_compiler
=no
16733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16735 echo "${ECHO_T}$ac_header_compiler" >&6
16737 # Is the header present?
16738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 #include <$ac_header>
16748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16751 grep -v '^ *+' conftest.er1
>conftest.err
16753 cat conftest.err
>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } >/dev
/null
; then
16756 if test -s conftest.err
; then
16757 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16758 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16765 if test -z "$ac_cpp_err"; then
16766 ac_header_preproc
=yes
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.
$ac_ext >&5
16771 ac_header_preproc
=no
16773 rm -f conftest.err conftest.
$ac_ext
16774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16775 echo "${ECHO_T}$ac_header_preproc" >&6
16777 # So? What about this header?
16778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16784 ac_header_preproc
=yes
16787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16801 ## ----------------------------------------- ##
16802 ## Report this to wx-dev@lists.wxwidgets.org ##
16803 ## ----------------------------------------- ##
16806 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
16816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16821 cat >>confdefs.h
<<_ACEOF
16822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16830 for ac_header
in wchar.h
16832 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16834 echo "$as_me:$LINENO: checking for $ac_header" >&5
16835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16842 # Is the header compilable?
16843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16845 cat >conftest.
$ac_ext <<_ACEOF
16848 cat confdefs.h
>>conftest.
$ac_ext
16849 cat >>conftest.
$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 $ac_includes_default
16852 #include <$ac_header>
16854 rm -f conftest.
$ac_objext
16855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16856 (eval $ac_compile) 2>conftest.er1
16858 grep -v '^ *+' conftest.er1
>conftest.err
16860 cat conftest.err
>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } &&
16863 { ac_try
='test -z "$ac_cxx_werror_flag"
16864 || test ! -s conftest.err'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; } &&
16870 { ac_try
='test -s conftest.$ac_objext'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; }; then
16876 ac_header_compiler
=yes
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 ac_header_compiler
=no
16883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16885 echo "${ECHO_T}$ac_header_compiler" >&6
16887 # Is the header present?
16888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 #include <$ac_header>
16898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16901 grep -v '^ *+' conftest.er1
>conftest.err
16903 cat conftest.err
>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } >/dev
/null
; then
16906 if test -s conftest.err
; then
16907 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16908 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16915 if test -z "$ac_cpp_err"; then
16916 ac_header_preproc
=yes
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16921 ac_header_preproc
=no
16923 rm -f conftest.err conftest.
$ac_ext
16924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16925 echo "${ECHO_T}$ac_header_preproc" >&6
16927 # So? What about this header?
16928 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16934 ac_header_preproc
=yes
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16951 ## ----------------------------------------- ##
16952 ## Report this to wx-dev@lists.wxwidgets.org ##
16953 ## ----------------------------------------- ##
16956 sed "s/^/$as_me: WARNING: /" >&2
16959 echo "$as_me:$LINENO: checking for $ac_header" >&5
16960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 eval "$as_ac_Header=\$ac_header_preproc"
16966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16971 cat >>confdefs.h
<<_ACEOF
16972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16980 if test "$ac_cv_header_wchar_h" != "yes"; then
16982 for ac_header
in wcstr.h
16984 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16986 echo "$as_me:$LINENO: checking for $ac_header" >&5
16987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16994 # Is the header compilable?
16995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16997 cat >conftest.
$ac_ext <<_ACEOF
17000 cat confdefs.h
>>conftest.
$ac_ext
17001 cat >>conftest.
$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17003 $ac_includes_default
17004 #include <$ac_header>
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_cxx_werror_flag"
17016 || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try
='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_header_compiler
=yes
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.
$ac_ext >&5
17033 ac_header_compiler
=no
17035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17037 echo "${ECHO_T}$ac_header_compiler" >&6
17039 # Is the header present?
17040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17042 cat >conftest.
$ac_ext <<_ACEOF
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <$ac_header>
17050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } >/dev
/null
; then
17058 if test -s conftest.err
; then
17059 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17060 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17067 if test -z "$ac_cpp_err"; then
17068 ac_header_preproc
=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_header_preproc
=no
17075 rm -f conftest.err conftest.
$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17077 echo "${ECHO_T}$ac_header_preproc" >&6
17079 # So? What about this header?
17080 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17086 ac_header_preproc
=yes
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17103 ## ----------------------------------------- ##
17104 ## Report this to wx-dev@lists.wxwidgets.org ##
17105 ## ----------------------------------------- ##
17108 sed "s/^/$as_me: WARNING: /" >&2
17111 echo "$as_me:$LINENO: checking for $ac_header" >&5
17112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 eval "$as_ac_Header=\$ac_header_preproc"
17118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17123 cat >>confdefs.h
<<_ACEOF
17124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17134 for ac_header
in fnmatch.h
17136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17138 echo "$as_me:$LINENO: checking for $ac_header" >&5
17139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17146 # Is the header compilable?
17147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17149 cat >conftest.
$ac_ext <<_ACEOF
17152 cat confdefs.h
>>conftest.
$ac_ext
17153 cat >>conftest.
$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 $ac_includes_default
17156 #include <$ac_header>
17158 rm -f conftest.
$ac_objext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17160 (eval $ac_compile) 2>conftest.er1
17162 grep -v '^ *+' conftest.er1
>conftest.err
17164 cat conftest.err
>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try
='test -z "$ac_cxx_werror_flag"
17168 || test ! -s conftest.err'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; } &&
17174 { ac_try
='test -s conftest.$ac_objext'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; }; then
17180 ac_header_compiler
=yes
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.
$ac_ext >&5
17185 ac_header_compiler
=no
17187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17189 echo "${ECHO_T}$ac_header_compiler" >&6
17191 # Is the header present?
17192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17194 cat >conftest.
$ac_ext <<_ACEOF
17197 cat confdefs.h
>>conftest.
$ac_ext
17198 cat >>conftest.
$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 #include <$ac_header>
17202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17205 grep -v '^ *+' conftest.er1
>conftest.err
17207 cat conftest.err
>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } >/dev
/null
; then
17210 if test -s conftest.err
; then
17211 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17212 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17219 if test -z "$ac_cpp_err"; then
17220 ac_header_preproc
=yes
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 ac_header_preproc
=no
17227 rm -f conftest.err conftest.
$ac_ext
17228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17229 echo "${ECHO_T}$ac_header_preproc" >&6
17231 # So? What about this header?
17232 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17238 ac_header_preproc
=yes
17241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17255 ## ----------------------------------------- ##
17256 ## Report this to wx-dev@lists.wxwidgets.org ##
17257 ## ----------------------------------------- ##
17260 sed "s/^/$as_me: WARNING: /" >&2
17263 echo "$as_me:$LINENO: checking for $ac_header" >&5
17264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17266 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 eval "$as_ac_Header=\$ac_header_preproc"
17270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17275 cat >>confdefs.h
<<_ACEOF
17276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17285 for ac_header
in langinfo.h
17287 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17289 echo "$as_me:$LINENO: checking for $ac_header" >&5
17290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17297 # Is the header compilable?
17298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17307 #include <$ac_header>
17309 rm -f conftest.
$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>conftest.er1
17313 grep -v '^ *+' conftest.er1
>conftest.err
17315 cat conftest.err
>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } &&
17318 { ac_try
='test -z "$ac_cxx_werror_flag"
17319 || test ! -s conftest.err'
17320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 (eval $ac_try) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); }; } &&
17325 { ac_try
='test -s conftest.$ac_objext'
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; }; then
17331 ac_header_compiler
=yes
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.
$ac_ext >&5
17336 ac_header_compiler
=no
17338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17340 echo "${ECHO_T}$ac_header_compiler" >&6
17342 # Is the header present?
17343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_header>
17353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } >/dev
/null
; then
17361 if test -s conftest.err
; then
17362 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17363 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17370 if test -z "$ac_cpp_err"; then
17371 ac_header_preproc
=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.
$ac_ext >&5
17376 ac_header_preproc
=no
17378 rm -f conftest.err conftest.
$ac_ext
17379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17380 echo "${ECHO_T}$ac_header_preproc" >&6
17382 # So? What about this header?
17383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17389 ac_header_preproc
=yes
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17406 ## ----------------------------------------- ##
17407 ## Report this to wx-dev@lists.wxwidgets.org ##
17408 ## ----------------------------------------- ##
17411 sed "s/^/$as_me: WARNING: /" >&2
17414 echo "$as_me:$LINENO: checking for $ac_header" >&5
17415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 eval "$as_ac_Header=\$ac_header_preproc"
17421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17426 cat >>confdefs.h
<<_ACEOF
17427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17436 *-pc-os2_emx | *-pc-os2-emx )
17437 if test $ac_cv_header_langinfo_h = "yes" \
17438 -a \
( "$wx_cv_gccversion" = "EMX2" \
17439 -o "$wx_cv_gccversion" = "EMX3" \
17440 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17441 LIBS
="$LIBS -lintl"
17446 if test "$USE_UNIX" = 1 ; then
17448 for ac_header
in sys
/select.h
17450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17452 echo "$as_me:$LINENO: checking for $ac_header" >&5
17453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17455 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17460 # Is the header compilable?
17461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17463 cat >conftest.
$ac_ext <<_ACEOF
17466 cat confdefs.h
>>conftest.
$ac_ext
17467 cat >>conftest.
$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17470 #include <$ac_header>
17472 rm -f conftest.
$ac_objext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17474 (eval $ac_compile) 2>conftest.er1
17476 grep -v '^ *+' conftest.er1
>conftest.err
17478 cat conftest.err
>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try
='test -z "$ac_cxx_werror_flag"
17482 || test ! -s conftest.err'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; } &&
17488 { ac_try
='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17494 ac_header_compiler
=yes
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 ac_header_compiler
=no
17501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17503 echo "${ECHO_T}$ac_header_compiler" >&6
17505 # Is the header present?
17506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <$ac_header>
17516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17519 grep -v '^ *+' conftest.er1
>conftest.err
17521 cat conftest.err
>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } >/dev
/null
; then
17524 if test -s conftest.err
; then
17525 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17526 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17533 if test -z "$ac_cpp_err"; then
17534 ac_header_preproc
=yes
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.
$ac_ext >&5
17539 ac_header_preproc
=no
17541 rm -f conftest.err conftest.
$ac_ext
17542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17543 echo "${ECHO_T}$ac_header_preproc" >&6
17545 # So? What about this header?
17546 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17552 ac_header_preproc
=yes
17555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17569 ## ----------------------------------------- ##
17570 ## Report this to wx-dev@lists.wxwidgets.org ##
17571 ## ----------------------------------------- ##
17574 sed "s/^/$as_me: WARNING: /" >&2
17577 echo "$as_me:$LINENO: checking for $ac_header" >&5
17578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 eval "$as_ac_Header=\$ac_header_preproc"
17584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17589 cat >>confdefs.h
<<_ACEOF
17590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17600 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17601 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17602 if test "${ac_cv_c_const+set}" = set; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 cat >conftest.
$ac_ext <<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17615 /* FIXME: Include the comments suggested by Paul. */
17616 #ifndef __cplusplus
17617 /* Ultrix mips cc rejects this. */
17618 typedef int charset[2];
17620 /* SunOS 4.1.1 cc rejects this. */
17621 char const *const *ccp;
17623 /* NEC SVR4.0.2 mips cc rejects this. */
17624 struct point {int x, y;};
17625 static struct point const zero = {0,0};
17626 /* AIX XL C 1.02.0.0 rejects this.
17627 It does not let you subtract one const X* pointer from another in
17628 an arm of an if-expression whose if-part is not a constant
17630 const char *g = "string";
17631 ccp = &g + (g ? g-g : 0);
17632 /* HPUX 7.0 cc rejects these. */
17635 ccp = (char const *const *) p;
17636 { /* SCO 3.2v4 cc rejects this. */
17638 char const *s = 0 ? (char *) 0 : (char const *) 0;
17642 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17643 int x[] = {25, 17};
17644 const int *foo = &x[0];
17647 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17648 typedef const int *iptr;
17652 { /* AIX XL C 1.02.0.0 rejects this saying
17653 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17654 struct s { int j; const int *ap[3]; };
17655 struct s *b; b->j = 5;
17657 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17658 const int foo = 10;
17666 rm -f conftest.
$ac_objext
17667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17668 (eval $ac_compile) 2>conftest.er1
17670 grep -v '^ *+' conftest.er1
>conftest.err
17672 cat conftest.err
>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try
='test -z "$ac_cxx_werror_flag"
17676 || test ! -s conftest.err'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try
='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17697 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17698 echo "${ECHO_T}$ac_cv_c_const" >&6
17699 if test $ac_cv_c_const = no
; then
17701 cat >>confdefs.h
<<\_ACEOF
17707 echo "$as_me:$LINENO: checking for inline" >&5
17708 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17709 if test "${ac_cv_c_inline+set}" = set; then
17710 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 for ac_kw
in inline __inline__ __inline
; do
17714 cat >conftest.
$ac_ext <<_ACEOF
17717 cat confdefs.h
>>conftest.
$ac_ext
17718 cat >>conftest.
$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720 #ifndef __cplusplus
17722 static $ac_kw foo_t static_foo () {return 0; }
17723 $ac_kw foo_t foo () {return 0; }
17727 rm -f conftest.
$ac_objext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>conftest.er1
17731 grep -v '^ *+' conftest.er1
>conftest.err
17733 cat conftest.err
>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try
='test -z "$ac_cxx_werror_flag"
17737 || 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_cv_c_inline
=$ac_kw; break
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.
$ac_ext >&5
17755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17759 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17760 echo "${ECHO_T}$ac_cv_c_inline" >&6
17763 case $ac_cv_c_inline in
17766 case $ac_cv_c_inline in
17768 *) ac_val
=$ac_cv_c_inline;;
17770 cat >>confdefs.h
<<_ACEOF
17771 #ifndef __cplusplus
17772 #define inline $ac_val
17779 echo "$as_me:$LINENO: checking for char" >&5
17780 echo $ECHO_N "checking for char... $ECHO_C" >&6
17781 if test "${ac_cv_type_char+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17802 rm -f conftest.
$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17806 grep -v '^ *+' conftest.er1
>conftest.err
17808 cat conftest.err
>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try
='test -z "$ac_cxx_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try
='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_cv_type_char
=yes
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17834 echo "${ECHO_T}$ac_cv_type_char" >&6
17836 echo "$as_me:$LINENO: checking size of char" >&5
17837 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17838 if test "${ac_cv_sizeof_char+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 if test "$ac_cv_type_char" = yes; then
17842 # The cast to unsigned long works around a bug in the HP C Compiler
17843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17845 # This bug is HP SR number 8606223364.
17846 if test "$cross_compiling" = yes; then
17847 # Depending upon the size, compute the lo and hi bounds.
17848 cat >conftest.
$ac_ext <<_ACEOF
17851 cat confdefs.h
>>conftest.
$ac_ext
17852 cat >>conftest.
$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17858 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17865 rm -f conftest.
$ac_objext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17867 (eval $ac_compile) 2>conftest.er1
17869 grep -v '^ *+' conftest.er1
>conftest.err
17871 cat conftest.err
>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try
='test -z "$ac_cxx_werror_flag"
17875 || test ! -s conftest.err'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; } &&
17881 { ac_try
='test -s conftest.$ac_objext'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; }; then
17889 cat >conftest.
$ac_ext <<_ACEOF
17892 cat confdefs.h
>>conftest.
$ac_ext
17893 cat >>conftest.
$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 $ac_includes_default
17899 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17906 rm -f conftest.
$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17910 grep -v '^ *+' conftest.er1
>conftest.err
17912 cat conftest.err
>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try
='test -z "$ac_cxx_werror_flag"
17916 || test ! -s conftest.err'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; } &&
17922 { ac_try
='test -s conftest.$ac_objext'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; }; then
17928 ac_hi
=$ac_mid; break
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.
$ac_ext >&5
17933 ac_lo
=`expr $ac_mid + 1`
17934 if test $ac_lo -le $ac_mid; then
17938 ac_mid
=`expr 2 '*' $ac_mid + 1`
17940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.
$ac_ext >&5
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17956 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17963 rm -f conftest.
$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17967 grep -v '^ *+' conftest.er1
>conftest.err
17969 cat conftest.err
>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try
='test -z "$ac_cxx_werror_flag"
17973 || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17997 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18004 rm -f conftest.
$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try
='test -z "$ac_cxx_werror_flag"
18014 || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try
='test -s conftest.$ac_objext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 ac_lo
=$ac_mid; break
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.
$ac_ext >&5
18031 ac_hi
=`expr '(' $ac_mid ')' - 1`
18032 if test $ac_mid -le $ac_hi; then
18036 ac_mid
=`expr 2 '*' $ac_mid`
18038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.
$ac_ext >&5
18046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18049 # Binary search between lo and hi bounds.
18050 while test "x$ac_lo" != "x$ac_hi"; do
18051 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18052 cat >conftest.
$ac_ext <<_ACEOF
18055 cat confdefs.h
>>conftest.
$ac_ext
18056 cat >>conftest.
$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 $ac_includes_default
18062 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18069 rm -f conftest.
$ac_objext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18071 (eval $ac_compile) 2>conftest.er1
18073 grep -v '^ *+' conftest.er1
>conftest.err
18075 cat conftest.err
>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } &&
18078 { ac_try
='test -z "$ac_cxx_werror_flag"
18079 || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try
='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.
$ac_ext >&5
18096 ac_lo
=`expr '(' $ac_mid ')' + 1`
18098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18101 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18103 See \`config.log' for more details." >&5
18104 echo "$as_me: error: cannot compute sizeof (char), 77
18105 See \`config.log' for more details." >&2;}
18106 { (exit 1); exit 1; }; } ;;
18109 if test "$cross_compiling" = yes; then
18110 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18111 See \`config.log' for more details." >&5
18112 echo "$as_me: error: cannot run test program while cross compiling
18113 See \`config.log' for more details." >&2;}
18114 { (exit 1); exit 1; }; }
18116 cat >conftest.
$ac_ext <<_ACEOF
18119 cat confdefs.h
>>conftest.
$ac_ext
18120 cat >>conftest.
$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 $ac_includes_default
18123 long longval () { return (long) (sizeof (char)); }
18124 unsigned long ulongval () { return (long) (sizeof (char)); }
18126 #include <stdlib.h>
18131 FILE *f = fopen ("conftest.val", "w");
18134 if (((long) (sizeof (char))) < 0)
18136 long i = longval ();
18137 if (i != ((long) (sizeof (char))))
18139 fprintf (f, "%ld\n", i);
18143 unsigned long i = ulongval ();
18144 if (i != ((long) (sizeof (char))))
18146 fprintf (f, "%lu\n", i);
18148 exit (ferror (f) || fclose (f) != 0);
18154 rm -f conftest
$ac_exeext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18156 (eval $ac_link) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; }; then
18165 ac_cv_sizeof_char
=`cat conftest.val`
18167 echo "$as_me: program exited with status $ac_status" >&5
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.
$ac_ext >&5
18171 ( exit $ac_status )
18172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18173 See \`config.log' for more details." >&5
18174 echo "$as_me: error: cannot compute sizeof (char), 77
18175 See \`config.log' for more details." >&2;}
18176 { (exit 1); exit 1; }; }
18178 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18183 ac_cv_sizeof_char
=0
18186 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18187 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18188 cat >>confdefs.h
<<_ACEOF
18189 #define SIZEOF_CHAR $ac_cv_sizeof_char
18193 echo "$as_me:$LINENO: checking for short" >&5
18194 echo $ECHO_N "checking for short... $ECHO_C" >&6
18195 if test "${ac_cv_type_short+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18210 if (sizeof (short))
18216 rm -f conftest.
$ac_objext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18218 (eval $ac_compile) 2>conftest.er1
18220 grep -v '^ *+' conftest.er1
>conftest.err
18222 cat conftest.err
>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try
='test -z "$ac_cxx_werror_flag"
18226 || 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_short
=yes
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18243 ac_cv_type_short
=no
18245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18248 echo "${ECHO_T}$ac_cv_type_short" >&6
18250 echo "$as_me:$LINENO: checking size of short" >&5
18251 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18252 if test "${ac_cv_sizeof_short+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 if test "$ac_cv_type_short" = 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 (short))) >= 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"
18289 || test ! -s conftest.err'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; } &&
18295 { ac_try
='test -s conftest.$ac_objext'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; }; then
18303 cat >conftest.
$ac_ext <<_ACEOF
18306 cat confdefs.h
>>conftest.
$ac_ext
18307 cat >>conftest.
$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309 $ac_includes_default
18313 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18320 rm -f conftest.
$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18324 grep -v '^ *+' conftest.er1
>conftest.err
18326 cat conftest.err
>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try
='test -z "$ac_cxx_werror_flag"
18330 || test ! -s conftest.err'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; } &&
18336 { ac_try
='test -s conftest.$ac_objext'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18342 ac_hi
=$ac_mid; break
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.
$ac_ext >&5
18347 ac_lo
=`expr $ac_mid + 1`
18348 if test $ac_lo -le $ac_mid; then
18352 ac_mid
=`expr 2 '*' $ac_mid + 1`
18354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.
$ac_ext >&5
18360 cat >conftest.
$ac_ext <<_ACEOF
18363 cat confdefs.h
>>conftest.
$ac_ext
18364 cat >>conftest.
$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18370 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18377 rm -f conftest.
$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try
='test -z "$ac_cxx_werror_flag"
18387 || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try
='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18401 cat >conftest.
$ac_ext <<_ACEOF
18404 cat confdefs.h
>>conftest.
$ac_ext
18405 cat >>conftest.
$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18411 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18418 rm -f conftest.
$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>conftest.er1
18422 grep -v '^ *+' conftest.er1
>conftest.err
18424 cat conftest.err
>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } &&
18427 { ac_try
='test -z "$ac_cxx_werror_flag"
18428 || test ! -s conftest.err'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; } &&
18434 { ac_try
='test -s conftest.$ac_objext'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 ac_lo
=$ac_mid; break
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.
$ac_ext >&5
18445 ac_hi
=`expr '(' $ac_mid ')' - 1`
18446 if test $ac_mid -le $ac_hi; then
18450 ac_mid
=`expr 2 '*' $ac_mid`
18452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.
$ac_ext >&5
18460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18463 # Binary search between lo and hi bounds.
18464 while test "x$ac_lo" != "x$ac_hi"; do
18465 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18466 cat >conftest.
$ac_ext <<_ACEOF
18469 cat confdefs.h
>>conftest.
$ac_ext
18470 cat >>conftest.
$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18476 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18483 rm -f conftest.
$ac_objext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485 (eval $ac_compile) 2>conftest.er1
18487 grep -v '^ *+' conftest.er1
>conftest.err
18489 cat conftest.err
>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try
='test -z "$ac_cxx_werror_flag"
18493 || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try
='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.
$ac_ext >&5
18510 ac_lo
=`expr '(' $ac_mid ')' + 1`
18512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18515 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18516 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18517 See \`config.log' for more details." >&5
18518 echo "$as_me: error: cannot compute sizeof (short), 77
18519 See \`config.log' for more details." >&2;}
18520 { (exit 1); exit 1; }; } ;;
18523 if test "$cross_compiling" = yes; then
18524 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot run test program while cross compiling
18527 See \`config.log' for more details." >&2;}
18528 { (exit 1); exit 1; }; }
18530 cat >conftest.
$ac_ext <<_ACEOF
18533 cat confdefs.h
>>conftest.
$ac_ext
18534 cat >>conftest.
$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 $ac_includes_default
18537 long longval () { return (long) (sizeof (short)); }
18538 unsigned long ulongval () { return (long) (sizeof (short)); }
18540 #include <stdlib.h>
18545 FILE *f = fopen ("conftest.val", "w");
18548 if (((long) (sizeof (short))) < 0)
18550 long i = longval ();
18551 if (i != ((long) (sizeof (short))))
18553 fprintf (f, "%ld\n", i);
18557 unsigned long i = ulongval ();
18558 if (i != ((long) (sizeof (short))))
18560 fprintf (f, "%lu\n", i);
18562 exit (ferror (f) || fclose (f) != 0);
18568 rm -f conftest
$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_sizeof_short
=`cat conftest.val`
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ( exit $ac_status )
18586 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18587 See \`config.log' for more details." >&5
18588 echo "$as_me: error: cannot compute sizeof (short), 77
18589 See \`config.log' for more details." >&2;}
18590 { (exit 1); exit 1; }; }
18592 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18597 ac_cv_sizeof_short
=0
18600 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18601 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18602 cat >>confdefs.h
<<_ACEOF
18603 #define SIZEOF_SHORT $ac_cv_sizeof_short
18607 echo "$as_me:$LINENO: checking for void *" >&5
18608 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18609 if test "${ac_cv_type_void_p+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18624 if (sizeof (void *))
18630 rm -f conftest.
$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try
='test -z "$ac_cxx_werror_flag"
18640 || test ! -s conftest.err'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; } &&
18646 { ac_try
='test -s conftest.$ac_objext'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; }; then
18652 ac_cv_type_void_p
=yes
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.
$ac_ext >&5
18657 ac_cv_type_void_p
=no
18659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18662 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18664 echo "$as_me:$LINENO: checking size of void *" >&5
18665 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18666 if test "${ac_cv_sizeof_void_p+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 if test "$ac_cv_type_void_p" = yes; then
18670 # The cast to unsigned long works around a bug in the HP C Compiler
18671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18673 # This bug is HP SR number 8606223364.
18674 if test "$cross_compiling" = yes; then
18675 # Depending upon the size, compute the lo and hi bounds.
18676 cat >conftest.
$ac_ext <<_ACEOF
18679 cat confdefs.h
>>conftest.
$ac_ext
18680 cat >>conftest.
$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18686 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18693 rm -f conftest.
$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1
>conftest.err
18699 cat conftest.err
>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try
='test -z "$ac_cxx_werror_flag"
18703 || test ! -s conftest.err'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; } &&
18709 { ac_try
='test -s conftest.$ac_objext'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; }; then
18717 cat >conftest.
$ac_ext <<_ACEOF
18720 cat confdefs.h
>>conftest.
$ac_ext
18721 cat >>conftest.
$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 $ac_includes_default
18727 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18734 rm -f conftest.
$ac_objext
18735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18736 (eval $ac_compile) 2>conftest.er1
18738 grep -v '^ *+' conftest.er1
>conftest.err
18740 cat conftest.err
>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } &&
18743 { ac_try
='test -z "$ac_cxx_werror_flag"
18744 || test ! -s conftest.err'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; } &&
18750 { ac_try
='test -s conftest.$ac_objext'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; }; then
18756 ac_hi
=$ac_mid; break
18758 echo "$as_me: failed program was:" >&5
18759 sed 's/^/| /' conftest.
$ac_ext >&5
18761 ac_lo
=`expr $ac_mid + 1`
18762 if test $ac_lo -le $ac_mid; then
18766 ac_mid
=`expr 2 '*' $ac_mid + 1`
18768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 $ac_includes_default
18784 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18791 rm -f conftest.
$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try
='test -z "$ac_cxx_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 $ac_includes_default
18825 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_cxx_werror_flag"
18842 || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try
='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_lo
=$ac_mid; break
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.
$ac_ext >&5
18859 ac_hi
=`expr '(' $ac_mid ')' - 1`
18860 if test $ac_mid -le $ac_hi; then
18864 ac_mid
=`expr 2 '*' $ac_mid`
18866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18877 # Binary search between lo and hi bounds.
18878 while test "x$ac_lo" != "x$ac_hi"; do
18879 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 $ac_includes_default
18890 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18897 rm -f conftest.
$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1
>conftest.err
18903 cat conftest.err
>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try
='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try
='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18921 echo "$as_me: failed program was:" >&5
18922 sed 's/^/| /' conftest.
$ac_ext >&5
18924 ac_lo
=`expr '(' $ac_mid ')' + 1`
18926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18929 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18930 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18931 See \`config.log' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *), 77
18933 See \`config.log' for more details." >&2;}
18934 { (exit 1); exit 1; }; } ;;
18937 if test "$cross_compiling" = yes; then
18938 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18939 See \`config.log' for more details." >&5
18940 echo "$as_me: error: cannot run test program while cross compiling
18941 See \`config.log' for more details." >&2;}
18942 { (exit 1); exit 1; }; }
18944 cat >conftest.
$ac_ext <<_ACEOF
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 $ac_includes_default
18951 long longval () { return (long) (sizeof (void *)); }
18952 unsigned long ulongval () { return (long) (sizeof (void *)); }
18954 #include <stdlib.h>
18959 FILE *f = fopen ("conftest.val", "w");
18962 if (((long) (sizeof (void *))) < 0)
18964 long i = longval ();
18965 if (i != ((long) (sizeof (void *))))
18967 fprintf (f, "%ld\n", i);
18971 unsigned long i = ulongval ();
18972 if (i != ((long) (sizeof (void *))))
18974 fprintf (f, "%lu\n", i);
18976 exit (ferror (f) || fclose (f) != 0);
18982 rm -f conftest
$ac_exeext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18984 (eval $ac_link) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 ac_cv_sizeof_void_p
=`cat conftest.val`
18995 echo "$as_me: program exited with status $ac_status" >&5
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.
$ac_ext >&5
18999 ( exit $ac_status )
19000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19001 See \`config.log' for more details." >&5
19002 echo "$as_me: error: cannot compute sizeof (void *), 77
19003 See \`config.log' for more details." >&2;}
19004 { (exit 1); exit 1; }; }
19006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19011 ac_cv_sizeof_void_p
=0
19014 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19015 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19016 cat >>confdefs.h
<<_ACEOF
19017 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19021 echo "$as_me:$LINENO: checking for int" >&5
19022 echo $ECHO_N "checking for int... $ECHO_C" >&6
19023 if test "${ac_cv_type_int+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 cat >conftest.
$ac_ext <<_ACEOF
19029 cat confdefs.h
>>conftest.
$ac_ext
19030 cat >>conftest.
$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19044 rm -f conftest.
$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>conftest.er1
19048 grep -v '^ *+' conftest.er1
>conftest.err
19050 cat conftest.err
>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } &&
19053 { ac_try
='test -z "$ac_cxx_werror_flag"
19054 || test ! -s conftest.err'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; } &&
19060 { ac_try
='test -s conftest.$ac_objext'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.
$ac_ext >&5
19073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19075 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19076 echo "${ECHO_T}$ac_cv_type_int" >&6
19078 echo "$as_me:$LINENO: checking size of int" >&5
19079 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19080 if test "${ac_cv_sizeof_int+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 if test "$ac_cv_type_int" = yes; then
19084 # The cast to unsigned long works around a bug in the HP C Compiler
19085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19087 # This bug is HP SR number 8606223364.
19088 if test "$cross_compiling" = yes; then
19089 # Depending upon the size, compute the lo and hi bounds.
19090 cat >conftest.
$ac_ext <<_ACEOF
19093 cat confdefs.h
>>conftest.
$ac_ext
19094 cat >>conftest.
$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19100 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19107 rm -f conftest.
$ac_objext
19108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19109 (eval $ac_compile) 2>conftest.er1
19111 grep -v '^ *+' conftest.er1
>conftest.err
19113 cat conftest.err
>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try
='test -z "$ac_cxx_werror_flag"
19117 || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try
='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19131 cat >conftest.
$ac_ext <<_ACEOF
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19141 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19148 rm -f conftest.
$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19152 grep -v '^ *+' conftest.er1
>conftest.err
19154 cat conftest.err
>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try
='test -z "$ac_cxx_werror_flag"
19158 || test ! -s conftest.err'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; } &&
19164 { ac_try
='test -s conftest.$ac_objext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_hi
=$ac_mid; break
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.
$ac_ext >&5
19175 ac_lo
=`expr $ac_mid + 1`
19176 if test $ac_lo -le $ac_mid; then
19180 ac_mid
=`expr 2 '*' $ac_mid + 1`
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19198 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_cxx_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19239 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19246 rm -f conftest.
$ac_objext
19247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19248 (eval $ac_compile) 2>conftest.er1
19250 grep -v '^ *+' conftest.er1
>conftest.err
19252 cat conftest.err
>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } &&
19255 { ac_try
='test -z "$ac_cxx_werror_flag"
19256 || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try
='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_lo
=$ac_mid; break
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.
$ac_ext >&5
19273 ac_hi
=`expr '(' $ac_mid ')' - 1`
19274 if test $ac_mid -le $ac_hi; then
19278 ac_mid
=`expr 2 '*' $ac_mid`
19280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19291 # Binary search between lo and hi bounds.
19292 while test "x$ac_lo" != "x$ac_hi"; do
19293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19304 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19311 rm -f conftest.
$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19315 grep -v '^ *+' conftest.er1
>conftest.err
19317 cat conftest.err
>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try
='test -z "$ac_cxx_werror_flag"
19321 || test ! -s conftest.err'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; } &&
19327 { ac_try
='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 ac_lo
=`expr '(' $ac_mid ')' + 1`
19340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19343 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19344 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19345 See \`config.log' for more details." >&5
19346 echo "$as_me: error: cannot compute sizeof (int), 77
19347 See \`config.log' for more details." >&2;}
19348 { (exit 1); exit 1; }; } ;;
19351 if test "$cross_compiling" = yes; then
19352 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19353 See \`config.log' for more details." >&5
19354 echo "$as_me: error: cannot run test program while cross compiling
19355 See \`config.log' for more details." >&2;}
19356 { (exit 1); exit 1; }; }
19358 cat >conftest.
$ac_ext <<_ACEOF
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 long longval () { return (long) (sizeof (int)); }
19366 unsigned long ulongval () { return (long) (sizeof (int)); }
19368 #include <stdlib.h>
19373 FILE *f = fopen ("conftest.val", "w");
19376 if (((long) (sizeof (int))) < 0)
19378 long i = longval ();
19379 if (i != ((long) (sizeof (int))))
19381 fprintf (f, "%ld\n", i);
19385 unsigned long i = ulongval ();
19386 if (i != ((long) (sizeof (int))))
19388 fprintf (f, "%lu\n", i);
19390 exit (ferror (f) || fclose (f) != 0);
19396 rm -f conftest
$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; }; then
19407 ac_cv_sizeof_int
=`cat conftest.val`
19409 echo "$as_me: program exited with status $ac_status" >&5
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.
$ac_ext >&5
19413 ( exit $ac_status )
19414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19415 See \`config.log' for more details." >&5
19416 echo "$as_me: error: cannot compute sizeof (int), 77
19417 See \`config.log' for more details." >&2;}
19418 { (exit 1); exit 1; }; }
19420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19428 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19429 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19430 cat >>confdefs.h
<<_ACEOF
19431 #define SIZEOF_INT $ac_cv_sizeof_int
19435 echo "$as_me:$LINENO: checking for long" >&5
19436 echo $ECHO_N "checking for long... $ECHO_C" >&6
19437 if test "${ac_cv_type_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 cat >conftest.
$ac_ext <<_ACEOF
19443 cat confdefs.h
>>conftest.
$ac_ext
19444 cat >>conftest.
$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19458 rm -f conftest.
$ac_objext
19459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19460 (eval $ac_compile) 2>conftest.er1
19462 grep -v '^ *+' conftest.er1
>conftest.err
19464 cat conftest.err
>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try
='test -z "$ac_cxx_werror_flag"
19468 || test ! -s conftest.err'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; } &&
19474 { ac_try
='test -s conftest.$ac_objext'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; }; then
19480 ac_cv_type_long
=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.
$ac_ext >&5
19487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19489 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19490 echo "${ECHO_T}$ac_cv_type_long" >&6
19492 echo "$as_me:$LINENO: checking size of long" >&5
19493 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19494 if test "${ac_cv_sizeof_long+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 if test "$ac_cv_type_long" = yes; then
19498 # The cast to unsigned long works around a bug in the HP C Compiler
19499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19501 # This bug is HP SR number 8606223364.
19502 if test "$cross_compiling" = yes; then
19503 # Depending upon the size, compute the lo and hi bounds.
19504 cat >conftest.
$ac_ext <<_ACEOF
19507 cat confdefs.h
>>conftest.
$ac_ext
19508 cat >>conftest.
$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 $ac_includes_default
19514 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19521 rm -f conftest.
$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>conftest.er1
19525 grep -v '^ *+' conftest.er1
>conftest.err
19527 cat conftest.err
>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } &&
19530 { ac_try
='test -z "$ac_cxx_werror_flag"
19531 || test ! -s conftest.err'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; } &&
19537 { ac_try
='test -s conftest.$ac_objext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19545 cat >conftest.
$ac_ext <<_ACEOF
19548 cat confdefs.h
>>conftest.
$ac_ext
19549 cat >>conftest.
$ac_ext <<_ACEOF
19550 /* end confdefs.h. */
19551 $ac_includes_default
19555 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19562 rm -f conftest.
$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try
='test -z "$ac_cxx_werror_flag"
19572 || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try
='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_hi
=$ac_mid; break
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19589 ac_lo
=`expr $ac_mid + 1`
19590 if test $ac_lo -le $ac_mid; then
19594 ac_mid
=`expr 2 '*' $ac_mid + 1`
19596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.
$ac_ext >&5
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19612 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19619 rm -f conftest.
$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19623 grep -v '^ *+' conftest.er1
>conftest.err
19625 cat conftest.err
>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try
='test -z "$ac_cxx_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try
='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19653 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19660 rm -f conftest.
$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1
>conftest.err
19666 cat conftest.err
>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try
='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try
='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_lo
=$ac_mid; break
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.
$ac_ext >&5
19687 ac_hi
=`expr '(' $ac_mid ')' - 1`
19688 if test $ac_mid -le $ac_hi; then
19692 ac_mid
=`expr 2 '*' $ac_mid`
19694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.
$ac_ext >&5
19702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19705 # Binary search between lo and hi bounds.
19706 while test "x$ac_lo" != "x$ac_hi"; do
19707 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19708 cat >conftest.
$ac_ext <<_ACEOF
19711 cat confdefs.h
>>conftest.
$ac_ext
19712 cat >>conftest.
$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19718 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19725 rm -f conftest.
$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19729 grep -v '^ *+' conftest.er1
>conftest.err
19731 cat conftest.err
>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try
='test -z "$ac_cxx_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try
='test -s conftest.$ac_objext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 ac_lo
=`expr '(' $ac_mid ')' + 1`
19754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19757 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19758 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19759 See \`config.log' for more details." >&5
19760 echo "$as_me: error: cannot compute sizeof (long), 77
19761 See \`config.log' for more details." >&2;}
19762 { (exit 1); exit 1; }; } ;;
19765 if test "$cross_compiling" = yes; then
19766 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19767 See \`config.log' for more details." >&5
19768 echo "$as_me: error: cannot run test program while cross compiling
19769 See \`config.log' for more details." >&2;}
19770 { (exit 1); exit 1; }; }
19772 cat >conftest.
$ac_ext <<_ACEOF
19775 cat confdefs.h
>>conftest.
$ac_ext
19776 cat >>conftest.
$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 $ac_includes_default
19779 long longval () { return (long) (sizeof (long)); }
19780 unsigned long ulongval () { return (long) (sizeof (long)); }
19782 #include <stdlib.h>
19787 FILE *f = fopen ("conftest.val", "w");
19790 if (((long) (sizeof (long))) < 0)
19792 long i = longval ();
19793 if (i != ((long) (sizeof (long))))
19795 fprintf (f, "%ld\n", i);
19799 unsigned long i = ulongval ();
19800 if (i != ((long) (sizeof (long))))
19802 fprintf (f, "%lu\n", i);
19804 exit (ferror (f) || fclose (f) != 0);
19810 rm -f conftest
$ac_exeext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19812 (eval $ac_link) 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_sizeof_long
=`cat conftest.val`
19823 echo "$as_me: program exited with status $ac_status" >&5
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.
$ac_ext >&5
19827 ( exit $ac_status )
19828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19829 See \`config.log' for more details." >&5
19830 echo "$as_me: error: cannot compute sizeof (long), 77
19831 See \`config.log' for more details." >&2;}
19832 { (exit 1); exit 1; }; }
19834 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19839 ac_cv_sizeof_long
=0
19842 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19843 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19844 cat >>confdefs.h
<<_ACEOF
19845 #define SIZEOF_LONG $ac_cv_sizeof_long
19849 echo "$as_me:$LINENO: checking for size_t" >&5
19850 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19851 if test "${ac_cv_type_size_t+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 cat >conftest.
$ac_ext <<_ACEOF
19857 cat confdefs.h
>>conftest.
$ac_ext
19858 cat >>conftest.
$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 $ac_includes_default
19866 if (sizeof (size_t))
19872 rm -f conftest.
$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>conftest.er1
19876 grep -v '^ *+' conftest.er1
>conftest.err
19878 cat conftest.err
>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try
='test -z "$ac_cxx_werror_flag"
19882 || test ! -s conftest.err'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; } &&
19888 { ac_try
='test -s conftest.$ac_objext'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_type_size_t
=yes
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ac_cv_type_size_t
=no
19901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19904 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19906 echo "$as_me:$LINENO: checking size of size_t" >&5
19907 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19908 if test "${ac_cv_sizeof_size_t+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 if test "$ac_cv_type_size_t" = yes; then
19912 # The cast to unsigned long works around a bug in the HP C Compiler
19913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19915 # This bug is HP SR number 8606223364.
19916 if test "$cross_compiling" = yes; then
19917 # Depending upon the size, compute the lo and hi bounds.
19918 cat >conftest.
$ac_ext <<_ACEOF
19921 cat confdefs.h
>>conftest.
$ac_ext
19922 cat >>conftest.
$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 $ac_includes_default
19928 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19935 rm -f conftest.
$ac_objext
19936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19937 (eval $ac_compile) 2>conftest.er1
19939 grep -v '^ *+' conftest.er1
>conftest.err
19941 cat conftest.err
>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } &&
19944 { ac_try
='test -z "$ac_cxx_werror_flag"
19945 || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try
='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19959 cat >conftest.
$ac_ext <<_ACEOF
19962 cat confdefs.h
>>conftest.
$ac_ext
19963 cat >>conftest.
$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19969 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19976 rm -f conftest.
$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19980 grep -v '^ *+' conftest.er1
>conftest.err
19982 cat conftest.err
>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try
='test -z "$ac_cxx_werror_flag"
19986 || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try
='test -s conftest.$ac_objext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
19998 ac_hi
=$ac_mid; break
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.
$ac_ext >&5
20003 ac_lo
=`expr $ac_mid + 1`
20004 if test $ac_lo -le $ac_mid; then
20008 ac_mid
=`expr 2 '*' $ac_mid + 1`
20010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20016 cat >conftest.
$ac_ext <<_ACEOF
20019 cat confdefs.h
>>conftest.
$ac_ext
20020 cat >>conftest.
$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20026 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20033 rm -f conftest.
$ac_objext
20034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20035 (eval $ac_compile) 2>conftest.er1
20037 grep -v '^ *+' conftest.er1
>conftest.err
20039 cat conftest.err
>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } &&
20042 { ac_try
='test -z "$ac_cxx_werror_flag"
20043 || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try
='test -s conftest.$ac_objext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20067 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20074 rm -f conftest.
$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20078 grep -v '^ *+' conftest.er1
>conftest.err
20080 cat conftest.err
>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try
='test -z "$ac_cxx_werror_flag"
20084 || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try
='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_lo
=$ac_mid; break
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 ac_hi
=`expr '(' $ac_mid ')' - 1`
20102 if test $ac_mid -le $ac_hi; then
20106 ac_mid
=`expr 2 '*' $ac_mid`
20108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.
$ac_ext >&5
20116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20119 # Binary search between lo and hi bounds.
20120 while test "x$ac_lo" != "x$ac_hi"; do
20121 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20122 cat >conftest.
$ac_ext <<_ACEOF
20125 cat confdefs.h
>>conftest.
$ac_ext
20126 cat >>conftest.
$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 $ac_includes_default
20132 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20143 grep -v '^ *+' conftest.er1
>conftest.err
20145 cat conftest.err
>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try
='test -z "$ac_cxx_werror_flag"
20149 || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try
='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20166 ac_lo
=`expr '(' $ac_mid ')' + 1`
20168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20171 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20172 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20173 See \`config.log' for more details." >&5
20174 echo "$as_me: error: cannot compute sizeof (size_t), 77
20175 See \`config.log' for more details." >&2;}
20176 { (exit 1); exit 1; }; } ;;
20179 if test "$cross_compiling" = yes; then
20180 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20181 See \`config.log' for more details." >&5
20182 echo "$as_me: error: cannot run test program while cross compiling
20183 See \`config.log' for more details." >&2;}
20184 { (exit 1); exit 1; }; }
20186 cat >conftest.
$ac_ext <<_ACEOF
20189 cat confdefs.h
>>conftest.
$ac_ext
20190 cat >>conftest.
$ac_ext <<_ACEOF
20191 /* end confdefs.h. */
20192 $ac_includes_default
20193 long longval () { return (long) (sizeof (size_t)); }
20194 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20196 #include <stdlib.h>
20201 FILE *f = fopen ("conftest.val", "w");
20204 if (((long) (sizeof (size_t))) < 0)
20206 long i = longval ();
20207 if (i != ((long) (sizeof (size_t))))
20209 fprintf (f, "%ld\n", i);
20213 unsigned long i = ulongval ();
20214 if (i != ((long) (sizeof (size_t))))
20216 fprintf (f, "%lu\n", i);
20218 exit (ferror (f) || fclose (f) != 0);
20224 rm -f conftest
$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_cv_sizeof_size_t
=`cat conftest.val`
20237 echo "$as_me: program exited with status $ac_status" >&5
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.
$ac_ext >&5
20241 ( exit $ac_status )
20242 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20243 See \`config.log' for more details." >&5
20244 echo "$as_me: error: cannot compute sizeof (size_t), 77
20245 See \`config.log' for more details." >&2;}
20246 { (exit 1); exit 1; }; }
20248 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20253 ac_cv_sizeof_size_t
=0
20256 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20257 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20258 cat >>confdefs.h
<<_ACEOF
20259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20266 echo "$as_me:$LINENO: checking for long long" >&5
20267 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20268 if test "${ac_cv_type_long_long+set}" = set; then
20269 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 cat >conftest.
$ac_ext <<_ACEOF
20274 cat confdefs.h
>>conftest.
$ac_ext
20275 cat >>conftest.
$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20281 if ((long long *) 0)
20283 if (sizeof (long long))
20289 rm -f conftest.
$ac_objext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20291 (eval $ac_compile) 2>conftest.er1
20293 grep -v '^ *+' conftest.er1
>conftest.err
20295 cat conftest.err
>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } &&
20298 { ac_try
='test -z "$ac_cxx_werror_flag"
20299 || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try
='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 ac_cv_type_long_long
=yes
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.
$ac_ext >&5
20316 ac_cv_type_long_long
=no
20318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20320 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20321 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20323 echo "$as_me:$LINENO: checking size of long long" >&5
20324 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20325 if test "${ac_cv_sizeof_long_long+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 if test "$ac_cv_type_long_long" = yes; then
20329 # The cast to unsigned long works around a bug in the HP C Compiler
20330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20332 # This bug is HP SR number 8606223364.
20333 if test "$cross_compiling" = yes; then
20334 # Depending upon the size, compute the lo and hi bounds.
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20352 rm -f conftest.
$ac_objext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20354 (eval $ac_compile) 2>conftest.er1
20356 grep -v '^ *+' conftest.er1
>conftest.err
20358 cat conftest.err
>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try
='test -z "$ac_cxx_werror_flag"
20362 || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try
='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20393 rm -f conftest.
$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20397 grep -v '^ *+' conftest.er1
>conftest.err
20399 cat conftest.err
>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try
='test -z "$ac_cxx_werror_flag"
20403 || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try
='test -s conftest.$ac_objext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20415 ac_hi
=$ac_mid; break
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ac_lo
=`expr $ac_mid + 1`
20421 if test $ac_lo -le $ac_mid; then
20425 ac_mid
=`expr 2 '*' $ac_mid + 1`
20427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.
$ac_ext >&5
20433 cat >conftest.
$ac_ext <<_ACEOF
20436 cat confdefs.h
>>conftest.
$ac_ext
20437 cat >>conftest.
$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20443 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20450 rm -f conftest.
$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20454 grep -v '^ *+' conftest.er1
>conftest.err
20456 cat conftest.err
>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try
='test -z "$ac_cxx_werror_flag"
20460 || test ! -s conftest.err'
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); }; } &&
20466 { ac_try
='test -s conftest.$ac_objext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20474 cat >conftest.
$ac_ext <<_ACEOF
20477 cat confdefs.h
>>conftest.
$ac_ext
20478 cat >>conftest.
$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20491 rm -f conftest.
$ac_objext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20493 (eval $ac_compile) 2>conftest.er1
20495 grep -v '^ *+' conftest.er1
>conftest.err
20497 cat conftest.err
>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try
='test -z "$ac_cxx_werror_flag"
20501 || test ! -s conftest.err'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; } &&
20507 { ac_try
='test -s conftest.$ac_objext'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; }; then
20513 ac_lo
=$ac_mid; break
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.
$ac_ext >&5
20518 ac_hi
=`expr '(' $ac_mid ')' - 1`
20519 if test $ac_mid -le $ac_hi; then
20523 ac_mid
=`expr 2 '*' $ac_mid`
20525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.
$ac_ext >&5
20533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20536 # Binary search between lo and hi bounds.
20537 while test "x$ac_lo" != "x$ac_hi"; do
20538 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20539 cat >conftest.
$ac_ext <<_ACEOF
20542 cat confdefs.h
>>conftest.
$ac_ext
20543 cat >>conftest.
$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 $ac_includes_default
20549 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20556 rm -f conftest.
$ac_objext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20558 (eval $ac_compile) 2>conftest.er1
20560 grep -v '^ *+' conftest.er1
>conftest.err
20562 cat conftest.err
>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try
='test -z "$ac_cxx_werror_flag"
20566 || test ! -s conftest.err'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; } &&
20572 { ac_try
='test -s conftest.$ac_objext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.
$ac_ext >&5
20583 ac_lo
=`expr '(' $ac_mid ')' + 1`
20585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20588 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20590 See \`config.log' for more details." >&5
20591 echo "$as_me: error: cannot compute sizeof (long long), 77
20592 See \`config.log' for more details." >&2;}
20593 { (exit 1); exit 1; }; } ;;
20596 if test "$cross_compiling" = yes; then
20597 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20598 See \`config.log' for more details." >&5
20599 echo "$as_me: error: cannot run test program while cross compiling
20600 See \`config.log' for more details." >&2;}
20601 { (exit 1); exit 1; }; }
20603 cat >conftest.
$ac_ext <<_ACEOF
20606 cat confdefs.h
>>conftest.
$ac_ext
20607 cat >>conftest.
$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 long longval () { return (long) (sizeof (long long)); }
20611 unsigned long ulongval () { return (long) (sizeof (long long)); }
20613 #include <stdlib.h>
20618 FILE *f = fopen ("conftest.val", "w");
20621 if (((long) (sizeof (long long))) < 0)
20623 long i = longval ();
20624 if (i != ((long) (sizeof (long long))))
20626 fprintf (f, "%ld\n", i);
20630 unsigned long i = ulongval ();
20631 if (i != ((long) (sizeof (long long))))
20633 fprintf (f, "%lu\n", i);
20635 exit (ferror (f) || fclose (f) != 0);
20641 rm -f conftest
$ac_exeext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20643 (eval $ac_link) 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 ac_cv_sizeof_long_long
=`cat conftest.val`
20654 echo "$as_me: program exited with status $ac_status" >&5
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.
$ac_ext >&5
20658 ( exit $ac_status )
20659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20660 See \`config.log' for more details." >&5
20661 echo "$as_me: error: cannot compute sizeof (long long), 77
20662 See \`config.log' for more details." >&2;}
20663 { (exit 1); exit 1; }; }
20665 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20670 ac_cv_sizeof_long_long
=0
20673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20674 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20675 cat >>confdefs.h
<<_ACEOF
20676 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20682 echo "$as_me:$LINENO: checking for long long" >&5
20683 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20684 if test "${ac_cv_type_long_long+set}" = set; then
20685 echo $ECHO_N "(cached) $ECHO_C" >&6
20687 cat >conftest.
$ac_ext <<_ACEOF
20690 cat confdefs.h
>>conftest.
$ac_ext
20691 cat >>conftest.
$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 $ac_includes_default
20697 if ((long long *) 0)
20699 if (sizeof (long long))
20705 rm -f conftest.
$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>conftest.er1
20709 grep -v '^ *+' conftest.er1
>conftest.err
20711 cat conftest.err
>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try
='test -z "$ac_cxx_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try
='test -s conftest.$ac_objext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_type_long_long
=yes
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.
$ac_ext >&5
20732 ac_cv_type_long_long
=no
20734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20736 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20737 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20739 echo "$as_me:$LINENO: checking size of long long" >&5
20740 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20741 if test "${ac_cv_sizeof_long_long+set}" = set; then
20742 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 if test "$ac_cv_type_long_long" = yes; then
20745 # The cast to unsigned long works around a bug in the HP C Compiler
20746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20748 # This bug is HP SR number 8606223364.
20749 if test "$cross_compiling" = yes; then
20750 # Depending upon the size, compute the lo and hi bounds.
20751 cat >conftest.
$ac_ext <<_ACEOF
20754 cat confdefs.h
>>conftest.
$ac_ext
20755 cat >>conftest.
$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20761 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20768 rm -f conftest.
$ac_objext
20769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20770 (eval $ac_compile) 2>conftest.er1
20772 grep -v '^ *+' conftest.er1
>conftest.err
20774 cat conftest.err
>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } &&
20777 { ac_try
='test -z "$ac_cxx_werror_flag"
20778 || test ! -s conftest.err'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; } &&
20784 { ac_try
='test -s conftest.$ac_objext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20792 cat >conftest.
$ac_ext <<_ACEOF
20795 cat confdefs.h
>>conftest.
$ac_ext
20796 cat >>conftest.
$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20802 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20809 rm -f conftest.
$ac_objext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20811 (eval $ac_compile) 2>conftest.er1
20813 grep -v '^ *+' conftest.er1
>conftest.err
20815 cat conftest.err
>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } &&
20818 { ac_try
='test -z "$ac_cxx_werror_flag"
20819 || test ! -s conftest.err'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; } &&
20825 { ac_try
='test -s conftest.$ac_objext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_hi
=$ac_mid; break
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.
$ac_ext >&5
20836 ac_lo
=`expr $ac_mid + 1`
20837 if test $ac_lo -le $ac_mid; then
20841 ac_mid
=`expr 2 '*' $ac_mid + 1`
20843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.
$ac_ext >&5
20849 cat >conftest.
$ac_ext <<_ACEOF
20852 cat confdefs.h
>>conftest.
$ac_ext
20853 cat >>conftest.
$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20855 $ac_includes_default
20859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20866 rm -f conftest.
$ac_objext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20868 (eval $ac_compile) 2>conftest.er1
20870 grep -v '^ *+' conftest.er1
>conftest.err
20872 cat conftest.err
>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } &&
20875 { ac_try
='test -z "$ac_cxx_werror_flag"
20876 || test ! -s conftest.err'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; } &&
20882 { ac_try
='test -s conftest.$ac_objext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20907 rm -f conftest.
$ac_objext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20909 (eval $ac_compile) 2>conftest.er1
20911 grep -v '^ *+' conftest.er1
>conftest.err
20913 cat conftest.err
>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try
='test -z "$ac_cxx_werror_flag"
20917 || test ! -s conftest.err'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try
='test -s conftest.$ac_objext'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_lo
=$ac_mid; break
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ac_hi
=`expr '(' $ac_mid ')' - 1`
20935 if test $ac_mid -le $ac_hi; then
20939 ac_mid
=`expr 2 '*' $ac_mid`
20941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.
$ac_ext >&5
20949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20952 # Binary search between lo and hi bounds.
20953 while test "x$ac_lo" != "x$ac_hi"; do
20954 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20955 cat >conftest.
$ac_ext <<_ACEOF
20958 cat confdefs.h
>>conftest.
$ac_ext
20959 cat >>conftest.
$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 $ac_includes_default
20965 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20972 rm -f conftest.
$ac_objext
20973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20974 (eval $ac_compile) 2>conftest.er1
20976 grep -v '^ *+' conftest.er1
>conftest.err
20978 cat conftest.err
>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } &&
20981 { ac_try
='test -z "$ac_cxx_werror_flag"
20982 || test ! -s conftest.err'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; } &&
20988 { ac_try
='test -s conftest.$ac_objext'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.
$ac_ext >&5
20999 ac_lo
=`expr '(' $ac_mid ')' + 1`
21001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21004 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21006 See \`config.log' for more details." >&5
21007 echo "$as_me: error: cannot compute sizeof (long long), 77
21008 See \`config.log' for more details." >&2;}
21009 { (exit 1); exit 1; }; } ;;
21012 if test "$cross_compiling" = yes; then
21013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21014 See \`config.log' for more details." >&5
21015 echo "$as_me: error: cannot run test program while cross compiling
21016 See \`config.log' for more details." >&2;}
21017 { (exit 1); exit 1; }; }
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 long longval () { return (long) (sizeof (long long)); }
21027 unsigned long ulongval () { return (long) (sizeof (long long)); }
21029 #include <stdlib.h>
21034 FILE *f = fopen ("conftest.val", "w");
21037 if (((long) (sizeof (long long))) < 0)
21039 long i = longval ();
21040 if (i != ((long) (sizeof (long long))))
21042 fprintf (f, "%ld\n", i);
21046 unsigned long i = ulongval ();
21047 if (i != ((long) (sizeof (long long))))
21049 fprintf (f, "%lu\n", i);
21051 exit (ferror (f) || fclose (f) != 0);
21057 rm -f conftest
$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; }; then
21068 ac_cv_sizeof_long_long
=`cat conftest.val`
21070 echo "$as_me: program exited with status $ac_status" >&5
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.
$ac_ext >&5
21074 ( exit $ac_status )
21075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21076 See \`config.log' for more details." >&5
21077 echo "$as_me: error: cannot compute sizeof (long long), 77
21078 See \`config.log' for more details." >&2;}
21079 { (exit 1); exit 1; }; }
21081 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21086 ac_cv_sizeof_long_long
=0
21089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21090 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21091 cat >>confdefs.h
<<_ACEOF
21092 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21096 if test "$ac_cv_sizeof_long_long" != "0"; then
21097 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21101 echo "$as_me:$LINENO: checking for long long" >&5
21102 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21103 if test "${ac_cv_type_long_long+set}" = set; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21106 cat >conftest.
$ac_ext <<_ACEOF
21109 cat confdefs.h
>>conftest.
$ac_ext
21110 cat >>conftest.
$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21116 if ((long long *) 0)
21118 if (sizeof (long long))
21124 rm -f conftest.
$ac_objext
21125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21126 (eval $ac_compile) 2>conftest.er1
21128 grep -v '^ *+' conftest.er1
>conftest.err
21130 cat conftest.err
>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try
='test -z "$ac_cxx_werror_flag"
21134 || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try
='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_cv_type_long_long
=yes
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.
$ac_ext >&5
21151 ac_cv_type_long_long
=no
21153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21155 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21156 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21158 echo "$as_me:$LINENO: checking size of long long" >&5
21159 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21160 if test "${ac_cv_sizeof_long_long+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 if test "$ac_cv_type_long_long" = yes; then
21164 # The cast to unsigned long works around a bug in the HP C Compiler
21165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21167 # This bug is HP SR number 8606223364.
21168 if test "$cross_compiling" = yes; then
21169 # Depending upon the size, compute the lo and hi bounds.
21170 cat >conftest.
$ac_ext <<_ACEOF
21173 cat confdefs.h
>>conftest.
$ac_ext
21174 cat >>conftest.
$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 $ac_includes_default
21180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21187 rm -f conftest.
$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21191 grep -v '^ *+' conftest.er1
>conftest.err
21193 cat conftest.err
>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try
='test -z "$ac_cxx_werror_flag"
21197 || test ! -s conftest.err'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try
='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21211 cat >conftest.
$ac_ext <<_ACEOF
21214 cat confdefs.h
>>conftest.
$ac_ext
21215 cat >>conftest.
$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 $ac_includes_default
21221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21228 rm -f conftest.
$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>conftest.er1
21232 grep -v '^ *+' conftest.er1
>conftest.err
21234 cat conftest.err
>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try
='test -z "$ac_cxx_werror_flag"
21238 || test ! -s conftest.err'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; } &&
21244 { ac_try
='test -s conftest.$ac_objext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_hi
=$ac_mid; break
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.
$ac_ext >&5
21255 ac_lo
=`expr $ac_mid + 1`
21256 if test $ac_lo -le $ac_mid; then
21260 ac_mid
=`expr 2 '*' $ac_mid + 1`
21262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21285 rm -f conftest.
$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21289 grep -v '^ *+' conftest.er1
>conftest.err
21291 cat conftest.err
>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try
='test -z "$ac_cxx_werror_flag"
21295 || test ! -s conftest.err'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try
='test -s conftest.$ac_objext'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; }; then
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"
21336 || test ! -s conftest.err'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; } &&
21342 { ac_try
='test -s conftest.$ac_objext'
21343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21344 (eval $ac_try) 2>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; }; then
21348 ac_lo
=$ac_mid; break
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.
$ac_ext >&5
21353 ac_hi
=`expr '(' $ac_mid ')' - 1`
21354 if test $ac_mid -le $ac_hi; then
21358 ac_mid
=`expr 2 '*' $ac_mid`
21360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21371 # Binary search between lo and hi bounds.
21372 while test "x$ac_lo" != "x$ac_hi"; do
21373 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21374 cat >conftest.
$ac_ext <<_ACEOF
21377 cat confdefs.h
>>conftest.
$ac_ext
21378 cat >>conftest.
$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21380 $ac_includes_default
21384 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21391 rm -f conftest.
$ac_objext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21393 (eval $ac_compile) 2>conftest.er1
21395 grep -v '^ *+' conftest.er1
>conftest.err
21397 cat conftest.err
>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try
='test -z "$ac_cxx_werror_flag"
21401 || test ! -s conftest.err'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try
='test -s conftest.$ac_objext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.
$ac_ext >&5
21418 ac_lo
=`expr '(' $ac_mid ')' + 1`
21420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21423 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21425 See \`config.log' for more details." >&5
21426 echo "$as_me: error: cannot compute sizeof (long long), 77
21427 See \`config.log' for more details." >&2;}
21428 { (exit 1); exit 1; }; } ;;
21431 if test "$cross_compiling" = yes; then
21432 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21433 See \`config.log' for more details." >&5
21434 echo "$as_me: error: cannot run test program while cross compiling
21435 See \`config.log' for more details." >&2;}
21436 { (exit 1); exit 1; }; }
21438 cat >conftest.
$ac_ext <<_ACEOF
21441 cat confdefs.h
>>conftest.
$ac_ext
21442 cat >>conftest.
$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21445 long longval () { return (long) (sizeof (long long)); }
21446 unsigned long ulongval () { return (long) (sizeof (long long)); }
21448 #include <stdlib.h>
21453 FILE *f = fopen ("conftest.val", "w");
21456 if (((long) (sizeof (long long))) < 0)
21458 long i = longval ();
21459 if (i != ((long) (sizeof (long long))))
21461 fprintf (f, "%ld\n", i);
21465 unsigned long i = ulongval ();
21466 if (i != ((long) (sizeof (long long))))
21468 fprintf (f, "%lu\n", i);
21470 exit (ferror (f) || fclose (f) != 0);
21476 rm -f conftest
$ac_exeext
21477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21478 (eval $ac_link) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 ac_cv_sizeof_long_long
=`cat conftest.val`
21489 echo "$as_me: program exited with status $ac_status" >&5
21490 echo "$as_me: failed program was:" >&5
21491 sed 's/^/| /' conftest.
$ac_ext >&5
21493 ( exit $ac_status )
21494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21495 See \`config.log' for more details." >&5
21496 echo "$as_me: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&2;}
21498 { (exit 1); exit 1; }; }
21500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21505 ac_cv_sizeof_long_long
=0
21508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21509 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21510 cat >>confdefs.h
<<_ACEOF
21511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21517 echo "$as_me:$LINENO: checking for wchar_t" >&5
21518 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21519 if test "${ac_cv_type_wchar_t+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 cat >conftest.
$ac_ext <<_ACEOF
21525 cat confdefs.h
>>conftest.
$ac_ext
21526 cat >>conftest.
$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21529 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21530 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21531 # error "fake wchar_t"
21533 #ifdef HAVE_WCHAR_H
21535 # include <stddef.h>
21537 # include <wchar.h>
21539 #ifdef HAVE_STDLIB_H
21540 # include <stdlib.h>
21551 if (sizeof (wchar_t))
21557 rm -f conftest.
$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21561 grep -v '^ *+' conftest.er1
>conftest.err
21563 cat conftest.err
>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try
='test -z "$ac_cxx_werror_flag"
21567 || test ! -s conftest.err'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; } &&
21573 { ac_try
='test -s conftest.$ac_objext'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; }; then
21579 ac_cv_type_wchar_t
=yes
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.
$ac_ext >&5
21584 ac_cv_type_wchar_t
=no
21586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21588 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21589 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21591 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21592 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21593 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 if test "$ac_cv_type_wchar_t" = yes; then
21597 # The cast to unsigned long works around a bug in the HP C Compiler
21598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21600 # This bug is HP SR number 8606223364.
21601 if test "$cross_compiling" = yes; then
21602 # Depending upon the size, compute the lo and hi bounds.
21603 cat >conftest.
$ac_ext <<_ACEOF
21606 cat confdefs.h
>>conftest.
$ac_ext
21607 cat >>conftest.
$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21610 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21611 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21612 # error "fake wchar_t"
21614 #ifdef HAVE_WCHAR_H
21616 # include <stddef.h>
21618 # include <wchar.h>
21620 #ifdef HAVE_STDLIB_H
21621 # include <stdlib.h>
21630 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21637 rm -f conftest.
$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21641 grep -v '^ *+' conftest.er1
>conftest.err
21643 cat conftest.err
>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -z "$ac_cxx_werror_flag"
21647 || test ! -s conftest.err'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; } &&
21653 { ac_try
='test -s conftest.$ac_objext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21661 cat >conftest.
$ac_ext <<_ACEOF
21664 cat confdefs.h
>>conftest.
$ac_ext
21665 cat >>conftest.
$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21668 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21669 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21670 # error "fake wchar_t"
21672 #ifdef HAVE_WCHAR_H
21674 # include <stddef.h>
21676 # include <wchar.h>
21678 #ifdef HAVE_STDLIB_H
21679 # include <stdlib.h>
21688 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21695 rm -f conftest.
$ac_objext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21697 (eval $ac_compile) 2>conftest.er1
21699 grep -v '^ *+' conftest.er1
>conftest.err
21701 cat conftest.err
>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try
='test -z "$ac_cxx_werror_flag"
21705 || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try
='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_hi
=$ac_mid; break
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.
$ac_ext >&5
21722 ac_lo
=`expr $ac_mid + 1`
21723 if test $ac_lo -le $ac_mid; then
21727 ac_mid
=`expr 2 '*' $ac_mid + 1`
21729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21732 echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.
$ac_ext >&5
21735 cat >conftest.
$ac_ext <<_ACEOF
21738 cat confdefs.h
>>conftest.
$ac_ext
21739 cat >>conftest.
$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21744 # error "fake wchar_t"
21746 #ifdef HAVE_WCHAR_H
21748 # include <stddef.h>
21750 # include <wchar.h>
21752 #ifdef HAVE_STDLIB_H
21753 # include <stdlib.h>
21762 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21769 rm -f conftest.
$ac_objext
21770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21771 (eval $ac_compile) 2>conftest.er1
21773 grep -v '^ *+' conftest.er1
>conftest.err
21775 cat conftest.err
>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try
='test -z "$ac_cxx_werror_flag"
21779 || test ! -s conftest.err'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try
='test -s conftest.$ac_objext'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21800 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21801 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21802 # error "fake wchar_t"
21804 #ifdef HAVE_WCHAR_H
21806 # include <stddef.h>
21808 # include <wchar.h>
21810 #ifdef HAVE_STDLIB_H
21811 # include <stdlib.h>
21820 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21827 rm -f conftest.
$ac_objext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21829 (eval $ac_compile) 2>conftest.er1
21831 grep -v '^ *+' conftest.er1
>conftest.err
21833 cat conftest.err
>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try
='test -z "$ac_cxx_werror_flag"
21837 || test ! -s conftest.err'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try
='test -s conftest.$ac_objext'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_lo
=$ac_mid; break
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.
$ac_ext >&5
21854 ac_hi
=`expr '(' $ac_mid ')' - 1`
21855 if test $ac_mid -le $ac_hi; then
21859 ac_mid
=`expr 2 '*' $ac_mid`
21861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21872 # Binary search between lo and hi bounds.
21873 while test "x$ac_lo" != "x$ac_hi"; do
21874 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21875 cat >conftest.
$ac_ext <<_ACEOF
21878 cat confdefs.h
>>conftest.
$ac_ext
21879 cat >>conftest.
$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21882 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21883 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21884 # error "fake wchar_t"
21886 #ifdef HAVE_WCHAR_H
21888 # include <stddef.h>
21890 # include <wchar.h>
21892 #ifdef HAVE_STDLIB_H
21893 # include <stdlib.h>
21902 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21909 rm -f conftest.
$ac_objext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21911 (eval $ac_compile) 2>conftest.er1
21913 grep -v '^ *+' conftest.er1
>conftest.err
21915 cat conftest.err
>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try
='test -z "$ac_cxx_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try
='test -s conftest.$ac_objext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.
$ac_ext >&5
21936 ac_lo
=`expr '(' $ac_mid ')' + 1`
21938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21941 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21942 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21943 See \`config.log' for more details." >&5
21944 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21945 See \`config.log' for more details." >&2;}
21946 { (exit 1); exit 1; }; } ;;
21949 if test "$cross_compiling" = yes; then
21950 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21951 See \`config.log' for more details." >&5
21952 echo "$as_me: error: cannot run test program while cross compiling
21953 See \`config.log' for more details." >&2;}
21954 { (exit 1); exit 1; }; }
21956 cat >conftest.
$ac_ext <<_ACEOF
21959 cat confdefs.h
>>conftest.
$ac_ext
21960 cat >>conftest.
$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21963 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21964 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21965 # error "fake wchar_t"
21967 #ifdef HAVE_WCHAR_H
21969 # include <stddef.h>
21971 # include <wchar.h>
21973 #ifdef HAVE_STDLIB_H
21974 # include <stdlib.h>
21980 long longval () { return (long) (sizeof (wchar_t)); }
21981 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21983 #include <stdlib.h>
21988 FILE *f = fopen ("conftest.val", "w");
21991 if (((long) (sizeof (wchar_t))) < 0)
21993 long i = longval ();
21994 if (i != ((long) (sizeof (wchar_t))))
21996 fprintf (f, "%ld\n", i);
22000 unsigned long i = ulongval ();
22001 if (i != ((long) (sizeof (wchar_t))))
22003 fprintf (f, "%lu\n", i);
22005 exit (ferror (f) || fclose (f) != 0);
22011 rm -f conftest
$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22024 echo "$as_me: program exited with status $ac_status" >&5
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.
$ac_ext >&5
22028 ( exit $ac_status )
22029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22030 See \`config.log' for more details." >&5
22031 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22032 See \`config.log' for more details." >&2;}
22033 { (exit 1); exit 1; }; }
22035 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22040 ac_cv_sizeof_wchar_t
=0
22043 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22044 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22045 cat >>confdefs.h
<<_ACEOF
22046 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22050 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22056 echo "$as_me:$LINENO: checking for va_copy" >&5
22057 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22058 if test "${wx_cv_func_va_copy+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22062 cat >conftest.
$ac_ext <<_ACEOF
22064 #include <stdarg.h>
22065 void foo(char *f, ...)
22079 rm -f conftest.
$ac_objext conftest
$ac_exeext
22080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22081 (eval $ac_link) 2>conftest.er1
22083 grep -v '^ *+' conftest.er1
>conftest.err
22085 cat conftest.err
>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } &&
22088 { ac_try
='test -z "$ac_cxx_werror_flag"
22089 || test ! -s conftest.err'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; } &&
22095 { ac_try
='test -s conftest$ac_exeext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 wx_cv_func_va_copy
=yes
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.
$ac_ext >&5
22106 wx_cv_func_va_copy
=no
22109 rm -f conftest.err conftest.
$ac_objext \
22110 conftest
$ac_exeext conftest.
$ac_ext
22114 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22115 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22117 if test $wx_cv_func_va_copy = "yes"; then
22118 cat >>confdefs.h
<<\_ACEOF
22119 #define HAVE_VA_COPY 1
22123 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22124 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22125 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22129 if test "$cross_compiling" = yes; then
22130 wx_cv_type_va_list_lvalue
=yes
22133 cat >conftest.
$ac_ext <<_ACEOF
22135 #include <stdarg.h>
22136 int foo(char *f, ...)
22141 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22149 return foo("hi", 17);
22152 rm -f conftest
$ac_exeext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22154 (eval $ac_link) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; }; then
22163 wx_cv_type_va_list_lvalue
=yes
22165 echo "$as_me: program exited with status $ac_status" >&5
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.
$ac_ext >&5
22169 ( exit $ac_status )
22170 wx_cv_type_va_list_lvalue
=no
22172 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22177 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22178 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22180 if test $wx_cv_type_va_list_lvalue != "yes"; then
22181 cat >>confdefs.h
<<\_ACEOF
22182 #define VA_LIST_IS_ARRAY 1
22188 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22189 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22190 if test "${wx_cv_have_variadic_macros+set}" = set; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 cat >conftest.
$ac_ext <<_ACEOF
22197 cat confdefs.h
>>conftest.
$ac_ext
22198 cat >>conftest.
$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22202 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22208 test("%s %d %p", "test", 1, 0);
22215 rm -f conftest.
$ac_objext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22217 (eval $ac_compile) 2>conftest.er1
22219 grep -v '^ *+' conftest.er1
>conftest.err
22221 cat conftest.err
>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); } &&
22224 { ac_try
='test -z "$ac_cxx_werror_flag"
22225 || test ! -s conftest.err'
22226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227 (eval $ac_try) 2>&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; } &&
22231 { ac_try
='test -s conftest.$ac_objext'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; }; then
22237 wx_cv_have_variadic_macros
=yes
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.
$ac_ext >&5
22242 wx_cv_have_variadic_macros
=no
22245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22249 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22250 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22252 if test $wx_cv_have_variadic_macros = "yes"; then
22253 cat >>confdefs.h
<<\_ACEOF
22254 #define HAVE_VARIADIC_MACROS 1
22259 # Check whether --enable-largefile or --disable-largefile was given.
22260 if test "${enable_largefile+set}" = set; then
22261 enableval
="$enable_largefile"
22264 if test "$enable_largefile" != no
; then
22267 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22268 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22269 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #define _FILE_OFFSET_BITS 64
22280 #include <sys/types.h>
22285 unsigned int field: sizeof(off_t) == 8;
22292 rm -f conftest.
$ac_objext
22293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22294 (eval $ac_compile) 2>conftest.er1
22296 grep -v '^ *+' conftest.er1
>conftest.err
22298 cat conftest.err
>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } &&
22301 { ac_try
='test -z "$ac_cxx_werror_flag"
22302 || test ! -s conftest.err'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; } &&
22308 { ac_try
='test -s conftest.$ac_objext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22314 ac_cv_sys_file_offset_bits
=64
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.
$ac_ext >&5
22319 ac_cv_sys_file_offset_bits
=no
22321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22325 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22326 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22328 if test "$ac_cv_sys_file_offset_bits" != no
; then
22330 cat >>confdefs.h
<<_ACEOF
22331 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22336 if test "x$wx_largefile" != "xyes"; then
22338 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22339 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22340 if test "${ac_cv_sys_large_files+set}" = set; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 cat >conftest.
$ac_ext <<_ACEOF
22347 cat confdefs.h
>>conftest.
$ac_ext
22348 cat >>conftest.
$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350 #define _LARGE_FILES 1
22351 #include <sys/types.h>
22356 unsigned int field: sizeof(off_t) == 8;
22363 rm -f conftest.
$ac_objext
22364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22365 (eval $ac_compile) 2>conftest.er1
22367 grep -v '^ *+' conftest.er1
>conftest.err
22369 cat conftest.err
>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try
='test -z "$ac_cxx_werror_flag"
22373 || test ! -s conftest.err'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; } &&
22379 { ac_try
='test -s conftest.$ac_objext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_sys_large_files
=1
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.
$ac_ext >&5
22390 ac_cv_sys_large_files
=no
22392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22396 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22397 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22399 if test "$ac_cv_sys_large_files" != no
; then
22401 cat >>confdefs.h
<<_ACEOF
22402 #define _LARGE_FILES $ac_cv_sys_large_files
22409 echo "$as_me:$LINENO: checking if large file support is available" >&5
22410 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22411 if test "x$wx_largefile" = "xyes"; then
22412 cat >>confdefs.h
<<\_ACEOF
22413 #define HAVE_LARGEFILE_SUPPORT 1
22417 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22418 echo "${ECHO_T}$wx_largefile" >&6
22422 if test "x$wx_largefile" = "xyes"; then
22423 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22424 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22426 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22427 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22428 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22429 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 cat >conftest.
$ac_ext <<_ACEOF
22436 cat confdefs.h
>>conftest.
$ac_ext
22437 cat >>conftest.
$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22444 #ifndef __STDC_EXT__
22452 rm -f conftest.
$ac_objext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22454 (eval $ac_compile) 2>conftest.er1
22456 grep -v '^ *+' conftest.er1
>conftest.err
22458 cat conftest.err
>&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } &&
22461 { ac_try
='test -z "$ac_cxx_werror_flag"
22462 || test ! -s conftest.err'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try
='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 wx_cv_STDC_EXT_required
=no
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.
$ac_ext >&5
22479 wx_cv_STDC_EXT_required
=yes
22482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22486 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22487 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22488 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22489 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22493 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22495 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22496 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22497 if test "${ac_cv_sys_largefile_source+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 ac_cv_sys_largefile_source
=no
22502 cat >conftest.
$ac_ext <<_ACEOF
22505 cat confdefs.h
>>conftest.
$ac_ext
22506 cat >>conftest.
$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22517 rm -f conftest.
$ac_objext
22518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22519 (eval $ac_compile) 2>conftest.er1
22521 grep -v '^ *+' conftest.er1
>conftest.err
22523 cat conftest.err
>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } &&
22526 { ac_try
='test -z "$ac_cxx_werror_flag"
22527 || test ! -s conftest.err'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try
='test -s conftest.$ac_objext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.
$ac_ext >&5
22545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #define _LARGEFILE_SOURCE 1
22562 rm -f conftest.
$ac_objext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22564 (eval $ac_compile) 2>conftest.er1
22566 grep -v '^ *+' conftest.er1
>conftest.err
22568 cat conftest.err
>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try
='test -z "$ac_cxx_werror_flag"
22572 || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try
='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_cv_sys_largefile_source
=1; break
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.
$ac_ext >&5
22590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22594 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22595 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22596 if test "$ac_cv_sys_largefile_source" != no
; then
22598 cat >>confdefs.h
<<_ACEOF
22599 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22605 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22606 # in glibc 2.1.3, but that breaks too many other things.
22607 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22608 echo "$as_me:$LINENO: checking for fseeko" >&5
22609 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22610 if test "${ac_cv_func_fseeko+set}" = set; then
22611 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 cat >conftest.
$ac_ext <<_ACEOF
22616 cat confdefs.h
>>conftest.
$ac_ext
22617 cat >>conftest.
$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22623 return fseeko && fseeko (stdin, 0, 0);
22628 rm -f conftest.
$ac_objext conftest
$ac_exeext
22629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22630 (eval $ac_link) 2>conftest.er1
22632 grep -v '^ *+' conftest.er1
>conftest.err
22634 cat conftest.err
>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } &&
22637 { ac_try
='test -z "$ac_cxx_werror_flag"
22638 || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try
='test -s conftest$ac_exeext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_cv_func_fseeko
=yes
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22655 ac_cv_func_fseeko
=no
22657 rm -f conftest.err conftest.
$ac_objext \
22658 conftest
$ac_exeext conftest.
$ac_ext
22660 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22661 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22662 if test $ac_cv_func_fseeko = yes; then
22664 cat >>confdefs.h
<<\_ACEOF
22665 #define HAVE_FSEEKO 1
22670 if test "$ac_cv_sys_largefile_source" != no
; then
22671 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22675 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22676 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22677 if test "${ac_cv_c_bigendian+set}" = set; then
22678 echo $ECHO_N "(cached) $ECHO_C" >&6
22680 ac_cv_c_bigendian
=unknown
22681 # See if sys/param.h defines the BYTE_ORDER macro.
22682 cat >conftest.
$ac_ext <<_ACEOF
22685 cat confdefs.h
>>conftest.
$ac_ext
22686 cat >>conftest.
$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 #include <sys/types.h>
22689 #include <sys/param.h>
22694 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22695 bogus endian macros
22701 rm -f conftest.
$ac_objext
22702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22703 (eval $ac_compile) 2>conftest.er1
22705 grep -v '^ *+' conftest.er1
>conftest.err
22707 cat conftest.err
>&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); } &&
22710 { ac_try
='test -z "$ac_cxx_werror_flag"
22711 || test ! -s conftest.err'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; } &&
22717 { ac_try
='test -s conftest.$ac_objext'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 # It does; now see whether it defined to BIG_ENDIAN or not.
22724 cat >conftest.
$ac_ext <<_ACEOF
22727 cat confdefs.h
>>conftest.
$ac_ext
22728 cat >>conftest.
$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 #include <sys/types.h>
22731 #include <sys/param.h>
22736 #if BYTE_ORDER != BIG_ENDIAN
22743 rm -f conftest.
$ac_objext
22744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22745 (eval $ac_compile) 2>conftest.er1
22747 grep -v '^ *+' conftest.er1
>conftest.err
22749 cat conftest.err
>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } &&
22752 { ac_try
='test -z "$ac_cxx_werror_flag"
22753 || test ! -s conftest.err'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; } &&
22759 { ac_try
='test -s conftest.$ac_objext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_cv_c_bigendian
=yes
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.
$ac_ext >&5
22770 ac_cv_c_bigendian
=no
22772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.
$ac_ext >&5
22778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22779 if test $ac_cv_c_bigendian = unknown
; then
22780 if test "$cross_compiling" = yes; then
22781 ac_cv_c_bigendian
=unknown
22783 cat >conftest.
$ac_ext <<_ACEOF
22786 cat confdefs.h
>>conftest.
$ac_ext
22787 cat >>conftest.
$ac_ext <<_ACEOF
22788 /* end confdefs.h. */
22790 /* Are we little or big endian? From Harbison&Steele. */
22794 char c[sizeof (long)];
22797 exit (u.c[sizeof (long) - 1] == 1);
22800 rm -f conftest
$ac_exeext
22801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22802 (eval $ac_link) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_c_bigendian
=no
22813 echo "$as_me: program exited with status $ac_status" >&5
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.
$ac_ext >&5
22817 ( exit $ac_status )
22818 ac_cv_c_bigendian
=yes
22820 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22824 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22826 if test $ac_cv_c_bigendian = unknown
; then
22827 { 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
22828 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;}
22830 if test $ac_cv_c_bigendian = yes; then
22831 cat >>confdefs.h
<<\_ACEOF
22832 #define WORDS_BIGENDIAN 1
22842 ac_cpp
='$CXXCPP $CPPFLAGS'
22843 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22849 for ac_header
in iostream
22851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22853 echo "$as_me:$LINENO: checking for $ac_header" >&5
22854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22861 # Is the header compilable?
22862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22864 cat >conftest.
$ac_ext <<_ACEOF
22867 cat confdefs.h
>>conftest.
$ac_ext
22868 cat >>conftest.
$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 $ac_includes_default
22871 #include <$ac_header>
22873 rm -f conftest.
$ac_objext
22874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22875 (eval $ac_compile) 2>conftest.er1
22877 grep -v '^ *+' conftest.er1
>conftest.err
22879 cat conftest.err
>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } &&
22882 { ac_try
='test -z "$ac_cxx_werror_flag"
22883 || test ! -s conftest.err'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; } &&
22889 { ac_try
='test -s conftest.$ac_objext'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; }; then
22895 ac_header_compiler
=yes
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.
$ac_ext >&5
22900 ac_header_compiler
=no
22902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22904 echo "${ECHO_T}$ac_header_compiler" >&6
22906 # Is the header present?
22907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22909 cat >conftest.
$ac_ext <<_ACEOF
22912 cat confdefs.h
>>conftest.
$ac_ext
22913 cat >>conftest.
$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 #include <$ac_header>
22917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22920 grep -v '^ *+' conftest.er1
>conftest.err
22922 cat conftest.err
>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } >/dev
/null
; then
22925 if test -s conftest.err
; then
22926 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22927 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22934 if test -z "$ac_cpp_err"; then
22935 ac_header_preproc
=yes
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.
$ac_ext >&5
22940 ac_header_preproc
=no
22942 rm -f conftest.err conftest.
$ac_ext
22943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22944 echo "${ECHO_T}$ac_header_preproc" >&6
22946 # So? What about this header?
22947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22953 ac_header_preproc
=yes
22956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22970 ## ----------------------------------------- ##
22971 ## Report this to wx-dev@lists.wxwidgets.org ##
22972 ## ----------------------------------------- ##
22975 sed "s/^/$as_me: WARNING: /" >&2
22978 echo "$as_me:$LINENO: checking for $ac_header" >&5
22979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22981 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 eval "$as_ac_Header=\$ac_header_preproc"
22985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22990 cat >>confdefs.h
<<_ACEOF
22991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22999 if test "$ac_cv_header_iostream" = "yes" ; then
23002 cat >>confdefs.h
<<\_ACEOF
23003 #define wxUSE_IOSTREAMH 1
23009 ac_cpp
='$CXXCPP $CPPFLAGS'
23010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23017 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23018 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23019 if test "${wx_cv_cpp_bool+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 ac_cpp
='$CXXCPP $CPPFLAGS'
23027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23032 cat >conftest.
$ac_ext <<_ACEOF
23035 cat confdefs.h
>>conftest.
$ac_ext
23036 cat >>conftest.
$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23052 rm -f conftest.
$ac_objext
23053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23054 (eval $ac_compile) 2>conftest.er1
23056 grep -v '^ *+' conftest.er1
>conftest.err
23058 cat conftest.err
>&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try
='test -z "$ac_cxx_werror_flag"
23062 || test ! -s conftest.err'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; } &&
23068 { ac_try
='test -s conftest.$ac_objext'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; }; then
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.
$ac_ext >&5
23086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23089 ac_cpp
='$CXXCPP $CPPFLAGS'
23090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23096 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23097 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23099 if test "$wx_cv_cpp_bool" = "yes"; then
23100 cat >>confdefs.h
<<\_ACEOF
23101 #define HAVE_BOOL 1
23108 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23109 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23110 if test "${wx_cv_explicit+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 ac_cpp
='$CXXCPP $CPPFLAGS'
23118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23123 cat >conftest.
$ac_ext <<_ACEOF
23126 cat confdefs.h
>>conftest.
$ac_ext
23127 cat >>conftest.
$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23130 class Foo { public: explicit Foo(int) {} };
23142 rm -f conftest.
$ac_objext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23144 (eval $ac_compile) 2>conftest.er1
23146 grep -v '^ *+' conftest.er1
>conftest.err
23148 cat conftest.err
>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try
='test -z "$ac_cxx_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try
='test -s conftest.$ac_objext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23165 cat >conftest.
$ac_ext <<_ACEOF
23168 cat confdefs.h
>>conftest.
$ac_ext
23169 cat >>conftest.
$ac_ext <<_ACEOF
23170 /* end confdefs.h. */
23172 class Foo { public: explicit Foo(int) {} };
23173 static void TakeFoo(const Foo& foo) { }
23186 rm -f conftest.
$ac_objext
23187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23188 (eval $ac_compile) 2>conftest.er1
23190 grep -v '^ *+' conftest.er1
>conftest.err
23192 cat conftest.err
>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try
='test -z "$ac_cxx_werror_flag"
23196 || test ! -s conftest.err'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; } &&
23202 { ac_try
='test -s conftest.$ac_objext'
23203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23204 (eval $ac_try) 2>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.
$ac_ext >&5
23216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.
$ac_ext >&5
23225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23228 ac_cpp
='$CXXCPP $CPPFLAGS'
23229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23235 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23236 echo "${ECHO_T}$wx_cv_explicit" >&6
23238 if test "$wx_cv_explicit" = "yes"; then
23239 cat >>confdefs.h
<<\_ACEOF
23240 #define HAVE_EXPLICIT 1
23246 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23247 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23248 if test "${ac_cv_cxx_const_cast+set}" = set; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 ac_cpp
='$CXXCPP $CPPFLAGS'
23255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23269 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23274 rm -f conftest.
$ac_objext
23275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23276 (eval $ac_compile) 2>conftest.er1
23278 grep -v '^ *+' conftest.er1
>conftest.err
23280 cat conftest.err
>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } &&
23283 { ac_try
='test -z "$ac_cxx_werror_flag"
23284 || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try
='test -s conftest.$ac_objext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 ac_cv_cxx_const_cast
=yes
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.
$ac_ext >&5
23301 ac_cv_cxx_const_cast
=no
23303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23305 ac_cpp
='$CXXCPP $CPPFLAGS'
23306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23312 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23313 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23314 if test "$ac_cv_cxx_const_cast" = yes; then
23316 cat >>confdefs.h
<<\_ACEOF
23317 #define HAVE_CONST_CAST
23322 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23323 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23324 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23330 ac_cpp
='$CXXCPP $CPPFLAGS'
23331 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23335 cat >conftest.
$ac_ext <<_ACEOF
23338 cat confdefs.h
>>conftest.
$ac_ext
23339 cat >>conftest.
$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <typeinfo>
23342 class Base { public : Base () {} virtual void f () = 0;};
23343 class Derived : public Base { public : Derived () {} virtual void f () {} };
23344 class Unrelated { public : Unrelated () {} };
23345 int g (Unrelated&) { return 0; }
23350 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23355 rm -f conftest.
$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23359 grep -v '^ *+' conftest.er1
>conftest.err
23361 cat conftest.err
>&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try
='test -z "$ac_cxx_werror_flag"
23365 || test ! -s conftest.err'
23366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23367 (eval $ac_try) 2>&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); }; } &&
23371 { ac_try
='test -s conftest.$ac_objext'
23372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23373 (eval $ac_try) 2>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); }; }; then
23377 ac_cv_cxx_reinterpret_cast
=yes
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.
$ac_ext >&5
23382 ac_cv_cxx_reinterpret_cast
=no
23384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23386 ac_cpp
='$CXXCPP $CPPFLAGS'
23387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23393 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23394 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23395 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23397 cat >>confdefs.h
<<\_ACEOF
23398 #define HAVE_REINTERPRET_CAST
23403 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23404 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23405 if test "${ac_cv_cxx_static_cast+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 ac_cpp
='$CXXCPP $CPPFLAGS'
23412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23416 cat >conftest.
$ac_ext <<_ACEOF
23419 cat confdefs.h
>>conftest.
$ac_ext
23420 cat >>conftest.
$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23422 #include <typeinfo>
23423 class Base { public : Base () {} virtual void f () = 0; };
23424 class Derived : public Base { public : Derived () {} virtual void f () {} };
23425 int g (Derived&) { return 0; }
23430 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23435 rm -f conftest.
$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>conftest.er1
23439 grep -v '^ *+' conftest.er1
>conftest.err
23441 cat conftest.err
>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try
='test -z "$ac_cxx_werror_flag"
23445 || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try
='test -s conftest.$ac_objext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_cxx_static_cast
=yes
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.
$ac_ext >&5
23462 ac_cv_cxx_static_cast
=no
23464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23466 ac_cpp
='$CXXCPP $CPPFLAGS'
23467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23473 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23474 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23475 if test "$ac_cv_cxx_static_cast" = yes; then
23477 cat >>confdefs.h
<<\_ACEOF
23478 #define HAVE_STATIC_CAST
23484 if test "x$SUNCXX" = xyes
; then
23485 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23488 if test "x$SUNCC" = xyes
; then
23489 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23492 if test "x$SGICC" = "xyes"; then
23493 CFLAGS
="-woff 3970 $CFLAGS"
23495 if test "x$SGICXX" = "xyes"; then
23496 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23499 if test "x$HPCC" = "xyes"; then
23500 CFLAGS
="+W 2011,2450 $CFLAGS"
23502 if test "x$HPCXX" = "xyes"; then
23503 CXXFLAGS
="+W 2340 $CXXFLAGS"
23506 if test "x$COMPAQCXX" = "xyes"; then
23507 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23510 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23511 if test "$wxUSE_UNICODE" = "yes"; then
23512 std_string
="std::wstring"
23513 char_type
="wchar_t"
23515 std_string
="std::string"
23519 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23520 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23521 cat >conftest.
$ac_ext <<_ACEOF
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23536 rm -f conftest.
$ac_objext
23537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23538 (eval $ac_compile) 2>conftest.er1
23540 grep -v '^ *+' conftest.er1
>conftest.err
23542 cat conftest.err
>&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } &&
23545 { ac_try
='test -z "$ac_cxx_werror_flag"
23546 || test ! -s conftest.err'
23547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23548 (eval $ac_try) 2>&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); }; } &&
23552 { ac_try
='test -s conftest.$ac_objext'
23553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23554 (eval $ac_try) 2>&5
23556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); }; }; then
23558 echo "$as_me:$LINENO: result: yes" >&5
23559 echo "${ECHO_T}yes" >&6
23560 cat >>confdefs.h
<<\_ACEOF
23561 #define HAVE_STD_WSTRING 1
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23568 echo "$as_me:$LINENO: result: no" >&5
23569 echo "${ECHO_T}no" >&6
23570 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23571 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23572 cat >conftest.
$ac_ext <<_ACEOF
23575 cat confdefs.h
>>conftest.
$ac_ext
23576 cat >>conftest.
$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23579 #ifdef HAVE_WCHAR_H
23581 # include <stddef.h>
23583 # include <wchar.h>
23585 #ifdef HAVE_STDLIB_H
23586 # include <stdlib.h>
23594 std::basic_string<$char_type> foo;
23595 const $char_type* dummy = foo.c_str();
23600 rm -f conftest.
$ac_objext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23602 (eval $ac_compile) 2>conftest.er1
23604 grep -v '^ *+' conftest.er1
>conftest.err
23606 cat conftest.err
>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } &&
23609 { ac_try
='test -z "$ac_cxx_werror_flag"
23610 || test ! -s conftest.err'
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); }; } &&
23616 { ac_try
='test -s conftest.$ac_objext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23622 echo "$as_me:$LINENO: result: yes" >&5
23623 echo "${ECHO_T}yes" >&6
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.
$ac_ext >&5
23628 echo "$as_me:$LINENO: result: no" >&5
23629 echo "${ECHO_T}no" >&6
23630 if test "$wxUSE_STL" = "yes"; then
23631 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23632 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23633 { (exit 1); exit 1; }; }
23634 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23635 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23636 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23637 { (exit 1); exit 1; }; }
23639 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23640 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23641 wxUSE_STD_STRING
=no
23646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23652 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23653 echo "$as_me:$LINENO: checking for std::istream" >&5
23654 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23655 if test "${ac_cv_type_std__istream+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 cat >conftest.
$ac_ext <<_ACEOF
23661 cat confdefs.h
>>conftest.
$ac_ext
23662 cat >>conftest.
$ac_ext <<_ACEOF
23663 /* end confdefs.h. */
23664 #include <iostream>
23669 if ((std::istream *) 0)
23671 if (sizeof (std::istream))
23677 rm -f conftest.
$ac_objext
23678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23679 (eval $ac_compile) 2>conftest.er1
23681 grep -v '^ *+' conftest.er1
>conftest.err
23683 cat conftest.err
>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try
='test -z "$ac_cxx_werror_flag"
23687 || test ! -s conftest.err'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; } &&
23693 { ac_try
='test -s conftest.$ac_objext'
23694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 ac_cv_type_std__istream
=yes
23701 echo "$as_me: failed program was:" >&5
23702 sed 's/^/| /' conftest.
$ac_ext >&5
23704 ac_cv_type_std__istream
=no
23706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23708 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23709 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23710 if test $ac_cv_type_std__istream = yes; then
23712 cat >>confdefs.h
<<_ACEOF
23713 #define HAVE_STD__ISTREAM 1
23718 wxUSE_STD_IOSTREAM
=no
23720 echo "$as_me:$LINENO: checking for std::ostream" >&5
23721 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23722 if test "${ac_cv_type_std__ostream+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 cat >conftest.
$ac_ext <<_ACEOF
23728 cat confdefs.h
>>conftest.
$ac_ext
23729 cat >>conftest.
$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <iostream>
23736 if ((std::ostream *) 0)
23738 if (sizeof (std::ostream))
23744 rm -f conftest.
$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23748 grep -v '^ *+' conftest.er1
>conftest.err
23750 cat conftest.err
>&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try
='test -z "$ac_cxx_werror_flag"
23754 || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try
='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_cv_type_std__ostream
=yes
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.
$ac_ext >&5
23771 ac_cv_type_std__ostream
=no
23773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23775 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23776 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23777 if test $ac_cv_type_std__ostream = yes; then
23779 cat >>confdefs.h
<<_ACEOF
23780 #define HAVE_STD__OSTREAM 1
23785 wxUSE_STD_IOSTREAM
=no
23789 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23790 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23791 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23792 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23793 { (exit 1); exit 1; }; }
23795 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23796 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23801 if test "$wxUSE_STL" = "yes"; then
23802 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23803 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23804 cat >conftest.
$ac_ext <<_ACEOF
23807 cat confdefs.h
>>conftest.
$ac_ext
23808 cat >>conftest.
$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23811 #include <functional>
23812 #include <algorithm>
23818 std::vector<int> moo;
23819 std::list<int> foo;
23820 std::vector<int>::iterator it =
23821 std::find_if(moo.begin(), moo.end(),
23822 std::bind2nd(std::less<int>(), 3));
23827 rm -f conftest.
$ac_objext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23829 (eval $ac_compile) 2>conftest.er1
23831 grep -v '^ *+' conftest.er1
>conftest.err
23833 cat conftest.err
>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try
='test -z "$ac_cxx_werror_flag"
23837 || test ! -s conftest.err'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; } &&
23843 { ac_try
='test -s conftest.$ac_objext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849 echo "$as_me:$LINENO: result: yes" >&5
23850 echo "${ECHO_T}yes" >&6
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.
$ac_ext >&5
23855 echo "$as_me:$LINENO: result: no" >&5
23856 echo "${ECHO_T}no" >&6
23857 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23858 echo "$as_me: error: Basic STL functionality missing" >&2;}
23859 { (exit 1); exit 1; }; }
23861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23863 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23864 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23865 cat >conftest.
$ac_ext <<_ACEOF
23868 cat confdefs.h
>>conftest.
$ac_ext
23869 cat >>conftest.
$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23875 std::string foo, bar;
23877 foo.compare(1, 1, bar);
23878 foo.compare(1, 1, bar, 1, 1);
23880 foo.compare(1, 1, "");
23881 foo.compare(1, 1, "", 2);
23886 rm -f conftest.
$ac_objext
23887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23888 (eval $ac_compile) 2>conftest.er1
23890 grep -v '^ *+' conftest.er1
>conftest.err
23892 cat conftest.err
>&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); } &&
23895 { ac_try
='test -z "$ac_cxx_werror_flag"
23896 || test ! -s conftest.err'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; } &&
23902 { ac_try
='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908 echo "$as_me:$LINENO: result: yes" >&5
23909 echo "${ECHO_T}yes" >&6
23910 cat >>confdefs.h
<<\_ACEOF
23911 #define HAVE_STD_STRING_COMPARE 1
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.
$ac_ext >&5
23918 echo "$as_me:$LINENO: result: no" >&5
23919 echo "${ECHO_T}no" >&6
23921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23923 if test "${ac_cv_header_hash_map+set}" = set; then
23924 echo "$as_me:$LINENO: checking for hash_map" >&5
23925 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23926 if test "${ac_cv_header_hash_map+set}" = set; then
23927 echo $ECHO_N "(cached) $ECHO_C" >&6
23929 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23930 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23932 # Is the header compilable?
23933 echo "$as_me:$LINENO: checking hash_map usability" >&5
23934 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23935 cat >conftest.
$ac_ext <<_ACEOF
23938 cat confdefs.h
>>conftest.
$ac_ext
23939 cat >>conftest.
$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 $ac_includes_default
23942 #include <hash_map>
23944 rm -f conftest.
$ac_objext
23945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23946 (eval $ac_compile) 2>conftest.er1
23948 grep -v '^ *+' conftest.er1
>conftest.err
23950 cat conftest.err
>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } &&
23953 { ac_try
='test -z "$ac_cxx_werror_flag"
23954 || test ! -s conftest.err'
23955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956 (eval $ac_try) 2>&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; } &&
23960 { ac_try
='test -s conftest.$ac_objext'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; }; then
23966 ac_header_compiler
=yes
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.
$ac_ext >&5
23971 ac_header_compiler
=no
23973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23975 echo "${ECHO_T}$ac_header_compiler" >&6
23977 # Is the header present?
23978 echo "$as_me:$LINENO: checking hash_map presence" >&5
23979 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23980 cat >conftest.
$ac_ext <<_ACEOF
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 #include <hash_map>
23988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23991 grep -v '^ *+' conftest.er1
>conftest.err
23993 cat conftest.err
>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } >/dev
/null
; then
23996 if test -s conftest.err
; then
23997 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23998 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24005 if test -z "$ac_cpp_err"; then
24006 ac_header_preproc
=yes
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 ac_header_preproc
=no
24013 rm -f conftest.err conftest.
$ac_ext
24014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24015 echo "${ECHO_T}$ac_header_preproc" >&6
24017 # So? What about this header?
24018 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24020 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24021 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24022 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24023 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24024 ac_header_preproc
=yes
24027 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24028 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24029 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24030 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24031 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24032 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24033 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24034 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24036 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24037 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24038 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24041 ## ----------------------------------------- ##
24042 ## Report this to wx-dev@lists.wxwidgets.org ##
24043 ## ----------------------------------------- ##
24046 sed "s/^/$as_me: WARNING: /" >&2
24049 echo "$as_me:$LINENO: checking for hash_map" >&5
24050 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24051 if test "${ac_cv_header_hash_map+set}" = set; then
24052 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 ac_cv_header_hash_map
=$ac_header_preproc
24056 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24057 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24060 if test $ac_cv_header_hash_map = yes; then
24061 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24062 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24063 cat >conftest.
$ac_ext <<_ACEOF
24066 cat confdefs.h
>>conftest.
$ac_ext
24067 cat >>conftest.
$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 #include <hash_map>
24070 #include <hash_set>
24074 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24075 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24080 rm -f conftest.
$ac_objext
24081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24082 (eval $ac_compile) 2>conftest.er1
24084 grep -v '^ *+' conftest.er1
>conftest.err
24086 cat conftest.err
>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try
='test -z "$ac_cxx_werror_flag"
24090 || test ! -s conftest.err'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; } &&
24096 { ac_try
='test -s conftest.$ac_objext'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; }; then
24102 echo "$as_me:$LINENO: result: yes" >&5
24103 echo "${ECHO_T}yes" >&6
24104 cat >>confdefs.h
<<\_ACEOF
24105 #define HAVE_HASH_MAP 1
24108 cat >>confdefs.h
<<\_ACEOF
24109 #define HAVE_STD_HASH_MAP 1
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.
$ac_ext >&5
24116 echo "$as_me:$LINENO: result: no" >&5
24117 echo "${ECHO_T}no" >&6
24119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24125 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24126 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24127 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24128 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24132 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24134 # Is the header compilable?
24135 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24136 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24137 cat >conftest.
$ac_ext <<_ACEOF
24140 cat confdefs.h
>>conftest.
$ac_ext
24141 cat >>conftest.
$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 $ac_includes_default
24144 #include <ext/hash_map>
24146 rm -f conftest.
$ac_objext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>conftest.er1
24150 grep -v '^ *+' conftest.er1
>conftest.err
24152 cat conftest.err
>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try
='test -z "$ac_cxx_werror_flag"
24156 || test ! -s conftest.err'
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); }; } &&
24162 { ac_try
='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 ac_header_compiler
=yes
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.
$ac_ext >&5
24173 ac_header_compiler
=no
24175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24177 echo "${ECHO_T}$ac_header_compiler" >&6
24179 # Is the header present?
24180 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24181 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24182 cat >conftest.
$ac_ext <<_ACEOF
24185 cat confdefs.h
>>conftest.
$ac_ext
24186 cat >>conftest.
$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <ext/hash_map>
24190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24193 grep -v '^ *+' conftest.er1
>conftest.err
24195 cat conftest.err
>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } >/dev
/null
; then
24198 if test -s conftest.err
; then
24199 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24200 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24207 if test -z "$ac_cpp_err"; then
24208 ac_header_preproc
=yes
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.
$ac_ext >&5
24213 ac_header_preproc
=no
24215 rm -f conftest.err conftest.
$ac_ext
24216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24217 echo "${ECHO_T}$ac_header_preproc" >&6
24219 # So? What about this header?
24220 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24222 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24223 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24225 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24226 ac_header_preproc
=yes
24229 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24230 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24231 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24232 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24233 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24234 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24235 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24236 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24238 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24240 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24243 ## ----------------------------------------- ##
24244 ## Report this to wx-dev@lists.wxwidgets.org ##
24245 ## ----------------------------------------- ##
24248 sed "s/^/$as_me: WARNING: /" >&2
24251 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24252 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24253 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24256 ac_cv_header_ext_hash_map
=$ac_header_preproc
24258 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24259 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24262 if test $ac_cv_header_ext_hash_map = yes; then
24263 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24264 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24265 cat >conftest.
$ac_ext <<_ACEOF
24268 cat confdefs.h
>>conftest.
$ac_ext
24269 cat >>conftest.
$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 #include <ext/hash_map>
24272 #include <ext/hash_set>
24276 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24277 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24282 rm -f conftest.
$ac_objext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24284 (eval $ac_compile) 2>conftest.er1
24286 grep -v '^ *+' conftest.er1
>conftest.err
24288 cat conftest.err
>&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try
='test -z "$ac_cxx_werror_flag"
24292 || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try
='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 echo "$as_me:$LINENO: result: yes" >&5
24305 echo "${ECHO_T}yes" >&6
24306 cat >>confdefs.h
<<\_ACEOF
24307 #define HAVE_EXT_HASH_MAP 1
24310 cat >>confdefs.h
<<\_ACEOF
24311 #define HAVE_GNU_CXX_HASH_MAP 1
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 echo "$as_me:$LINENO: result: no" >&5
24319 echo "${ECHO_T}no" >&6
24321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24330 /usr/local/include \
24332 /usr/Motif-2.1/include \
24333 /usr/Motif-1.2/include \
24334 /usr/include/Motif1.2 \
24337 /usr/openwin/include \
24341 /usr/X11R6/include \
24342 /usr/X11R6.4/include \
24343 /usr/X11R5/include \
24344 /usr/X11R4/include \
24346 /usr/include/X11R6 \
24347 /usr/include/X11R5 \
24348 /usr/include/X11R4 \
24350 /usr/local/X11R6/include \
24351 /usr/local/X11R5/include \
24352 /usr/local/X11R4/include \
24354 /usr/local/include/X11R6 \
24355 /usr/local/include/X11R5 \
24356 /usr/local/include/X11R4 \
24360 /usr/local/X11/include \
24361 /usr/local/include/X11 \
24363 /usr/XFree86/include/X11 \
24366 /usr/openwin/share/include"
24368 echo "$as_me:$LINENO: checking for libraries directory" >&5
24369 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24373 if test "${wx_cv_std_libpath+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24378 for e
in a so sl dylib dll.a
; do
24380 if test -f $libc; then
24383 cat >conftest.
$ac_ext <<_ACEOF
24384 int main() { return 0; }
24386 rm -f conftest.
$ac_objext conftest
$ac_exeext
24387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24388 (eval $ac_link) 2>conftest.er1
24390 grep -v '^ *+' conftest.er1
>conftest.err
24392 cat conftest.err
>&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try
='test -z "$ac_cxx_werror_flag"
24396 || test ! -s conftest.err'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; } &&
24402 { ac_try
='test -s conftest$ac_exeext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24408 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.
$ac_ext >&5
24414 rm -f conftest.err conftest.
$ac_objext \
24415 conftest
$ac_exeext conftest.
$ac_ext
24417 if test "x$wx_cv_std_libpath" != "x"; then
24423 if test "x$wx_cv_std_libpath" = "x"; then
24424 wx_cv_std_libpath
="lib"
24433 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24434 wx_cv_std_libpath
="lib/64"
24436 wx_cv_std_libpath
="lib"
24441 if test "$ac_cv_sizeof_void_p" = 8 -a \
24442 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24443 wx_cv_std_libpath
="lib64"
24445 wx_cv_std_libpath
="lib"
24450 wx_cv_std_libpath
="lib";
24454 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24455 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24457 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24459 if test "$build" != "$host" -a "$GCC" = yes; then
24460 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24461 cross_root
=`dirname $cross_root`
24462 cross_root
=`dirname $cross_root`
24464 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24465 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24466 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24468 if test -z "$PKG_CONFIG_PATH"; then
24469 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24470 export PKG_CONFIG_PATH
24473 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24476 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24478 if test -f "$ac_dir/X11/Intrinsic.h"; then
24479 ac_find_includes
=$ac_dir
24484 x_includes
=$ac_find_includes
24486 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24489 for ac_dir
in $SEARCH_LIB;
24491 for ac_extension
in a so sl dylib dll.a
; do
24492 if test -f "$ac_dir/libXt.$ac_extension"; then
24493 ac_find_libraries
=$ac_dir
24499 x_libraries
=$ac_find_libraries
24505 cat >confcache
<<\_ACEOF
24506 # This file is a shell script that caches the results of configure
24507 # tests run on this system so they can be shared between configure
24508 # scripts and configure runs, see configure's option --config-cache.
24509 # It is not useful on other systems. If it contains results you don't
24510 # want to keep, you may remove or edit it.
24512 # config.status only pays attention to the cache file if you give it
24513 # the --recheck option to rerun configure.
24515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24517 # following values.
24521 # The following way of writing the cache mishandles newlines in values,
24522 # but we know of no workaround that is simple, portable, and efficient.
24523 # So, don't put newlines in cache variables' values.
24524 # Ultrix sh set writes to stderr and can't be redirected directly,
24525 # and sets the high bit in the cache file unless we assign to the vars.
24528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24530 # `set' does not quote correctly, so add quotes (double-quote
24531 # substitution turns \\\\ into \\, and sed turns \\ into \).
24534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24537 # `set' quotes correctly as required by POSIX, so do not add quotes.
24539 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24548 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24550 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24551 if test -w $cache_file; then
24552 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24553 cat confcache
>$cache_file
24555 echo "not updating unwritable cache $cache_file"
24560 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24561 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24562 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24563 if test "${wx_cv_lib_glibc21+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 cat >conftest.
$ac_ext <<_ACEOF
24570 cat confdefs.h
>>conftest.
$ac_ext
24571 cat >>conftest.
$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <features.h>
24578 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24586 rm -f conftest.
$ac_objext
24587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24588 (eval $ac_compile) 2>conftest.er1
24590 grep -v '^ *+' conftest.er1
>conftest.err
24592 cat conftest.err
>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } &&
24595 { ac_try
='test -z "$ac_cxx_werror_flag"
24596 || test ! -s conftest.err'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; } &&
24602 { ac_try
='test -s conftest.$ac_objext'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; }; then
24609 wx_cv_lib_glibc21
=yes
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.
$ac_ext >&5
24616 wx_cv_lib_glibc21
=no
24620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24623 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24624 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24625 if test "$wx_cv_lib_glibc21" = "yes"; then
24626 cat >>confdefs.h
<<\_ACEOF
24627 #define wxHAVE_GLIBC2 1
24633 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24634 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24635 cat >>confdefs.h
<<\_ACEOF
24636 #define _GNU_SOURCE 1
24647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24648 echo "$as_me:$LINENO: checking for $ac_func" >&5
24649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24650 if eval "test \"\${$as_ac_var+set}\" = set"; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 cat >conftest.
$ac_ext <<_ACEOF
24656 cat confdefs.h
>>conftest.
$ac_ext
24657 cat >>conftest.
$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24661 #define $ac_func innocuous_$ac_func
24663 /* System header to define __stub macros and hopefully few prototypes,
24664 which can conflict with char $ac_func (); below.
24665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24666 <limits.h> exists even on freestanding compilers. */
24669 # include <limits.h>
24671 # include <assert.h>
24676 /* Override any gcc2 internal prototype to avoid an error. */
24681 /* We use char because int might match the return type of a gcc2
24682 builtin and then its argument prototype would still apply. */
24684 /* The GNU C library defines this for functions which it implements
24685 to always fail with ENOSYS. Some functions are actually named
24686 something starting with __ and the normal name is an alias. */
24687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24690 char (*f) () = $ac_func;
24699 return f != $ac_func;
24704 rm -f conftest.
$ac_objext conftest
$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>conftest.er1
24708 grep -v '^ *+' conftest.er1
>conftest.err
24710 cat conftest.err
>&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } &&
24713 { ac_try
='test -z "$ac_cxx_werror_flag"
24714 || test ! -s conftest.err'
24715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24716 (eval $ac_try) 2>&5
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); }; } &&
24720 { ac_try
='test -s conftest$ac_exeext'
24721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722 (eval $ac_try) 2>&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); }; }; then
24726 eval "$as_ac_var=yes"
24728 echo "$as_me: failed program was:" >&5
24729 sed 's/^/| /' conftest.
$ac_ext >&5
24731 eval "$as_ac_var=no"
24733 rm -f conftest.err conftest.
$ac_objext \
24734 conftest
$ac_exeext conftest.
$ac_ext
24736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24738 if test `eval echo '${'$as_ac_var'}'` = yes; then
24739 cat >>confdefs.h
<<_ACEOF
24740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24747 for ac_func
in floor
24749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24750 echo "$as_me:$LINENO: checking for $ac_func" >&5
24751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24752 if eval "test \"\${$as_ac_var+set}\" = set"; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 cat >conftest.
$ac_ext <<_ACEOF
24758 cat confdefs.h
>>conftest.
$ac_ext
24759 cat >>conftest.
$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24763 #define $ac_func innocuous_$ac_func
24765 /* System header to define __stub macros and hopefully few prototypes,
24766 which can conflict with char $ac_func (); below.
24767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24768 <limits.h> exists even on freestanding compilers. */
24771 # include <limits.h>
24773 # include <assert.h>
24778 /* Override any gcc2 internal prototype to avoid an error. */
24783 /* We use char because int might match the return type of a gcc2
24784 builtin and then its argument prototype would still apply. */
24786 /* The GNU C library defines this for functions which it implements
24787 to always fail with ENOSYS. Some functions are actually named
24788 something starting with __ and the normal name is an alias. */
24789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24792 char (*f) () = $ac_func;
24801 return f != $ac_func;
24806 rm -f conftest.
$ac_objext conftest
$ac_exeext
24807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24808 (eval $ac_link) 2>conftest.er1
24810 grep -v '^ *+' conftest.er1
>conftest.err
24812 cat conftest.err
>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } &&
24815 { ac_try
='test -z "$ac_cxx_werror_flag"
24816 || test ! -s conftest.err'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; } &&
24822 { ac_try
='test -s conftest$ac_exeext'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; }; then
24828 eval "$as_ac_var=yes"
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 eval "$as_ac_var=no"
24835 rm -f conftest.err conftest.
$ac_objext \
24836 conftest
$ac_exeext conftest.
$ac_ext
24838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24840 if test `eval echo '${'$as_ac_var'}'` = yes; then
24841 cat >>confdefs.h
<<_ACEOF
24842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24848 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24849 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24850 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24851 echo "$as_me:$LINENO: result: yes" >&5
24852 echo "${ECHO_T}yes" >&6
24854 echo "$as_me:$LINENO: result: no" >&5
24855 echo "${ECHO_T}no" >&6
24857 # use different functions to avoid configure caching
24863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24864 echo "$as_me:$LINENO: checking for $ac_func" >&5
24865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24866 if eval "test \"\${$as_ac_var+set}\" = set"; then
24867 echo $ECHO_N "(cached) $ECHO_C" >&6
24869 cat >conftest.
$ac_ext <<_ACEOF
24872 cat confdefs.h
>>conftest.
$ac_ext
24873 cat >>conftest.
$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24877 #define $ac_func innocuous_$ac_func
24879 /* System header to define __stub macros and hopefully few prototypes,
24880 which can conflict with char $ac_func (); below.
24881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24882 <limits.h> exists even on freestanding compilers. */
24885 # include <limits.h>
24887 # include <assert.h>
24892 /* Override any gcc2 internal prototype to avoid an error. */
24897 /* We use char because int might match the return type of a gcc2
24898 builtin and then its argument prototype would still apply. */
24900 /* The GNU C library defines this for functions which it implements
24901 to always fail with ENOSYS. Some functions are actually named
24902 something starting with __ and the normal name is an alias. */
24903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24906 char (*f) () = $ac_func;
24915 return f != $ac_func;
24920 rm -f conftest.
$ac_objext conftest
$ac_exeext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24922 (eval $ac_link) 2>conftest.er1
24924 grep -v '^ *+' conftest.er1
>conftest.err
24926 cat conftest.err
>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } &&
24929 { ac_try
='test -z "$ac_cxx_werror_flag"
24930 || test ! -s conftest.err'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; } &&
24936 { ac_try
='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 eval "$as_ac_var=yes"
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.
$ac_ext >&5
24947 eval "$as_ac_var=no"
24949 rm -f conftest.err conftest.
$ac_objext \
24950 conftest
$ac_exeext conftest.
$ac_ext
24952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24954 if test `eval echo '${'$as_ac_var'}'` = yes; then
24955 cat >>confdefs.h
<<_ACEOF
24956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24963 for ac_func
in ceil
24965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24966 echo "$as_me:$LINENO: checking for $ac_func" >&5
24967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24968 if eval "test \"\${$as_ac_var+set}\" = set"; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 cat >conftest.
$ac_ext <<_ACEOF
24974 cat confdefs.h
>>conftest.
$ac_ext
24975 cat >>conftest.
$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24979 #define $ac_func innocuous_$ac_func
24981 /* System header to define __stub macros and hopefully few prototypes,
24982 which can conflict with char $ac_func (); below.
24983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24984 <limits.h> exists even on freestanding compilers. */
24987 # include <limits.h>
24989 # include <assert.h>
24994 /* Override any gcc2 internal prototype to avoid an error. */
24999 /* We use char because int might match the return type of a gcc2
25000 builtin and then its argument prototype would still apply. */
25002 /* The GNU C library defines this for functions which it implements
25003 to always fail with ENOSYS. Some functions are actually named
25004 something starting with __ and the normal name is an alias. */
25005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25008 char (*f) () = $ac_func;
25017 return f != $ac_func;
25022 rm -f conftest.
$ac_objext conftest
$ac_exeext
25023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25024 (eval $ac_link) 2>conftest.er1
25026 grep -v '^ *+' conftest.er1
>conftest.err
25028 cat conftest.err
>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); } &&
25031 { ac_try
='test -z "$ac_cxx_werror_flag"
25032 || test ! -s conftest.err'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; } &&
25038 { ac_try
='test -s conftest$ac_exeext'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; }; then
25044 eval "$as_ac_var=yes"
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.
$ac_ext >&5
25049 eval "$as_ac_var=no"
25051 rm -f conftest.err conftest.
$ac_objext \
25052 conftest
$ac_exeext conftest.
$ac_ext
25054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25056 if test `eval echo '${'$as_ac_var'}'` = yes; then
25057 cat >>confdefs.h
<<_ACEOF
25058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25064 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25065 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25066 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25067 echo "$as_me:$LINENO: result: yes" >&5
25068 echo "${ECHO_T}yes" >&6
25070 echo "$as_me:$LINENO: result: no" >&5
25071 echo "${ECHO_T}no" >&6
25072 # not sure we should warn the user, crash, etc.
25078 if test "$wxUSE_REGEX" != "no"; then
25079 cat >>confdefs.h
<<\_ACEOF
25080 #define wxUSE_REGEX 1
25084 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25085 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25086 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25087 wxUSE_REGEX
=builtin
25090 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25091 if test "${ac_cv_header_regex_h+set}" = set; then
25092 echo "$as_me:$LINENO: checking for regex.h" >&5
25093 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25094 if test "${ac_cv_header_regex_h+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25097 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25098 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25100 # Is the header compilable?
25101 echo "$as_me:$LINENO: checking regex.h usability" >&5
25102 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25103 cat >conftest.
$ac_ext <<_ACEOF
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 $ac_includes_default
25112 rm -f conftest.
$ac_objext
25113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25114 (eval $ac_compile) 2>conftest.er1
25116 grep -v '^ *+' conftest.er1
>conftest.err
25118 cat conftest.err
>&5
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); } &&
25121 { ac_try
='test -z "$ac_cxx_werror_flag"
25122 || test ! -s conftest.err'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; } &&
25128 { ac_try
='test -s conftest.$ac_objext'
25129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130 (eval $ac_try) 2>&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); }; }; then
25134 ac_header_compiler
=yes
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.
$ac_ext >&5
25139 ac_header_compiler
=no
25141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25143 echo "${ECHO_T}$ac_header_compiler" >&6
25145 # Is the header present?
25146 echo "$as_me:$LINENO: checking regex.h presence" >&5
25147 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25148 cat >conftest.
$ac_ext <<_ACEOF
25151 cat confdefs.h
>>conftest.
$ac_ext
25152 cat >>conftest.
$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25159 grep -v '^ *+' conftest.er1
>conftest.err
25161 cat conftest.err
>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } >/dev
/null
; then
25164 if test -s conftest.err
; then
25165 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25166 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25173 if test -z "$ac_cpp_err"; then
25174 ac_header_preproc
=yes
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.
$ac_ext >&5
25179 ac_header_preproc
=no
25181 rm -f conftest.err conftest.
$ac_ext
25182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25183 echo "${ECHO_T}$ac_header_preproc" >&6
25185 # So? What about this header?
25186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25188 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25189 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25190 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25191 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25192 ac_header_preproc
=yes
25195 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25196 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25197 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25198 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25199 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25200 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25201 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25202 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25204 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25206 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25209 ## ----------------------------------------- ##
25210 ## Report this to wx-dev@lists.wxwidgets.org ##
25211 ## ----------------------------------------- ##
25214 sed "s/^/$as_me: WARNING: /" >&2
25217 echo "$as_me:$LINENO: checking for regex.h" >&5
25218 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25219 if test "${ac_cv_header_regex_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 ac_cv_header_regex_h
=$ac_header_preproc
25224 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25225 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25228 if test $ac_cv_header_regex_h = yes; then
25231 for ac_func
in regcomp re_search
25233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25234 echo "$as_me:$LINENO: checking for $ac_func" >&5
25235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25236 if eval "test \"\${$as_ac_var+set}\" = set"; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 cat >conftest.
$ac_ext <<_ACEOF
25242 cat confdefs.h
>>conftest.
$ac_ext
25243 cat >>conftest.
$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25247 #define $ac_func innocuous_$ac_func
25249 /* System header to define __stub macros and hopefully few prototypes,
25250 which can conflict with char $ac_func (); below.
25251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25252 <limits.h> exists even on freestanding compilers. */
25255 # include <limits.h>
25257 # include <assert.h>
25262 /* Override any gcc2 internal prototype to avoid an error. */
25267 /* We use char because int might match the return type of a gcc2
25268 builtin and then its argument prototype would still apply. */
25270 /* The GNU C library defines this for functions which it implements
25271 to always fail with ENOSYS. Some functions are actually named
25272 something starting with __ and the normal name is an alias. */
25273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25276 char (*f) () = $ac_func;
25285 return f != $ac_func;
25290 rm -f conftest.
$ac_objext conftest
$ac_exeext
25291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25292 (eval $ac_link) 2>conftest.er1
25294 grep -v '^ *+' conftest.er1
>conftest.err
25296 cat conftest.err
>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } &&
25299 { ac_try
='test -z "$ac_cxx_werror_flag"
25300 || test ! -s conftest.err'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; } &&
25306 { ac_try
='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 eval "$as_ac_var=yes"
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.
$ac_ext >&5
25317 eval "$as_ac_var=no"
25319 rm -f conftest.err conftest.
$ac_objext \
25320 conftest
$ac_exeext conftest.
$ac_ext
25322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h
<<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25336 if test "x$ac_cv_func_regcomp" != "xyes"; then
25337 if test "$wxUSE_REGEX" = "sys" ; then
25338 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25339 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25340 { (exit 1); exit 1; }; }
25342 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25343 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25344 wxUSE_REGEX
=builtin
25348 cat >>confdefs.h
<<\_ACEOF
25349 #define WX_NO_REGEX_ADVANCED 1
25358 if test "$wxUSE_ZLIB" != "no" ; then
25359 cat >>confdefs.h
<<\_ACEOF
25360 #define wxUSE_ZLIB 1
25364 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25365 if test "$USE_DARWIN" = 1; then
25366 system_zlib_h_ok
="yes"
25368 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25369 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25370 if test "${ac_cv_header_zlib_h+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 if test "$cross_compiling" = yes; then
25374 unset ac_cv_header_zlib_h
25377 cat >conftest.
$ac_ext <<_ACEOF
25380 cat confdefs.h
>>conftest.
$ac_ext
25381 cat >>conftest.
$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25389 FILE *f=fopen("conftestval", "w");
25392 ZLIB_VERSION[0] == '1' &&
25393 (ZLIB_VERSION[2] > '1' ||
25394 (ZLIB_VERSION[2] == '1' &&
25395 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25400 rm -f conftest
$ac_exeext
25401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25402 (eval $ac_link) 2>&5
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_header_zlib_h
=`cat conftestval`
25413 echo "$as_me: program exited with status $ac_status" >&5
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.
$ac_ext >&5
25417 ( exit $ac_status )
25418 ac_cv_header_zlib_h
=no
25420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25426 if test "${ac_cv_header_zlib_h+set}" = set; then
25427 echo "$as_me:$LINENO: checking for zlib.h" >&5
25428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25429 if test "${ac_cv_header_zlib_h+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25433 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25435 # Is the header compilable?
25436 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25437 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25438 cat >conftest.
$ac_ext <<_ACEOF
25441 cat confdefs.h
>>conftest.
$ac_ext
25442 cat >>conftest.
$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 $ac_includes_default
25447 rm -f conftest.
$ac_objext
25448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25449 (eval $ac_compile) 2>conftest.er1
25451 grep -v '^ *+' conftest.er1
>conftest.err
25453 cat conftest.err
>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try
='test -z "$ac_cxx_werror_flag"
25457 || test ! -s conftest.err'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; } &&
25463 { ac_try
='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 ac_header_compiler
=yes
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.
$ac_ext >&5
25474 ac_header_compiler
=no
25476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25478 echo "${ECHO_T}$ac_header_compiler" >&6
25480 # Is the header present?
25481 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25482 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25483 cat >conftest.
$ac_ext <<_ACEOF
25486 cat confdefs.h
>>conftest.
$ac_ext
25487 cat >>conftest.
$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25492 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25494 grep -v '^ *+' conftest.er1
>conftest.err
25496 cat conftest.err
>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } >/dev
/null
; then
25499 if test -s conftest.err
; then
25500 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25501 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25508 if test -z "$ac_cpp_err"; then
25509 ac_header_preproc
=yes
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.
$ac_ext >&5
25514 ac_header_preproc
=no
25516 rm -f conftest.err conftest.
$ac_ext
25517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25518 echo "${ECHO_T}$ac_header_preproc" >&6
25520 # So? What about this header?
25521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25523 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25524 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25525 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25526 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25527 ac_header_preproc
=yes
25530 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25531 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25532 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25533 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25534 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25535 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25536 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25537 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25538 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25539 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25540 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25541 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25544 ## ----------------------------------------- ##
25545 ## Report this to wx-dev@lists.wxwidgets.org ##
25546 ## ----------------------------------------- ##
25549 sed "s/^/$as_me: WARNING: /" >&2
25552 echo "$as_me:$LINENO: checking for zlib.h" >&5
25553 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25554 if test "${ac_cv_header_zlib_h+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 ac_cv_header_zlib_h
=$ac_header_preproc
25559 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25560 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25566 system_zlib_h_ok
=$ac_cv_header_zlib_h
25569 if test "$system_zlib_h_ok" = "yes"; then
25570 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25571 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25572 if test "${ac_cv_lib_z_deflate+set}" = set; then
25573 echo $ECHO_N "(cached) $ECHO_C" >&6
25575 ac_check_lib_save_LIBS
=$LIBS
25577 cat >conftest.
$ac_ext <<_ACEOF
25580 cat confdefs.h
>>conftest.
$ac_ext
25581 cat >>conftest.
$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25584 /* Override any gcc2 internal prototype to avoid an error. */
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25599 rm -f conftest.
$ac_objext conftest
$ac_exeext
25600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25601 (eval $ac_link) 2>conftest.er1
25603 grep -v '^ *+' conftest.er1
>conftest.err
25605 cat conftest.err
>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } &&
25608 { ac_try
='test -z "$ac_cxx_werror_flag"
25609 || test ! -s conftest.err'
25610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25611 (eval $ac_try) 2>&5
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); }; } &&
25615 { ac_try
='test -s conftest$ac_exeext'
25616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25617 (eval $ac_try) 2>&5
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); }; }; then
25621 ac_cv_lib_z_deflate
=yes
25623 echo "$as_me: failed program was:" >&5
25624 sed 's/^/| /' conftest.
$ac_ext >&5
25626 ac_cv_lib_z_deflate
=no
25628 rm -f conftest.err conftest.
$ac_objext \
25629 conftest
$ac_exeext conftest.
$ac_ext
25630 LIBS
=$ac_check_lib_save_LIBS
25632 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25633 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25634 if test $ac_cv_lib_z_deflate = yes; then
25640 if test "x$ZLIB_LINK" = "x" ; then
25641 if test "$wxUSE_ZLIB" = "sys" ; then
25642 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25643 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25644 { (exit 1); exit 1; }; }
25646 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25647 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25658 if test "$wxUSE_LIBPNG" != "no" ; then
25659 cat >>confdefs.h
<<\_ACEOF
25660 #define wxUSE_LIBPNG 1
25664 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25665 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25666 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25670 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25671 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25672 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25673 wxUSE_LIBPNG
=builtin
25676 if test "$wxUSE_MGL" != 1 ; then
25677 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25678 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25679 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25680 if test "${ac_cv_header_png_h+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 if test "$cross_compiling" = yes; then
25684 unset ac_cv_header_png_h
25687 cat >conftest.
$ac_ext <<_ACEOF
25690 cat confdefs.h
>>conftest.
$ac_ext
25691 cat >>conftest.
$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25699 FILE *f=fopen("conftestval", "w");
25702 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25707 rm -f conftest
$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 ac_cv_header_png_h
=`cat conftestval`
25720 echo "$as_me: program exited with status $ac_status" >&5
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.
$ac_ext >&5
25724 ( exit $ac_status )
25725 ac_cv_header_png_h
=no
25727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25731 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25732 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25733 if test "${ac_cv_header_png_h+set}" = set; then
25734 echo "$as_me:$LINENO: checking for png.h" >&5
25735 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25736 if test "${ac_cv_header_png_h+set}" = set; then
25737 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25740 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25742 # Is the header compilable?
25743 echo "$as_me:$LINENO: checking png.h usability" >&5
25744 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25745 cat >conftest.
$ac_ext <<_ACEOF
25748 cat confdefs.h
>>conftest.
$ac_ext
25749 cat >>conftest.
$ac_ext <<_ACEOF
25750 /* end confdefs.h. */
25751 $ac_includes_default
25754 rm -f conftest.
$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>conftest.er1
25758 grep -v '^ *+' conftest.er1
>conftest.err
25760 cat conftest.err
>&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } &&
25763 { ac_try
='test -z "$ac_cxx_werror_flag"
25764 || test ! -s conftest.err'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; } &&
25770 { ac_try
='test -s conftest.$ac_objext'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; }; then
25776 ac_header_compiler
=yes
25778 echo "$as_me: failed program was:" >&5
25779 sed 's/^/| /' conftest.
$ac_ext >&5
25781 ac_header_compiler
=no
25783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25785 echo "${ECHO_T}$ac_header_compiler" >&6
25787 # Is the header present?
25788 echo "$as_me:$LINENO: checking png.h presence" >&5
25789 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25790 cat >conftest.
$ac_ext <<_ACEOF
25793 cat confdefs.h
>>conftest.
$ac_ext
25794 cat >>conftest.
$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25799 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
25806 if test -s conftest.err
; then
25807 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25808 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25815 if test -z "$ac_cpp_err"; then
25816 ac_header_preproc
=yes
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.
$ac_ext >&5
25821 ac_header_preproc
=no
25823 rm -f conftest.err conftest.
$ac_ext
25824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25825 echo "${ECHO_T}$ac_header_preproc" >&6
25827 # So? What about this header?
25828 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25830 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25831 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25832 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25833 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25834 ac_header_preproc
=yes
25837 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25838 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25839 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25840 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25841 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25842 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25843 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25844 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25845 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25846 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25847 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25848 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25851 ## ----------------------------------------- ##
25852 ## Report this to wx-dev@lists.wxwidgets.org ##
25853 ## ----------------------------------------- ##
25856 sed "s/^/$as_me: WARNING: /" >&2
25859 echo "$as_me:$LINENO: checking for png.h" >&5
25860 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25861 if test "${ac_cv_header_png_h+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 ac_cv_header_png_h
=$ac_header_preproc
25866 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25867 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25873 if test "$ac_cv_header_png_h" = "yes"; then
25874 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25875 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25876 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 ac_check_lib_save_LIBS
=$LIBS
25880 LIBS
="-lpng -lz -lm $LIBS"
25881 cat >conftest.
$ac_ext <<_ACEOF
25884 cat confdefs.h
>>conftest.
$ac_ext
25885 cat >>conftest.
$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25888 /* Override any gcc2 internal prototype to avoid an error. */
25892 /* We use char because int might match the return type of a gcc2
25893 builtin and then its argument prototype would still apply. */
25894 char png_check_sig ();
25903 rm -f conftest.
$ac_objext conftest
$ac_exeext
25904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25905 (eval $ac_link) 2>conftest.er1
25907 grep -v '^ *+' conftest.er1
>conftest.err
25909 cat conftest.err
>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } &&
25912 { ac_try
='test -z "$ac_cxx_werror_flag"
25913 || test ! -s conftest.err'
25914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25915 (eval $ac_try) 2>&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); }; } &&
25919 { ac_try
='test -s conftest$ac_exeext'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; }; then
25925 ac_cv_lib_png_png_check_sig
=yes
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.
$ac_ext >&5
25930 ac_cv_lib_png_png_check_sig
=no
25932 rm -f conftest.err conftest.
$ac_objext \
25933 conftest
$ac_exeext conftest.
$ac_ext
25934 LIBS
=$ac_check_lib_save_LIBS
25936 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25937 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25938 if test $ac_cv_lib_png_png_check_sig = yes; then
25939 PNG_LINK
=" -lpng -lz"
25944 if test "x$PNG_LINK" = "x" ; then
25945 if test "$wxUSE_LIBPNG" = "sys" ; then
25946 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25947 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25948 { (exit 1); exit 1; }; }
25950 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25951 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25952 wxUSE_LIBPNG
=builtin
25960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25965 if test "$wxUSE_LIBJPEG" != "no" ; then
25966 cat >>confdefs.h
<<\_ACEOF
25967 #define wxUSE_LIBJPEG 1
25971 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25972 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25973 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25977 if test "$wxUSE_MGL" != 1 ; then
25978 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25979 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25980 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25981 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25991 #undef HAVE_STDLIB_H
25993 #include <jpeglib.h>
26004 rm -f conftest.
$ac_objext
26005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26006 (eval $ac_compile) 2>conftest.er1
26008 grep -v '^ *+' conftest.er1
>conftest.err
26010 cat conftest.err
>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } &&
26013 { ac_try
='test -z "$ac_cxx_werror_flag"
26014 || test ! -s conftest.err'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; } &&
26020 { ac_try
='test -s conftest.$ac_objext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026 ac_cv_header_jpeglib_h
=yes
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.
$ac_ext >&5
26031 ac_cv_header_jpeglib_h
=no
26034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26038 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26039 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26041 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26042 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26043 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26044 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 ac_check_lib_save_LIBS
=$LIBS
26048 LIBS
="-ljpeg $LIBS"
26049 cat >conftest.
$ac_ext <<_ACEOF
26052 cat confdefs.h
>>conftest.
$ac_ext
26053 cat >>conftest.
$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char jpeg_read_header ();
26066 jpeg_read_header ();
26071 rm -f conftest.
$ac_objext conftest
$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_cxx_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try
='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_jpeg_jpeg_read_header
=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.
$ac_ext >&5
26098 ac_cv_lib_jpeg_jpeg_read_header
=no
26100 rm -f conftest.err conftest.
$ac_objext \
26101 conftest
$ac_exeext conftest.
$ac_ext
26102 LIBS
=$ac_check_lib_save_LIBS
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26105 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26106 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26107 JPEG_LINK
=" -ljpeg"
26112 if test "x$JPEG_LINK" = "x" ; then
26113 if test "$wxUSE_LIBJPEG" = "sys" ; then
26114 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26115 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26116 { (exit 1); exit 1; }; }
26118 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26119 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26120 wxUSE_LIBJPEG
=builtin
26131 TIFF_PREREQ_LINKS
=-lm
26132 if test "$wxUSE_LIBTIFF" != "no" ; then
26133 cat >>confdefs.h
<<\_ACEOF
26134 #define wxUSE_LIBTIFF 1
26138 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26139 if test "$wxUSE_LIBJPEG" = "sys"; then
26140 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26142 if test "$wxUSE_ZLIB" = "sys"; then
26143 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26145 if test "${ac_cv_header_tiffio_h+set}" = set; then
26146 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26147 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26148 if test "${ac_cv_header_tiffio_h+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26152 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26154 # Is the header compilable?
26155 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26156 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26157 cat >conftest.
$ac_ext <<_ACEOF
26160 cat confdefs.h
>>conftest.
$ac_ext
26161 cat >>conftest.
$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26163 $ac_includes_default
26164 #include <tiffio.h>
26166 rm -f conftest.
$ac_objext
26167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26168 (eval $ac_compile) 2>conftest.er1
26170 grep -v '^ *+' conftest.er1
>conftest.err
26172 cat conftest.err
>&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } &&
26175 { ac_try
='test -z "$ac_cxx_werror_flag"
26176 || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try
='test -s conftest.$ac_objext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26188 ac_header_compiler
=yes
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.
$ac_ext >&5
26193 ac_header_compiler
=no
26195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26197 echo "${ECHO_T}$ac_header_compiler" >&6
26199 # Is the header present?
26200 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26201 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26202 cat >conftest.
$ac_ext <<_ACEOF
26205 cat confdefs.h
>>conftest.
$ac_ext
26206 cat >>conftest.
$ac_ext <<_ACEOF
26207 /* end confdefs.h. */
26208 #include <tiffio.h>
26210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26213 grep -v '^ *+' conftest.er1
>conftest.err
26215 cat conftest.err
>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } >/dev
/null
; then
26218 if test -s conftest.err
; then
26219 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26220 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26227 if test -z "$ac_cpp_err"; then
26228 ac_header_preproc
=yes
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.
$ac_ext >&5
26233 ac_header_preproc
=no
26235 rm -f conftest.err conftest.
$ac_ext
26236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26237 echo "${ECHO_T}$ac_header_preproc" >&6
26239 # So? What about this header?
26240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26242 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26243 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26244 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26245 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26246 ac_header_preproc
=yes
26249 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26250 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26251 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26252 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26253 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26254 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26255 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26256 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26257 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26258 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26260 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26263 ## ----------------------------------------- ##
26264 ## Report this to wx-dev@lists.wxwidgets.org ##
26265 ## ----------------------------------------- ##
26268 sed "s/^/$as_me: WARNING: /" >&2
26271 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26272 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26273 if test "${ac_cv_header_tiffio_h+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 ac_cv_header_tiffio_h
=$ac_header_preproc
26278 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26282 if test $ac_cv_header_tiffio_h = yes; then
26284 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26285 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26286 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 ac_check_lib_save_LIBS
=$LIBS
26290 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26291 cat >conftest.
$ac_ext <<_ACEOF
26294 cat confdefs.h
>>conftest.
$ac_ext
26295 cat >>conftest.
$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26298 /* Override any gcc2 internal prototype to avoid an error. */
26302 /* We use char because int might match the return type of a gcc2
26303 builtin and then its argument prototype would still apply. */
26313 rm -f conftest.
$ac_objext conftest
$ac_exeext
26314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26315 (eval $ac_link) 2>conftest.er1
26317 grep -v '^ *+' conftest.er1
>conftest.err
26319 cat conftest.err
>&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } &&
26322 { ac_try
='test -z "$ac_cxx_werror_flag"
26323 || test ! -s conftest.err'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; } &&
26329 { ac_try
='test -s conftest$ac_exeext'
26330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26331 (eval $ac_try) 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); }; }; then
26335 ac_cv_lib_tiff_TIFFError
=yes
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.
$ac_ext >&5
26340 ac_cv_lib_tiff_TIFFError
=no
26342 rm -f conftest.err conftest.
$ac_objext \
26343 conftest
$ac_exeext conftest.
$ac_ext
26344 LIBS
=$ac_check_lib_save_LIBS
26346 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26347 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26348 if test $ac_cv_lib_tiff_TIFFError = yes; then
26349 TIFF_LINK
=" -ltiff"
26358 if test "x$TIFF_LINK" = "x" ; then
26359 if test "$wxUSE_LIBTIFF" = "sys" ; then
26360 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26361 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26362 { (exit 1); exit 1; }; }
26364 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26365 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26366 wxUSE_LIBTIFF
=builtin
26375 if test "$wxUSE_WCHAR_T" != "yes"; then
26376 if test "$wxUSE_EXPAT" != "no"; then
26377 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26378 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26381 if test "$wxUSE_XML" != "no"; then
26382 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26383 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26388 if test "$wxUSE_EXPAT" != "no"; then
26390 cat >>confdefs.h
<<\_ACEOF
26391 #define wxUSE_EXPAT 1
26394 cat >>confdefs.h
<<\_ACEOF
26395 #define wxUSE_XML 1
26399 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26400 if test "${ac_cv_header_expat_h+set}" = set; then
26401 echo "$as_me:$LINENO: checking for expat.h" >&5
26402 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26403 if test "${ac_cv_header_expat_h+set}" = set; then
26404 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26407 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26409 # Is the header compilable?
26410 echo "$as_me:$LINENO: checking expat.h usability" >&5
26411 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26412 cat >conftest.
$ac_ext <<_ACEOF
26415 cat confdefs.h
>>conftest.
$ac_ext
26416 cat >>conftest.
$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418 $ac_includes_default
26421 rm -f conftest.
$ac_objext
26422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26423 (eval $ac_compile) 2>conftest.er1
26425 grep -v '^ *+' conftest.er1
>conftest.err
26427 cat conftest.err
>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try
='test -z "$ac_cxx_werror_flag"
26431 || test ! -s conftest.err'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; } &&
26437 { ac_try
='test -s conftest.$ac_objext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 ac_header_compiler
=yes
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.
$ac_ext >&5
26448 ac_header_compiler
=no
26450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26452 echo "${ECHO_T}$ac_header_compiler" >&6
26454 # Is the header present?
26455 echo "$as_me:$LINENO: checking expat.h presence" >&5
26456 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26457 cat >conftest.
$ac_ext <<_ACEOF
26460 cat confdefs.h
>>conftest.
$ac_ext
26461 cat >>conftest.
$ac_ext <<_ACEOF
26462 /* end confdefs.h. */
26465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26468 grep -v '^ *+' conftest.er1
>conftest.err
26470 cat conftest.err
>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } >/dev
/null
; then
26473 if test -s conftest.err
; then
26474 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26475 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26482 if test -z "$ac_cpp_err"; then
26483 ac_header_preproc
=yes
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.
$ac_ext >&5
26488 ac_header_preproc
=no
26490 rm -f conftest.err conftest.
$ac_ext
26491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26492 echo "${ECHO_T}$ac_header_preproc" >&6
26494 # So? What about this header?
26495 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26497 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26498 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26499 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26500 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26501 ac_header_preproc
=yes
26504 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26505 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26506 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26507 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26508 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26509 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26510 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26511 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26512 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26513 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26514 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26515 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26518 ## ----------------------------------------- ##
26519 ## Report this to wx-dev@lists.wxwidgets.org ##
26520 ## ----------------------------------------- ##
26523 sed "s/^/$as_me: WARNING: /" >&2
26526 echo "$as_me:$LINENO: checking for expat.h" >&5
26527 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26528 if test "${ac_cv_header_expat_h+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 ac_cv_header_expat_h
=$ac_header_preproc
26533 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26537 if test $ac_cv_header_expat_h = yes; then
26542 if test "x$found_expat_h" = "x1"; then
26543 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26544 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26545 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26549 cat >conftest.
$ac_ext <<_ACEOF
26552 cat confdefs.h
>>conftest.
$ac_ext
26553 cat >>conftest.
$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26564 rm -f conftest.
$ac_objext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26566 (eval $ac_compile) 2>conftest.er1
26568 grep -v '^ *+' conftest.er1
>conftest.err
26570 cat conftest.err
>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } &&
26573 { ac_try
='test -z "$ac_cxx_werror_flag"
26574 || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try
='test -s conftest.$ac_objext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 wx_cv_expat_is_not_broken
=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.
$ac_ext >&5
26591 wx_cv_expat_is_not_broken
=no
26594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26598 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26599 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26600 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26601 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26602 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26603 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26604 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 ac_check_lib_save_LIBS
=$LIBS
26607 LIBS
="-lexpat $LIBS"
26608 cat >conftest.
$ac_ext <<_ACEOF
26611 cat confdefs.h
>>conftest.
$ac_ext
26612 cat >>conftest.
$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26615 /* Override any gcc2 internal prototype to avoid an error. */
26619 /* We use char because int might match the return type of a gcc2
26620 builtin and then its argument prototype would still apply. */
26621 char XML_ParserCreate ();
26625 XML_ParserCreate ();
26630 rm -f conftest.
$ac_objext conftest
$ac_exeext
26631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26632 (eval $ac_link) 2>conftest.er1
26634 grep -v '^ *+' conftest.er1
>conftest.err
26636 cat conftest.err
>&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } &&
26639 { ac_try
='test -z "$ac_cxx_werror_flag"
26640 || test ! -s conftest.err'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; } &&
26646 { ac_try
='test -s conftest$ac_exeext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 ac_cv_lib_expat_XML_ParserCreate
=yes
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.
$ac_ext >&5
26657 ac_cv_lib_expat_XML_ParserCreate
=no
26659 rm -f conftest.err conftest.
$ac_objext \
26660 conftest
$ac_exeext conftest.
$ac_ext
26661 LIBS
=$ac_check_lib_save_LIBS
26663 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26664 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26665 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26666 EXPAT_LINK
=" -lexpat"
26671 if test "x$EXPAT_LINK" = "x" ; then
26672 if test "$wxUSE_EXPAT" = "sys" ; then
26673 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26674 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26675 { (exit 1); exit 1; }; }
26677 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26678 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26679 wxUSE_EXPAT
=builtin
26685 if test "$wxUSE_EXPAT" = "builtin" ; then
26688 subdirs
="$subdirs src/expat"
26695 if test "$wxUSE_LIBMSPACK" != "no"; then
26696 if test "${ac_cv_header_mspack_h+set}" = set; then
26697 echo "$as_me:$LINENO: checking for mspack.h" >&5
26698 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26699 if test "${ac_cv_header_mspack_h+set}" = set; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26705 # Is the header compilable?
26706 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26707 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26708 cat >conftest.
$ac_ext <<_ACEOF
26711 cat confdefs.h
>>conftest.
$ac_ext
26712 cat >>conftest.
$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26714 $ac_includes_default
26715 #include <mspack.h>
26717 rm -f conftest.
$ac_objext
26718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26719 (eval $ac_compile) 2>conftest.er1
26721 grep -v '^ *+' conftest.er1
>conftest.err
26723 cat conftest.err
>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); } &&
26726 { ac_try
='test -z "$ac_cxx_werror_flag"
26727 || test ! -s conftest.err'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; } &&
26733 { ac_try
='test -s conftest.$ac_objext'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 ac_header_compiler
=yes
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.
$ac_ext >&5
26744 ac_header_compiler
=no
26746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26748 echo "${ECHO_T}$ac_header_compiler" >&6
26750 # Is the header present?
26751 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26752 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26753 cat >conftest.
$ac_ext <<_ACEOF
26756 cat confdefs.h
>>conftest.
$ac_ext
26757 cat >>conftest.
$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 #include <mspack.h>
26761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26764 grep -v '^ *+' conftest.er1
>conftest.err
26766 cat conftest.err
>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } >/dev
/null
; then
26769 if test -s conftest.err
; then
26770 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26771 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26778 if test -z "$ac_cpp_err"; then
26779 ac_header_preproc
=yes
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.
$ac_ext >&5
26784 ac_header_preproc
=no
26786 rm -f conftest.err conftest.
$ac_ext
26787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26788 echo "${ECHO_T}$ac_header_preproc" >&6
26790 # So? What about this header?
26791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26793 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26794 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26795 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26796 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26797 ac_header_preproc
=yes
26800 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26801 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26802 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26803 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26804 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26805 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26806 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26807 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26808 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26809 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26811 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26814 ## ----------------------------------------- ##
26815 ## Report this to wx-dev@lists.wxwidgets.org ##
26816 ## ----------------------------------------- ##
26819 sed "s/^/$as_me: WARNING: /" >&2
26822 echo "$as_me:$LINENO: checking for mspack.h" >&5
26823 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26824 if test "${ac_cv_header_mspack_h+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26827 ac_cv_header_mspack_h
=$ac_header_preproc
26829 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26830 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26833 if test $ac_cv_header_mspack_h = yes; then
26838 if test "x$found_mspack_h" = "x1"; then
26839 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26840 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26841 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 ac_check_lib_save_LIBS
=$LIBS
26845 LIBS
="-lmspack $LIBS"
26846 cat >conftest.
$ac_ext <<_ACEOF
26849 cat confdefs.h
>>conftest.
$ac_ext
26850 cat >>conftest.
$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26853 /* Override any gcc2 internal prototype to avoid an error. */
26857 /* We use char because int might match the return type of a gcc2
26858 builtin and then its argument prototype would still apply. */
26859 char mspack_create_chm_decompressor ();
26863 mspack_create_chm_decompressor ();
26868 rm -f conftest.
$ac_objext conftest
$ac_exeext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26870 (eval $ac_link) 2>conftest.er1
26872 grep -v '^ *+' conftest.er1
>conftest.err
26874 cat conftest.err
>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try
='test -z "$ac_cxx_werror_flag"
26878 || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; } &&
26884 { ac_try
='test -s conftest$ac_exeext'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.
$ac_ext >&5
26895 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26897 rm -f conftest.err conftest.
$ac_objext \
26898 conftest
$ac_exeext conftest.
$ac_ext
26899 LIBS
=$ac_check_lib_save_LIBS
26901 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26902 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26903 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26904 MSPACK_LINK
=" -lmspack"
26908 if test "x$MSPACK_LINK" = "x" ; then
26913 if test "$wxUSE_LIBMSPACK" != "no"; then
26914 cat >>confdefs.h
<<\_ACEOF
26915 #define wxUSE_LIBMSPACK 1
26929 if test "$USE_WIN32" = 1 ; then
26931 for ac_header
in w32api.h
26933 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26935 echo "$as_me:$LINENO: checking for $ac_header" >&5
26936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26938 echo $ECHO_N "(cached) $ECHO_C" >&6
26940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26943 # Is the header compilable?
26944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26946 cat >conftest.
$ac_ext <<_ACEOF
26949 cat confdefs.h
>>conftest.
$ac_ext
26950 cat >>conftest.
$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952 $ac_includes_default
26953 #include <$ac_header>
26955 rm -f conftest.
$ac_objext
26956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26957 (eval $ac_compile) 2>conftest.er1
26959 grep -v '^ *+' conftest.er1
>conftest.err
26961 cat conftest.err
>&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } &&
26964 { ac_try
='test -z "$ac_cxx_werror_flag"
26965 || test ! -s conftest.err'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; } &&
26971 { ac_try
='test -s conftest.$ac_objext'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; }; then
26977 ac_header_compiler
=yes
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.
$ac_ext >&5
26982 ac_header_compiler
=no
26984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26986 echo "${ECHO_T}$ac_header_compiler" >&6
26988 # Is the header present?
26989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26991 cat >conftest.
$ac_ext <<_ACEOF
26994 cat confdefs.h
>>conftest.
$ac_ext
26995 cat >>conftest.
$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997 #include <$ac_header>
26999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27002 grep -v '^ *+' conftest.er1
>conftest.err
27004 cat conftest.err
>&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } >/dev
/null
; then
27007 if test -s conftest.err
; then
27008 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27009 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27016 if test -z "$ac_cpp_err"; then
27017 ac_header_preproc
=yes
27019 echo "$as_me: failed program was:" >&5
27020 sed 's/^/| /' conftest.
$ac_ext >&5
27022 ac_header_preproc
=no
27024 rm -f conftest.err conftest.
$ac_ext
27025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27026 echo "${ECHO_T}$ac_header_preproc" >&6
27028 # So? What about this header?
27029 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27035 ac_header_preproc
=yes
27038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27052 ## ----------------------------------------- ##
27053 ## Report this to wx-dev@lists.wxwidgets.org ##
27054 ## ----------------------------------------- ##
27057 sed "s/^/$as_me: WARNING: /" >&2
27060 echo "$as_me:$LINENO: checking for $ac_header" >&5
27061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27063 echo $ECHO_N "(cached) $ECHO_C" >&6
27065 eval "$as_ac_Header=\$ac_header_preproc"
27067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27072 cat >>confdefs.h
<<_ACEOF
27073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27080 if test "${ac_cv_header_windows_h+set}" = set; then
27081 echo "$as_me:$LINENO: checking for windows.h" >&5
27082 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27083 if test "${ac_cv_header_windows_h+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27087 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27089 # Is the header compilable?
27090 echo "$as_me:$LINENO: checking windows.h usability" >&5
27091 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27092 cat >conftest.
$ac_ext <<_ACEOF
27095 cat confdefs.h
>>conftest.
$ac_ext
27096 cat >>conftest.
$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27098 $ac_includes_default
27099 #include <windows.h>
27101 rm -f conftest.
$ac_objext
27102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27103 (eval $ac_compile) 2>conftest.er1
27105 grep -v '^ *+' conftest.er1
>conftest.err
27107 cat conftest.err
>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try
='test -z "$ac_cxx_werror_flag"
27111 || test ! -s conftest.err'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; } &&
27117 { ac_try
='test -s conftest.$ac_objext'
27118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27119 (eval $ac_try) 2>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); }; }; then
27123 ac_header_compiler
=yes
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.
$ac_ext >&5
27128 ac_header_compiler
=no
27130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27132 echo "${ECHO_T}$ac_header_compiler" >&6
27134 # Is the header present?
27135 echo "$as_me:$LINENO: checking windows.h presence" >&5
27136 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27137 cat >conftest.
$ac_ext <<_ACEOF
27140 cat confdefs.h
>>conftest.
$ac_ext
27141 cat >>conftest.
$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 #include <windows.h>
27145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27148 grep -v '^ *+' conftest.er1
>conftest.err
27150 cat conftest.err
>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } >/dev
/null
; then
27153 if test -s conftest.err
; then
27154 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27155 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27162 if test -z "$ac_cpp_err"; then
27163 ac_header_preproc
=yes
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.
$ac_ext >&5
27168 ac_header_preproc
=no
27170 rm -f conftest.err conftest.
$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27172 echo "${ECHO_T}$ac_header_preproc" >&6
27174 # So? What about this header?
27175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27177 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27178 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27179 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27180 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27181 ac_header_preproc
=yes
27184 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27185 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27186 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27187 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27188 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27189 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27190 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27191 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27192 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27193 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27194 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27195 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27198 ## ----------------------------------------- ##
27199 ## Report this to wx-dev@lists.wxwidgets.org ##
27200 ## ----------------------------------------- ##
27203 sed "s/^/$as_me: WARNING: /" >&2
27206 echo "$as_me:$LINENO: checking for windows.h" >&5
27207 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27208 if test "${ac_cv_header_windows_h+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27211 ac_cv_header_windows_h
=$ac_header_preproc
27213 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27214 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27217 if test $ac_cv_header_windows_h = yes; then
27221 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27222 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27223 { (exit 1); exit 1; }; }
27229 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27231 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27232 LIBS
="$LIBS -loleacc"
27237 LIBS
="$LIBS -lkernel32 -luser32"
27240 if test "$wxUSE_ODBC" = "sys" ; then
27243 if test "$wxUSE_ODBC" = "yes" ; then
27244 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27245 cat >>confdefs.h
<<\_ACEOF
27246 #define wxUSE_ODBC 1
27251 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27252 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27254 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27256 WIN32INSTALL
=win32install
27258 echo "$as_me:$LINENO: checking for boolean" >&5
27259 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27260 if test "${ac_cv_type_boolean+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27263 cat >conftest.
$ac_ext <<_ACEOF
27266 cat confdefs.h
>>conftest.
$ac_ext
27267 cat >>conftest.
$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 #include <windows.h>
27276 if (sizeof (boolean))
27282 rm -f conftest.
$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -z "$ac_cxx_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try
='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_cv_type_boolean
=yes
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.
$ac_ext >&5
27309 ac_cv_type_boolean
=no
27311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27313 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27314 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27315 if test $ac_cv_type_boolean = yes; then
27317 cat >>confdefs.h
<<_ACEOF
27318 #define HAVE_BOOLEAN 1
27326 for ac_header
in pbt.h
27328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27330 echo "$as_me:$LINENO: checking for $ac_header" >&5
27331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27338 # Is the header compilable?
27339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 $ac_includes_default
27348 #include <$ac_header>
27350 rm -f conftest.
$ac_objext
27351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27352 (eval $ac_compile) 2>conftest.er1
27354 grep -v '^ *+' conftest.er1
>conftest.err
27356 cat conftest.err
>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } &&
27359 { ac_try
='test -z "$ac_cxx_werror_flag"
27360 || test ! -s conftest.err'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; } &&
27366 { ac_try
='test -s conftest.$ac_objext'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; }; then
27372 ac_header_compiler
=yes
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.
$ac_ext >&5
27377 ac_header_compiler
=no
27379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27381 echo "${ECHO_T}$ac_header_compiler" >&6
27383 # Is the header present?
27384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27386 cat >conftest.
$ac_ext <<_ACEOF
27389 cat confdefs.h
>>conftest.
$ac_ext
27390 cat >>conftest.
$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392 #include <$ac_header>
27394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27397 grep -v '^ *+' conftest.er1
>conftest.err
27399 cat conftest.err
>&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } >/dev
/null
; then
27402 if test -s conftest.err
; then
27403 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27404 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27411 if test -z "$ac_cpp_err"; then
27412 ac_header_preproc
=yes
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.
$ac_ext >&5
27417 ac_header_preproc
=no
27419 rm -f conftest.err conftest.
$ac_ext
27420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27421 echo "${ECHO_T}$ac_header_preproc" >&6
27423 # So? What about this header?
27424 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27430 ac_header_preproc
=yes
27433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27447 ## ----------------------------------------- ##
27448 ## Report this to wx-dev@lists.wxwidgets.org ##
27449 ## ----------------------------------------- ##
27452 sed "s/^/$as_me: WARNING: /" >&2
27455 echo "$as_me:$LINENO: checking for $ac_header" >&5
27456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 eval "$as_ac_Header=\$ac_header_preproc"
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27467 cat >>confdefs.h
<<_ACEOF
27468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27472 cat >>confdefs.h
<<\_ACEOF
27473 #define NEED_PBT_H 1
27482 if test "$wxUSE_GUI" = "yes"; then
27492 if test "$wxUSE_COCOA" = 1 ; then
27493 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27494 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27495 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27496 wxUSE_PRINTING_ARCHITECTURE
=no
27498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27499 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27500 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27501 wxUSE_DRAG_AND_DROP
=no
27503 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27504 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27505 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27510 if test "$wxUSE_MSW" = 1 ; then
27516 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27520 if test "$wxUSE_GTK" = 1; then
27522 ac_cpp
='$CPP $CPPFLAGS'
27523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27528 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27529 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27531 gtk_version_cached
=1
27532 if test "${wx_cv_lib_gtk+set}" = set; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27536 gtk_version_cached
=0
27537 echo "$as_me:$LINENO: result: " >&5
27538 echo "${ECHO_T}" >&6
27541 if test "$wxUSE_THREADS" = "yes"; then
27542 GTK_MODULES
=gthread
27546 if test "x$wxGTK_VERSION" != "x1"
27550 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27555 # Check whether --enable-gtktest or --disable-gtktest was given.
27556 if test "${enable_gtktest+set}" = set; then
27557 enableval
="$enable_gtktest"
27563 pkg_config_args
=gtk
+-2.0
27564 for module
in .
$GTK_MODULES
27568 pkg_config_args
="$pkg_config_args gthread-2.0"
27575 # Extract the first word of "pkg-config", so it can be a program name with args.
27576 set dummy pkg
-config; ac_word
=$2
27577 echo "$as_me:$LINENO: checking for $ac_word" >&5
27578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27579 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 case $PKG_CONFIG in
27584 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27588 for as_dir
in $PATH
27591 test -z "$as_dir" && as_dir
=.
27592 for ac_exec_ext
in '' $ac_executable_extensions; do
27593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27594 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27601 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27605 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27607 if test -n "$PKG_CONFIG"; then
27608 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27609 echo "${ECHO_T}$PKG_CONFIG" >&6
27611 echo "$as_me:$LINENO: result: no" >&5
27612 echo "${ECHO_T}no" >&6
27616 if test x
$PKG_CONFIG != xno
; then
27617 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27620 echo "*** pkg-config too old; version 0.7 or better required."
27628 min_gtk_version
=2.0.0
27629 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27630 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27632 if test x
$PKG_CONFIG != xno
; then
27633 ## don't try to run the test against uninstalled libtool libs
27634 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27635 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27639 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27646 if test x
"$no_gtk" = x
; then
27647 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27648 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27649 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27651 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27653 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27654 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27655 if test "x$enable_gtktest" = "xyes" ; then
27656 ac_save_CFLAGS
="$CFLAGS"
27657 ac_save_LIBS
="$LIBS"
27658 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27659 LIBS
="$GTK_LIBS $LIBS"
27661 if test "$cross_compiling" = yes; then
27662 echo $ac_n "cross compiling; assumed OK... $ac_c"
27664 cat >conftest.
$ac_ext <<_ACEOF
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27671 #include <gtk/gtk.h>
27673 #include <stdlib.h>
27678 int major, minor, micro;
27681 system ("touch conf.gtktest");
27683 /* HP/UX 9 (%@#!) writes to sscanf strings */
27684 tmp_version = g_strdup("$min_gtk_version");
27685 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27686 printf("%s, bad version string\n", "$min_gtk_version");
27690 if ((gtk_major_version != $gtk_config_major_version) ||
27691 (gtk_minor_version != $gtk_config_minor_version) ||
27692 (gtk_micro_version != $gtk_config_micro_version))
27694 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27695 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27696 gtk_major_version, gtk_minor_version, gtk_micro_version);
27697 printf ("*** was found! If pkg-config was correct, then it is best\n");
27698 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27699 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27700 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27701 printf("*** required on your system.\n");
27702 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27703 printf("*** to point to the correct configuration files\n");
27705 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27706 (gtk_minor_version != GTK_MINOR_VERSION) ||
27707 (gtk_micro_version != GTK_MICRO_VERSION))
27709 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27710 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27711 printf("*** library (version %d.%d.%d)\n",
27712 gtk_major_version, gtk_minor_version, gtk_micro_version);
27716 if ((gtk_major_version > major) ||
27717 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27718 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27724 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27725 gtk_major_version, gtk_minor_version, gtk_micro_version);
27726 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27727 major, minor, micro);
27728 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27730 printf("*** If you have already installed a sufficiently new version, this error\n");
27731 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27732 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27733 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27734 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27735 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27736 printf("*** so that the correct libraries are found at run-time))\n");
27743 rm -f conftest
$ac_exeext
27744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27745 (eval $ac_link) 2>&5
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27750 (eval $ac_try) 2>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); }; }; then
27756 echo "$as_me: program exited with status $ac_status" >&5
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.
$ac_ext >&5
27760 ( exit $ac_status )
27763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27765 CFLAGS
="$ac_save_CFLAGS"
27766 LIBS
="$ac_save_LIBS"
27769 if test "x$no_gtk" = x
; then
27770 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27771 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27774 echo "$as_me:$LINENO: result: no" >&5
27775 echo "${ECHO_T}no" >&6
27776 if test "$PKG_CONFIG" = "no" ; then
27777 echo "*** A new enough version of pkg-config was not found."
27778 echo "*** See http://pkgconfig.sourceforge.net"
27780 if test -f conf.gtktest
; then
27783 echo "*** Could not run GTK+ test program, checking why..."
27784 ac_save_CFLAGS
="$CFLAGS"
27785 ac_save_LIBS
="$LIBS"
27786 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27787 LIBS
="$LIBS $GTK_LIBS"
27788 cat >conftest.
$ac_ext <<_ACEOF
27791 cat confdefs.h
>>conftest.
$ac_ext
27792 cat >>conftest.
$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27795 #include <gtk/gtk.h>
27801 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27806 rm -f conftest.
$ac_objext conftest
$ac_exeext
27807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27808 (eval $ac_link) 2>conftest.er1
27810 grep -v '^ *+' conftest.er1
>conftest.err
27812 cat conftest.err
>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } &&
27815 { ac_try
='test -z "$ac_c_werror_flag"
27816 || test ! -s conftest.err'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; } &&
27822 { ac_try
='test -s conftest$ac_exeext'
27823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27824 (eval $ac_try) 2>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); }; }; then
27828 echo "*** The test program compiled, but did not run. This usually means"
27829 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27830 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27831 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27832 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27833 echo "*** is required on your system"
27835 echo "*** If you have an old version installed, it is best to remove it, although"
27836 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.
$ac_ext >&5
27841 echo "*** The test program failed to compile or link. See the file config.log for the"
27842 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27844 rm -f conftest.err conftest.
$ac_objext \
27845 conftest
$ac_exeext conftest.
$ac_ext
27846 CFLAGS
="$ac_save_CFLAGS"
27847 LIBS
="$ac_save_LIBS"
27861 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27862 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27863 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27865 if test "$wxUSE_SHARED" != "yes"; then
27866 GTK_LIBS
="$GTK_LIBS -lX11"
27871 if test -z "$wx_cv_lib_gtk"; then
27872 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27874 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27875 if test "${with_gtk_prefix+set}" = set; then
27876 withval
="$with_gtk_prefix"
27877 gtk_config_prefix
="$withval"
27879 gtk_config_prefix
=""
27882 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27883 if test "${with_gtk_exec_prefix+set}" = set; then
27884 withval
="$with_gtk_exec_prefix"
27885 gtk_config_exec_prefix
="$withval"
27887 gtk_config_exec_prefix
=""
27889 # Check whether --enable-gtktest or --disable-gtktest was given.
27890 if test "${enable_gtktest+set}" = set; then
27891 enableval
="$enable_gtktest"
27897 for module
in .
$GTK_MODULES
27901 gtk_config_args
="$gtk_config_args gthread"
27906 if test x
$gtk_config_exec_prefix != x
; then
27907 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27908 if test x
${GTK_CONFIG+set} != xset
; then
27909 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27912 if test x
$gtk_config_prefix != x
; then
27913 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27914 if test x
${GTK_CONFIG+set} != xset
; then
27915 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27919 # Extract the first word of "gtk-config", so it can be a program name with args.
27920 set dummy gtk
-config; ac_word
=$2
27921 echo "$as_me:$LINENO: checking for $ac_word" >&5
27922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27923 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27924 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 case $GTK_CONFIG in
27928 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27932 for as_dir
in $PATH
27935 test -z "$as_dir" && as_dir
=.
27936 for ac_exec_ext
in '' $ac_executable_extensions; do
27937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27938 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27949 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27951 if test -n "$GTK_CONFIG"; then
27952 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27953 echo "${ECHO_T}$GTK_CONFIG" >&6
27955 echo "$as_me:$LINENO: result: no" >&5
27956 echo "${ECHO_T}no" >&6
27959 min_gtk_version
=1.2.7
27960 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27961 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27963 if test "$GTK_CONFIG" = "no" ; then
27966 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27967 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27968 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27970 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27972 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27974 if test "x$enable_gtktest" = "xyes" ; then
27975 ac_save_CFLAGS
="$CFLAGS"
27976 ac_save_LIBS
="$LIBS"
27977 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27978 LIBS
="$GTK_LIBS $LIBS"
27980 if test "$cross_compiling" = yes; then
27981 echo $ac_n "cross compiling; assumed OK... $ac_c"
27983 cat >conftest.
$ac_ext <<_ACEOF
27986 cat confdefs.h
>>conftest.
$ac_ext
27987 cat >>conftest.
$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27990 #include <gtk/gtk.h>
27992 #include <stdlib.h>
27997 int major, minor, micro;
28000 system ("touch conf.gtktest");
28002 /* HP/UX 9 (%@#!) writes to sscanf strings */
28003 tmp_version = g_strdup("$min_gtk_version");
28004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28005 printf("%s, bad version string\n", "$min_gtk_version");
28009 if ((gtk_major_version != $gtk_config_major_version) ||
28010 (gtk_minor_version != $gtk_config_minor_version) ||
28011 (gtk_micro_version != $gtk_config_micro_version))
28013 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28015 gtk_major_version, gtk_minor_version, gtk_micro_version);
28016 printf ("*** was found! If gtk-config was correct, then it is best\n");
28017 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28019 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28020 printf("*** required on your system.\n");
28021 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28022 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28023 printf("*** before re-running configure\n");
28025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28027 (gtk_minor_version != GTK_MINOR_VERSION) ||
28028 (gtk_micro_version != GTK_MICRO_VERSION))
28030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28032 printf("*** library (version %d.%d.%d)\n",
28033 gtk_major_version, gtk_minor_version, gtk_micro_version);
28035 #endif /* defined (GTK_MAJOR_VERSION) ... */
28038 if ((gtk_major_version > major) ||
28039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28046 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28047 gtk_major_version, gtk_minor_version, gtk_micro_version);
28048 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28049 major, minor, micro);
28050 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28052 printf("*** If you have already installed a sufficiently new version, this error\n");
28053 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28054 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28055 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28056 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28057 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28058 printf("*** so that the correct libraries are found at run-time))\n");
28065 rm -f conftest
$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067 (eval $ac_link) 2>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; }; then
28078 echo "$as_me: program exited with status $ac_status" >&5
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.
$ac_ext >&5
28082 ( exit $ac_status )
28085 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28087 CFLAGS
="$ac_save_CFLAGS"
28088 LIBS
="$ac_save_LIBS"
28091 if test "x$no_gtk" = x
; then
28092 echo "$as_me:$LINENO: result: yes" >&5
28093 echo "${ECHO_T}yes" >&6
28094 wx_cv_lib_gtk
=1.2.7
28096 echo "$as_me:$LINENO: result: no" >&5
28097 echo "${ECHO_T}no" >&6
28098 if test "$GTK_CONFIG" = "no" ; then
28099 echo "*** The gtk-config script installed by GTK could not be found"
28100 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28101 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28102 echo "*** full path to gtk-config."
28104 if test -f conf.gtktest
; then
28107 echo "*** Could not run GTK test program, checking why..."
28108 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28109 LIBS
="$LIBS $GTK_LIBS"
28110 cat >conftest.
$ac_ext <<_ACEOF
28113 cat confdefs.h
>>conftest.
$ac_ext
28114 cat >>conftest.
$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28117 #include <gtk/gtk.h>
28123 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28128 rm -f conftest.
$ac_objext conftest
$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>conftest.er1
28132 grep -v '^ *+' conftest.er1
>conftest.err
28134 cat conftest.err
>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try
='test -z "$ac_c_werror_flag"
28138 || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try
='test -s conftest$ac_exeext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150 echo "*** The test program compiled, but did not run. This usually means"
28151 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28152 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28153 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28154 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28155 echo "*** is required on your system"
28157 echo "*** If you have an old version installed, it is best to remove it, although"
28158 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28160 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28161 echo "*** came with the system with the command"
28163 echo "*** rpm --erase --nodeps gtk gtk-devel"
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.
$ac_ext >&5
28168 echo "*** The test program failed to compile or link. See the file config.log for the"
28169 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28170 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28171 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28173 rm -f conftest.err conftest.
$ac_objext \
28174 conftest
$ac_exeext conftest.
$ac_ext
28175 CFLAGS
="$ac_save_CFLAGS"
28176 LIBS
="$ac_save_LIBS"
28188 if test -z "$wx_cv_lib_gtk"; then
28190 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28191 if test "${with_gtk_prefix+set}" = set; then
28192 withval
="$with_gtk_prefix"
28193 gtk_config_prefix
="$withval"
28195 gtk_config_prefix
=""
28198 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28199 if test "${with_gtk_exec_prefix+set}" = set; then
28200 withval
="$with_gtk_exec_prefix"
28201 gtk_config_exec_prefix
="$withval"
28203 gtk_config_exec_prefix
=""
28205 # Check whether --enable-gtktest or --disable-gtktest was given.
28206 if test "${enable_gtktest+set}" = set; then
28207 enableval
="$enable_gtktest"
28213 for module
in .
$GTK_MODULES
28217 gtk_config_args
="$gtk_config_args gthread"
28222 if test x
$gtk_config_exec_prefix != x
; then
28223 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28224 if test x
${GTK_CONFIG+set} != xset
; then
28225 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28228 if test x
$gtk_config_prefix != x
; then
28229 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28230 if test x
${GTK_CONFIG+set} != xset
; then
28231 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28235 # Extract the first word of "gtk-config", so it can be a program name with args.
28236 set dummy gtk
-config; ac_word
=$2
28237 echo "$as_me:$LINENO: checking for $ac_word" >&5
28238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28239 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 case $GTK_CONFIG in
28244 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28248 for as_dir
in $PATH
28251 test -z "$as_dir" && as_dir
=.
28252 for ac_exec_ext
in '' $ac_executable_extensions; do
28253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28254 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28261 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28265 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28267 if test -n "$GTK_CONFIG"; then
28268 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28269 echo "${ECHO_T}$GTK_CONFIG" >&6
28271 echo "$as_me:$LINENO: result: no" >&5
28272 echo "${ECHO_T}no" >&6
28275 min_gtk_version
=1.2.3
28276 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28277 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28279 if test "$GTK_CONFIG" = "no" ; then
28282 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28283 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28284 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28286 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28288 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28290 if test "x$enable_gtktest" = "xyes" ; then
28291 ac_save_CFLAGS
="$CFLAGS"
28292 ac_save_LIBS
="$LIBS"
28293 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28294 LIBS
="$GTK_LIBS $LIBS"
28296 if test "$cross_compiling" = yes; then
28297 echo $ac_n "cross compiling; assumed OK... $ac_c"
28299 cat >conftest.
$ac_ext <<_ACEOF
28302 cat confdefs.h
>>conftest.
$ac_ext
28303 cat >>conftest.
$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28306 #include <gtk/gtk.h>
28308 #include <stdlib.h>
28313 int major, minor, micro;
28316 system ("touch conf.gtktest");
28318 /* HP/UX 9 (%@#!) writes to sscanf strings */
28319 tmp_version = g_strdup("$min_gtk_version");
28320 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28321 printf("%s, bad version string\n", "$min_gtk_version");
28325 if ((gtk_major_version != $gtk_config_major_version) ||
28326 (gtk_minor_version != $gtk_config_minor_version) ||
28327 (gtk_micro_version != $gtk_config_micro_version))
28329 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28330 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28331 gtk_major_version, gtk_minor_version, gtk_micro_version);
28332 printf ("*** was found! If gtk-config was correct, then it is best\n");
28333 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28334 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28335 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28336 printf("*** required on your system.\n");
28337 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28338 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28339 printf("*** before re-running configure\n");
28341 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28342 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28343 (gtk_minor_version != GTK_MINOR_VERSION) ||
28344 (gtk_micro_version != GTK_MICRO_VERSION))
28346 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28347 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28348 printf("*** library (version %d.%d.%d)\n",
28349 gtk_major_version, gtk_minor_version, gtk_micro_version);
28351 #endif /* defined (GTK_MAJOR_VERSION) ... */
28354 if ((gtk_major_version > major) ||
28355 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28356 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28362 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28363 gtk_major_version, gtk_minor_version, gtk_micro_version);
28364 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28365 major, minor, micro);
28366 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28368 printf("*** If you have already installed a sufficiently new version, this error\n");
28369 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28370 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28371 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28372 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28373 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28374 printf("*** so that the correct libraries are found at run-time))\n");
28381 rm -f conftest
$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28388 (eval $ac_try) 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); }; }; then
28394 echo "$as_me: program exited with status $ac_status" >&5
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.
$ac_ext >&5
28398 ( exit $ac_status )
28401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28403 CFLAGS
="$ac_save_CFLAGS"
28404 LIBS
="$ac_save_LIBS"
28407 if test "x$no_gtk" = x
; then
28408 echo "$as_me:$LINENO: result: yes" >&5
28409 echo "${ECHO_T}yes" >&6
28410 wx_cv_lib_gtk
=1.2.3
28412 echo "$as_me:$LINENO: result: no" >&5
28413 echo "${ECHO_T}no" >&6
28414 if test "$GTK_CONFIG" = "no" ; then
28415 echo "*** The gtk-config script installed by GTK could not be found"
28416 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28417 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28418 echo "*** full path to gtk-config."
28420 if test -f conf.gtktest
; then
28423 echo "*** Could not run GTK test program, checking why..."
28424 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28425 LIBS
="$LIBS $GTK_LIBS"
28426 cat >conftest.
$ac_ext <<_ACEOF
28429 cat confdefs.h
>>conftest.
$ac_ext
28430 cat >>conftest.
$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28433 #include <gtk/gtk.h>
28439 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28444 rm -f conftest.
$ac_objext conftest
$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446 (eval $ac_link) 2>conftest.er1
28448 grep -v '^ *+' conftest.er1
>conftest.err
28450 cat conftest.err
>&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); } &&
28453 { ac_try
='test -z "$ac_c_werror_flag"
28454 || test ! -s conftest.err'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; } &&
28460 { ac_try
='test -s conftest$ac_exeext'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; }; then
28466 echo "*** The test program compiled, but did not run. This usually means"
28467 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28468 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28469 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28470 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28471 echo "*** is required on your system"
28473 echo "*** If you have an old version installed, it is best to remove it, although"
28474 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28476 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28477 echo "*** came with the system with the command"
28479 echo "*** rpm --erase --nodeps gtk gtk-devel"
28481 echo "$as_me: failed program was:" >&5
28482 sed 's/^/| /' conftest.
$ac_ext >&5
28484 echo "*** The test program failed to compile or link. See the file config.log for the"
28485 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28486 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28487 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28489 rm -f conftest.err conftest.
$ac_objext \
28490 conftest
$ac_exeext conftest.
$ac_ext
28491 CFLAGS
="$ac_save_CFLAGS"
28492 LIBS
="$ac_save_LIBS"
28507 if test -z "$wx_cv_lib_gtk"; then
28510 wx_cv_cflags_gtk
=$GTK_CFLAGS
28511 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28518 if test "$gtk_version_cached" = 1; then
28519 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28520 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28523 case "$wx_cv_lib_gtk" in
28532 *) { { echo "$as_me:$LINENO: error:
28533 The development files for GTK+ were not found. For GTK+ 2, please
28534 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28535 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28536 and that the version is 1.2.3 or above. Also check that the
28537 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28538 --libs' are in the LD_LIBRARY_PATH or equivalent.
28540 echo "$as_me: error:
28541 The development files for GTK+ were not found. For GTK+ 2, please
28542 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28543 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28544 and that the version is 1.2.3 or above. Also check that the
28545 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28546 --libs' are in the LD_LIBRARY_PATH or equivalent.
28548 { (exit 1); exit 1; }; }
28552 if test "$WXGTK20" = 1; then
28553 save_CFLAGS
="$CFLAGS"
28555 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28556 LIBS
="$LIBS $wx_cv_libs_gtk"
28558 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28559 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28560 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28563 cat >conftest.
$ac_ext <<_ACEOF
28566 cat confdefs.h
>>conftest.
$ac_ext
28567 cat >>conftest.
$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569 #include <gtk/gtk.h>
28574 #ifndef gtk_icon_size_lookup
28575 char *p = (char *) gtk_icon_size_lookup;
28582 rm -f conftest.
$ac_objext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28584 (eval $ac_compile) 2>conftest.er1
28586 grep -v '^ *+' conftest.er1
>conftest.err
28588 cat conftest.err
>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try
='test -z "$ac_c_werror_flag"
28592 || test ! -s conftest.err'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; } &&
28598 { ac_try
='test -s conftest.$ac_objext'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; }; then
28604 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.
$ac_ext >&5
28609 ac_cv_have_decl_gtk_icon_size_lookup
=no
28611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28613 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28614 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28615 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28617 cat >>confdefs.h
<<_ACEOF
28618 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28623 cat >>confdefs.h
<<_ACEOF
28624 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28627 cat >>confdefs.h
<<\_ACEOF
28628 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28635 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28636 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28637 cat >conftest.
$ac_ext <<_ACEOF
28640 cat confdefs.h
>>conftest.
$ac_ext
28641 cat >>conftest.
$ac_ext <<_ACEOF
28642 /* end confdefs.h. */
28644 #include <gtk/gtk.h>
28650 #if !GTK_CHECK_VERSION(2,6,0)
28658 rm -f conftest.
$ac_objext
28659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28660 (eval $ac_compile) 2>conftest.er1
28662 grep -v '^ *+' conftest.er1
>conftest.err
28664 cat conftest.err
>&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } &&
28667 { ac_try
='test -z "$ac_c_werror_flag"
28668 || test ! -s conftest.err'
28669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28670 (eval $ac_try) 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; } &&
28674 { ac_try
='test -s conftest.$ac_objext'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; }; then
28681 cat >>confdefs.h
<<\_ACEOF
28682 #define __WXGTK26__ 1
28685 cat >>confdefs.h
<<\_ACEOF
28686 #define __WXGTK24__ 1
28689 echo "$as_me:$LINENO: result: yes" >&5
28690 echo "${ECHO_T}yes" >&6
28694 echo "$as_me: failed program was:" >&5
28695 sed 's/^/| /' conftest.
$ac_ext >&5
28698 echo "$as_me:$LINENO: result: no" >&5
28699 echo "${ECHO_T}no" >&6
28703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28705 if test "$ac_wxgtk26" = 0; then
28706 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28707 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28708 cat >conftest.
$ac_ext <<_ACEOF
28711 cat confdefs.h
>>conftest.
$ac_ext
28712 cat >>conftest.
$ac_ext <<_ACEOF
28713 /* end confdefs.h. */
28715 #include <gtk/gtk.h>
28721 #if !GTK_CHECK_VERSION(2,4,0)
28729 rm -f conftest.
$ac_objext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28731 (eval $ac_compile) 2>conftest.er1
28733 grep -v '^ *+' conftest.er1
>conftest.err
28735 cat conftest.err
>&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
28738 { ac_try
='test -z "$ac_c_werror_flag"
28739 || test ! -s conftest.err'
28740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741 (eval $ac_try) 2>&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); }; } &&
28745 { ac_try
='test -s conftest.$ac_objext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28752 cat >>confdefs.h
<<\_ACEOF
28753 #define __WXGTK24__ 1
28756 echo "$as_me:$LINENO: result: yes" >&5
28757 echo "${ECHO_T}yes" >&6
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.
$ac_ext >&5
28764 echo "$as_me:$LINENO: result: no" >&5
28765 echo "${ECHO_T}no" >&6
28768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28771 CFLAGS
="$save_CFLAGS"
28774 if test "$wxUSE_UNICODE" = "yes"; then
28775 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28776 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28782 ac_cpp
='$CXXCPP $CPPFLAGS'
28783 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28784 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28785 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28788 if test "$USE_DARWIN" != 1; then
28790 for ac_func
in poll
28792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28793 echo "$as_me:$LINENO: checking for $ac_func" >&5
28794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28795 if eval "test \"\${$as_ac_var+set}\" = set"; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 cat >conftest.
$ac_ext <<_ACEOF
28801 cat confdefs.h
>>conftest.
$ac_ext
28802 cat >>conftest.
$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28806 #define $ac_func innocuous_$ac_func
28808 /* System header to define __stub macros and hopefully few prototypes,
28809 which can conflict with char $ac_func (); below.
28810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28811 <limits.h> exists even on freestanding compilers. */
28814 # include <limits.h>
28816 # include <assert.h>
28821 /* Override any gcc2 internal prototype to avoid an error. */
28826 /* We use char because int might match the return type of a gcc2
28827 builtin and then its argument prototype would still apply. */
28829 /* The GNU C library defines this for functions which it implements
28830 to always fail with ENOSYS. Some functions are actually named
28831 something starting with __ and the normal name is an alias. */
28832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28835 char (*f) () = $ac_func;
28844 return f != $ac_func;
28849 rm -f conftest.
$ac_objext conftest
$ac_exeext
28850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28851 (eval $ac_link) 2>conftest.er1
28853 grep -v '^ *+' conftest.er1
>conftest.err
28855 cat conftest.err
>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); } &&
28858 { ac_try
='test -z "$ac_cxx_werror_flag"
28859 || test ! -s conftest.err'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try
='test -s conftest$ac_exeext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 eval "$as_ac_var=yes"
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.
$ac_ext >&5
28876 eval "$as_ac_var=no"
28878 rm -f conftest.err conftest.
$ac_objext \
28879 conftest
$ac_exeext conftest.
$ac_ext
28881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28883 if test `eval echo '${'$as_ac_var'}'` = yes; then
28884 cat >>confdefs.h
<<_ACEOF
28885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28893 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28894 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28896 AFMINSTALL
=afminstall
28900 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28901 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28902 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 ac_check_lib_save_LIBS
=$LIBS
28907 cat >conftest.
$ac_ext <<_ACEOF
28910 cat confdefs.h
>>conftest.
$ac_ext
28911 cat >>conftest.
$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28914 /* Override any gcc2 internal prototype to avoid an error. */
28918 /* We use char because int might match the return type of a gcc2
28919 builtin and then its argument prototype would still apply. */
28920 char gdk_im_open ();
28929 rm -f conftest.
$ac_objext conftest
$ac_exeext
28930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28931 (eval $ac_link) 2>conftest.er1
28933 grep -v '^ *+' conftest.er1
>conftest.err
28935 cat conftest.err
>&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); } &&
28938 { ac_try
='test -z "$ac_cxx_werror_flag"
28939 || test ! -s conftest.err'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; } &&
28945 { ac_try
='test -s conftest$ac_exeext'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; }; then
28951 ac_cv_lib_gdk_gdk_im_open
=yes
28953 echo "$as_me: failed program was:" >&5
28954 sed 's/^/| /' conftest.
$ac_ext >&5
28956 ac_cv_lib_gdk_gdk_im_open
=no
28958 rm -f conftest.err conftest.
$ac_objext \
28959 conftest
$ac_exeext conftest.
$ac_ext
28960 LIBS
=$ac_check_lib_save_LIBS
28962 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28963 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28964 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28965 cat >>confdefs.h
<<\_ACEOF
28973 if test "$wxUSE_GPE" = "yes"; then
28974 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28975 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28978 for ac_dir
in $SEARCH_LIB;
28980 for ac_extension
in a so sl dylib dll.a
; do
28981 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28982 ac_find_libraries
=$ac_dir
28988 if test "$ac_find_libraries" != "" ; then
28990 if test "$ac_find_libraries" = "default location"; then
28993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28995 if test $result = 0; then
28998 ac_path_to_link
=" -L$ac_find_libraries"
29002 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29004 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29005 echo "${ECHO_T}found in $ac_find_libraries" >&6
29007 echo "$as_me:$LINENO: result: not found" >&5
29008 echo "${ECHO_T}not found" >&6
29014 if test "$wxUSE_MGL" = 1; then
29015 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29016 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29017 if test "x$MGL_ROOT" = x
; then
29018 echo "$as_me:$LINENO: result: not found" >&5
29019 echo "${ECHO_T}not found" >&6
29020 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29021 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29022 { (exit 1); exit 1; }; }
29024 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29025 echo "${ECHO_T}$MGL_ROOT" >&6
29028 echo "$as_me:$LINENO: checking for libmgl location" >&5
29029 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29032 if test "x$wxUSE_SHARED" = xyes
; then
29033 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29035 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29039 mgl_os_candidates
="dos32/dj2"
29042 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29043 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29044 { (exit 1); exit 1; }; }
29050 for mgl_os_i
in $mgl_os_candidates ; do
29051 if test "x$mgl_os" = x
; then
29052 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29053 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29054 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29059 if test "x$mgl_lib_type" = x
; then
29060 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29061 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29062 mgl_lib_type
=release
29069 if test "x$mgl_os" = x
; then
29070 echo "$as_me:$LINENO: result: not found" >&5
29071 echo "${ECHO_T}not found" >&6
29072 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29073 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29074 { (exit 1); exit 1; }; }
29076 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29077 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29079 wxUSE_UNIVERSAL
="yes"
29081 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29082 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29084 AFMINSTALL
=afminstall
29089 if test "$wxUSE_DFB" = 1; then
29092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29093 if test -n "$ac_tool_prefix"; then
29094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29095 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29096 echo "$as_me:$LINENO: checking for $ac_word" >&5
29097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 case $PKG_CONFIG in
29103 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29107 for as_dir
in $PATH
29110 test -z "$as_dir" && as_dir
=.
29111 for ac_exec_ext
in '' $ac_executable_extensions; do
29112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29113 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29123 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29125 if test -n "$PKG_CONFIG"; then
29126 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29127 echo "${ECHO_T}$PKG_CONFIG" >&6
29129 echo "$as_me:$LINENO: result: no" >&5
29130 echo "${ECHO_T}no" >&6
29134 if test -z "$ac_cv_path_PKG_CONFIG"; then
29135 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29136 # Extract the first word of "pkg-config", so it can be a program name with args.
29137 set dummy pkg
-config; ac_word
=$2
29138 echo "$as_me:$LINENO: checking for $ac_word" >&5
29139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29140 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29141 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 case $ac_pt_PKG_CONFIG in
29145 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29149 for as_dir
in $PATH
29152 test -z "$as_dir" && as_dir
=.
29153 for ac_exec_ext
in '' $ac_executable_extensions; do
29154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29155 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29165 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29167 if test -n "$ac_pt_PKG_CONFIG"; then
29168 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29169 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29171 echo "$as_me:$LINENO: result: no" >&5
29172 echo "${ECHO_T}no" >&6
29175 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29177 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29181 if test -n "$PKG_CONFIG"; then
29182 _pkg_min_version
=0.9.0
29183 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29184 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29185 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29186 echo "$as_me:$LINENO: result: yes" >&5
29187 echo "${ECHO_T}yes" >&6
29189 echo "$as_me:$LINENO: result: no" >&5
29190 echo "${ECHO_T}no" >&6
29197 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29198 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29200 if test -n "$PKG_CONFIG"; then
29201 if test -n "$DIRECTFB_CFLAGS"; then
29202 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29204 if test -n "$PKG_CONFIG" && \
29205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29206 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; then
29210 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29218 if test -n "$PKG_CONFIG"; then
29219 if test -n "$DIRECTFB_LIBS"; then
29220 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29222 if test -n "$PKG_CONFIG" && \
29223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29224 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; then
29228 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29239 if test $pkg_failed = yes; then
29241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29242 _pkg_short_errors_supported
=yes
29244 _pkg_short_errors_supported
=no
29246 if test $_pkg_short_errors_supported = yes; then
29247 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29249 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29251 # Put the nasty error message in config.log where it belongs
29252 echo "$DIRECTFB_PKG_ERRORS" >&5
29255 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29256 echo "$as_me: error: DirectFB not found." >&2;}
29257 { (exit 1); exit 1; }; }
29260 elif test $pkg_failed = untried
; then
29262 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29263 echo "$as_me: error: DirectFB not found." >&2;}
29264 { (exit 1); exit 1; }; }
29268 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29269 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29270 echo "$as_me:$LINENO: result: yes" >&5
29271 echo "${ECHO_T}yes" >&6
29273 wxUSE_UNIVERSAL
="yes"
29274 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29275 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29282 if test "$wxUSE_MICROWIN" = 1; then
29283 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29284 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29285 if test "x$MICROWINDOWS" = x
; then
29286 echo "$as_me:$LINENO: result: not found" >&5
29287 echo "${ECHO_T}not found" >&6
29288 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29289 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29290 { (exit 1); exit 1; }; }
29292 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29293 echo "${ECHO_T}$MICROWINDOWS" >&6
29296 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29297 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29298 echo "${ECHO_T}MicroWindows' libraries found." >&6
29300 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29301 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29302 { (exit 1); exit 1; }; }
29305 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29306 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29308 wxUSE_UNIVERSAL
="yes"
29310 AFMINSTALL
=afminstall
29312 GUIDIST
=MICROWIN_DIST
29314 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29317 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29318 echo "$as_me:$LINENO: checking for X" >&5
29319 echo $ECHO_N "checking for X... $ECHO_C" >&6
29322 # Check whether --with-x or --without-x was given.
29323 if test "${with_x+set}" = set; then
29327 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29328 if test "x$with_x" = xno
; then
29329 # The user explicitly disabled X.
29332 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29333 # Both variables are already set.
29336 if test "${ac_cv_have_x+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 # One or both of the vars are not set, and there is no cached value.
29340 ac_x_includes
=no ac_x_libraries
=no
29341 rm -fr conftest.dir
29342 if mkdir conftest.dir
; then
29344 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29345 cat >Imakefile
<<'_ACEOF'
29347 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29349 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29350 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29351 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29352 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29353 for ac_extension
in a so sl
; do
29354 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29355 test -f $ac_im_libdir/libX11.
$ac_extension; then
29356 ac_im_usrlibdir
=$ac_im_libdir; break
29359 # Screen out bogus values from the imake configuration. They are
29360 # bogus both because they are the default anyway, and because
29361 # using them would break gcc on systems where it needs fixed includes.
29362 case $ac_im_incroot in
29364 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29366 case $ac_im_usrlibdir in
29367 /usr
/lib
| /lib
) ;;
29368 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29372 rm -fr conftest.dir
29375 # Standard set of common directories for X headers.
29376 # Check X11 before X11Rn because it is often a symlink to the current release.
29388 /usr/local/X11/include
29389 /usr/local/X11R6/include
29390 /usr/local/X11R5/include
29391 /usr/local/X11R4/include
29393 /usr/local/include/X11
29394 /usr/local/include/X11R6
29395 /usr/local/include/X11R5
29396 /usr/local/include/X11R4
29400 /usr/XFree86/include/X11
29404 /usr/unsupported/include
29405 /usr/athena/include
29406 /usr/local/x11r5/include
29407 /usr/lpp/Xamples/include
29409 /usr/openwin/include
29410 /usr/openwin/share/include'
29412 if test "$ac_x_includes" = no
; then
29413 # Guess where to find include files, by looking for Intrinsic.h.
29414 # First, try using that file with no special directory specified.
29415 cat >conftest.
$ac_ext <<_ACEOF
29418 cat confdefs.h
>>conftest.
$ac_ext
29419 cat >>conftest.
$ac_ext <<_ACEOF
29420 /* end confdefs.h. */
29421 #include <X11/Intrinsic.h>
29423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29426 grep -v '^ *+' conftest.er1
>conftest.err
29428 cat conftest.err
>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); } >/dev
/null
; then
29431 if test -s conftest.err
; then
29432 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29433 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29440 if test -z "$ac_cpp_err"; then
29441 # We can compile using X headers with no special include directory.
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.
$ac_ext >&5
29447 for ac_dir
in $ac_x_header_dirs; do
29448 if test -r "$ac_dir/X11/Intrinsic.h"; then
29449 ac_x_includes
=$ac_dir
29454 rm -f conftest.err conftest.
$ac_ext
29455 fi # $ac_x_includes = no
29457 if test "$ac_x_libraries" = no
; then
29458 # Check for the libraries.
29459 # See if we find them without any special options.
29460 # Don't add to $LIBS permanently.
29463 cat >conftest.
$ac_ext <<_ACEOF
29466 cat confdefs.h
>>conftest.
$ac_ext
29467 cat >>conftest.
$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469 #include <X11/Intrinsic.h>
29478 rm -f conftest.
$ac_objext conftest
$ac_exeext
29479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29480 (eval $ac_link) 2>conftest.er1
29482 grep -v '^ *+' conftest.er1
>conftest.err
29484 cat conftest.err
>&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); } &&
29487 { ac_try
='test -z "$ac_cxx_werror_flag"
29488 || test ! -s conftest.err'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; } &&
29494 { ac_try
='test -s conftest$ac_exeext'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; }; then
29501 # We can link X programs with no special library path.
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.
$ac_ext >&5
29508 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29510 # Don't even attempt the hair of trying to link an X program!
29511 for ac_extension
in a so sl
; do
29512 if test -r $ac_dir/libXt.
$ac_extension; then
29513 ac_x_libraries
=$ac_dir
29519 rm -f conftest.err conftest.
$ac_objext \
29520 conftest
$ac_exeext conftest.
$ac_ext
29521 fi # $ac_x_libraries = no
29523 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29524 # Didn't find X anywhere. Cache the known absence of X.
29525 ac_cv_have_x
="have_x=no"
29527 # Record where we found X for the cache.
29528 ac_cv_have_x
="have_x=yes \
29529 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29534 eval "$ac_cv_have_x"
29537 if test "$have_x" != yes; then
29538 echo "$as_me:$LINENO: result: $have_x" >&5
29539 echo "${ECHO_T}$have_x" >&6
29542 # If each of the values was on the command line, it overrides each guess.
29543 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29544 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29545 # Update the cache value to reflect the command line values.
29546 ac_cv_have_x
="have_x=yes \
29547 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29548 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29549 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29552 if test "$no_x" = yes; then
29553 # Not all programs may use this symbol, but it does not hurt to define it.
29555 cat >>confdefs.h
<<\_ACEOF
29556 #define X_DISPLAY_MISSING 1
29559 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29561 if test -n "$x_includes"; then
29562 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29565 # It would also be nice to do this for all -L options, not just this one.
29566 if test -n "$x_libraries"; then
29567 X_LIBS
="$X_LIBS -L$x_libraries"
29568 # For Solaris; some versions of Sun CC require a space after -R and
29569 # others require no space. Words are not sufficient . . . .
29570 case `(uname -sr) 2>/dev/null` in
29572 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29573 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29574 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29575 cat >conftest.
$ac_ext <<_ACEOF
29578 cat confdefs.h
>>conftest.
$ac_ext
29579 cat >>conftest.
$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29590 rm -f conftest.
$ac_objext conftest
$ac_exeext
29591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29592 (eval $ac_link) 2>conftest.er1
29594 grep -v '^ *+' conftest.er1
>conftest.err
29596 cat conftest.err
>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); } &&
29599 { ac_try
='test -z "$ac_cxx_werror_flag"
29600 || test ! -s conftest.err'
29601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29602 (eval $ac_try) 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; } &&
29606 { ac_try
='test -s conftest$ac_exeext'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; }; then
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.
$ac_ext >&5
29619 rm -f conftest.err conftest.
$ac_objext \
29620 conftest
$ac_exeext conftest.
$ac_ext
29621 if test $ac_R_nospace = yes; then
29622 echo "$as_me:$LINENO: result: no" >&5
29623 echo "${ECHO_T}no" >&6
29624 X_LIBS
="$X_LIBS -R$x_libraries"
29626 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29627 cat >conftest.
$ac_ext <<_ACEOF
29630 cat confdefs.h
>>conftest.
$ac_ext
29631 cat >>conftest.
$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29642 rm -f conftest.
$ac_objext conftest
$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29646 grep -v '^ *+' conftest.er1
>conftest.err
29648 cat conftest.err
>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -z "$ac_cxx_werror_flag"
29652 || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try
='test -s conftest$ac_exeext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.
$ac_ext >&5
29671 rm -f conftest.err conftest.
$ac_objext \
29672 conftest
$ac_exeext conftest.
$ac_ext
29673 if test $ac_R_space = yes; then
29674 echo "$as_me:$LINENO: result: yes" >&5
29675 echo "${ECHO_T}yes" >&6
29676 X_LIBS
="$X_LIBS -R $x_libraries"
29678 echo "$as_me:$LINENO: result: neither works" >&5
29679 echo "${ECHO_T}neither works" >&6
29682 LIBS
=$ac_xsave_LIBS
29686 # Check for system-dependent libraries X programs must link with.
29687 # Do this before checking for the system-independent R6 libraries
29688 # (-lICE), since we may need -lsocket or whatever for X linking.
29690 if test "$ISC" = yes; then
29691 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29693 # Martyn Johnson says this is needed for Ultrix, if the X
29694 # libraries were built with DECnet support. And Karl Berry says
29695 # the Alpha needs dnet_stub (dnet does not exist).
29696 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29697 cat >conftest.
$ac_ext <<_ACEOF
29700 cat confdefs.h
>>conftest.
$ac_ext
29701 cat >>conftest.
$ac_ext <<_ACEOF
29702 /* end confdefs.h. */
29704 /* Override any gcc2 internal prototype to avoid an error. */
29708 /* We use char because int might match the return type of a gcc2
29709 builtin and then its argument prototype would still apply. */
29710 char XOpenDisplay ();
29719 rm -f conftest.
$ac_objext conftest
$ac_exeext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721 (eval $ac_link) 2>conftest.er1
29723 grep -v '^ *+' conftest.er1
>conftest.err
29725 cat conftest.err
>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try
='test -z "$ac_cxx_werror_flag"
29729 || test ! -s conftest.err'
29730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731 (eval $ac_try) 2>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); }; } &&
29735 { ac_try
='test -s conftest$ac_exeext'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; }; then
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.
$ac_ext >&5
29746 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29747 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29748 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29749 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 ac_check_lib_save_LIBS
=$LIBS
29752 LIBS
="-ldnet $LIBS"
29753 cat >conftest.
$ac_ext <<_ACEOF
29756 cat confdefs.h
>>conftest.
$ac_ext
29757 cat >>conftest.
$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29760 /* Override any gcc2 internal prototype to avoid an error. */
29764 /* We use char because int might match the return type of a gcc2
29765 builtin and then its argument prototype would still apply. */
29775 rm -f conftest.
$ac_objext conftest
$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>conftest.er1
29779 grep -v '^ *+' conftest.er1
>conftest.err
29781 cat conftest.err
>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -z "$ac_cxx_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try
='test -s conftest$ac_exeext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29797 ac_cv_lib_dnet_dnet_ntoa
=yes
29799 echo "$as_me: failed program was:" >&5
29800 sed 's/^/| /' conftest.
$ac_ext >&5
29802 ac_cv_lib_dnet_dnet_ntoa
=no
29804 rm -f conftest.err conftest.
$ac_objext \
29805 conftest
$ac_exeext conftest.
$ac_ext
29806 LIBS
=$ac_check_lib_save_LIBS
29808 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29809 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29810 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29814 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29815 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29816 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29817 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29820 ac_check_lib_save_LIBS
=$LIBS
29821 LIBS
="-ldnet_stub $LIBS"
29822 cat >conftest.
$ac_ext <<_ACEOF
29825 cat confdefs.h
>>conftest.
$ac_ext
29826 cat >>conftest.
$ac_ext <<_ACEOF
29827 /* end confdefs.h. */
29829 /* Override any gcc2 internal prototype to avoid an error. */
29833 /* We use char because int might match the return type of a gcc2
29834 builtin and then its argument prototype would still apply. */
29844 rm -f conftest.
$ac_objext conftest
$ac_exeext
29845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29846 (eval $ac_link) 2>conftest.er1
29848 grep -v '^ *+' conftest.er1
>conftest.err
29850 cat conftest.err
>&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); } &&
29853 { ac_try
='test -z "$ac_cxx_werror_flag"
29854 || test ! -s conftest.err'
29855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29856 (eval $ac_try) 2>&5
29858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 (exit $ac_status); }; } &&
29860 { ac_try
='test -s conftest$ac_exeext'
29861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 (eval $ac_try) 2>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); }; }; then
29866 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29868 echo "$as_me: failed program was:" >&5
29869 sed 's/^/| /' conftest.
$ac_ext >&5
29871 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29873 rm -f conftest.err conftest.
$ac_objext \
29874 conftest
$ac_exeext conftest.
$ac_ext
29875 LIBS
=$ac_check_lib_save_LIBS
29877 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29878 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29879 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29885 rm -f conftest.err conftest.
$ac_objext \
29886 conftest
$ac_exeext conftest.
$ac_ext
29887 LIBS
="$ac_xsave_LIBS"
29889 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29890 # to get the SysV transport functions.
29891 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29893 # The nsl library prevents programs from opening the X display
29894 # on Irix 5.2, according to T.E. Dickey.
29895 # The functions gethostbyname, getservbyname, and inet_addr are
29896 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29897 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29898 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29899 if test "${ac_cv_func_gethostbyname+set}" = set; then
29900 echo $ECHO_N "(cached) $ECHO_C" >&6
29902 cat >conftest.
$ac_ext <<_ACEOF
29905 cat confdefs.h
>>conftest.
$ac_ext
29906 cat >>conftest.
$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29910 #define gethostbyname innocuous_gethostbyname
29912 /* System header to define __stub macros and hopefully few prototypes,
29913 which can conflict with char gethostbyname (); below.
29914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29915 <limits.h> exists even on freestanding compilers. */
29918 # include <limits.h>
29920 # include <assert.h>
29923 #undef gethostbyname
29925 /* Override any gcc2 internal prototype to avoid an error. */
29930 /* We use char because int might match the return type of a gcc2
29931 builtin and then its argument prototype would still apply. */
29932 char gethostbyname ();
29933 /* The GNU C library defines this for functions which it implements
29934 to always fail with ENOSYS. Some functions are actually named
29935 something starting with __ and the normal name is an alias. */
29936 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29939 char (*f) () = gethostbyname;
29948 return f != gethostbyname;
29953 rm -f conftest.
$ac_objext conftest
$ac_exeext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29955 (eval $ac_link) 2>conftest.er1
29957 grep -v '^ *+' conftest.er1
>conftest.err
29959 cat conftest.err
>&5
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); } &&
29962 { ac_try
='test -z "$ac_cxx_werror_flag"
29963 || test ! -s conftest.err'
29964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29965 (eval $ac_try) 2>&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); }; } &&
29969 { ac_try
='test -s conftest$ac_exeext'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; }; then
29975 ac_cv_func_gethostbyname
=yes
29977 echo "$as_me: failed program was:" >&5
29978 sed 's/^/| /' conftest.
$ac_ext >&5
29980 ac_cv_func_gethostbyname
=no
29982 rm -f conftest.err conftest.
$ac_objext \
29983 conftest
$ac_exeext conftest.
$ac_ext
29985 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29986 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29988 if test $ac_cv_func_gethostbyname = no
; then
29989 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29990 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29991 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29992 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 ac_check_lib_save_LIBS
=$LIBS
29996 cat >conftest.
$ac_ext <<_ACEOF
29999 cat confdefs.h
>>conftest.
$ac_ext
30000 cat >>conftest.
$ac_ext <<_ACEOF
30001 /* end confdefs.h. */
30003 /* Override any gcc2 internal prototype to avoid an error. */
30007 /* We use char because int might match the return type of a gcc2
30008 builtin and then its argument prototype would still apply. */
30009 char gethostbyname ();
30018 rm -f conftest.
$ac_objext conftest
$ac_exeext
30019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30020 (eval $ac_link) 2>conftest.er1
30022 grep -v '^ *+' conftest.er1
>conftest.err
30024 cat conftest.err
>&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); } &&
30027 { ac_try
='test -z "$ac_cxx_werror_flag"
30028 || test ! -s conftest.err'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; } &&
30034 { ac_try
='test -s conftest$ac_exeext'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; }; then
30040 ac_cv_lib_nsl_gethostbyname
=yes
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.
$ac_ext >&5
30045 ac_cv_lib_nsl_gethostbyname
=no
30047 rm -f conftest.err conftest.
$ac_objext \
30048 conftest
$ac_exeext conftest.
$ac_ext
30049 LIBS
=$ac_check_lib_save_LIBS
30051 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30052 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30053 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30054 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30057 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30058 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30059 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30060 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 ac_check_lib_save_LIBS
=$LIBS
30065 cat >conftest.
$ac_ext <<_ACEOF
30068 cat confdefs.h
>>conftest.
$ac_ext
30069 cat >>conftest.
$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30072 /* Override any gcc2 internal prototype to avoid an error. */
30076 /* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078 char gethostbyname ();
30087 rm -f conftest.
$ac_objext conftest
$ac_exeext
30088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30089 (eval $ac_link) 2>conftest.er1
30091 grep -v '^ *+' conftest.er1
>conftest.err
30093 cat conftest.err
>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } &&
30096 { ac_try
='test -z "$ac_cxx_werror_flag"
30097 || test ! -s conftest.err'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; } &&
30103 { ac_try
='test -s conftest$ac_exeext'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; }; then
30109 ac_cv_lib_bsd_gethostbyname
=yes
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.
$ac_ext >&5
30114 ac_cv_lib_bsd_gethostbyname
=no
30116 rm -f conftest.err conftest.
$ac_objext \
30117 conftest
$ac_exeext conftest.
$ac_ext
30118 LIBS
=$ac_check_lib_save_LIBS
30120 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30121 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30122 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30123 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30129 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30130 # socket/setsockopt and other routines are undefined under SCO ODT
30131 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30132 # on later versions), says Simon Leinen: it contains gethostby*
30133 # variants that don't use the name server (or something). -lsocket
30134 # must be given before -lnsl if both are needed. We assume that
30135 # if connect needs -lnsl, so does gethostbyname.
30136 echo "$as_me:$LINENO: checking for connect" >&5
30137 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30138 if test "${ac_cv_func_connect+set}" = set; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 cat >conftest.
$ac_ext <<_ACEOF
30144 cat confdefs.h
>>conftest.
$ac_ext
30145 cat >>conftest.
$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30149 #define connect innocuous_connect
30151 /* System header to define __stub macros and hopefully few prototypes,
30152 which can conflict with char connect (); below.
30153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30154 <limits.h> exists even on freestanding compilers. */
30157 # include <limits.h>
30159 # include <assert.h>
30164 /* Override any gcc2 internal prototype to avoid an error. */
30169 /* We use char because int might match the return type of a gcc2
30170 builtin and then its argument prototype would still apply. */
30172 /* The GNU C library defines this for functions which it implements
30173 to always fail with ENOSYS. Some functions are actually named
30174 something starting with __ and the normal name is an alias. */
30175 #if defined (__stub_connect) || defined (__stub___connect)
30178 char (*f) () = connect;
30187 return f != connect;
30192 rm -f conftest.
$ac_objext conftest
$ac_exeext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30194 (eval $ac_link) 2>conftest.er1
30196 grep -v '^ *+' conftest.er1
>conftest.err
30198 cat conftest.err
>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try
='test -z "$ac_cxx_werror_flag"
30202 || test ! -s conftest.err'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; } &&
30208 { ac_try
='test -s conftest$ac_exeext'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 ac_cv_func_connect
=yes
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.
$ac_ext >&5
30219 ac_cv_func_connect
=no
30221 rm -f conftest.err conftest.
$ac_objext \
30222 conftest
$ac_exeext conftest.
$ac_ext
30224 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30225 echo "${ECHO_T}$ac_cv_func_connect" >&6
30227 if test $ac_cv_func_connect = no
; then
30228 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30229 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30230 if test "${ac_cv_lib_socket_connect+set}" = set; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30233 ac_check_lib_save_LIBS
=$LIBS
30234 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30235 cat >conftest.
$ac_ext <<_ACEOF
30238 cat confdefs.h
>>conftest.
$ac_ext
30239 cat >>conftest.
$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30242 /* Override any gcc2 internal prototype to avoid an error. */
30246 /* We use char because int might match the return type of a gcc2
30247 builtin and then its argument prototype would still apply. */
30257 rm -f conftest.
$ac_objext conftest
$ac_exeext
30258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30259 (eval $ac_link) 2>conftest.er1
30261 grep -v '^ *+' conftest.er1
>conftest.err
30263 cat conftest.err
>&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); } &&
30266 { ac_try
='test -z "$ac_cxx_werror_flag"
30267 || test ! -s conftest.err'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; } &&
30273 { ac_try
='test -s conftest$ac_exeext'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; }; then
30279 ac_cv_lib_socket_connect
=yes
30281 echo "$as_me: failed program was:" >&5
30282 sed 's/^/| /' conftest.
$ac_ext >&5
30284 ac_cv_lib_socket_connect
=no
30286 rm -f conftest.err conftest.
$ac_objext \
30287 conftest
$ac_exeext conftest.
$ac_ext
30288 LIBS
=$ac_check_lib_save_LIBS
30290 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30291 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30292 if test $ac_cv_lib_socket_connect = yes; then
30293 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30298 # Guillermo Gomez says -lposix is necessary on A/UX.
30299 echo "$as_me:$LINENO: checking for remove" >&5
30300 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30301 if test "${ac_cv_func_remove+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 cat >conftest.
$ac_ext <<_ACEOF
30307 cat confdefs.h
>>conftest.
$ac_ext
30308 cat >>conftest.
$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30312 #define remove innocuous_remove
30314 /* System header to define __stub macros and hopefully few prototypes,
30315 which can conflict with char remove (); below.
30316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30317 <limits.h> exists even on freestanding compilers. */
30320 # include <limits.h>
30322 # include <assert.h>
30327 /* Override any gcc2 internal prototype to avoid an error. */
30332 /* We use char because int might match the return type of a gcc2
30333 builtin and then its argument prototype would still apply. */
30335 /* The GNU C library defines this for functions which it implements
30336 to always fail with ENOSYS. Some functions are actually named
30337 something starting with __ and the normal name is an alias. */
30338 #if defined (__stub_remove) || defined (__stub___remove)
30341 char (*f) () = remove;
30350 return f != remove;
30355 rm -f conftest.
$ac_objext conftest
$ac_exeext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30357 (eval $ac_link) 2>conftest.er1
30359 grep -v '^ *+' conftest.er1
>conftest.err
30361 cat conftest.err
>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } &&
30364 { ac_try
='test -z "$ac_cxx_werror_flag"
30365 || test ! -s conftest.err'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; } &&
30371 { ac_try
='test -s conftest$ac_exeext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30377 ac_cv_func_remove
=yes
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.
$ac_ext >&5
30382 ac_cv_func_remove
=no
30384 rm -f conftest.err conftest.
$ac_objext \
30385 conftest
$ac_exeext conftest.
$ac_ext
30387 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30388 echo "${ECHO_T}$ac_cv_func_remove" >&6
30390 if test $ac_cv_func_remove = no
; then
30391 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30392 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30393 if test "${ac_cv_lib_posix_remove+set}" = set; then
30394 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 ac_check_lib_save_LIBS
=$LIBS
30397 LIBS
="-lposix $LIBS"
30398 cat >conftest.
$ac_ext <<_ACEOF
30401 cat confdefs.h
>>conftest.
$ac_ext
30402 cat >>conftest.
$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30405 /* Override any gcc2 internal prototype to avoid an error. */
30409 /* We use char because int might match the return type of a gcc2
30410 builtin and then its argument prototype would still apply. */
30420 rm -f conftest.
$ac_objext conftest
$ac_exeext
30421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30422 (eval $ac_link) 2>conftest.er1
30424 grep -v '^ *+' conftest.er1
>conftest.err
30426 cat conftest.err
>&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } &&
30429 { ac_try
='test -z "$ac_cxx_werror_flag"
30430 || test ! -s conftest.err'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; } &&
30436 { ac_try
='test -s conftest$ac_exeext'
30437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30438 (eval $ac_try) 2>&5
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); }; }; then
30442 ac_cv_lib_posix_remove
=yes
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.
$ac_ext >&5
30447 ac_cv_lib_posix_remove
=no
30449 rm -f conftest.err conftest.
$ac_objext \
30450 conftest
$ac_exeext conftest.
$ac_ext
30451 LIBS
=$ac_check_lib_save_LIBS
30453 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30454 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30455 if test $ac_cv_lib_posix_remove = yes; then
30456 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30461 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30462 echo "$as_me:$LINENO: checking for shmat" >&5
30463 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30464 if test "${ac_cv_func_shmat+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 cat >conftest.
$ac_ext <<_ACEOF
30470 cat confdefs.h
>>conftest.
$ac_ext
30471 cat >>conftest.
$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30475 #define shmat innocuous_shmat
30477 /* System header to define __stub macros and hopefully few prototypes,
30478 which can conflict with char shmat (); below.
30479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30480 <limits.h> exists even on freestanding compilers. */
30483 # include <limits.h>
30485 # include <assert.h>
30490 /* Override any gcc2 internal prototype to avoid an error. */
30495 /* We use char because int might match the return type of a gcc2
30496 builtin and then its argument prototype would still apply. */
30498 /* The GNU C library defines this for functions which it implements
30499 to always fail with ENOSYS. Some functions are actually named
30500 something starting with __ and the normal name is an alias. */
30501 #if defined (__stub_shmat) || defined (__stub___shmat)
30504 char (*f) () = shmat;
30518 rm -f conftest.
$ac_objext conftest
$ac_exeext
30519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30520 (eval $ac_link) 2>conftest.er1
30522 grep -v '^ *+' conftest.er1
>conftest.err
30524 cat conftest.err
>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } &&
30527 { ac_try
='test -z "$ac_cxx_werror_flag"
30528 || test ! -s conftest.err'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; } &&
30534 { ac_try
='test -s conftest$ac_exeext'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30540 ac_cv_func_shmat
=yes
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.
$ac_ext >&5
30545 ac_cv_func_shmat
=no
30547 rm -f conftest.err conftest.
$ac_objext \
30548 conftest
$ac_exeext conftest.
$ac_ext
30550 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30551 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30553 if test $ac_cv_func_shmat = no
; then
30554 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30555 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30556 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 ac_check_lib_save_LIBS
=$LIBS
30561 cat >conftest.
$ac_ext <<_ACEOF
30564 cat confdefs.h
>>conftest.
$ac_ext
30565 cat >>conftest.
$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30568 /* Override any gcc2 internal prototype to avoid an error. */
30572 /* We use char because int might match the return type of a gcc2
30573 builtin and then its argument prototype would still apply. */
30583 rm -f conftest.
$ac_objext conftest
$ac_exeext
30584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30585 (eval $ac_link) 2>conftest.er1
30587 grep -v '^ *+' conftest.er1
>conftest.err
30589 cat conftest.err
>&5
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); } &&
30592 { ac_try
='test -z "$ac_cxx_werror_flag"
30593 || test ! -s conftest.err'
30594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30595 (eval $ac_try) 2>&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); }; } &&
30599 { ac_try
='test -s conftest$ac_exeext'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; }; then
30605 ac_cv_lib_ipc_shmat
=yes
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.
$ac_ext >&5
30610 ac_cv_lib_ipc_shmat
=no
30612 rm -f conftest.err conftest.
$ac_objext \
30613 conftest
$ac_exeext conftest.
$ac_ext
30614 LIBS
=$ac_check_lib_save_LIBS
30616 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30617 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30618 if test $ac_cv_lib_ipc_shmat = yes; then
30619 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30625 # Check for libraries that X11R6 Xt/Xaw programs need.
30626 ac_save_LDFLAGS
=$LDFLAGS
30627 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30628 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30629 # check for ICE first), but we must link in the order -lSM -lICE or
30630 # we get undefined symbols. So assume we have SM if we have ICE.
30631 # These have to be linked with before -lX11, unlike the other
30632 # libraries we check for below, so use a different variable.
30633 # John Interrante, Karl Berry
30634 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30635 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30636 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30637 echo $ECHO_N "(cached) $ECHO_C" >&6
30639 ac_check_lib_save_LIBS
=$LIBS
30640 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30641 cat >conftest.
$ac_ext <<_ACEOF
30644 cat confdefs.h
>>conftest.
$ac_ext
30645 cat >>conftest.
$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30648 /* Override any gcc2 internal prototype to avoid an error. */
30652 /* We use char because int might match the return type of a gcc2
30653 builtin and then its argument prototype would still apply. */
30654 char IceConnectionNumber ();
30658 IceConnectionNumber ();
30663 rm -f conftest.
$ac_objext conftest
$ac_exeext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30665 (eval $ac_link) 2>conftest.er1
30667 grep -v '^ *+' conftest.er1
>conftest.err
30669 cat conftest.err
>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } &&
30672 { ac_try
='test -z "$ac_cxx_werror_flag"
30673 || test ! -s conftest.err'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; } &&
30679 { ac_try
='test -s conftest$ac_exeext'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; }; then
30685 ac_cv_lib_ICE_IceConnectionNumber
=yes
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.
$ac_ext >&5
30690 ac_cv_lib_ICE_IceConnectionNumber
=no
30692 rm -f conftest.err conftest.
$ac_objext \
30693 conftest
$ac_exeext conftest.
$ac_ext
30694 LIBS
=$ac_check_lib_save_LIBS
30696 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30697 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30698 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30699 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30702 LDFLAGS
=$ac_save_LDFLAGS
30707 if test "$no_x" = "yes"; then
30708 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30709 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30710 { (exit 1); exit 1; }; }
30713 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30714 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30715 AFMINSTALL
=afminstall
30716 COMPILED_X_PROGRAM
=0
30720 if test "$wxUSE_X11" = 1; then
30721 if test "$wxUSE_NANOX" = "yes"; then
30722 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30723 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30724 if test "x$MICROWIN" = x
; then
30725 echo "$as_me:$LINENO: result: not found" >&5
30726 echo "${ECHO_T}not found" >&6
30727 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30728 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30729 { (exit 1); exit 1; }; }
30731 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30732 echo "${ECHO_T}$MICROWIN" >&6
30733 cat >>confdefs.h
<<\_ACEOF
30734 #define wxUSE_NANOX 1
30740 if test "$wxUSE_UNICODE" = "yes"; then
30743 echo "$as_me:$LINENO: checking for PANGOX" >&5
30744 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30746 if test -n "$PKG_CONFIG"; then
30747 if test -n "$PANGOX_CFLAGS"; then
30748 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30750 if test -n "$PKG_CONFIG" && \
30751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30752 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; then
30756 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30764 if test -n "$PKG_CONFIG"; then
30765 if test -n "$PANGOX_LIBS"; then
30766 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30768 if test -n "$PKG_CONFIG" && \
30769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30770 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; then
30774 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30785 if test $pkg_failed = yes; then
30787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30788 _pkg_short_errors_supported
=yes
30790 _pkg_short_errors_supported
=no
30792 if test $_pkg_short_errors_supported = yes; then
30793 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30795 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30797 # Put the nasty error message in config.log where it belongs
30798 echo "$PANGOX_PKG_ERRORS" >&5
30801 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30802 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30803 { (exit 1); exit 1; }; }
30806 elif test $pkg_failed = untried
; then
30808 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30809 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30810 { (exit 1); exit 1; }; }
30814 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30815 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30816 echo "$as_me:$LINENO: result: yes" >&5
30817 echo "${ECHO_T}yes" >&6
30819 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30820 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30825 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30826 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30828 if test -n "$PKG_CONFIG"; then
30829 if test -n "$PANGOFT2_CFLAGS"; then
30830 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30832 if test -n "$PKG_CONFIG" && \
30833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30834 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; then
30838 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30846 if test -n "$PKG_CONFIG"; then
30847 if test -n "$PANGOFT2_LIBS"; then
30848 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30850 if test -n "$PKG_CONFIG" && \
30851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30852 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; then
30856 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30867 if test $pkg_failed = yes; then
30869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30870 _pkg_short_errors_supported
=yes
30872 _pkg_short_errors_supported
=no
30874 if test $_pkg_short_errors_supported = yes; then
30875 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30877 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30879 # Put the nasty error message in config.log where it belongs
30880 echo "$PANGOFT2_PKG_ERRORS" >&5
30883 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30884 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30885 wxUSE_PRINTING_ARCHITECTURE
="no"
30888 elif test $pkg_failed = untried
; then
30890 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30891 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30892 wxUSE_PRINTING_ARCHITECTURE
="no"
30896 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30897 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30898 echo "$as_me:$LINENO: result: yes" >&5
30899 echo "${ECHO_T}yes" >&6
30901 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30902 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30907 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30908 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30910 if test -n "$PKG_CONFIG"; then
30911 if test -n "$PANGOXFT_CFLAGS"; then
30912 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30914 if test -n "$PKG_CONFIG" && \
30915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30916 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; then
30920 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30928 if test -n "$PKG_CONFIG"; then
30929 if test -n "$PANGOXFT_LIBS"; then
30930 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30932 if test -n "$PKG_CONFIG" && \
30933 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30934 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; then
30938 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30949 if test $pkg_failed = yes; then
30951 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30952 _pkg_short_errors_supported
=yes
30954 _pkg_short_errors_supported
=no
30956 if test $_pkg_short_errors_supported = yes; then
30957 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30959 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30961 # Put the nasty error message in config.log where it belongs
30962 echo "$PANGOXFT_PKG_ERRORS" >&5
30965 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30966 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30969 elif test $pkg_failed = untried
; then
30971 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30972 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30976 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30977 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30978 echo "$as_me:$LINENO: result: yes" >&5
30979 echo "${ECHO_T}yes" >&6
30981 cat >>confdefs.h
<<\_ACEOF
30982 #define HAVE_PANGO_XFT 1
30985 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30989 save_CXXFLAGS
="$CXXFLAGS"
30991 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30992 LIBS
="$LIBS $PANGOX_LIBS"
30994 for ac_func
in pango_font_family_is_monospace
30996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30997 echo "$as_me:$LINENO: checking for $ac_func" >&5
30998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30999 if eval "test \"\${$as_ac_var+set}\" = set"; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 cat >conftest.
$ac_ext <<_ACEOF
31005 cat confdefs.h
>>conftest.
$ac_ext
31006 cat >>conftest.
$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31010 #define $ac_func innocuous_$ac_func
31012 /* System header to define __stub macros and hopefully few prototypes,
31013 which can conflict with char $ac_func (); below.
31014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31015 <limits.h> exists even on freestanding compilers. */
31018 # include <limits.h>
31020 # include <assert.h>
31025 /* Override any gcc2 internal prototype to avoid an error. */
31030 /* We use char because int might match the return type of a gcc2
31031 builtin and then its argument prototype would still apply. */
31033 /* The GNU C library defines this for functions which it implements
31034 to always fail with ENOSYS. Some functions are actually named
31035 something starting with __ and the normal name is an alias. */
31036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31039 char (*f) () = $ac_func;
31048 return f != $ac_func;
31053 rm -f conftest.
$ac_objext conftest
$ac_exeext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31055 (eval $ac_link) 2>conftest.er1
31057 grep -v '^ *+' conftest.er1
>conftest.err
31059 cat conftest.err
>&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } &&
31062 { ac_try
='test -z "$ac_cxx_werror_flag"
31063 || test ! -s conftest.err'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; } &&
31069 { ac_try
='test -s conftest$ac_exeext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 eval "$as_ac_var=yes"
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.
$ac_ext >&5
31080 eval "$as_ac_var=no"
31082 rm -f conftest.err conftest.
$ac_objext \
31083 conftest
$ac_exeext conftest.
$ac_ext
31085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31087 if test `eval echo '${'$as_ac_var'}'` = yes; then
31088 cat >>confdefs.h
<<_ACEOF
31089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31095 CXXFLAGS
="$save_CXXFLAGS"
31099 wxUSE_UNIVERSAL
="yes"
31101 if test "$wxUSE_NANOX" = "yes"; then
31102 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31103 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"
31104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31106 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31113 if test "$wxUSE_MOTIF" = 1; then
31114 if test "$wxUSE_UNICODE" = "yes"; then
31115 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31116 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31117 { (exit 1); exit 1; }; }
31120 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31121 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31124 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31126 if test -f "$ac_dir/Xm/Xm.h"; then
31127 ac_find_includes
=$ac_dir
31132 if test "$ac_find_includes" != "" ; then
31133 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31134 echo "${ECHO_T}found in $ac_find_includes" >&6
31136 if test "x$ac_find_includes" = "x/usr/include"; then
31137 ac_path_to_include
=""
31139 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31141 if test $result = 0; then
31142 ac_path_to_include
=""
31144 ac_path_to_include
=" -I$ac_find_includes"
31148 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31150 save_CXXFLAGS
=$CXXFLAGS
31151 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31153 cat >conftest.
$ac_ext <<_ACEOF
31156 cat confdefs.h
>>conftest.
$ac_ext
31157 cat >>conftest.
$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31167 version = xmUseVersion;
31173 rm -f conftest.
$ac_objext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31175 (eval $ac_compile) 2>conftest.er1
31177 grep -v '^ *+' conftest.er1
>conftest.err
31179 cat conftest.err
>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try
='test -z "$ac_cxx_werror_flag"
31183 || test ! -s conftest.err'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; } &&
31189 { ac_try
='test -s conftest.$ac_objext'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; }; then
31196 echo "$as_me:$LINENO: result: found in default search path" >&5
31197 echo "${ECHO_T}found in default search path" >&6
31198 COMPILED_X_PROGRAM
=1
31201 echo "$as_me: failed program was:" >&5
31202 sed 's/^/| /' conftest.
$ac_ext >&5
31205 echo "$as_me:$LINENO: result: no" >&5
31206 echo "${ECHO_T}no" >&6
31207 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31208 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31209 { (exit 1); exit 1; }; }
31213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31215 CXXFLAGS
=$save_CXXFLAGS
31219 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31220 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31223 for ac_dir
in $SEARCH_LIB;
31225 for ac_extension
in a so sl dylib dll.a
; do
31226 if test -f "$ac_dir/libXm.$ac_extension"; then
31227 ac_find_libraries
=$ac_dir
31234 if test "x$ac_find_libraries" != "x" ; then
31235 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31236 echo "${ECHO_T}found in $ac_find_libraries" >&6
31239 if test "$ac_find_libraries" = "default location"; then
31242 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31244 if test $result = 0; then
31247 ac_path_to_link
=" -L$ac_find_libraries"
31251 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31253 save_CXXFLAGS
=$CXXFLAGS
31254 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31256 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31258 cat >conftest.
$ac_ext <<_ACEOF
31261 cat confdefs.h
>>conftest.
$ac_ext
31262 cat >>conftest.
$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31272 version = xmUseVersion;
31278 rm -f conftest.
$ac_objext conftest
$ac_exeext
31279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31280 (eval $ac_link) 2>conftest.er1
31282 grep -v '^ *+' conftest.er1
>conftest.err
31284 cat conftest.err
>&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } &&
31287 { ac_try
='test -z "$ac_cxx_werror_flag"
31288 || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try
='test -s conftest$ac_exeext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31301 echo "$as_me:$LINENO: result: found in default search path" >&5
31302 echo "${ECHO_T}found in default search path" >&6
31303 COMPILED_X_PROGRAM
=1
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.
$ac_ext >&5
31310 echo "$as_me:$LINENO: result: no" >&5
31311 echo "${ECHO_T}no" >&6
31312 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31313 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31314 { (exit 1); exit 1; }; }
31318 rm -f conftest.err conftest.
$ac_objext \
31319 conftest
$ac_exeext conftest.
$ac_ext
31321 CXXFLAGS
=$save_CXXFLAGS
31325 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31326 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31330 for libp
in "" " -lXp"; do
31331 if test "$libs_found" = "0"; then
31332 for libsm_ice
in "" " -lSM -lICE"; do
31333 if test "$libs_found" = "0"; then
31335 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31336 save_CXXFLAGS
=$CXXFLAGS
31337 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31339 cat >conftest.
$ac_ext <<_ACEOF
31342 cat confdefs.h
>>conftest.
$ac_ext
31343 cat >>conftest.
$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31347 #include <Xm/List.h>
31353 XmString string = NULL;
31356 XmListAddItem(w, string, position);
31362 rm -f conftest.
$ac_objext conftest
$ac_exeext
31363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31364 (eval $ac_link) 2>conftest.er1
31366 grep -v '^ *+' conftest.er1
>conftest.err
31368 cat conftest.err
>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); } &&
31371 { ac_try
='test -z "$ac_cxx_werror_flag"
31372 || test ! -s conftest.err'
31373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374 (eval $ac_try) 2>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); }; } &&
31378 { ac_try
='test -s conftest$ac_exeext'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; }; then
31386 libsm_ice_link
="$libsm_ice"
31387 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31388 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.
$ac_ext >&5
31398 rm -f conftest.err conftest.
$ac_objext \
31399 conftest
$ac_exeext conftest.
$ac_ext
31402 CXXFLAGS
=$save_CXXFLAGS
31408 if test "$libs_found" = "0"; then
31409 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31410 echo "${ECHO_T}can't find the right libraries" >&6
31411 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31412 echo "$as_me: error: can't link a simple motif program" >&2;}
31413 { (exit 1); exit 1; }; }
31416 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31417 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31418 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31419 echo $ECHO_N "(cached) $ECHO_C" >&6
31421 ac_check_lib_save_LIBS
=$LIBS
31423 cat >conftest.
$ac_ext <<_ACEOF
31426 cat confdefs.h
>>conftest.
$ac_ext
31427 cat >>conftest.
$ac_ext <<_ACEOF
31428 /* end confdefs.h. */
31430 /* Override any gcc2 internal prototype to avoid an error. */
31434 /* We use char because int might match the return type of a gcc2
31435 builtin and then its argument prototype would still apply. */
31436 char SgCreateList ();
31445 rm -f conftest.
$ac_objext conftest
$ac_exeext
31446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31447 (eval $ac_link) 2>conftest.er1
31449 grep -v '^ *+' conftest.er1
>conftest.err
31451 cat conftest.err
>&5
31452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453 (exit $ac_status); } &&
31454 { ac_try
='test -z "$ac_cxx_werror_flag"
31455 || test ! -s conftest.err'
31456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31457 (eval $ac_try) 2>&5
31459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460 (exit $ac_status); }; } &&
31461 { ac_try
='test -s conftest$ac_exeext'
31462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31463 (eval $ac_try) 2>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); }; }; then
31467 ac_cv_lib_Sgm_SgCreateList
=yes
31469 echo "$as_me: failed program was:" >&5
31470 sed 's/^/| /' conftest.
$ac_ext >&5
31472 ac_cv_lib_Sgm_SgCreateList
=no
31474 rm -f conftest.err conftest.
$ac_objext \
31475 conftest
$ac_exeext conftest.
$ac_ext
31476 LIBS
=$ac_check_lib_save_LIBS
31478 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31479 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31480 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31481 libsgm_link
=" -lSgm"
31485 save_CXXFLAGS
=$CXXFLAGS
31486 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31488 echo "$as_me:$LINENO: checking for Motif 2" >&5
31489 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31490 if test "${wx_cv_lib_motif2+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31493 cat >conftest.
$ac_ext <<_ACEOF
31496 cat confdefs.h
>>conftest.
$ac_ext
31497 cat >>conftest.
$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31506 #if XmVersion < 2000
31514 rm -f conftest.
$ac_objext
31515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31516 (eval $ac_compile) 2>conftest.er1
31518 grep -v '^ *+' conftest.er1
>conftest.err
31520 cat conftest.err
>&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } &&
31523 { ac_try
='test -z "$ac_cxx_werror_flag"
31524 || test ! -s conftest.err'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; } &&
31530 { ac_try
='test -s conftest.$ac_objext'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; }; then
31536 wx_cv_lib_motif2
="yes"
31538 echo "$as_me: failed program was:" >&5
31539 sed 's/^/| /' conftest.
$ac_ext >&5
31541 wx_cv_lib_motif2
="no"
31543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31545 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31546 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31547 if test "$wx_cv_lib_motif2" = "yes"; then
31548 cat >>confdefs.h
<<\_ACEOF
31549 #define __WXMOTIF20__ 1
31553 cat >>confdefs.h
<<\_ACEOF
31554 #define __WXMOTIF20__ 0
31559 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31560 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31561 if test "${wx_cv_lib_lesstif+set}" = set; then
31562 echo $ECHO_N "(cached) $ECHO_C" >&6
31564 cat >conftest.
$ac_ext <<_ACEOF
31567 cat confdefs.h
>>conftest.
$ac_ext
31568 cat >>conftest.
$ac_ext <<_ACEOF
31569 /* end confdefs.h. */
31577 #if !defined(LesstifVersion) || LesstifVersion <= 0
31585 rm -f conftest.
$ac_objext
31586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31587 (eval $ac_compile) 2>conftest.er1
31589 grep -v '^ *+' conftest.er1
>conftest.err
31591 cat conftest.err
>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); } &&
31594 { ac_try
='test -z "$ac_cxx_werror_flag"
31595 || test ! -s conftest.err'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; } &&
31601 { ac_try
='test -s conftest.$ac_objext'
31602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31603 (eval $ac_try) 2>&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); }; }; then
31607 wx_cv_lib_lesstif
="yes"
31609 echo "$as_me: failed program was:" >&5
31610 sed 's/^/| /' conftest.
$ac_ext >&5
31612 wx_cv_lib_lesstif
="no"
31614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31617 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31618 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31619 if test "$wx_cv_lib_lesstif" = "yes"; then
31620 cat >>confdefs.h
<<\_ACEOF
31621 #define __WXLESSTIF__ 1
31625 cat >>confdefs.h
<<\_ACEOF
31626 #define __WXLESSTIF__ 0
31631 CXXFLAGS
=$save_CXXFLAGS
31633 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31638 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31639 if test "$wxUSE_LIBXPM" = "sys"; then
31640 echo "$as_me:$LINENO: checking for Xpm library" >&5
31641 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31644 for ac_dir
in $SEARCH_LIB;
31646 for ac_extension
in a so sl dylib dll.a
; do
31647 if test -f "$ac_dir/libXpm.$ac_extension"; then
31648 ac_find_libraries
=$ac_dir
31654 if test "$ac_find_libraries" != "" ; then
31656 if test "$ac_find_libraries" = "default location"; then
31659 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31661 if test $result = 0; then
31664 ac_path_to_link
=" -L$ac_find_libraries"
31668 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31669 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31670 echo "${ECHO_T}found in $ac_find_libraries" >&6
31672 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31673 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31674 if test "${wx_cv_x11_xpm_h+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 save_CXXFLAGS
=$CXXFLAGS
31679 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31681 cat >conftest.
$ac_ext <<_ACEOF
31684 cat confdefs.h
>>conftest.
$ac_ext
31685 cat >>conftest.
$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31688 #include <X11/xpm.h>
31695 version = XpmLibraryVersion();
31701 rm -f conftest.
$ac_objext
31702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31703 (eval $ac_compile) 2>conftest.er1
31705 grep -v '^ *+' conftest.er1
>conftest.err
31707 cat conftest.err
>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } &&
31710 { ac_try
='test -z "$ac_cxx_werror_flag"
31711 || test ! -s conftest.err'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; } &&
31717 { ac_try
='test -s conftest.$ac_objext'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; }; then
31723 wx_cv_x11_xpm_h
=yes
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.
$ac_ext >&5
31731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31733 CXXFLAGS
=$save_CXXFLAGS
31737 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31738 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31740 if test $wx_cv_x11_xpm_h = "yes"; then
31741 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31742 cat >>confdefs.h
<<\_ACEOF
31743 #define wxHAVE_LIB_XPM 1
31747 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31748 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31754 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31755 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31756 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 ac_check_lib_save_LIBS
=$LIBS
31760 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31761 cat >conftest.
$ac_ext <<_ACEOF
31764 cat confdefs.h
>>conftest.
$ac_ext
31765 cat >>conftest.
$ac_ext <<_ACEOF
31766 /* end confdefs.h. */
31768 /* Override any gcc2 internal prototype to avoid an error. */
31772 /* We use char because int might match the return type of a gcc2
31773 builtin and then its argument prototype would still apply. */
31774 char XShapeQueryExtension ();
31778 XShapeQueryExtension ();
31783 rm -f conftest.
$ac_objext conftest
$ac_exeext
31784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31785 (eval $ac_link) 2>conftest.er1
31787 grep -v '^ *+' conftest.er1
>conftest.err
31789 cat conftest.err
>&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); } &&
31792 { ac_try
='test -z "$ac_cxx_werror_flag"
31793 || test ! -s conftest.err'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; } &&
31799 { ac_try
='test -s conftest$ac_exeext'
31800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31801 (eval $ac_try) 2>&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; }; then
31805 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31807 echo "$as_me: failed program was:" >&5
31808 sed 's/^/| /' conftest.
$ac_ext >&5
31810 ac_cv_lib_Xext_XShapeQueryExtension
=no
31812 rm -f conftest.err conftest.
$ac_objext \
31813 conftest
$ac_exeext conftest.
$ac_ext
31814 LIBS
=$ac_check_lib_save_LIBS
31816 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31817 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31818 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31820 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31826 if test "$wxHAVE_XEXT_LIB" = 1; then
31827 save_CXXFLAGS
="$CXXFLAGS"
31828 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31830 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31831 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31832 cat >conftest.
$ac_ext <<_ACEOF
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31839 #include <X11/Xlib.h>
31840 #include <X11/extensions/shape.h>
31846 int dummy1, dummy2;
31847 XShapeQueryExtension((Display*)NULL,
31848 (int*)NULL, (int*)NULL);
31854 rm -f conftest.
$ac_objext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31856 (eval $ac_compile) 2>conftest.er1
31858 grep -v '^ *+' conftest.er1
>conftest.err
31860 cat conftest.err
>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try
='test -z "$ac_cxx_werror_flag"
31864 || 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_objext'
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 cat >>confdefs.h
<<\_ACEOF
31878 #define HAVE_XSHAPE 1
31881 echo "$as_me:$LINENO: result: found" >&5
31882 echo "${ECHO_T}found" >&6
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.
$ac_ext >&5
31889 echo "$as_me:$LINENO: result: not found" >&5
31890 echo "${ECHO_T}not found" >&6
31893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31894 CXXFLAGS
="$save_CXXFLAGS"
31899 if test "$wxUSE_MAC" = 1; then
31900 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31901 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31902 if test "$GCC" = yes; then
31903 echo "$as_me:$LINENO: result: gcc" >&5
31904 echo "${ECHO_T}gcc" >&6
31905 CPPFLAGS_PASCAL
="-fpascal-strings"
31906 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31907 echo "$as_me:$LINENO: result: xlc" >&5
31908 echo "${ECHO_T}xlc" >&6
31909 CPPFLAGS_PASCAL
="-qmacpstr"
31911 echo "$as_me:$LINENO: result: none" >&5
31912 echo "${ECHO_T}none" >&6
31915 if test "x$wxUSE_UNIX" = "xyes"; then
31916 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31918 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31923 WXBASEPORT
="_carbon"
31926 if test "$wxUSE_COCOA" = 1; then
31931 if test "$wxUSE_PM" = 1; then
31934 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31935 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31936 if test "${wx_cv_spbcdata+set}" = set; then
31937 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 cat >conftest.
$ac_ext <<_ACEOF
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31960 rm -f conftest.
$ac_objext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31962 (eval $ac_compile) 2>conftest.er1
31964 grep -v '^ *+' conftest.er1
>conftest.err
31966 cat conftest.err
>&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try
='test -z "$ac_cxx_werror_flag"
31970 || test ! -s conftest.err'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; } &&
31976 { ac_try
='test -s conftest.$ac_objext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31984 echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.
$ac_ext >&5
31990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31994 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31995 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31997 if test $wx_cv_spbcdata = "yes"; then
31998 cat >>confdefs.h
<<\_ACEOF
31999 #define HAVE_SPBCDATA 1
32005 if test "$TOOLKIT" = "PM" ; then
32008 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32011 if test "$wxUSE_UNIVERSAL" = "yes"; then
32012 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32016 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32017 DISTDIR
="wx\$(TOOLKIT)"
32023 if test "$USE_WIN32" = 1 ; then
32027 GUIDIST
="BASE_DIST"
32032 if test "$wxUSE_GUI" = "yes"; then
32033 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32035 for ac_header
in X
11/Xlib.h
32037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32039 echo "$as_me:$LINENO: checking for $ac_header" >&5
32040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32047 # Is the header compilable?
32048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32050 cat >conftest.
$ac_ext <<_ACEOF
32053 cat confdefs.h
>>conftest.
$ac_ext
32054 cat >>conftest.
$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32056 $ac_includes_default
32057 #include <$ac_header>
32059 rm -f conftest.
$ac_objext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32061 (eval $ac_compile) 2>conftest.er1
32063 grep -v '^ *+' conftest.er1
>conftest.err
32065 cat conftest.err
>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); } &&
32068 { ac_try
='test -z "$ac_cxx_werror_flag"
32069 || test ! -s conftest.err'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; } &&
32075 { ac_try
='test -s conftest.$ac_objext'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 ac_header_compiler
=yes
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.
$ac_ext >&5
32086 ac_header_compiler
=no
32088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32090 echo "${ECHO_T}$ac_header_compiler" >&6
32092 # Is the header present?
32093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32095 cat >conftest.
$ac_ext <<_ACEOF
32098 cat confdefs.h
>>conftest.
$ac_ext
32099 cat >>conftest.
$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32101 #include <$ac_header>
32103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32106 grep -v '^ *+' conftest.er1
>conftest.err
32108 cat conftest.err
>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } >/dev
/null
; then
32111 if test -s conftest.err
; then
32112 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32113 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32120 if test -z "$ac_cpp_err"; then
32121 ac_header_preproc
=yes
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.
$ac_ext >&5
32126 ac_header_preproc
=no
32128 rm -f conftest.err conftest.
$ac_ext
32129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32130 echo "${ECHO_T}$ac_header_preproc" >&6
32132 # So? What about this header?
32133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32139 ac_header_preproc
=yes
32142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32156 ## ----------------------------------------- ##
32157 ## Report this to wx-dev@lists.wxwidgets.org ##
32158 ## ----------------------------------------- ##
32161 sed "s/^/$as_me: WARNING: /" >&2
32164 echo "$as_me:$LINENO: checking for $ac_header" >&5
32165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 eval "$as_ac_Header=\$ac_header_preproc"
32171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32176 cat >>confdefs.h
<<_ACEOF
32177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32185 for ac_header
in X
11/XKBlib.h
32187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32188 echo "$as_me:$LINENO: checking for $ac_header" >&5
32189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 cat >conftest.
$ac_ext <<_ACEOF
32196 cat confdefs.h
>>conftest.
$ac_ext
32197 cat >>conftest.
$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32200 #if HAVE_X11_XLIB_H
32201 #include <X11/Xlib.h>
32205 #include <$ac_header>
32207 rm -f conftest.
$ac_objext
32208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32209 (eval $ac_compile) 2>conftest.er1
32211 grep -v '^ *+' conftest.er1
>conftest.err
32213 cat conftest.err
>&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); } &&
32216 { ac_try
='test -z "$ac_cxx_werror_flag"
32217 || test ! -s conftest.err'
32218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219 (eval $ac_try) 2>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); }; } &&
32223 { ac_try
='test -s conftest.$ac_objext'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 eval "$as_ac_Header=yes"
32231 echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.
$ac_ext >&5
32234 eval "$as_ac_Header=no"
32236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32241 cat >>confdefs.h
<<_ACEOF
32242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32257 if test "$TOOLKIT" != "MSW" ; then
32259 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32261 if test "${ac_cv_header_sql_h+set}" = set; then
32262 echo "$as_me:$LINENO: checking for sql.h" >&5
32263 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32264 if test "${ac_cv_header_sql_h+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32268 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32270 # Is the header compilable?
32271 echo "$as_me:$LINENO: checking sql.h usability" >&5
32272 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32273 cat >conftest.
$ac_ext <<_ACEOF
32276 cat confdefs.h
>>conftest.
$ac_ext
32277 cat >>conftest.
$ac_ext <<_ACEOF
32278 /* end confdefs.h. */
32279 $ac_includes_default
32282 rm -f conftest.
$ac_objext
32283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32284 (eval $ac_compile) 2>conftest.er1
32286 grep -v '^ *+' conftest.er1
>conftest.err
32288 cat conftest.err
>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try
='test -z "$ac_cxx_werror_flag"
32292 || test ! -s conftest.err'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; } &&
32298 { ac_try
='test -s conftest.$ac_objext'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; }; then
32304 ac_header_compiler
=yes
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.
$ac_ext >&5
32309 ac_header_compiler
=no
32311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32313 echo "${ECHO_T}$ac_header_compiler" >&6
32315 # Is the header present?
32316 echo "$as_me:$LINENO: checking sql.h presence" >&5
32317 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32318 cat >conftest.
$ac_ext <<_ACEOF
32321 cat confdefs.h
>>conftest.
$ac_ext
32322 cat >>conftest.
$ac_ext <<_ACEOF
32323 /* end confdefs.h. */
32326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32329 grep -v '^ *+' conftest.er1
>conftest.err
32331 cat conftest.err
>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } >/dev
/null
; then
32334 if test -s conftest.err
; then
32335 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32336 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32343 if test -z "$ac_cpp_err"; then
32344 ac_header_preproc
=yes
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.
$ac_ext >&5
32349 ac_header_preproc
=no
32351 rm -f conftest.err conftest.
$ac_ext
32352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32353 echo "${ECHO_T}$ac_header_preproc" >&6
32355 # So? What about this header?
32356 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32358 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32359 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32361 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32362 ac_header_preproc
=yes
32365 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32366 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32367 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32368 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32370 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32371 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32372 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32373 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32374 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32375 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32376 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32379 ## ----------------------------------------- ##
32380 ## Report this to wx-dev@lists.wxwidgets.org ##
32381 ## ----------------------------------------- ##
32384 sed "s/^/$as_me: WARNING: /" >&2
32387 echo "$as_me:$LINENO: checking for sql.h" >&5
32388 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32389 if test "${ac_cv_header_sql_h+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 ac_cv_header_sql_h
=$ac_header_preproc
32394 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32395 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32398 if test $ac_cv_header_sql_h = yes; then
32403 if test "x$found_sql_h" = "x1" ; then
32404 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32405 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32406 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 ac_check_lib_save_LIBS
=$LIBS
32410 LIBS
="-liodbc $LIBS"
32411 cat >conftest.
$ac_ext <<_ACEOF
32414 cat confdefs.h
>>conftest.
$ac_ext
32415 cat >>conftest.
$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32418 /* Override any gcc2 internal prototype to avoid an error. */
32422 /* We use char because int might match the return type of a gcc2
32423 builtin and then its argument prototype would still apply. */
32424 char SQLAllocEnv ();
32433 rm -f conftest.
$ac_objext conftest
$ac_exeext
32434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32435 (eval $ac_link) 2>conftest.er1
32437 grep -v '^ *+' conftest.er1
>conftest.err
32439 cat conftest.err
>&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); } &&
32442 { ac_try
='test -z "$ac_cxx_werror_flag"
32443 || test ! -s conftest.err'
32444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32445 (eval $ac_try) 2>&5
32447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32448 (exit $ac_status); }; } &&
32449 { ac_try
='test -s conftest$ac_exeext'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; }; then
32455 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.
$ac_ext >&5
32460 ac_cv_lib_iodbc_SQLAllocEnv
=no
32462 rm -f conftest.err conftest.
$ac_objext \
32463 conftest
$ac_exeext conftest.
$ac_ext
32464 LIBS
=$ac_check_lib_save_LIBS
32466 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32467 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32468 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32469 ODBC_LINK
=" -liodbc"
32472 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32473 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32474 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32475 echo $ECHO_N "(cached) $ECHO_C" >&6
32477 ac_check_lib_save_LIBS
=$LIBS
32478 LIBS
="-lunixodbc $LIBS"
32479 cat >conftest.
$ac_ext <<_ACEOF
32482 cat confdefs.h
>>conftest.
$ac_ext
32483 cat >>conftest.
$ac_ext <<_ACEOF
32484 /* end confdefs.h. */
32486 /* Override any gcc2 internal prototype to avoid an error. */
32490 /* We use char because int might match the return type of a gcc2
32491 builtin and then its argument prototype would still apply. */
32492 char SQLAllocEnv ();
32501 rm -f conftest.
$ac_objext conftest
$ac_exeext
32502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32503 (eval $ac_link) 2>conftest.er1
32505 grep -v '^ *+' conftest.er1
>conftest.err
32507 cat conftest.err
>&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); } &&
32510 { ac_try
='test -z "$ac_cxx_werror_flag"
32511 || test ! -s conftest.err'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; } &&
32517 { ac_try
='test -s conftest$ac_exeext'
32518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32519 (eval $ac_try) 2>&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); }; }; then
32523 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32525 echo "$as_me: failed program was:" >&5
32526 sed 's/^/| /' conftest.
$ac_ext >&5
32528 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32530 rm -f conftest.err conftest.
$ac_objext \
32531 conftest
$ac_exeext conftest.
$ac_ext
32532 LIBS
=$ac_check_lib_save_LIBS
32534 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32535 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32536 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32537 ODBC_LINK
=" -lunixodbc"
32540 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32541 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32542 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 ac_check_lib_save_LIBS
=$LIBS
32546 LIBS
="-lodbc $LIBS"
32547 cat >conftest.
$ac_ext <<_ACEOF
32550 cat confdefs.h
>>conftest.
$ac_ext
32551 cat >>conftest.
$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32554 /* Override any gcc2 internal prototype to avoid an error. */
32558 /* We use char because int might match the return type of a gcc2
32559 builtin and then its argument prototype would still apply. */
32560 char SQLAllocEnv ();
32569 rm -f conftest.
$ac_objext conftest
$ac_exeext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32571 (eval $ac_link) 2>conftest.er1
32573 grep -v '^ *+' conftest.er1
>conftest.err
32575 cat conftest.err
>&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); } &&
32578 { ac_try
='test -z "$ac_cxx_werror_flag"
32579 || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try
='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 ac_cv_lib_odbc_SQLAllocEnv
=yes
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.
$ac_ext >&5
32596 ac_cv_lib_odbc_SQLAllocEnv
=no
32598 rm -f conftest.err conftest.
$ac_objext \
32599 conftest
$ac_exeext conftest.
$ac_ext
32600 LIBS
=$ac_check_lib_save_LIBS
32602 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32603 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32604 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32605 ODBC_LINK
=" -lodbc"
32615 if test "x$ODBC_LINK" = "x" ; then
32616 if test "$wxUSE_ODBC" = "sys" ; then
32617 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32618 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32619 { (exit 1); exit 1; }; }
32621 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32622 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32630 if test "$wxUSE_ODBC" = "builtin" ; then
32631 cat >>confdefs.h
<<\_ACEOF
32632 #define wxUSE_BUILTIN_IODBC 1
32638 if test "$wxUSE_ODBC" != "no" ; then
32639 cat >>confdefs.h
<<\_ACEOF
32640 #define wxUSE_ODBC 1
32643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32645 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32649 if test "$wxUSE_DISPLAY" = "yes"; then
32650 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32651 echo "$as_me:$LINENO: checking for Xinerama" >&5
32652 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32655 for ac_dir
in $SEARCH_LIB;
32657 for ac_extension
in a so sl dylib dll.a
; do
32658 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32659 ac_find_libraries
=$ac_dir
32665 if test "$ac_find_libraries" != "" ; then
32667 if test "$ac_find_libraries" = "default location"; then
32670 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32672 if test $result = 0; then
32675 ac_path_to_link
=" -L$ac_find_libraries"
32679 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32680 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32682 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32683 echo "$as_me:$LINENO: result: yes" >&5
32684 echo "${ECHO_T}yes" >&6
32686 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32687 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32690 for ac_dir
in $SEARCH_LIB;
32692 for ac_extension
in a so sl dylib dll.a
; do
32693 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32694 ac_find_libraries
=$ac_dir
32700 if test "$ac_find_libraries" != "" ; then
32701 echo "$as_me:$LINENO: result: yes" >&5
32702 echo "${ECHO_T}yes" >&6
32704 for ac_header
in X
11/extensions
/xf86vmode.h
32706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32707 echo "$as_me:$LINENO: checking for $ac_header" >&5
32708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 cat >conftest.
$ac_ext <<_ACEOF
32715 cat confdefs.h
>>conftest.
$ac_ext
32716 cat >>conftest.
$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32719 #if HAVE_X11_XLIB_H
32720 #include <X11/Xlib.h>
32724 #include <$ac_header>
32726 rm -f conftest.
$ac_objext
32727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32728 (eval $ac_compile) 2>conftest.er1
32730 grep -v '^ *+' conftest.er1
>conftest.err
32732 cat conftest.err
>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } &&
32735 { ac_try
='test -z "$ac_cxx_werror_flag"
32736 || test ! -s conftest.err'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; } &&
32742 { ac_try
='test -s conftest.$ac_objext'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; }; then
32748 eval "$as_ac_Header=yes"
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.
$ac_ext >&5
32753 eval "$as_ac_Header=no"
32755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32760 cat >>confdefs.h
<<_ACEOF
32761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32764 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32771 echo "$as_me:$LINENO: result: no" >&5
32772 echo "${ECHO_T}no" >&6
32776 echo "$as_me:$LINENO: result: no" >&5
32777 echo "${ECHO_T}no" >&6
32778 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32779 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32782 elif test "$wxUSE_MSW" = 1; then
32784 for ac_header
in ddraw.h
32786 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_header" >&5
32788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 cat >conftest.
$ac_ext <<_ACEOF
32795 cat confdefs.h
>>conftest.
$ac_ext
32796 cat >>conftest.
$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32798 #include <windows.h>
32800 #include <$ac_header>
32802 rm -f conftest.
$ac_objext
32803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32804 (eval $ac_compile) 2>conftest.er1
32806 grep -v '^ *+' conftest.er1
>conftest.err
32808 cat conftest.err
>&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); } &&
32811 { ac_try
='test -z "$ac_cxx_werror_flag"
32812 || test ! -s conftest.err'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; } &&
32818 { ac_try
='test -s conftest.$ac_objext'
32819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32820 (eval $ac_try) 2>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); }; }; then
32824 eval "$as_ac_Header=yes"
32826 echo "$as_me: failed program was:" >&5
32827 sed 's/^/| /' conftest.
$ac_ext >&5
32829 eval "$as_ac_Header=no"
32831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32836 cat >>confdefs.h
<<_ACEOF
32837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32849 if test "$wxUSE_OPENGL" = "yes"; then
32850 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32851 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32852 elif test "$wxUSE_MSW" = 1; then
32853 OPENGL_LIBS
="-lopengl32 -lglu32"
32858 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32860 if test -f "$ac_dir/GL/gl.h"; then
32861 ac_find_includes
=$ac_dir
32866 if test "$ac_find_includes" != "" ; then
32867 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32868 echo "${ECHO_T}found in $ac_find_includes" >&6
32870 if test "x$ac_find_includes" = "x/usr/include"; then
32871 ac_path_to_include
=""
32873 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32875 if test $result = 0; then
32876 ac_path_to_include
=""
32878 ac_path_to_include
=" -I$ac_find_includes"
32882 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32885 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32886 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32887 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32888 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32892 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32894 # Is the header compilable?
32895 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32896 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32897 cat >conftest.
$ac_ext <<_ACEOF
32900 cat confdefs.h
>>conftest.
$ac_ext
32901 cat >>conftest.
$ac_ext <<_ACEOF
32902 /* end confdefs.h. */
32903 $ac_includes_default
32906 rm -f conftest.
$ac_objext
32907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32908 (eval $ac_compile) 2>conftest.er1
32910 grep -v '^ *+' conftest.er1
>conftest.err
32912 cat conftest.err
>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } &&
32915 { ac_try
='test -z "$ac_cxx_werror_flag"
32916 || test ! -s conftest.err'
32917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 (eval $ac_try) 2>&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); }; } &&
32922 { ac_try
='test -s conftest.$ac_objext'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; }; then
32928 ac_header_compiler
=yes
32930 echo "$as_me: failed program was:" >&5
32931 sed 's/^/| /' conftest.
$ac_ext >&5
32933 ac_header_compiler
=no
32935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32937 echo "${ECHO_T}$ac_header_compiler" >&6
32939 # Is the header present?
32940 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32941 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32942 cat >conftest.
$ac_ext <<_ACEOF
32945 cat confdefs.h
>>conftest.
$ac_ext
32946 cat >>conftest.
$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32953 grep -v '^ *+' conftest.er1
>conftest.err
32955 cat conftest.err
>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); } >/dev
/null
; then
32958 if test -s conftest.err
; then
32959 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32960 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32967 if test -z "$ac_cpp_err"; then
32968 ac_header_preproc
=yes
32970 echo "$as_me: failed program was:" >&5
32971 sed 's/^/| /' conftest.
$ac_ext >&5
32973 ac_header_preproc
=no
32975 rm -f conftest.err conftest.
$ac_ext
32976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32977 echo "${ECHO_T}$ac_header_preproc" >&6
32979 # So? What about this header?
32980 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32982 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32983 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32984 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32985 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32986 ac_header_preproc
=yes
32989 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32990 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32991 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32992 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32993 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32994 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32995 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32996 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32997 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32998 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32999 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33000 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33003 ## ----------------------------------------- ##
33004 ## Report this to wx-dev@lists.wxwidgets.org ##
33005 ## ----------------------------------------- ##
33008 sed "s/^/$as_me: WARNING: /" >&2
33011 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33012 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33013 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 ac_cv_header_GL_gl_h
=$ac_header_preproc
33018 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33019 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33022 if test $ac_cv_header_GL_gl_h = yes; then
33026 echo "$as_me:$LINENO: checking for -lGL" >&5
33027 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33030 for ac_dir
in $SEARCH_LIB;
33032 for ac_extension
in a so sl dylib dll.a
; do
33033 if test -f "$ac_dir/libGL.$ac_extension"; then
33034 ac_find_libraries
=$ac_dir
33040 if test "$ac_find_libraries" != "" ; then
33041 echo "$as_me:$LINENO: result: yes" >&5
33042 echo "${ECHO_T}yes" >&6
33045 if test "$ac_find_libraries" = "default location"; then
33048 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33050 if test $result = 0; then
33053 ac_path_to_link
=" -L$ac_find_libraries"
33057 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33058 LDFLAGS_GL
="$ac_path_to_link"
33061 echo "$as_me:$LINENO: checking for -lGLU" >&5
33062 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33065 for ac_dir
in $SEARCH_LIB;
33067 for ac_extension
in a so sl dylib dll.a
; do
33068 if test -f "$ac_dir/libGLU.$ac_extension"; then
33069 ac_find_libraries
=$ac_dir
33075 if test "$ac_find_libraries" != "" ; then
33077 if test "$ac_find_libraries" = "default location"; then
33080 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33082 if test $result = 0; then
33085 ac_path_to_link
=" -L$ac_find_libraries"
33089 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33090 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33091 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33095 OPENGL_LIBS
="-lGL -lGLU"
33096 echo "$as_me:$LINENO: result: yes" >&5
33097 echo "${ECHO_T}yes" >&6
33099 echo "$as_me:$LINENO: result: no" >&5
33100 echo "${ECHO_T}no" >&6
33103 echo "$as_me:$LINENO: result: no" >&5
33104 echo "${ECHO_T}no" >&6
33107 if test "$found_gl" != 1; then
33108 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33109 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33112 for ac_dir
in $SEARCH_LIB;
33114 for ac_extension
in a so sl dylib dll.a
; do
33115 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33116 ac_find_libraries
=$ac_dir
33122 if test "$ac_find_libraries" != "" ; then
33124 if test "$ac_find_libraries" = "default location"; then
33127 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33129 if test $result = 0; then
33132 ac_path_to_link
=" -L$ac_find_libraries"
33136 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33137 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33138 echo "$as_me:$LINENO: result: yes" >&5
33139 echo "${ECHO_T}yes" >&6
33141 echo "$as_me:$LINENO: result: no" >&5
33142 echo "${ECHO_T}no" >&6
33150 if test "x$OPENGL_LIBS" = "x"; then
33151 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33152 echo "$as_me: error: OpenGL libraries not available" >&2;}
33153 { (exit 1); exit 1; }; }
33157 if test "$wxUSE_OPENGL" = "yes"; then
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define wxUSE_OPENGL 1
33163 cat >>confdefs.h
<<\_ACEOF
33164 #define wxUSE_GLCANVAS 1
33167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33172 if test -n "$TOOLKIT" ; then
33173 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33178 if test "$wxUSE_SHARED" = "yes"; then
33182 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33183 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33188 if test "$wxUSE_SHARED" = "yes"; then
33191 found_versioning
=no
33194 if test $found_versioning = no
; then
33195 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33196 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33197 if test "${wx_cv_version_script+set}" = set; then
33198 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 echo "VER_1 { *; };" >conftest.sym
33202 echo "int main() { return 0; }" >conftest.cpp
33205 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33206 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208 (eval $ac_try) 2>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); }; } ; then
33212 if test -s conftest.stderr
; then
33213 wx_cv_version_script
=no
33215 wx_cv_version_script
=yes
33218 wx_cv_version_script
=no
33221 if test $wx_cv_version_script = yes
33223 echo "struct B { virtual ~B() { } }; \
33224 struct D : public B { }; \
33225 void F() { D d; }" > conftest.cpp
33228 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33229 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; } &&
33236 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33237 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; }
33245 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33246 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }
33253 wx_cv_version_script
=yes
33255 wx_cv_version_script
=no
33260 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33261 rm -f conftest1.output conftest2.output conftest3.output
33264 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33265 echo "${ECHO_T}$wx_cv_version_script" >&6
33266 if test $wx_cv_version_script = yes ; then
33267 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33273 *-*-linux* | *-*-gnu* )
33274 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33275 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33279 if test "$GCC" = yes ; then
33280 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33282 saveLdflags
="$LDFLAGS"
33283 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33284 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33285 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33286 cat >conftest.
$ac_ext <<_ACEOF
33289 cat confdefs.h
>>conftest.
$ac_ext
33290 cat >>conftest.
$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33301 rm -f conftest.
$ac_objext conftest
$ac_exeext
33302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33303 (eval $ac_link) 2>conftest.er1
33305 grep -v '^ *+' conftest.er1
>conftest.err
33307 cat conftest.err
>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } &&
33310 { ac_try
='test -z "$ac_cxx_werror_flag"
33311 || test ! -s conftest.err'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; } &&
33317 { ac_try
='test -s conftest$ac_exeext'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; }; then
33324 echo "$as_me:$LINENO: result: yes" >&5
33325 echo "${ECHO_T}yes" >&6
33326 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33327 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33330 echo "$as_me: failed program was:" >&5
33331 sed 's/^/| /' conftest.
$ac_ext >&5
33334 echo "$as_me:$LINENO: result: no" >&5
33335 echo "${ECHO_T}no" >&6
33336 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33337 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33338 LDFLAGS
="$saveLdflags -Wl,-R,/"
33339 cat >conftest.
$ac_ext <<_ACEOF
33342 cat confdefs.h
>>conftest.
$ac_ext
33343 cat >>conftest.
$ac_ext <<_ACEOF
33344 /* end confdefs.h. */
33354 rm -f conftest.
$ac_objext conftest
$ac_exeext
33355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33356 (eval $ac_link) 2>conftest.er1
33358 grep -v '^ *+' conftest.er1
>conftest.err
33360 cat conftest.err
>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } &&
33363 { ac_try
='test -z "$ac_cxx_werror_flag"
33364 || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try
='test -s conftest$ac_exeext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33377 echo "$as_me:$LINENO: result: yes" >&5
33378 echo "${ECHO_T}yes" >&6
33379 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33380 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33383 echo "$as_me: failed program was:" >&5
33384 sed 's/^/| /' conftest.
$ac_ext >&5
33387 echo "$as_me:$LINENO: result: no" >&5
33388 echo "${ECHO_T}no" >&6
33391 rm -f conftest.err conftest.
$ac_objext \
33392 conftest
$ac_exeext conftest.
$ac_ext
33395 rm -f conftest.err conftest.
$ac_objext \
33396 conftest
$ac_exeext conftest.
$ac_ext
33397 LDFLAGS
="$saveLdflags"
33399 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33400 WXCONFIG_RPATH
="-R\$libdir"
33405 install_name_tool
=`which install_name_tool`
33406 if test "$install_name_tool" -a -x "$install_name_tool"; then
33407 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33408 cat <<EOF >change-install-names
33410 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33411 inst_cmd="install_name_tool "
33412 for i in \${libnames} ; do
33413 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33417 chmod +x change
-install-names
33421 *-*-cygwin* | *-*-mingw32* )
33422 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33426 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33427 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33432 if test $wxUSE_RPATH = "no"; then
33433 SAMPLES_RPATH_FLAG
=''
33434 SAMPLES_RPATH_POSTLINK
=''
33442 config_linkage_component
="-static"
33449 lib_unicode_suffix
=
33451 if test "$wxUSE_UNICODE" = "yes"; then
33452 lib_unicode_suffix
=u
33453 WX_CHARTYPE
="unicode"
33458 WX_DEBUGTYPE
="release"
33460 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33462 WX_DEBUGTYPE
="debug"
33466 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33467 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33470 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33474 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33476 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33478 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33480 if test "$cross_compiling" = "yes"; then
33481 HOST_SUFFIX
="-$host_alias"
33482 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33483 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33486 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33487 if test "${TOOLKIT_DIR}" = "os2"; then
33488 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33490 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33495 if test "$wxUSE_COCOA" = 1; then
33499 ac_cpp
='$CPP $CPPFLAGS'
33500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33506 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33507 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33508 cat >conftest.
$ac_ext <<_ACEOF
33511 cat confdefs.h
>>conftest.
$ac_ext
33512 cat >>conftest.
$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 #include <AppKit/NSEvent.h>
33515 #include <CoreFoundation/CoreFoundation.h>
33525 rm -f conftest.
$ac_objext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33527 (eval $ac_compile) 2>conftest.er1
33529 grep -v '^ *+' conftest.er1
>conftest.err
33531 cat conftest.err
>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try
='test -z "$ac_c_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try
='test -s conftest.$ac_objext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 echo "$as_me:$LINENO: result: no" >&5
33548 echo "${ECHO_T}no" >&6
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.
$ac_ext >&5
33553 echo "$as_me:$LINENO: result: yes" >&5
33554 echo "${ECHO_T}yes" >&6
33555 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33556 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 #define __Point__ 1
33564 #include <AppKit/NSEvent.h>
33565 #include <CoreFoundation/CoreFoundation.h>
33575 rm -f conftest.
$ac_objext
33576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33577 (eval $ac_compile) 2>conftest.er1
33579 grep -v '^ *+' conftest.er1
>conftest.err
33581 cat conftest.err
>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); } &&
33584 { ac_try
='test -z "$ac_c_werror_flag"
33585 || test ! -s conftest.err'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; } &&
33591 { ac_try
='test -s conftest.$ac_objext'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; }; then
33597 echo "$as_me:$LINENO: result: yes" >&5
33598 echo "${ECHO_T}yes" >&6
33599 cat >>confdefs.h
<<\_ACEOF
33600 #define __Point__ 1
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.
$ac_ext >&5
33608 { { echo "$as_me:$LINENO: error: no
33609 See \`config.log' for more details." >&5
33610 echo "$as_me: error: no
33611 See \`config.log' for more details." >&2;}
33612 { (exit 1); exit 1; }; }
33615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33620 ac_cpp
='$CXXCPP $CPPFLAGS'
33621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33627 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33628 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33629 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33631 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33633 # Extract the first word of "Rez", so it can be a program name with args.
33634 set dummy Rez
; ac_word
=$2
33635 echo "$as_me:$LINENO: checking for $ac_word" >&5
33636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33637 if test "${ac_cv_prog_REZ+set}" = set; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 if test -n "$REZ"; then
33641 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33644 for as_dir
in $PATH
33647 test -z "$as_dir" && as_dir
=.
33648 for ac_exec_ext
in '' $ac_executable_extensions; do
33649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33650 ac_cv_prog_REZ
="Rez"
33651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33657 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33660 REZ
=$ac_cv_prog_REZ
33661 if test -n "$REZ"; then
33662 echo "$as_me:$LINENO: result: $REZ" >&5
33663 echo "${ECHO_T}$REZ" >&6
33665 echo "$as_me:$LINENO: result: no" >&5
33666 echo "${ECHO_T}no" >&6
33669 # Extract the first word of "DeRez", so it can be a program name with args.
33670 set dummy DeRez
; ac_word
=$2
33671 echo "$as_me:$LINENO: checking for $ac_word" >&5
33672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33673 if test "${ac_cv_prog_DEREZ+set}" = set; then
33674 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 if test -n "$DEREZ"; then
33677 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33680 for as_dir
in $PATH
33683 test -z "$as_dir" && as_dir
=.
33684 for ac_exec_ext
in '' $ac_executable_extensions; do
33685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33686 ac_cv_prog_DEREZ
="DeRez"
33687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33693 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33696 DEREZ
=$ac_cv_prog_DEREZ
33697 if test -n "$DEREZ"; then
33698 echo "$as_me:$LINENO: result: $DEREZ" >&5
33699 echo "${ECHO_T}$DEREZ" >&6
33701 echo "$as_me:$LINENO: result: no" >&5
33702 echo "${ECHO_T}no" >&6
33705 # Extract the first word of "SetFile", so it can be a program name with args.
33706 set dummy SetFile
; ac_word
=$2
33707 echo "$as_me:$LINENO: checking for $ac_word" >&5
33708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33709 if test "${ac_cv_prog_SETFILE+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 if test -n "$SETFILE"; then
33713 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33716 for as_dir
in $PATH
33719 test -z "$as_dir" && as_dir
=.
33720 for ac_exec_ext
in '' $ac_executable_extensions; do
33721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33722 ac_cv_prog_SETFILE
="SetFile"
33723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33729 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33732 SETFILE
=$ac_cv_prog_SETFILE
33733 if test -n "$SETFILE"; then
33734 echo "$as_me:$LINENO: result: $SETFILE" >&5
33735 echo "${ECHO_T}$SETFILE" >&6
33737 echo "$as_me:$LINENO: result: no" >&5
33738 echo "${ECHO_T}no" >&6
33742 MACSETFILE
="\$(SETFILE)"
33744 if test "$wxUSE_MAC" = 1; then
33745 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33747 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33749 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33750 RESCOMP
="echo -n \| $REZ"
33751 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33757 if test "$wxUSE_PM" = 1; then
33759 WXCONFIG_RESFLAGS
="-ep"
33761 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33763 POSTLINK_COMMAND
="@true"
33770 echo "$as_me:$LINENO: checking for mode_t" >&5
33771 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33772 if test "${ac_cv_type_mode_t+set}" = set; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33775 cat >conftest.
$ac_ext <<_ACEOF
33778 cat confdefs.h
>>conftest.
$ac_ext
33779 cat >>conftest.
$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33781 $ac_includes_default
33787 if (sizeof (mode_t))
33793 rm -f conftest.
$ac_objext
33794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33795 (eval $ac_compile) 2>conftest.er1
33797 grep -v '^ *+' conftest.er1
>conftest.err
33799 cat conftest.err
>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } &&
33802 { ac_try
='test -z "$ac_cxx_werror_flag"
33803 || test ! -s conftest.err'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; } &&
33809 { ac_try
='test -s conftest.$ac_objext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 ac_cv_type_mode_t
=yes
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.
$ac_ext >&5
33820 ac_cv_type_mode_t
=no
33822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33824 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33825 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33826 if test $ac_cv_type_mode_t = yes; then
33830 cat >>confdefs.h
<<_ACEOF
33836 echo "$as_me:$LINENO: checking for off_t" >&5
33837 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33838 if test "${ac_cv_type_off_t+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33841 cat >conftest.
$ac_ext <<_ACEOF
33844 cat confdefs.h
>>conftest.
$ac_ext
33845 cat >>conftest.
$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33847 $ac_includes_default
33853 if (sizeof (off_t))
33859 rm -f conftest.
$ac_objext
33860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33861 (eval $ac_compile) 2>conftest.er1
33863 grep -v '^ *+' conftest.er1
>conftest.err
33865 cat conftest.err
>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } &&
33868 { ac_try
='test -z "$ac_cxx_werror_flag"
33869 || test ! -s conftest.err'
33870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33871 (eval $ac_try) 2>&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); }; } &&
33875 { ac_try
='test -s conftest.$ac_objext'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; }; then
33881 ac_cv_type_off_t
=yes
33883 echo "$as_me: failed program was:" >&5
33884 sed 's/^/| /' conftest.
$ac_ext >&5
33886 ac_cv_type_off_t
=no
33888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33890 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33891 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33892 if test $ac_cv_type_off_t = yes; then
33896 cat >>confdefs.h
<<_ACEOF
33902 echo "$as_me:$LINENO: checking for pid_t" >&5
33903 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33904 if test "${ac_cv_type_pid_t+set}" = set; then
33905 echo $ECHO_N "(cached) $ECHO_C" >&6
33907 cat >conftest.
$ac_ext <<_ACEOF
33910 cat confdefs.h
>>conftest.
$ac_ext
33911 cat >>conftest.
$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33913 $ac_includes_default
33919 if (sizeof (pid_t))
33925 rm -f conftest.
$ac_objext
33926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33927 (eval $ac_compile) 2>conftest.er1
33929 grep -v '^ *+' conftest.er1
>conftest.err
33931 cat conftest.err
>&5
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); } &&
33934 { ac_try
='test -z "$ac_cxx_werror_flag"
33935 || test ! -s conftest.err'
33936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33937 (eval $ac_try) 2>&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); }; } &&
33941 { ac_try
='test -s conftest.$ac_objext'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; }; then
33947 ac_cv_type_pid_t
=yes
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.
$ac_ext >&5
33952 ac_cv_type_pid_t
=no
33954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33956 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33957 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33958 if test $ac_cv_type_pid_t = yes; then
33962 cat >>confdefs.h
<<_ACEOF
33968 echo "$as_me:$LINENO: checking for size_t" >&5
33969 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33970 if test "${ac_cv_type_size_t+set}" = set; then
33971 echo $ECHO_N "(cached) $ECHO_C" >&6
33973 cat >conftest.
$ac_ext <<_ACEOF
33976 cat confdefs.h
>>conftest.
$ac_ext
33977 cat >>conftest.
$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33979 $ac_includes_default
33985 if (sizeof (size_t))
33991 rm -f conftest.
$ac_objext
33992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33993 (eval $ac_compile) 2>conftest.er1
33995 grep -v '^ *+' conftest.er1
>conftest.err
33997 cat conftest.err
>&5
33998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999 (exit $ac_status); } &&
34000 { ac_try
='test -z "$ac_cxx_werror_flag"
34001 || test ! -s conftest.err'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; } &&
34007 { ac_try
='test -s conftest.$ac_objext'
34008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34009 (eval $ac_try) 2>&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); }; }; then
34013 ac_cv_type_size_t
=yes
34015 echo "$as_me: failed program was:" >&5
34016 sed 's/^/| /' conftest.
$ac_ext >&5
34018 ac_cv_type_size_t
=no
34020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34022 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34023 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34024 if test $ac_cv_type_size_t = yes; then
34028 cat >>confdefs.h
<<_ACEOF
34029 #define size_t unsigned
34034 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34035 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34036 if test "${ac_cv_type_uid_t+set}" = set; then
34037 echo $ECHO_N "(cached) $ECHO_C" >&6
34039 cat >conftest.
$ac_ext <<_ACEOF
34042 cat confdefs.h
>>conftest.
$ac_ext
34043 cat >>conftest.
$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34045 #include <sys/types.h>
34048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34049 $EGREP "uid_t" >/dev
/null
2>&1; then
34050 ac_cv_type_uid_t
=yes
34052 ac_cv_type_uid_t
=no
34057 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34058 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34059 if test $ac_cv_type_uid_t = no
; then
34061 cat >>confdefs.h
<<\_ACEOF
34066 cat >>confdefs.h
<<\_ACEOF
34073 echo "$as_me:$LINENO: checking for ssize_t" >&5
34074 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34075 if test "${ac_cv_type_ssize_t+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 cat >conftest.
$ac_ext <<_ACEOF
34081 cat confdefs.h
>>conftest.
$ac_ext
34082 cat >>conftest.
$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 $ac_includes_default
34090 if (sizeof (ssize_t))
34096 rm -f conftest.
$ac_objext
34097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34098 (eval $ac_compile) 2>conftest.er1
34100 grep -v '^ *+' conftest.er1
>conftest.err
34102 cat conftest.err
>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); } &&
34105 { ac_try
='test -z "$ac_cxx_werror_flag"
34106 || test ! -s conftest.err'
34107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 (eval $ac_try) 2>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); }; } &&
34112 { ac_try
='test -s conftest.$ac_objext'
34113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 (eval $ac_try) 2>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; }; then
34118 ac_cv_type_ssize_t
=yes
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.
$ac_ext >&5
34123 ac_cv_type_ssize_t
=no
34125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34127 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34128 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34129 if test $ac_cv_type_ssize_t = yes; then
34131 cat >>confdefs.h
<<_ACEOF
34132 #define HAVE_SSIZE_T 1
34139 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34140 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34141 if test "${wx_cv_size_t_is_uint+set}" = set; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 cat >conftest.
$ac_ext <<_ACEOF
34148 cat confdefs.h
>>conftest.
$ac_ext
34149 cat >>conftest.
$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151 #include <stddef.h>
34158 struct Foo { void foo(size_t); void foo(unsigned int); };
34166 rm -f conftest.
$ac_objext
34167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34168 (eval $ac_compile) 2>conftest.er1
34170 grep -v '^ *+' conftest.er1
>conftest.err
34172 cat conftest.err
>&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } &&
34175 { ac_try
='test -z "$ac_cxx_werror_flag"
34176 || test ! -s conftest.err'
34177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34178 (eval $ac_try) 2>&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); }; } &&
34182 { ac_try
='test -s conftest.$ac_objext'
34183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34184 (eval $ac_try) 2>&5
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); }; }; then
34188 wx_cv_size_t_is_uint
=no
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.
$ac_ext >&5
34193 wx_cv_size_t_is_uint
=yes
34196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34200 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34201 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34203 if test "$wx_cv_size_t_is_uint" = "yes"; then
34204 cat >>confdefs.h
<<\_ACEOF
34205 #define wxSIZE_T_IS_UINT 1
34209 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34210 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34211 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 cat >conftest.
$ac_ext <<_ACEOF
34217 cat confdefs.h
>>conftest.
$ac_ext
34218 cat >>conftest.
$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34220 #include <stddef.h>
34227 struct Foo { void foo(size_t); void foo(unsigned long); };
34235 rm -f conftest.
$ac_objext
34236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34237 (eval $ac_compile) 2>conftest.er1
34239 grep -v '^ *+' conftest.er1
>conftest.err
34241 cat conftest.err
>&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } &&
34244 { ac_try
='test -z "$ac_cxx_werror_flag"
34245 || test ! -s conftest.err'
34246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247 (eval $ac_try) 2>&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); }; } &&
34251 { ac_try
='test -s conftest.$ac_objext'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; }; then
34257 wx_cv_size_t_is_ulong
=no
34259 echo "$as_me: failed program was:" >&5
34260 sed 's/^/| /' conftest.
$ac_ext >&5
34262 wx_cv_size_t_is_ulong
=yes
34265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34268 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34269 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34271 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34272 cat >>confdefs.h
<<\_ACEOF
34273 #define wxSIZE_T_IS_ULONG 1
34280 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34281 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34282 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 cat >conftest.
$ac_ext <<_ACEOF
34289 cat confdefs.h
>>conftest.
$ac_ext
34290 cat >>conftest.
$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34305 rm -f conftest.
$ac_objext
34306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34307 (eval $ac_compile) 2>conftest.er1
34309 grep -v '^ *+' conftest.er1
>conftest.err
34311 cat conftest.err
>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } &&
34314 { ac_try
='test -z "$ac_cxx_werror_flag"
34315 || test ! -s conftest.err'
34316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317 (eval $ac_try) 2>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); }; } &&
34321 { ac_try
='test -s conftest.$ac_objext'
34322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34323 (eval $ac_try) 2>&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); }; }; then
34328 wx_cv_struct_pw_gecos
=yes
34331 echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.
$ac_ext >&5
34335 wx_cv_struct_pw_gecos
=no
34339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34343 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34344 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34346 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34347 cat >>confdefs.h
<<\_ACEOF
34348 #define HAVE_PW_GECOS 1
34354 if test "$wxUSE_WCHAR_T" = "yes"; then
34355 cat >>confdefs.h
<<\_ACEOF
34356 #define wxUSE_WCHAR_T 1
34363 for ac_func
in wcslen
34365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34366 echo "$as_me:$LINENO: checking for $ac_func" >&5
34367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34368 if eval "test \"\${$as_ac_var+set}\" = set"; then
34369 echo $ECHO_N "(cached) $ECHO_C" >&6
34371 cat >conftest.
$ac_ext <<_ACEOF
34374 cat confdefs.h
>>conftest.
$ac_ext
34375 cat >>conftest.
$ac_ext <<_ACEOF
34376 /* end confdefs.h. */
34377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34379 #define $ac_func innocuous_$ac_func
34381 /* System header to define __stub macros and hopefully few prototypes,
34382 which can conflict with char $ac_func (); below.
34383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34384 <limits.h> exists even on freestanding compilers. */
34387 # include <limits.h>
34389 # include <assert.h>
34394 /* Override any gcc2 internal prototype to avoid an error. */
34399 /* We use char because int might match the return type of a gcc2
34400 builtin and then its argument prototype would still apply. */
34402 /* The GNU C library defines this for functions which it implements
34403 to always fail with ENOSYS. Some functions are actually named
34404 something starting with __ and the normal name is an alias. */
34405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34408 char (*f) () = $ac_func;
34417 return f != $ac_func;
34422 rm -f conftest.
$ac_objext conftest
$ac_exeext
34423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34424 (eval $ac_link) 2>conftest.er1
34426 grep -v '^ *+' conftest.er1
>conftest.err
34428 cat conftest.err
>&5
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); } &&
34431 { ac_try
='test -z "$ac_cxx_werror_flag"
34432 || test ! -s conftest.err'
34433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34434 (eval $ac_try) 2>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); }; } &&
34438 { ac_try
='test -s conftest$ac_exeext'
34439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440 (eval $ac_try) 2>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); }; }; then
34444 eval "$as_ac_var=yes"
34446 echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.
$ac_ext >&5
34449 eval "$as_ac_var=no"
34451 rm -f conftest.err conftest.
$ac_objext \
34452 conftest
$ac_exeext conftest.
$ac_ext
34454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34456 if test `eval echo '${'$as_ac_var'}'` = yes; then
34457 cat >>confdefs.h
<<_ACEOF
34458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34465 if test "$WCSLEN_FOUND" = 0; then
34466 if test "$TOOLKIT" = "MSW"; then
34467 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34468 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34469 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 ac_check_lib_save_LIBS
=$LIBS
34473 LIBS
="-lmsvcrt $LIBS"
34474 cat >conftest.
$ac_ext <<_ACEOF
34477 cat confdefs.h
>>conftest.
$ac_ext
34478 cat >>conftest.
$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34481 /* Override any gcc2 internal prototype to avoid an error. */
34485 /* We use char because int might match the return type of a gcc2
34486 builtin and then its argument prototype would still apply. */
34496 rm -f conftest.
$ac_objext conftest
$ac_exeext
34497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34498 (eval $ac_link) 2>conftest.er1
34500 grep -v '^ *+' conftest.er1
>conftest.err
34502 cat conftest.err
>&5
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); } &&
34505 { ac_try
='test -z "$ac_cxx_werror_flag"
34506 || test ! -s conftest.err'
34507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34508 (eval $ac_try) 2>&5
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); }; } &&
34512 { ac_try
='test -s conftest$ac_exeext'
34513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34514 (eval $ac_try) 2>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); }; }; then
34518 ac_cv_lib_msvcrt_wcslen
=yes
34520 echo "$as_me: failed program was:" >&5
34521 sed 's/^/| /' conftest.
$ac_ext >&5
34523 ac_cv_lib_msvcrt_wcslen
=no
34525 rm -f conftest.err conftest.
$ac_objext \
34526 conftest
$ac_exeext conftest.
$ac_ext
34527 LIBS
=$ac_check_lib_save_LIBS
34529 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34530 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34531 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34536 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34537 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34538 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 ac_check_lib_save_LIBS
=$LIBS
34543 cat >conftest.
$ac_ext <<_ACEOF
34546 cat confdefs.h
>>conftest.
$ac_ext
34547 cat >>conftest.
$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34550 /* Override any gcc2 internal prototype to avoid an error. */
34554 /* We use char because int might match the return type of a gcc2
34555 builtin and then its argument prototype would still apply. */
34565 rm -f conftest.
$ac_objext conftest
$ac_exeext
34566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34567 (eval $ac_link) 2>conftest.er1
34569 grep -v '^ *+' conftest.er1
>conftest.err
34571 cat conftest.err
>&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); } &&
34574 { ac_try
='test -z "$ac_cxx_werror_flag"
34575 || test ! -s conftest.err'
34576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34577 (eval $ac_try) 2>&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); }; } &&
34581 { ac_try
='test -s conftest$ac_exeext'
34582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34583 (eval $ac_try) 2>&5
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); }; }; then
34587 ac_cv_lib_w_wcslen
=yes
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.
$ac_ext >&5
34592 ac_cv_lib_w_wcslen
=no
34594 rm -f conftest.err conftest.
$ac_objext \
34595 conftest
$ac_exeext conftest.
$ac_ext
34596 LIBS
=$ac_check_lib_save_LIBS
34598 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34599 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34600 if test $ac_cv_lib_w_wcslen = yes; then
34610 if test "$WCSLEN_FOUND" = 1; then
34611 cat >>confdefs.h
<<\_ACEOF
34612 #define HAVE_WCSLEN 1
34617 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34618 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34621 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34622 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34623 if test "${ac_cv_type_mbstate_t+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 cat >conftest.
$ac_ext <<_ACEOF
34629 cat confdefs.h
>>conftest.
$ac_ext
34630 cat >>conftest.
$ac_ext <<_ACEOF
34631 /* end confdefs.h. */
34637 if ((mbstate_t *) 0)
34639 if (sizeof (mbstate_t))
34645 rm -f conftest.
$ac_objext
34646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34647 (eval $ac_compile) 2>conftest.er1
34649 grep -v '^ *+' conftest.er1
>conftest.err
34651 cat conftest.err
>&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } &&
34654 { ac_try
='test -z "$ac_cxx_werror_flag"
34655 || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try
='test -s conftest.$ac_objext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 ac_cv_type_mbstate_t
=yes
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.
$ac_ext >&5
34672 ac_cv_type_mbstate_t
=no
34674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34676 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34677 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34678 if test $ac_cv_type_mbstate_t = yes; then
34680 cat >>confdefs.h
<<_ACEOF
34681 #define HAVE_MBSTATE_T 1
34685 for ac_func
in wcsrtombs
34687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34688 echo "$as_me:$LINENO: checking for $ac_func" >&5
34689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34690 if eval "test \"\${$as_ac_var+set}\" = set"; then
34691 echo $ECHO_N "(cached) $ECHO_C" >&6
34693 cat >conftest.
$ac_ext <<_ACEOF
34696 cat confdefs.h
>>conftest.
$ac_ext
34697 cat >>conftest.
$ac_ext <<_ACEOF
34698 /* end confdefs.h. */
34699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34701 #define $ac_func innocuous_$ac_func
34703 /* System header to define __stub macros and hopefully few prototypes,
34704 which can conflict with char $ac_func (); below.
34705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34706 <limits.h> exists even on freestanding compilers. */
34709 # include <limits.h>
34711 # include <assert.h>
34716 /* Override any gcc2 internal prototype to avoid an error. */
34721 /* We use char because int might match the return type of a gcc2
34722 builtin and then its argument prototype would still apply. */
34724 /* The GNU C library defines this for functions which it implements
34725 to always fail with ENOSYS. Some functions are actually named
34726 something starting with __ and the normal name is an alias. */
34727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34730 char (*f) () = $ac_func;
34739 return f != $ac_func;
34744 rm -f conftest.
$ac_objext conftest
$ac_exeext
34745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34746 (eval $ac_link) 2>conftest.er1
34748 grep -v '^ *+' conftest.er1
>conftest.err
34750 cat conftest.err
>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); } &&
34753 { ac_try
='test -z "$ac_cxx_werror_flag"
34754 || test ! -s conftest.err'
34755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34756 (eval $ac_try) 2>&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); }; } &&
34760 { ac_try
='test -s conftest$ac_exeext'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; }; then
34766 eval "$as_ac_var=yes"
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.
$ac_ext >&5
34771 eval "$as_ac_var=no"
34773 rm -f conftest.err conftest.
$ac_objext \
34774 conftest
$ac_exeext conftest.
$ac_ext
34776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34778 if test `eval echo '${'$as_ac_var'}'` = yes; then
34779 cat >>confdefs.h
<<_ACEOF
34780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34789 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34790 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34795 for ac_func
in snprintf vsnprintf
34797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 echo "$as_me:$LINENO: checking for $ac_func" >&5
34799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34800 if eval "test \"\${$as_ac_var+set}\" = set"; then
34801 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 cat >conftest.
$ac_ext <<_ACEOF
34806 cat confdefs.h
>>conftest.
$ac_ext
34807 cat >>conftest.
$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34811 #define $ac_func innocuous_$ac_func
34813 /* System header to define __stub macros and hopefully few prototypes,
34814 which can conflict with char $ac_func (); below.
34815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34816 <limits.h> exists even on freestanding compilers. */
34819 # include <limits.h>
34821 # include <assert.h>
34826 /* Override any gcc2 internal prototype to avoid an error. */
34831 /* We use char because int might match the return type of a gcc2
34832 builtin and then its argument prototype would still apply. */
34834 /* The GNU C library defines this for functions which it implements
34835 to always fail with ENOSYS. Some functions are actually named
34836 something starting with __ and the normal name is an alias. */
34837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34840 char (*f) () = $ac_func;
34849 return f != $ac_func;
34854 rm -f conftest.
$ac_objext conftest
$ac_exeext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34856 (eval $ac_link) 2>conftest.er1
34858 grep -v '^ *+' conftest.er1
>conftest.err
34860 cat conftest.err
>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try
='test -z "$ac_cxx_werror_flag"
34864 || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try
='test -s conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 eval "$as_ac_var=yes"
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.
$ac_ext >&5
34881 eval "$as_ac_var=no"
34883 rm -f conftest.err conftest.
$ac_objext \
34884 conftest
$ac_exeext conftest.
$ac_ext
34886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h
<<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34897 if test "$ac_cv_func_vsnprintf" = "yes"; then
34898 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34899 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34900 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.
$ac_ext <<_ACEOF
34907 cat confdefs.h
>>conftest.
$ac_ext
34908 cat >>conftest.
$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34912 #include <stdarg.h>
34914 #if __MSL__ >= 0x6000
34916 using namespace std;
34926 vsnprintf(buf, 10u, "%s", ap);
34932 rm -f conftest.
$ac_objext
34933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34934 (eval $ac_compile) 2>conftest.er1
34936 grep -v '^ *+' conftest.er1
>conftest.err
34938 cat conftest.err
>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } &&
34941 { ac_try
='test -z "$ac_cxx_werror_flag"
34942 || test ! -s conftest.err'
34943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944 (eval $ac_try) 2>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); }; } &&
34948 { ac_try
='test -s conftest.$ac_objext'
34949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34950 (eval $ac_try) 2>&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); }; }; then
34954 wx_cv_func_vsnprintf_decl
=yes
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.
$ac_ext >&5
34959 wx_cv_func_vsnprintf_decl
=no
34962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34966 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34967 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34969 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34970 cat >>confdefs.h
<<\_ACEOF
34971 #define HAVE_VSNPRINTF_DECL 1
34975 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34976 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34977 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34981 cat >conftest.
$ac_ext <<_ACEOF
34984 cat confdefs.h
>>conftest.
$ac_ext
34985 cat >>conftest.
$ac_ext <<_ACEOF
34986 /* end confdefs.h. */
34989 #include <stdarg.h>
34991 #if __MSL__ >= 0x6000
34993 using namespace std;
35003 const char *fmt = "%s";
35004 vsnprintf(buf, 10u, fmt, ap);
35010 rm -f conftest.
$ac_objext
35011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35012 (eval $ac_compile) 2>conftest.er1
35014 grep -v '^ *+' conftest.er1
>conftest.err
35016 cat conftest.err
>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); } &&
35019 { ac_try
='test -z "$ac_cxx_werror_flag"
35020 || test ! -s conftest.err'
35021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022 (eval $ac_try) 2>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; } &&
35026 { ac_try
='test -s conftest.$ac_objext'
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; }; then
35032 wx_cv_func_broken_vsnprintf_decl
=no
35034 echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.
$ac_ext >&5
35037 wx_cv_func_broken_vsnprintf_decl
=yes
35040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35044 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35045 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35047 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35048 cat >>confdefs.h
<<\_ACEOF
35049 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35056 if test "$ac_cv_func_snprintf" = "yes"; then
35057 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35058 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35059 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35063 cat >conftest.
$ac_ext <<_ACEOF
35066 cat confdefs.h
>>conftest.
$ac_ext
35067 cat >>conftest.
$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35071 #include <stdarg.h>
35073 #if __MSL__ >= 0x6000
35075 using namespace std;
35084 snprintf(buf, 10u, "%s", "wx");
35090 rm -f conftest.
$ac_objext
35091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35092 (eval $ac_compile) 2>conftest.er1
35094 grep -v '^ *+' conftest.er1
>conftest.err
35096 cat conftest.err
>&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } &&
35099 { ac_try
='test -z "$ac_cxx_werror_flag"
35100 || 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_objext'
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 wx_cv_func_snprintf_decl
=yes
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35117 wx_cv_func_snprintf_decl
=no
35120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35124 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35125 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35127 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35128 cat >>confdefs.h
<<\_ACEOF
35129 #define HAVE_SNPRINTF_DECL 1
35133 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35134 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35135 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 cat >conftest.
$ac_ext <<_ACEOF
35142 cat confdefs.h
>>conftest.
$ac_ext
35143 cat >>conftest.
$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35147 #include <stdarg.h>
35149 #if __MSL__ >= 0x6000
35151 using namespace std;
35160 const char *fmt = "%s";
35161 snprintf(buf, 10u, fmt, "wx");
35167 rm -f conftest.
$ac_objext
35168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35169 (eval $ac_compile) 2>conftest.er1
35171 grep -v '^ *+' conftest.er1
>conftest.err
35173 cat conftest.err
>&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); } &&
35176 { ac_try
='test -z "$ac_cxx_werror_flag"
35177 || test ! -s conftest.err'
35178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35179 (eval $ac_try) 2>&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); }; } &&
35183 { ac_try
='test -s conftest.$ac_objext'
35184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35185 (eval $ac_try) 2>&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); }; }; then
35189 wx_cv_func_broken_snprintf_decl
=no
35191 echo "$as_me: failed program was:" >&5
35192 sed 's/^/| /' conftest.
$ac_ext >&5
35194 wx_cv_func_broken_snprintf_decl
=yes
35197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35201 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35202 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35204 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35205 cat >>confdefs.h
<<\_ACEOF
35206 #define HAVE_BROKEN_SNPRINTF_DECL 1
35212 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35214 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35215 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35216 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35220 if test "$cross_compiling" = yes; then
35222 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35223 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35224 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35225 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35226 wx_cv_func_snprintf_pos_params
=no
35230 cat >conftest.
$ac_ext <<_ACEOF
35233 cat confdefs.h
>>conftest.
$ac_ext
35234 cat >>conftest.
$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35242 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35243 if (strcmp ("2 3 1", buffer) == 0)
35249 rm -f conftest
$ac_exeext
35250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35251 (eval $ac_link) 2>&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35256 (eval $ac_try) 2>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); }; }; then
35260 wx_cv_func_snprintf_pos_params
=no
35262 echo "$as_me: program exited with status $ac_status" >&5
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.
$ac_ext >&5
35266 ( exit $ac_status )
35267 wx_cv_func_snprintf_pos_params
=yes
35269 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35274 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35275 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35277 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35278 cat >>confdefs.h
<<\_ACEOF
35279 #define HAVE_UNIX98_PRINTF 1
35286 if test "$wxUSE_UNICODE" = yes; then
35289 for ac_func
in swprintf
35291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35292 echo "$as_me:$LINENO: checking for $ac_func" >&5
35293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35294 if eval "test \"\${$as_ac_var+set}\" = set"; then
35295 echo $ECHO_N "(cached) $ECHO_C" >&6
35297 cat >conftest.
$ac_ext <<_ACEOF
35300 cat confdefs.h
>>conftest.
$ac_ext
35301 cat >>conftest.
$ac_ext <<_ACEOF
35302 /* end confdefs.h. */
35303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35305 #define $ac_func innocuous_$ac_func
35307 /* System header to define __stub macros and hopefully few prototypes,
35308 which can conflict with char $ac_func (); below.
35309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35310 <limits.h> exists even on freestanding compilers. */
35313 # include <limits.h>
35315 # include <assert.h>
35320 /* Override any gcc2 internal prototype to avoid an error. */
35325 /* We use char because int might match the return type of a gcc2
35326 builtin and then its argument prototype would still apply. */
35328 /* The GNU C library defines this for functions which it implements
35329 to always fail with ENOSYS. Some functions are actually named
35330 something starting with __ and the normal name is an alias. */
35331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35334 char (*f) () = $ac_func;
35343 return f != $ac_func;
35348 rm -f conftest.
$ac_objext conftest
$ac_exeext
35349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35350 (eval $ac_link) 2>conftest.er1
35352 grep -v '^ *+' conftest.er1
>conftest.err
35354 cat conftest.err
>&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } &&
35357 { ac_try
='test -z "$ac_cxx_werror_flag"
35358 || test ! -s conftest.err'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; } &&
35364 { ac_try
='test -s conftest$ac_exeext'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; }; then
35370 eval "$as_ac_var=yes"
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.
$ac_ext >&5
35375 eval "$as_ac_var=no"
35377 rm -f conftest.err conftest.
$ac_objext \
35378 conftest
$ac_exeext conftest.
$ac_ext
35380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35382 if test `eval echo '${'$as_ac_var'}'` = yes; then
35383 cat >>confdefs.h
<<_ACEOF
35384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35391 if test "$ac_cv_func_swprintf" = "yes"; then
35392 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35393 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35394 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35395 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 cat >conftest.
$ac_ext <<_ACEOF
35401 cat confdefs.h
>>conftest.
$ac_ext
35402 cat >>conftest.
$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35406 #include <stdarg.h>
35414 const wchar_t *fmt = L"test";
35415 swprintf(buf, 10u, fmt);
35421 rm -f conftest.
$ac_objext
35422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35423 (eval $ac_compile) 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } &&
35430 { ac_try
='test -z "$ac_cxx_werror_flag"
35431 || test ! -s conftest.err'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; } &&
35437 { ac_try
='test -s conftest.$ac_objext'
35438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35439 (eval $ac_try) 2>&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); }; }; then
35443 wx_cv_func_broken_swprintf_decl
=no
35445 echo "$as_me: failed program was:" >&5
35446 sed 's/^/| /' conftest.
$ac_ext >&5
35448 wx_cv_func_broken_swprintf_decl
=yes
35451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35455 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35456 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35458 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35459 cat >>confdefs.h
<<\_ACEOF
35460 #define HAVE_BROKEN_SWPRINTF_DECL 1
35472 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35475 echo "$as_me:$LINENO: checking for $ac_func" >&5
35476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35477 if eval "test \"\${$as_ac_var+set}\" = set"; then
35478 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 cat >conftest.
$ac_ext <<_ACEOF
35483 cat confdefs.h
>>conftest.
$ac_ext
35484 cat >>conftest.
$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35488 #define $ac_func innocuous_$ac_func
35490 /* System header to define __stub macros and hopefully few prototypes,
35491 which can conflict with char $ac_func (); below.
35492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35493 <limits.h> exists even on freestanding compilers. */
35496 # include <limits.h>
35498 # include <assert.h>
35503 /* Override any gcc2 internal prototype to avoid an error. */
35508 /* We use char because int might match the return type of a gcc2
35509 builtin and then its argument prototype would still apply. */
35511 /* The GNU C library defines this for functions which it implements
35512 to always fail with ENOSYS. Some functions are actually named
35513 something starting with __ and the normal name is an alias. */
35514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35517 char (*f) () = $ac_func;
35526 return f != $ac_func;
35531 rm -f conftest.
$ac_objext conftest
$ac_exeext
35532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35533 (eval $ac_link) 2>conftest.er1
35535 grep -v '^ *+' conftest.er1
>conftest.err
35537 cat conftest.err
>&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } &&
35540 { ac_try
='test -z "$ac_cxx_werror_flag"
35541 || test ! -s conftest.err'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; } &&
35547 { ac_try
='test -s conftest$ac_exeext'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; }; then
35553 eval "$as_ac_var=yes"
35555 echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.
$ac_ext >&5
35558 eval "$as_ac_var=no"
35560 rm -f conftest.err conftest.
$ac_objext \
35561 conftest
$ac_exeext conftest.
$ac_ext
35563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35565 if test `eval echo '${'$as_ac_var'}'` = yes; then
35566 cat >>confdefs.h
<<_ACEOF
35567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35574 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35575 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35576 cat >conftest.
$ac_ext <<_ACEOF
35579 cat confdefs.h
>>conftest.
$ac_ext
35580 cat >>conftest.
$ac_ext <<_ACEOF
35581 /* end confdefs.h. */
35591 rm -f conftest.
$ac_objext
35592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35593 (eval $ac_compile) 2>conftest.er1
35595 grep -v '^ *+' conftest.er1
>conftest.err
35597 cat conftest.err
>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); } &&
35600 { ac_try
='test -z "$ac_cxx_werror_flag"
35601 || test ! -s conftest.err'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; } &&
35607 { ac_try
='test -s conftest.$ac_objext'
35608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609 (eval $ac_try) 2>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); }; }; then
35613 echo "$as_me:$LINENO: result: yes" >&5
35614 echo "${ECHO_T}yes" >&6
35615 cat >>confdefs.h
<<\_ACEOF
35616 #define HAVE__VSNWPRINTF 1
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.
$ac_ext >&5
35623 echo "$as_me:$LINENO: result: no" >&5
35624 echo "${ECHO_T}no" >&6
35626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35629 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35631 for ac_func
in fnmatch
35633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35634 echo "$as_me:$LINENO: checking for $ac_func" >&5
35635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35636 if eval "test \"\${$as_ac_var+set}\" = set"; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 cat >conftest.
$ac_ext <<_ACEOF
35642 cat confdefs.h
>>conftest.
$ac_ext
35643 cat >>conftest.
$ac_ext <<_ACEOF
35644 /* end confdefs.h. */
35645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35647 #define $ac_func innocuous_$ac_func
35649 /* System header to define __stub macros and hopefully few prototypes,
35650 which can conflict with char $ac_func (); below.
35651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35652 <limits.h> exists even on freestanding compilers. */
35655 # include <limits.h>
35657 # include <assert.h>
35662 /* Override any gcc2 internal prototype to avoid an error. */
35667 /* We use char because int might match the return type of a gcc2
35668 builtin and then its argument prototype would still apply. */
35670 /* The GNU C library defines this for functions which it implements
35671 to always fail with ENOSYS. Some functions are actually named
35672 something starting with __ and the normal name is an alias. */
35673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35676 char (*f) () = $ac_func;
35685 return f != $ac_func;
35690 rm -f conftest.
$ac_objext conftest
$ac_exeext
35691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35692 (eval $ac_link) 2>conftest.er1
35694 grep -v '^ *+' conftest.er1
>conftest.err
35696 cat conftest.err
>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); } &&
35699 { ac_try
='test -z "$ac_cxx_werror_flag"
35700 || test ! -s conftest.err'
35701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35702 (eval $ac_try) 2>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); }; } &&
35706 { ac_try
='test -s conftest$ac_exeext'
35707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708 (eval $ac_try) 2>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); }; }; then
35712 eval "$as_ac_var=yes"
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.
$ac_ext >&5
35717 eval "$as_ac_var=no"
35719 rm -f conftest.err conftest.
$ac_objext \
35720 conftest
$ac_exeext conftest.
$ac_ext
35722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35724 if test `eval echo '${'$as_ac_var'}'` = yes; then
35725 cat >>confdefs.h
<<_ACEOF
35726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35734 if test "$wxUSE_FILE" = "yes"; then
35736 for ac_func
in fsync
35738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35739 echo "$as_me:$LINENO: checking for $ac_func" >&5
35740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35741 if eval "test \"\${$as_ac_var+set}\" = set"; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35744 cat >conftest.
$ac_ext <<_ACEOF
35747 cat confdefs.h
>>conftest.
$ac_ext
35748 cat >>conftest.
$ac_ext <<_ACEOF
35749 /* end confdefs.h. */
35750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35752 #define $ac_func innocuous_$ac_func
35754 /* System header to define __stub macros and hopefully few prototypes,
35755 which can conflict with char $ac_func (); below.
35756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35757 <limits.h> exists even on freestanding compilers. */
35760 # include <limits.h>
35762 # include <assert.h>
35767 /* Override any gcc2 internal prototype to avoid an error. */
35772 /* We use char because int might match the return type of a gcc2
35773 builtin and then its argument prototype would still apply. */
35775 /* The GNU C library defines this for functions which it implements
35776 to always fail with ENOSYS. Some functions are actually named
35777 something starting with __ and the normal name is an alias. */
35778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35781 char (*f) () = $ac_func;
35790 return f != $ac_func;
35795 rm -f conftest.
$ac_objext conftest
$ac_exeext
35796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35797 (eval $ac_link) 2>conftest.er1
35799 grep -v '^ *+' conftest.er1
>conftest.err
35801 cat conftest.err
>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); } &&
35804 { ac_try
='test -z "$ac_cxx_werror_flag"
35805 || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try
='test -s conftest$ac_exeext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 eval "$as_ac_var=yes"
35819 echo "$as_me: failed program was:" >&5
35820 sed 's/^/| /' conftest.
$ac_ext >&5
35822 eval "$as_ac_var=no"
35824 rm -f conftest.err conftest.
$ac_objext \
35825 conftest
$ac_exeext conftest.
$ac_ext
35827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35829 if test `eval echo '${'$as_ac_var'}'` = yes; then
35830 cat >>confdefs.h
<<_ACEOF
35831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35840 for ac_func
in round
35842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35843 echo "$as_me:$LINENO: checking for $ac_func" >&5
35844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35845 if eval "test \"\${$as_ac_var+set}\" = set"; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 cat >conftest.
$ac_ext <<_ACEOF
35851 cat confdefs.h
>>conftest.
$ac_ext
35852 cat >>conftest.
$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35856 #define $ac_func innocuous_$ac_func
35858 /* System header to define __stub macros and hopefully few prototypes,
35859 which can conflict with char $ac_func (); below.
35860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35861 <limits.h> exists even on freestanding compilers. */
35864 # include <limits.h>
35866 # include <assert.h>
35871 /* Override any gcc2 internal prototype to avoid an error. */
35876 /* We use char because int might match the return type of a gcc2
35877 builtin and then its argument prototype would still apply. */
35879 /* The GNU C library defines this for functions which it implements
35880 to always fail with ENOSYS. Some functions are actually named
35881 something starting with __ and the normal name is an alias. */
35882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35885 char (*f) () = $ac_func;
35894 return f != $ac_func;
35899 rm -f conftest.
$ac_objext conftest
$ac_exeext
35900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35901 (eval $ac_link) 2>conftest.er1
35903 grep -v '^ *+' conftest.er1
>conftest.err
35905 cat conftest.err
>&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } &&
35908 { ac_try
='test -z "$ac_cxx_werror_flag"
35909 || test ! -s conftest.err'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; } &&
35915 { ac_try
='test -s conftest$ac_exeext'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; }; then
35921 eval "$as_ac_var=yes"
35923 echo "$as_me: failed program was:" >&5
35924 sed 's/^/| /' conftest.
$ac_ext >&5
35926 eval "$as_ac_var=no"
35928 rm -f conftest.err conftest.
$ac_objext \
35929 conftest
$ac_exeext conftest.
$ac_ext
35931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35933 if test `eval echo '${'$as_ac_var'}'` = yes; then
35934 cat >>confdefs.h
<<_ACEOF
35935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35941 if test "$ac_cv_func_round" = yes; then
35942 echo "$as_me:$LINENO: checking whether round is declared" >&5
35943 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35944 if test "${ac_cv_have_decl_round+set}" = set; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 cat >conftest.
$ac_ext <<_ACEOF
35950 cat confdefs.h
>>conftest.
$ac_ext
35951 cat >>conftest.
$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35959 char *p = (char *) round;
35966 rm -f conftest.
$ac_objext
35967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35968 (eval $ac_compile) 2>conftest.er1
35970 grep -v '^ *+' conftest.er1
>conftest.err
35972 cat conftest.err
>&5
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); } &&
35975 { ac_try
='test -z "$ac_cxx_werror_flag"
35976 || test ! -s conftest.err'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; } &&
35982 { ac_try
='test -s conftest.$ac_objext'
35983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35984 (eval $ac_try) 2>&5
35986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35987 (exit $ac_status); }; }; then
35988 ac_cv_have_decl_round
=yes
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35993 ac_cv_have_decl_round
=no
35995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35998 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35999 if test $ac_cv_have_decl_round = yes; then
36001 cat >>confdefs.h
<<_ACEOF
36002 #define HAVE_DECL_ROUND 1
36007 cat >>confdefs.h
<<_ACEOF
36008 #define HAVE_DECL_ROUND 0
36018 if test "$TOOLKIT" != "MSW"; then
36024 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36025 if test "${with_libiconv_prefix+set}" = set; then
36026 withval
="$with_libiconv_prefix"
36028 for dir
in `echo "$withval" | tr : ' '`; do
36029 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36030 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36035 echo "$as_me:$LINENO: checking for iconv" >&5
36036 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36037 if test "${am_cv_func_iconv+set}" = set; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36041 am_cv_func_iconv
="no, consider installing GNU libiconv"
36043 cat >conftest.
$ac_ext <<_ACEOF
36046 cat confdefs.h
>>conftest.
$ac_ext
36047 cat >>conftest.
$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36049 #include <stdlib.h>
36054 iconv_t cd = iconv_open("","");
36055 iconv(cd,NULL,NULL,NULL,NULL);
36061 rm -f conftest.
$ac_objext conftest
$ac_exeext
36062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36063 (eval $ac_link) 2>conftest.er1
36065 grep -v '^ *+' conftest.er1
>conftest.err
36067 cat conftest.err
>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } &&
36070 { ac_try
='test -z "$ac_cxx_werror_flag"
36071 || test ! -s conftest.err'
36072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36073 (eval $ac_try) 2>&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); }; } &&
36077 { ac_try
='test -s conftest$ac_exeext'
36078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36079 (eval $ac_try) 2>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; }; then
36083 am_cv_func_iconv
=yes
36085 echo "$as_me: failed program was:" >&5
36086 sed 's/^/| /' conftest.
$ac_ext >&5
36089 rm -f conftest.err conftest.
$ac_objext \
36090 conftest
$ac_exeext conftest.
$ac_ext
36091 if test "$am_cv_func_iconv" != yes; then
36092 am_save_LIBS
="$LIBS"
36093 LIBS
="$LIBS -liconv"
36094 cat >conftest.
$ac_ext <<_ACEOF
36097 cat confdefs.h
>>conftest.
$ac_ext
36098 cat >>conftest.
$ac_ext <<_ACEOF
36099 /* end confdefs.h. */
36100 #include <stdlib.h>
36105 iconv_t cd = iconv_open("","");
36106 iconv(cd,NULL,NULL,NULL,NULL);
36112 rm -f conftest.
$ac_objext conftest
$ac_exeext
36113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36114 (eval $ac_link) 2>conftest.er1
36116 grep -v '^ *+' conftest.er1
>conftest.err
36118 cat conftest.err
>&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); } &&
36121 { ac_try
='test -z "$ac_cxx_werror_flag"
36122 || test ! -s conftest.err'
36123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36124 (eval $ac_try) 2>&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); }; } &&
36128 { ac_try
='test -s conftest$ac_exeext'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; }; then
36134 am_cv_lib_iconv
=yes
36135 am_cv_func_iconv
=yes
36137 echo "$as_me: failed program was:" >&5
36138 sed 's/^/| /' conftest.
$ac_ext >&5
36141 rm -f conftest.err conftest.
$ac_objext \
36142 conftest
$ac_exeext conftest.
$ac_ext
36143 LIBS
="$am_save_LIBS"
36147 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36148 echo "${ECHO_T}$am_cv_func_iconv" >&6
36149 if test "$am_cv_func_iconv" = yes; then
36151 cat >>confdefs.h
<<\_ACEOF
36152 #define HAVE_ICONV 1
36155 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36156 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36157 if test "${wx_cv_func_iconv_const+set}" = set; then
36158 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 cat >conftest.
$ac_ext <<_ACEOF
36163 cat confdefs.h
>>conftest.
$ac_ext
36164 cat >>conftest.
$ac_ext <<_ACEOF
36165 /* end confdefs.h. */
36167 #include <stdlib.h>
36173 #if defined(__STDC__) || defined(__cplusplus)
36174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36187 rm -f conftest.
$ac_objext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36189 (eval $ac_compile) 2>conftest.er1
36191 grep -v '^ *+' conftest.er1
>conftest.err
36193 cat conftest.err
>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try
='test -z "$ac_cxx_werror_flag"
36197 || test ! -s conftest.err'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; } &&
36203 { ac_try
='test -s conftest.$ac_objext'
36204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205 (eval $ac_try) 2>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); }; }; then
36209 wx_cv_func_iconv_const
="no"
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.
$ac_ext >&5
36214 wx_cv_func_iconv_const
="yes"
36217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36220 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36221 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36224 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36225 iconv_const
="const"
36229 cat >>confdefs.h
<<_ACEOF
36230 #define ICONV_CONST $iconv_const
36235 if test "$am_cv_lib_iconv" = yes; then
36240 LIBS
="$LIBICONV $LIBS"
36242 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36244 for ac_func
in sigaction
36246 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36247 echo "$as_me:$LINENO: checking for $ac_func" >&5
36248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36249 if eval "test \"\${$as_ac_var+set}\" = set"; then
36250 echo $ECHO_N "(cached) $ECHO_C" >&6
36252 cat >conftest.
$ac_ext <<_ACEOF
36255 cat confdefs.h
>>conftest.
$ac_ext
36256 cat >>conftest.
$ac_ext <<_ACEOF
36257 /* end confdefs.h. */
36258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36260 #define $ac_func innocuous_$ac_func
36262 /* System header to define __stub macros and hopefully few prototypes,
36263 which can conflict with char $ac_func (); below.
36264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36265 <limits.h> exists even on freestanding compilers. */
36268 # include <limits.h>
36270 # include <assert.h>
36275 /* Override any gcc2 internal prototype to avoid an error. */
36280 /* We use char because int might match the return type of a gcc2
36281 builtin and then its argument prototype would still apply. */
36283 /* The GNU C library defines this for functions which it implements
36284 to always fail with ENOSYS. Some functions are actually named
36285 something starting with __ and the normal name is an alias. */
36286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36289 char (*f) () = $ac_func;
36298 return f != $ac_func;
36303 rm -f conftest.
$ac_objext conftest
$ac_exeext
36304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36305 (eval $ac_link) 2>conftest.er1
36307 grep -v '^ *+' conftest.er1
>conftest.err
36309 cat conftest.err
>&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); } &&
36312 { ac_try
='test -z "$ac_cxx_werror_flag"
36313 || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try
='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 eval "$as_ac_var=yes"
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.
$ac_ext >&5
36330 eval "$as_ac_var=no"
36332 rm -f conftest.err conftest.
$ac_objext \
36333 conftest
$ac_exeext conftest.
$ac_ext
36335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36337 if test `eval echo '${'$as_ac_var'}'` = yes; then
36338 cat >>confdefs.h
<<_ACEOF
36339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36346 if test "$ac_cv_func_sigaction" = "no"; then
36347 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36348 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36349 wxUSE_ON_FATAL_EXCEPTION
=no
36352 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36353 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36354 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36355 if test "${wx_cv_type_sa_handler+set}" = set; then
36356 echo $ECHO_N "(cached) $ECHO_C" >&6
36359 cat >conftest.
$ac_ext <<_ACEOF
36362 cat confdefs.h
>>conftest.
$ac_ext
36363 cat >>conftest.
$ac_ext <<_ACEOF
36364 /* end confdefs.h. */
36365 #include <signal.h>
36370 extern void testSigHandler(int);
36372 struct sigaction sa;
36373 sa.sa_handler = testSigHandler;
36379 rm -f conftest.
$ac_objext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36381 (eval $ac_compile) 2>conftest.er1
36383 grep -v '^ *+' conftest.er1
>conftest.err
36385 cat conftest.err
>&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } &&
36388 { ac_try
='test -z "$ac_cxx_werror_flag"
36389 || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try
='test -s conftest.$ac_objext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36402 wx_cv_type_sa_handler
=int
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.
$ac_ext >&5
36409 wx_cv_type_sa_handler
=void
36412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36415 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36416 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36418 cat >>confdefs.h
<<_ACEOF
36419 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36425 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36426 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36427 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36428 if test "${wx_cv_func_backtrace+set}" = set; then
36429 echo $ECHO_N "(cached) $ECHO_C" >&6
36432 cat >conftest.
$ac_ext <<_ACEOF
36435 cat confdefs.h
>>conftest.
$ac_ext
36436 cat >>conftest.
$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438 #include <execinfo.h>
36446 backtrace(trace, 1);
36447 messages = backtrace_symbols(trace, 1);
36453 rm -f conftest.
$ac_objext
36454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36455 (eval $ac_compile) 2>conftest.er1
36457 grep -v '^ *+' conftest.er1
>conftest.err
36459 cat conftest.err
>&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); } &&
36462 { ac_try
='test -z "$ac_cxx_werror_flag"
36463 || test ! -s conftest.err'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; } &&
36469 { ac_try
='test -s conftest.$ac_objext'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; }; then
36475 wx_cv_func_backtrace
=yes
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.
$ac_ext >&5
36480 wx_cv_func_backtrace
=no
36483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36487 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36488 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36491 if test "$wx_cv_func_backtrace" = "no"; then
36492 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36493 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36494 wxUSE_STACKWALKER
=no
36496 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36497 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36498 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36499 echo $ECHO_N "(cached) $ECHO_C" >&6
36502 cat >conftest.
$ac_ext <<_ACEOF
36505 cat confdefs.h
>>conftest.
$ac_ext
36506 cat >>conftest.
$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508 #include <cxxabi.h>
36514 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36520 rm -f conftest.
$ac_objext conftest
$ac_exeext
36521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36522 (eval $ac_link) 2>conftest.er1
36524 grep -v '^ *+' conftest.er1
>conftest.err
36526 cat conftest.err
>&5
36527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36528 (exit $ac_status); } &&
36529 { ac_try
='test -z "$ac_cxx_werror_flag"
36530 || test ! -s conftest.err'
36531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36532 (eval $ac_try) 2>&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); }; } &&
36536 { ac_try
='test -s conftest$ac_exeext'
36537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36538 (eval $ac_try) 2>&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); }; }; then
36542 wx_cv_func_cxa_demangle
=yes
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.
$ac_ext >&5
36547 wx_cv_func_cxa_demangle
=no
36550 rm -f conftest.err conftest.
$ac_objext \
36551 conftest
$ac_exeext conftest.
$ac_ext
36555 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36556 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36558 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36559 cat >>confdefs.h
<<\_ACEOF
36560 #define HAVE_CXA_DEMANGLE 1
36567 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36568 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36569 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36570 wxUSE_STACKWALKER
=no
36576 for ac_func
in mkstemp mktemp
36578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36579 echo "$as_me:$LINENO: checking for $ac_func" >&5
36580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36581 if eval "test \"\${$as_ac_var+set}\" = set"; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 cat >conftest.
$ac_ext <<_ACEOF
36587 cat confdefs.h
>>conftest.
$ac_ext
36588 cat >>conftest.
$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36592 #define $ac_func innocuous_$ac_func
36594 /* System header to define __stub macros and hopefully few prototypes,
36595 which can conflict with char $ac_func (); below.
36596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36597 <limits.h> exists even on freestanding compilers. */
36600 # include <limits.h>
36602 # include <assert.h>
36607 /* Override any gcc2 internal prototype to avoid an error. */
36612 /* We use char because int might match the return type of a gcc2
36613 builtin and then its argument prototype would still apply. */
36615 /* The GNU C library defines this for functions which it implements
36616 to always fail with ENOSYS. Some functions are actually named
36617 something starting with __ and the normal name is an alias. */
36618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36621 char (*f) () = $ac_func;
36630 return f != $ac_func;
36635 rm -f conftest.
$ac_objext conftest
$ac_exeext
36636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36637 (eval $ac_link) 2>conftest.er1
36639 grep -v '^ *+' conftest.er1
>conftest.err
36641 cat conftest.err
>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } &&
36644 { ac_try
='test -z "$ac_cxx_werror_flag"
36645 || test ! -s conftest.err'
36646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36647 (eval $ac_try) 2>&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); }; } &&
36651 { ac_try
='test -s conftest$ac_exeext'
36652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36653 (eval $ac_try) 2>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; }; then
36657 eval "$as_ac_var=yes"
36659 echo "$as_me: failed program was:" >&5
36660 sed 's/^/| /' conftest.
$ac_ext >&5
36662 eval "$as_ac_var=no"
36664 rm -f conftest.err conftest.
$ac_objext \
36665 conftest
$ac_exeext conftest.
$ac_ext
36667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36669 if test `eval echo '${'$as_ac_var'}'` = yes; then
36670 cat >>confdefs.h
<<_ACEOF
36671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36678 echo "$as_me:$LINENO: checking for statfs" >&5
36679 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36680 if test "${wx_cv_func_statfs+set}" = set; then
36681 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 cat >conftest.
$ac_ext <<_ACEOF
36686 cat confdefs.h
>>conftest.
$ac_ext
36687 cat >>conftest.
$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36690 #if defined(__BSD__)
36691 #include <sys/param.h>
36692 #include <sys/mount.h>
36694 #include <sys/vfs.h>
36712 rm -f conftest.
$ac_objext
36713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36714 (eval $ac_compile) 2>conftest.er1
36716 grep -v '^ *+' conftest.er1
>conftest.err
36718 cat conftest.err
>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } &&
36721 { ac_try
='test -z "$ac_cxx_werror_flag"
36722 || test ! -s conftest.err'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; } &&
36728 { ac_try
='test -s conftest.$ac_objext'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; }; then
36734 wx_cv_func_statfs
=yes
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.
$ac_ext >&5
36739 wx_cv_func_statfs
=no
36742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36745 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36746 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36748 if test "$wx_cv_func_statfs" = "yes"; then
36749 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36750 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36751 if test "${wx_cv_func_statfs_decl+set}" = set; then
36752 echo $ECHO_N "(cached) $ECHO_C" >&6
36754 cat >conftest.
$ac_ext <<_ACEOF
36757 cat confdefs.h
>>conftest.
$ac_ext
36758 cat >>conftest.
$ac_ext <<_ACEOF
36759 /* end confdefs.h. */
36761 #if defined(__BSD__)
36762 #include <sys/param.h>
36763 #include <sys/mount.h>
36765 #include <sys/vfs.h>
36779 rm -f conftest.
$ac_objext
36780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36781 (eval $ac_compile) 2>conftest.er1
36783 grep -v '^ *+' conftest.er1
>conftest.err
36785 cat conftest.err
>&5
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); } &&
36788 { ac_try
='test -z "$ac_cxx_werror_flag"
36789 || test ! -s conftest.err'
36790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36791 (eval $ac_try) 2>&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); }; } &&
36795 { ac_try
='test -s conftest.$ac_objext'
36796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36797 (eval $ac_try) 2>&5
36799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36800 (exit $ac_status); }; }; then
36801 wx_cv_func_statfs_decl
=yes
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.
$ac_ext >&5
36806 wx_cv_func_statfs_decl
=no
36809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36812 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36813 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36815 if test "$wx_cv_func_statfs_decl" = "yes"; then
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define HAVE_STATFS_DECL 1
36822 wx_cv_type_statvfs_t
="struct statfs"
36823 cat >>confdefs.h
<<\_ACEOF
36824 #define HAVE_STATFS 1
36828 echo "$as_me:$LINENO: checking for statvfs" >&5
36829 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36830 if test "${wx_cv_func_statvfs+set}" = set; then
36831 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 cat >conftest.
$ac_ext <<_ACEOF
36836 cat confdefs.h
>>conftest.
$ac_ext
36837 cat >>conftest.
$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36840 #include <stddef.h>
36841 #include <sys/statvfs.h>
36847 statvfs("/", NULL);
36853 rm -f conftest.
$ac_objext
36854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36855 (eval $ac_compile) 2>conftest.er1
36857 grep -v '^ *+' conftest.er1
>conftest.err
36859 cat conftest.err
>&5
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); } &&
36862 { ac_try
='test -z "$ac_cxx_werror_flag"
36863 || test ! -s conftest.err'
36864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36865 (eval $ac_try) 2>&5
36867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36868 (exit $ac_status); }; } &&
36869 { ac_try
='test -s conftest.$ac_objext'
36870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36871 (eval $ac_try) 2>&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; }; then
36875 wx_cv_func_statvfs
=yes
36877 echo "$as_me: failed program was:" >&5
36878 sed 's/^/| /' conftest.
$ac_ext >&5
36880 wx_cv_func_statvfs
=no
36883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36886 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36887 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36889 if test "$wx_cv_func_statvfs" = "yes"; then
36890 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36891 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36892 if test "${wx_cv_type_statvfs_t+set}" = set; then
36893 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 cat >conftest.
$ac_ext <<_ACEOF
36898 cat confdefs.h
>>conftest.
$ac_ext
36899 cat >>conftest.
$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36902 #include <sys/statvfs.h>
36919 rm -f conftest.
$ac_objext
36920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36921 (eval $ac_compile) 2>conftest.er1
36923 grep -v '^ *+' conftest.er1
>conftest.err
36925 cat conftest.err
>&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); } &&
36928 { ac_try
='test -z "$ac_cxx_werror_flag"
36929 || test ! -s conftest.err'
36930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36931 (eval $ac_try) 2>&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); }; } &&
36935 { ac_try
='test -s conftest.$ac_objext'
36936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36937 (eval $ac_try) 2>&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); }; }; then
36941 wx_cv_type_statvfs_t
=statvfs_t
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.
$ac_ext >&5
36947 cat >conftest.
$ac_ext <<_ACEOF
36950 cat confdefs.h
>>conftest.
$ac_ext
36951 cat >>conftest.
$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36954 #include <sys/statvfs.h>
36971 rm -f conftest.
$ac_objext
36972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36973 (eval $ac_compile) 2>conftest.er1
36975 grep -v '^ *+' conftest.er1
>conftest.err
36977 cat conftest.err
>&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } &&
36980 { ac_try
='test -z "$ac_cxx_werror_flag"
36981 || test ! -s conftest.err'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; } &&
36987 { ac_try
='test -s conftest.$ac_objext'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; }; then
36993 wx_cv_type_statvfs_t
="struct statvfs"
36995 echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.
$ac_ext >&5
36998 wx_cv_type_statvfs_t
="unknown"
37001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37008 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37009 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37011 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37012 cat >>confdefs.h
<<\_ACEOF
37013 #define HAVE_STATVFS 1
37018 wx_cv_type_statvfs_t
="unknown"
37022 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37023 cat >>confdefs.h
<<_ACEOF
37024 #define WX_STATFS_T $wx_cv_type_statvfs_t
37028 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37029 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37032 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37035 for ac_func
in fcntl flock
37037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37038 echo "$as_me:$LINENO: checking for $ac_func" >&5
37039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37040 if eval "test \"\${$as_ac_var+set}\" = set"; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 cat >conftest.
$ac_ext <<_ACEOF
37046 cat confdefs.h
>>conftest.
$ac_ext
37047 cat >>conftest.
$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37051 #define $ac_func innocuous_$ac_func
37053 /* System header to define __stub macros and hopefully few prototypes,
37054 which can conflict with char $ac_func (); below.
37055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37056 <limits.h> exists even on freestanding compilers. */
37059 # include <limits.h>
37061 # include <assert.h>
37066 /* Override any gcc2 internal prototype to avoid an error. */
37071 /* We use char because int might match the return type of a gcc2
37072 builtin and then its argument prototype would still apply. */
37074 /* The GNU C library defines this for functions which it implements
37075 to always fail with ENOSYS. Some functions are actually named
37076 something starting with __ and the normal name is an alias. */
37077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37080 char (*f) () = $ac_func;
37089 return f != $ac_func;
37094 rm -f conftest.
$ac_objext conftest
$ac_exeext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37096 (eval $ac_link) 2>conftest.er1
37098 grep -v '^ *+' conftest.er1
>conftest.err
37100 cat conftest.err
>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } &&
37103 { ac_try
='test -z "$ac_cxx_werror_flag"
37104 || test ! -s conftest.err'
37105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37106 (eval $ac_try) 2>&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); }; } &&
37110 { ac_try
='test -s conftest$ac_exeext'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; }; then
37116 eval "$as_ac_var=yes"
37118 echo "$as_me: failed program was:" >&5
37119 sed 's/^/| /' conftest.
$ac_ext >&5
37121 eval "$as_ac_var=no"
37123 rm -f conftest.err conftest.
$ac_objext \
37124 conftest
$ac_exeext conftest.
$ac_ext
37126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37128 if test `eval echo '${'$as_ac_var'}'` = yes; then
37129 cat >>confdefs.h
<<_ACEOF
37130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37137 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37138 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37139 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37140 wxUSE_SNGLINST_CHECKER
=no
37145 for ac_func
in timegm
37147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37148 echo "$as_me:$LINENO: checking for $ac_func" >&5
37149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37150 if eval "test \"\${$as_ac_var+set}\" = set"; then
37151 echo $ECHO_N "(cached) $ECHO_C" >&6
37153 cat >conftest.
$ac_ext <<_ACEOF
37156 cat confdefs.h
>>conftest.
$ac_ext
37157 cat >>conftest.
$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37161 #define $ac_func innocuous_$ac_func
37163 /* System header to define __stub macros and hopefully few prototypes,
37164 which can conflict with char $ac_func (); below.
37165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37166 <limits.h> exists even on freestanding compilers. */
37169 # include <limits.h>
37171 # include <assert.h>
37176 /* Override any gcc2 internal prototype to avoid an error. */
37181 /* We use char because int might match the return type of a gcc2
37182 builtin and then its argument prototype would still apply. */
37184 /* The GNU C library defines this for functions which it implements
37185 to always fail with ENOSYS. Some functions are actually named
37186 something starting with __ and the normal name is an alias. */
37187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37190 char (*f) () = $ac_func;
37199 return f != $ac_func;
37204 rm -f conftest.
$ac_objext conftest
$ac_exeext
37205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37206 (eval $ac_link) 2>conftest.er1
37208 grep -v '^ *+' conftest.er1
>conftest.err
37210 cat conftest.err
>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } &&
37213 { ac_try
='test -z "$ac_cxx_werror_flag"
37214 || test ! -s conftest.err'
37215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37216 (eval $ac_try) 2>&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); }; } &&
37220 { ac_try
='test -s conftest$ac_exeext'
37221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37222 (eval $ac_try) 2>&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); }; }; then
37226 eval "$as_ac_var=yes"
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.
$ac_ext >&5
37231 eval "$as_ac_var=no"
37233 rm -f conftest.err conftest.
$ac_objext \
37234 conftest
$ac_exeext conftest.
$ac_ext
37236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37238 if test `eval echo '${'$as_ac_var'}'` = yes; then
37239 cat >>confdefs.h
<<_ACEOF
37240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37249 for ac_func
in putenv setenv
37251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37254 if eval "test \"\${$as_ac_var+set}\" = set"; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 cat >conftest.
$ac_ext <<_ACEOF
37260 cat confdefs.h
>>conftest.
$ac_ext
37261 cat >>conftest.
$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37273 # include <limits.h>
37275 # include <assert.h>
37280 /* Override any gcc2 internal prototype to avoid an error. */
37285 /* We use char because int might match the return type of a gcc2
37286 builtin and then its argument prototype would still apply. */
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37294 char (*f) () = $ac_func;
37303 return f != $ac_func;
37308 rm -f conftest.
$ac_objext conftest
$ac_exeext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37310 (eval $ac_link) 2>conftest.er1
37312 grep -v '^ *+' conftest.er1
>conftest.err
37314 cat conftest.err
>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try
='test -z "$ac_cxx_werror_flag"
37318 || test ! -s conftest.err'
37319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320 (eval $ac_try) 2>&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); }; } &&
37324 { ac_try
='test -s conftest$ac_exeext'
37325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326 (eval $ac_try) 2>&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); }; }; then
37330 eval "$as_ac_var=yes"
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.
$ac_ext >&5
37335 eval "$as_ac_var=no"
37337 rm -f conftest.err conftest.
$ac_objext \
37338 conftest
$ac_exeext conftest.
$ac_ext
37340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37342 if test `eval echo '${'$as_ac_var'}'` = yes; then
37343 cat >>confdefs.h
<<_ACEOF
37344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 HAVE_SOME_SLEEP_FUNC
=0
37352 if test "$USE_BEOS" = 1; then
37353 cat >>confdefs.h
<<\_ACEOF
37354 #define HAVE_SLEEP 1
37357 HAVE_SOME_SLEEP_FUNC
=1
37360 if test "$USE_DARWIN" = 1; then
37361 cat >>confdefs.h
<<\_ACEOF
37362 #define HAVE_USLEEP 1
37365 HAVE_SOME_SLEEP_FUNC
=1
37368 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37371 for ac_func
in nanosleep
37373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37374 echo "$as_me:$LINENO: checking for $ac_func" >&5
37375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37376 if eval "test \"\${$as_ac_var+set}\" = set"; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37379 cat >conftest.
$ac_ext <<_ACEOF
37382 cat confdefs.h
>>conftest.
$ac_ext
37383 cat >>conftest.
$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37387 #define $ac_func innocuous_$ac_func
37389 /* System header to define __stub macros and hopefully few prototypes,
37390 which can conflict with char $ac_func (); below.
37391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37392 <limits.h> exists even on freestanding compilers. */
37395 # include <limits.h>
37397 # include <assert.h>
37402 /* Override any gcc2 internal prototype to avoid an error. */
37407 /* We use char because int might match the return type of a gcc2
37408 builtin and then its argument prototype would still apply. */
37410 /* The GNU C library defines this for functions which it implements
37411 to always fail with ENOSYS. Some functions are actually named
37412 something starting with __ and the normal name is an alias. */
37413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37416 char (*f) () = $ac_func;
37425 return f != $ac_func;
37430 rm -f conftest.
$ac_objext conftest
$ac_exeext
37431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37432 (eval $ac_link) 2>conftest.er1
37434 grep -v '^ *+' conftest.er1
>conftest.err
37436 cat conftest.err
>&5
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); } &&
37439 { ac_try
='test -z "$ac_cxx_werror_flag"
37440 || test ! -s conftest.err'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; } &&
37446 { ac_try
='test -s conftest$ac_exeext'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; }; then
37452 eval "$as_ac_var=yes"
37454 echo "$as_me: failed program was:" >&5
37455 sed 's/^/| /' conftest.
$ac_ext >&5
37457 eval "$as_ac_var=no"
37459 rm -f conftest.err conftest.
$ac_objext \
37460 conftest
$ac_exeext conftest.
$ac_ext
37462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37464 if test `eval echo '${'$as_ac_var'}'` = yes; then
37465 cat >>confdefs.h
<<_ACEOF
37466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37468 cat >>confdefs.h
<<\_ACEOF
37469 #define HAVE_NANOSLEEP 1
37474 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37475 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37476 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37477 echo $ECHO_N "(cached) $ECHO_C" >&6
37479 ac_check_lib_save_LIBS
=$LIBS
37480 LIBS
="-lposix4 $LIBS"
37481 cat >conftest.
$ac_ext <<_ACEOF
37484 cat confdefs.h
>>conftest.
$ac_ext
37485 cat >>conftest.
$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37488 /* Override any gcc2 internal prototype to avoid an error. */
37492 /* We use char because int might match the return type of a gcc2
37493 builtin and then its argument prototype would still apply. */
37503 rm -f conftest.
$ac_objext conftest
$ac_exeext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37505 (eval $ac_link) 2>conftest.er1
37507 grep -v '^ *+' conftest.er1
>conftest.err
37509 cat conftest.err
>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } &&
37512 { ac_try
='test -z "$ac_cxx_werror_flag"
37513 || test ! -s conftest.err'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; } &&
37519 { ac_try
='test -s conftest$ac_exeext'
37520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37521 (eval $ac_try) 2>&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); }; }; then
37525 ac_cv_lib_posix4_nanosleep
=yes
37527 echo "$as_me: failed program was:" >&5
37528 sed 's/^/| /' conftest.
$ac_ext >&5
37530 ac_cv_lib_posix4_nanosleep
=no
37532 rm -f conftest.err conftest.
$ac_objext \
37533 conftest
$ac_exeext conftest.
$ac_ext
37534 LIBS
=$ac_check_lib_save_LIBS
37536 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37537 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37538 if test $ac_cv_lib_posix4_nanosleep = yes; then
37540 cat >>confdefs.h
<<\_ACEOF
37541 #define HAVE_NANOSLEEP 1
37544 POSIX4_LINK
=" -lposix4"
37549 for ac_func
in usleep
37551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37552 echo "$as_me:$LINENO: checking for $ac_func" >&5
37553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37554 if eval "test \"\${$as_ac_var+set}\" = set"; then
37555 echo $ECHO_N "(cached) $ECHO_C" >&6
37557 cat >conftest.
$ac_ext <<_ACEOF
37560 cat confdefs.h
>>conftest.
$ac_ext
37561 cat >>conftest.
$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37565 #define $ac_func innocuous_$ac_func
37567 /* System header to define __stub macros and hopefully few prototypes,
37568 which can conflict with char $ac_func (); below.
37569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37570 <limits.h> exists even on freestanding compilers. */
37573 # include <limits.h>
37575 # include <assert.h>
37580 /* Override any gcc2 internal prototype to avoid an error. */
37585 /* We use char because int might match the return type of a gcc2
37586 builtin and then its argument prototype would still apply. */
37588 /* The GNU C library defines this for functions which it implements
37589 to always fail with ENOSYS. Some functions are actually named
37590 something starting with __ and the normal name is an alias. */
37591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37594 char (*f) () = $ac_func;
37603 return f != $ac_func;
37608 rm -f conftest.
$ac_objext conftest
$ac_exeext
37609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37610 (eval $ac_link) 2>conftest.er1
37612 grep -v '^ *+' conftest.er1
>conftest.err
37614 cat conftest.err
>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); } &&
37617 { ac_try
='test -z "$ac_cxx_werror_flag"
37618 || test ! -s conftest.err'
37619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620 (eval $ac_try) 2>&5
37622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623 (exit $ac_status); }; } &&
37624 { ac_try
='test -s conftest$ac_exeext'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; }; then
37630 eval "$as_ac_var=yes"
37632 echo "$as_me: failed program was:" >&5
37633 sed 's/^/| /' conftest.
$ac_ext >&5
37635 eval "$as_ac_var=no"
37637 rm -f conftest.err conftest.
$ac_objext \
37638 conftest
$ac_exeext conftest.
$ac_ext
37640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37642 if test `eval echo '${'$as_ac_var'}'` = yes; then
37643 cat >>confdefs.h
<<_ACEOF
37644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37646 cat >>confdefs.h
<<\_ACEOF
37647 #define HAVE_USLEEP 1
37651 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37652 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37670 for ac_func
in uname gethostname
37672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37673 echo "$as_me:$LINENO: checking for $ac_func" >&5
37674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37675 if eval "test \"\${$as_ac_var+set}\" = set"; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 cat >conftest.
$ac_ext <<_ACEOF
37681 cat confdefs.h
>>conftest.
$ac_ext
37682 cat >>conftest.
$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37686 #define $ac_func innocuous_$ac_func
37688 /* System header to define __stub macros and hopefully few prototypes,
37689 which can conflict with char $ac_func (); below.
37690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37691 <limits.h> exists even on freestanding compilers. */
37694 # include <limits.h>
37696 # include <assert.h>
37701 /* Override any gcc2 internal prototype to avoid an error. */
37706 /* We use char because int might match the return type of a gcc2
37707 builtin and then its argument prototype would still apply. */
37709 /* The GNU C library defines this for functions which it implements
37710 to always fail with ENOSYS. Some functions are actually named
37711 something starting with __ and the normal name is an alias. */
37712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37715 char (*f) () = $ac_func;
37724 return f != $ac_func;
37729 rm -f conftest.
$ac_objext conftest
$ac_exeext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37731 (eval $ac_link) 2>conftest.er1
37733 grep -v '^ *+' conftest.er1
>conftest.err
37735 cat conftest.err
>&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } &&
37738 { ac_try
='test -z "$ac_cxx_werror_flag"
37739 || test ! -s conftest.err'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; } &&
37745 { ac_try
='test -s conftest$ac_exeext'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; }; then
37751 eval "$as_ac_var=yes"
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.
$ac_ext >&5
37756 eval "$as_ac_var=no"
37758 rm -f conftest.err conftest.
$ac_objext \
37759 conftest
$ac_exeext conftest.
$ac_ext
37761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37763 if test `eval echo '${'$as_ac_var'}'` = yes; then
37764 cat >>confdefs.h
<<_ACEOF
37765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37773 for wx_func
in strtok_r
37775 echo "$as_me:$LINENO: checking for $wx_func" >&5
37776 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37777 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 cat >conftest.
$ac_ext <<_ACEOF
37785 cat confdefs.h
>>conftest.
$ac_ext
37786 cat >>conftest.
$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37790 $ac_includes_default
37806 rm -f conftest.
$ac_objext conftest
$ac_exeext
37807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37808 (eval $ac_link) 2>conftest.er1
37810 grep -v '^ *+' conftest.er1
>conftest.err
37812 cat conftest.err
>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); } &&
37815 { ac_try
='test -z "$ac_cxx_werror_flag"
37816 || test ! -s conftest.err'
37817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37818 (eval $ac_try) 2>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); }; } &&
37822 { ac_try
='test -s conftest$ac_exeext'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; }; then
37828 eval wx_cv_func_
$wx_func=yes
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.
$ac_ext >&5
37833 eval wx_cv_func_
$wx_func=no
37835 rm -f conftest.err conftest.
$ac_objext \
37836 conftest
$ac_exeext conftest.
$ac_ext
37839 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37840 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37842 if eval test \
$wx_cv_func_$wx_func = yes
37844 cat >>confdefs.h
<<_ACEOF
37845 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37858 for ac_func
in inet_addr
37860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37861 echo "$as_me:$LINENO: checking for $ac_func" >&5
37862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37863 if eval "test \"\${$as_ac_var+set}\" = set"; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 cat >conftest.
$ac_ext <<_ACEOF
37869 cat confdefs.h
>>conftest.
$ac_ext
37870 cat >>conftest.
$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37874 #define $ac_func innocuous_$ac_func
37876 /* System header to define __stub macros and hopefully few prototypes,
37877 which can conflict with char $ac_func (); below.
37878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37879 <limits.h> exists even on freestanding compilers. */
37882 # include <limits.h>
37884 # include <assert.h>
37889 /* Override any gcc2 internal prototype to avoid an error. */
37894 /* We use char because int might match the return type of a gcc2
37895 builtin and then its argument prototype would still apply. */
37897 /* The GNU C library defines this for functions which it implements
37898 to always fail with ENOSYS. Some functions are actually named
37899 something starting with __ and the normal name is an alias. */
37900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37903 char (*f) () = $ac_func;
37912 return f != $ac_func;
37917 rm -f conftest.
$ac_objext conftest
$ac_exeext
37918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37919 (eval $ac_link) 2>conftest.er1
37921 grep -v '^ *+' conftest.er1
>conftest.err
37923 cat conftest.err
>&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } &&
37926 { ac_try
='test -z "$ac_cxx_werror_flag"
37927 || test ! -s conftest.err'
37928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37929 (eval $ac_try) 2>&5
37931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37932 (exit $ac_status); }; } &&
37933 { ac_try
='test -s conftest$ac_exeext'
37934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37935 (eval $ac_try) 2>&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); }; }; then
37939 eval "$as_ac_var=yes"
37941 echo "$as_me: failed program was:" >&5
37942 sed 's/^/| /' conftest.
$ac_ext >&5
37944 eval "$as_ac_var=no"
37946 rm -f conftest.err conftest.
$ac_objext \
37947 conftest
$ac_exeext conftest.
$ac_ext
37949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37951 if test `eval echo '${'$as_ac_var'}'` = yes; then
37952 cat >>confdefs.h
<<_ACEOF
37953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37955 cat >>confdefs.h
<<\_ACEOF
37956 #define HAVE_INET_ADDR 1
37961 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37962 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37963 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37966 ac_check_lib_save_LIBS
=$LIBS
37968 cat >conftest.
$ac_ext <<_ACEOF
37971 cat confdefs.h
>>conftest.
$ac_ext
37972 cat >>conftest.
$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37975 /* Override any gcc2 internal prototype to avoid an error. */
37979 /* We use char because int might match the return type of a gcc2
37980 builtin and then its argument prototype would still apply. */
37990 rm -f conftest.
$ac_objext conftest
$ac_exeext
37991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37992 (eval $ac_link) 2>conftest.er1
37994 grep -v '^ *+' conftest.er1
>conftest.err
37996 cat conftest.err
>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } &&
37999 { ac_try
='test -z "$ac_cxx_werror_flag"
38000 || test ! -s conftest.err'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; } &&
38006 { ac_try
='test -s conftest$ac_exeext'
38007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38008 (eval $ac_try) 2>&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); }; }; then
38012 ac_cv_lib_nsl_inet_addr
=yes
38014 echo "$as_me: failed program was:" >&5
38015 sed 's/^/| /' conftest.
$ac_ext >&5
38017 ac_cv_lib_nsl_inet_addr
=no
38019 rm -f conftest.err conftest.
$ac_objext \
38020 conftest
$ac_exeext conftest.
$ac_ext
38021 LIBS
=$ac_check_lib_save_LIBS
38023 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38024 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38025 if test $ac_cv_lib_nsl_inet_addr = yes; then
38029 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38030 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38031 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 ac_check_lib_save_LIBS
=$LIBS
38035 LIBS
="-lresolv $LIBS"
38036 cat >conftest.
$ac_ext <<_ACEOF
38039 cat confdefs.h
>>conftest.
$ac_ext
38040 cat >>conftest.
$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38043 /* Override any gcc2 internal prototype to avoid an error. */
38047 /* We use char because int might match the return type of a gcc2
38048 builtin and then its argument prototype would still apply. */
38058 rm -f conftest.
$ac_objext conftest
$ac_exeext
38059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38060 (eval $ac_link) 2>conftest.er1
38062 grep -v '^ *+' conftest.er1
>conftest.err
38064 cat conftest.err
>&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); } &&
38067 { ac_try
='test -z "$ac_cxx_werror_flag"
38068 || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try
='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 ac_cv_lib_resolv_inet_addr
=yes
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.
$ac_ext >&5
38085 ac_cv_lib_resolv_inet_addr
=no
38087 rm -f conftest.err conftest.
$ac_objext \
38088 conftest
$ac_exeext conftest.
$ac_ext
38089 LIBS
=$ac_check_lib_save_LIBS
38091 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38092 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38093 if test $ac_cv_lib_resolv_inet_addr = yes; then
38097 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38098 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38099 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38102 ac_check_lib_save_LIBS
=$LIBS
38103 LIBS
="-lsocket $LIBS"
38104 cat >conftest.
$ac_ext <<_ACEOF
38107 cat confdefs.h
>>conftest.
$ac_ext
38108 cat >>conftest.
$ac_ext <<_ACEOF
38109 /* end confdefs.h. */
38111 /* Override any gcc2 internal prototype to avoid an error. */
38115 /* We use char because int might match the return type of a gcc2
38116 builtin and then its argument prototype would still apply. */
38126 rm -f conftest.
$ac_objext conftest
$ac_exeext
38127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38128 (eval $ac_link) 2>conftest.er1
38130 grep -v '^ *+' conftest.er1
>conftest.err
38132 cat conftest.err
>&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } &&
38135 { ac_try
='test -z "$ac_cxx_werror_flag"
38136 || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try
='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 ac_cv_lib_socket_inet_addr
=yes
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.
$ac_ext >&5
38153 ac_cv_lib_socket_inet_addr
=no
38155 rm -f conftest.err conftest.
$ac_objext \
38156 conftest
$ac_exeext conftest.
$ac_ext
38157 LIBS
=$ac_check_lib_save_LIBS
38159 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38160 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38161 if test $ac_cv_lib_socket_inet_addr = yes; then
38181 for ac_func
in inet_aton
38183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38184 echo "$as_me:$LINENO: checking for $ac_func" >&5
38185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38186 if eval "test \"\${$as_ac_var+set}\" = set"; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 cat >conftest.
$ac_ext <<_ACEOF
38192 cat confdefs.h
>>conftest.
$ac_ext
38193 cat >>conftest.
$ac_ext <<_ACEOF
38194 /* end confdefs.h. */
38195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38197 #define $ac_func innocuous_$ac_func
38199 /* System header to define __stub macros and hopefully few prototypes,
38200 which can conflict with char $ac_func (); below.
38201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38202 <limits.h> exists even on freestanding compilers. */
38205 # include <limits.h>
38207 # include <assert.h>
38212 /* Override any gcc2 internal prototype to avoid an error. */
38217 /* We use char because int might match the return type of a gcc2
38218 builtin and then its argument prototype would still apply. */
38220 /* The GNU C library defines this for functions which it implements
38221 to always fail with ENOSYS. Some functions are actually named
38222 something starting with __ and the normal name is an alias. */
38223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38226 char (*f) () = $ac_func;
38235 return f != $ac_func;
38240 rm -f conftest.
$ac_objext conftest
$ac_exeext
38241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38242 (eval $ac_link) 2>conftest.er1
38244 grep -v '^ *+' conftest.er1
>conftest.err
38246 cat conftest.err
>&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); } &&
38249 { ac_try
='test -z "$ac_cxx_werror_flag"
38250 || test ! -s conftest.err'
38251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38252 (eval $ac_try) 2>&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); }; } &&
38256 { ac_try
='test -s conftest$ac_exeext'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; }; then
38262 eval "$as_ac_var=yes"
38264 echo "$as_me: failed program was:" >&5
38265 sed 's/^/| /' conftest.
$ac_ext >&5
38267 eval "$as_ac_var=no"
38269 rm -f conftest.err conftest.
$ac_objext \
38270 conftest
$ac_exeext conftest.
$ac_ext
38272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38274 if test `eval echo '${'$as_ac_var'}'` = yes; then
38275 cat >>confdefs.h
<<_ACEOF
38276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38278 cat >>confdefs.h
<<\_ACEOF
38279 #define HAVE_INET_ATON 1
38284 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38285 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38286 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38287 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 ac_check_lib_save_LIBS
=$LIBS
38291 LIBS
="-l$INET_LINK $LIBS"
38292 cat >conftest.
$ac_ext <<_ACEOF
38295 cat confdefs.h
>>conftest.
$ac_ext
38296 cat >>conftest.
$ac_ext <<_ACEOF
38297 /* end confdefs.h. */
38299 /* Override any gcc2 internal prototype to avoid an error. */
38303 /* We use char because int might match the return type of a gcc2
38304 builtin and then its argument prototype would still apply. */
38314 rm -f conftest.
$ac_objext conftest
$ac_exeext
38315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38316 (eval $ac_link) 2>conftest.er1
38318 grep -v '^ *+' conftest.er1
>conftest.err
38320 cat conftest.err
>&5
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); } &&
38323 { ac_try
='test -z "$ac_cxx_werror_flag"
38324 || test ! -s conftest.err'
38325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38326 (eval $ac_try) 2>&5
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); }; } &&
38330 { ac_try
='test -s conftest$ac_exeext'
38331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38332 (eval $ac_try) 2>&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); }; }; then
38336 eval "$as_ac_Lib=yes"
38338 echo "$as_me: failed program was:" >&5
38339 sed 's/^/| /' conftest.
$ac_ext >&5
38341 eval "$as_ac_Lib=no"
38343 rm -f conftest.err conftest.
$ac_objext \
38344 conftest
$ac_exeext conftest.
$ac_ext
38345 LIBS
=$ac_check_lib_save_LIBS
38347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38348 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38349 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38350 cat >>confdefs.h
<<\_ACEOF
38351 #define HAVE_INET_ATON 1
38361 if test "x$INET_LINK" != "x"; then
38362 cat >>confdefs.h
<<\_ACEOF
38363 #define HAVE_INET_ADDR 1
38366 INET_LINK
=" -l$INET_LINK"
38374 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38375 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38376 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38377 echo $ECHO_N "(cached) $ECHO_C" >&6
38379 ac_check_lib_save_LIBS
=$LIBS
38381 cat >conftest.
$ac_ext <<_ACEOF
38384 cat confdefs.h
>>conftest.
$ac_ext
38385 cat >>conftest.
$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38388 /* Override any gcc2 internal prototype to avoid an error. */
38392 /* We use char because int might match the return type of a gcc2
38393 builtin and then its argument prototype would still apply. */
38403 rm -f conftest.
$ac_objext conftest
$ac_exeext
38404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38405 (eval $ac_link) 2>conftest.er1
38407 grep -v '^ *+' conftest.er1
>conftest.err
38409 cat conftest.err
>&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } &&
38412 { ac_try
='test -z "$ac_cxx_werror_flag"
38413 || test ! -s conftest.err'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; } &&
38419 { ac_try
='test -s conftest$ac_exeext'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; }; then
38425 ac_cv_lib_esd_esd_close
=yes
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.
$ac_ext >&5
38430 ac_cv_lib_esd_esd_close
=no
38432 rm -f conftest.err conftest.
$ac_objext \
38433 conftest
$ac_exeext conftest.
$ac_ext
38434 LIBS
=$ac_check_lib_save_LIBS
38436 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38437 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38438 if test $ac_cv_lib_esd_esd_close = yes; then
38441 for ac_header
in esd.h
38443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38445 echo "$as_me:$LINENO: checking for $ac_header" >&5
38446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38448 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38453 # Is the header compilable?
38454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38456 cat >conftest.
$ac_ext <<_ACEOF
38459 cat confdefs.h
>>conftest.
$ac_ext
38460 cat >>conftest.
$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462 $ac_includes_default
38463 #include <$ac_header>
38465 rm -f conftest.
$ac_objext
38466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38467 (eval $ac_compile) 2>conftest.er1
38469 grep -v '^ *+' conftest.er1
>conftest.err
38471 cat conftest.err
>&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } &&
38474 { ac_try
='test -z "$ac_cxx_werror_flag"
38475 || test ! -s conftest.err'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; } &&
38481 { ac_try
='test -s conftest.$ac_objext'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; }; then
38487 ac_header_compiler
=yes
38489 echo "$as_me: failed program was:" >&5
38490 sed 's/^/| /' conftest.
$ac_ext >&5
38492 ac_header_compiler
=no
38494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38496 echo "${ECHO_T}$ac_header_compiler" >&6
38498 # Is the header present?
38499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38501 cat >conftest.
$ac_ext <<_ACEOF
38504 cat confdefs.h
>>conftest.
$ac_ext
38505 cat >>conftest.
$ac_ext <<_ACEOF
38506 /* end confdefs.h. */
38507 #include <$ac_header>
38509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38512 grep -v '^ *+' conftest.er1
>conftest.err
38514 cat conftest.err
>&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); } >/dev
/null
; then
38517 if test -s conftest.err
; then
38518 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38519 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38526 if test -z "$ac_cpp_err"; then
38527 ac_header_preproc
=yes
38529 echo "$as_me: failed program was:" >&5
38530 sed 's/^/| /' conftest.
$ac_ext >&5
38532 ac_header_preproc
=no
38534 rm -f conftest.err conftest.
$ac_ext
38535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38536 echo "${ECHO_T}$ac_header_preproc" >&6
38538 # So? What about this header?
38539 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38545 ac_header_preproc
=yes
38548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38562 ## ----------------------------------------- ##
38563 ## Report this to wx-dev@lists.wxwidgets.org ##
38564 ## ----------------------------------------- ##
38567 sed "s/^/$as_me: WARNING: /" >&2
38570 echo "$as_me:$LINENO: checking for $ac_header" >&5
38571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38573 echo $ECHO_N "(cached) $ECHO_C" >&6
38575 eval "$as_ac_Header=\$ac_header_preproc"
38577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38582 cat >>confdefs.h
<<_ACEOF
38583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38586 EXTRALIBS_ESD
="-lesd"
38597 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38598 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38599 cat >conftest.
$ac_ext <<_ACEOF
38602 cat confdefs.h
>>conftest.
$ac_ext
38603 cat >>conftest.
$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38606 #include <linux/cdrom.h>
38609 #include <sys/cdio.h>
38615 struct cdrom_tocentry entry, old_entry;
38620 rm -f conftest.
$ac_objext
38621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38622 (eval $ac_compile) 2>conftest.er1
38624 grep -v '^ *+' conftest.er1
>conftest.err
38626 cat conftest.err
>&5
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); } &&
38629 { ac_try
='test -z "$ac_cxx_werror_flag"
38630 || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try
='test -s conftest.$ac_objext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 echo "$as_me:$LINENO: result: yes" >&5
38643 echo "${ECHO_T}yes" >&6
38644 cat >>confdefs.h
<<\_ACEOF
38645 #define HAVE_KNOWN_CDROM_INTERFACE 1
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.
$ac_ext >&5
38652 echo "$as_me:$LINENO: result: no" >&5
38653 echo "${ECHO_T}no" >&6
38655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38658 cat >confcache
<<\_ACEOF
38659 # This file is a shell script that caches the results of configure
38660 # tests run on this system so they can be shared between configure
38661 # scripts and configure runs, see configure's option --config-cache.
38662 # It is not useful on other systems. If it contains results you don't
38663 # want to keep, you may remove or edit it.
38665 # config.status only pays attention to the cache file if you give it
38666 # the --recheck option to rerun configure.
38668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38670 # following values.
38674 # The following way of writing the cache mishandles newlines in values,
38675 # but we know of no workaround that is simple, portable, and efficient.
38676 # So, don't put newlines in cache variables' values.
38677 # Ultrix sh set writes to stderr and can't be redirected directly,
38678 # and sets the high bit in the cache file unless we assign to the vars.
38681 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38683 # `set' does not quote correctly, so add quotes (double-quote
38684 # substitution turns \\\\ into \\, and sed turns \\ into \).
38687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38690 # `set' quotes correctly as required by POSIX, so do not add quotes.
38692 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38699 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38701 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38703 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38704 if test -w $cache_file; then
38705 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38706 cat confcache
>$cache_file
38708 echo "not updating unwritable cache $cache_file"
38714 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38720 if test "$wxUSE_THREADS" = "yes" ; then
38721 if test "$USE_BEOS" = 1; then
38722 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38723 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38728 if test "$wxUSE_THREADS" = "yes" ; then
38731 THREAD_OPTS
="-pthread"
38733 *-*-solaris2* | *-*-sunos4* )
38734 if test "x$GCC" = "xyes"; then
38735 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38737 THREAD_OPTS
="-mt $THREAD_OPTS"
38741 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38743 *-*-darwin* | *-*-cygwin* )
38747 THREAD_OPTS
="pthreads"
38750 if test "x$GCC" = "xyes"; then
38751 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38759 if test "x$GCC" = "xyes"; then
38765 if test "x$GCC" != "xyes"; then
38766 THREAD_OPTS
="-Ethread"
38771 THREAD_OPTS
="$THREAD_OPTS pthread none"
38774 for flag
in $THREAD_OPTS; do
38777 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38778 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38782 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38783 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38784 THREADS_CXXFLAGS
="$flag"
38788 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38789 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38790 THREADS_LINK
="-l$flag"
38795 save_CXXFLAGS
="$CXXFLAGS"
38796 LIBS
="$THREADS_LINK $LIBS"
38797 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38799 cat >conftest.
$ac_ext <<_ACEOF
38802 cat confdefs.h
>>conftest.
$ac_ext
38803 cat >>conftest.
$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38805 #include <pthread.h>
38809 pthread_create(0,0,0,0);
38814 rm -f conftest.
$ac_objext conftest
$ac_exeext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38816 (eval $ac_link) 2>conftest.er1
38818 grep -v '^ *+' conftest.er1
>conftest.err
38820 cat conftest.err
>&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } &&
38823 { ac_try
='test -z "$ac_cxx_werror_flag"
38824 || test ! -s conftest.err'
38825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826 (eval $ac_try) 2>&5
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); }; } &&
38830 { ac_try
='test -s conftest$ac_exeext'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; }; then
38838 echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.
$ac_ext >&5
38842 rm -f conftest.err conftest.
$ac_objext \
38843 conftest
$ac_exeext conftest.
$ac_ext
38846 CXXFLAGS
="$save_CXXFLAGS"
38848 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38849 echo "${ECHO_T}$THREADS_OK" >&6
38850 if test "x$THREADS_OK" = "xyes"; then
38855 THREADS_CXXFLAGS
=""
38858 if test "x$THREADS_OK" != "xyes"; then
38860 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38861 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38863 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38864 LIBS
="$THREADS_LINK $LIBS"
38866 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38867 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38871 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38872 flag
="-D_THREAD_SAFE"
38875 flag
="-D_THREAD_SAFE"
38878 flag
="-D_REENTRANT"
38879 if test "x$GCC" != "xyes"; then
38880 flag
="$flag -D_RWSTD_MULTI_THREAD"
38883 *solaris
* | alpha
*-osf*)
38884 flag
="-D_REENTRANT"
38887 echo "$as_me:$LINENO: result: ${flag}" >&5
38888 echo "${ECHO_T}${flag}" >&6
38889 if test "x$flag" != xno
; then
38890 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38893 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38897 if test "$wxUSE_THREADS" = "yes" ; then
38899 for ac_func
in thr_setconcurrency
38901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38902 echo "$as_me:$LINENO: checking for $ac_func" >&5
38903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38904 if eval "test \"\${$as_ac_var+set}\" = set"; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 cat >conftest.
$ac_ext <<_ACEOF
38910 cat confdefs.h
>>conftest.
$ac_ext
38911 cat >>conftest.
$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38915 #define $ac_func innocuous_$ac_func
38917 /* System header to define __stub macros and hopefully few prototypes,
38918 which can conflict with char $ac_func (); below.
38919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38920 <limits.h> exists even on freestanding compilers. */
38923 # include <limits.h>
38925 # include <assert.h>
38930 /* Override any gcc2 internal prototype to avoid an error. */
38935 /* We use char because int might match the return type of a gcc2
38936 builtin and then its argument prototype would still apply. */
38938 /* The GNU C library defines this for functions which it implements
38939 to always fail with ENOSYS. Some functions are actually named
38940 something starting with __ and the normal name is an alias. */
38941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38944 char (*f) () = $ac_func;
38953 return f != $ac_func;
38958 rm -f conftest.
$ac_objext conftest
$ac_exeext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38960 (eval $ac_link) 2>conftest.er1
38962 grep -v '^ *+' conftest.er1
>conftest.err
38964 cat conftest.err
>&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } &&
38967 { ac_try
='test -z "$ac_cxx_werror_flag"
38968 || test ! -s conftest.err'
38969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970 (eval $ac_try) 2>&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); }; } &&
38974 { ac_try
='test -s conftest$ac_exeext'
38975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38976 (eval $ac_try) 2>&5
38978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38979 (exit $ac_status); }; }; then
38980 eval "$as_ac_var=yes"
38982 echo "$as_me: failed program was:" >&5
38983 sed 's/^/| /' conftest.
$ac_ext >&5
38985 eval "$as_ac_var=no"
38987 rm -f conftest.err conftest.
$ac_objext \
38988 conftest
$ac_exeext conftest.
$ac_ext
38990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38992 if test `eval echo '${'$as_ac_var'}'` = yes; then
38993 cat >>confdefs.h
<<_ACEOF
38994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39001 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39002 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39003 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39004 echo $ECHO_N "(cached) $ECHO_C" >&6
39007 cat >conftest.
$ac_ext <<_ACEOF
39010 cat confdefs.h
>>conftest.
$ac_ext
39011 cat >>conftest.
$ac_ext <<_ACEOF
39012 /* end confdefs.h. */
39013 #include <pthread.h>
39014 void ThreadCleanupFunc(void *p);
39021 pthread_cleanup_push(ThreadCleanupFunc, p);
39022 pthread_cleanup_pop(0);
39028 rm -f conftest.
$ac_objext
39029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39030 (eval $ac_compile) 2>conftest.er1
39032 grep -v '^ *+' conftest.er1
>conftest.err
39034 cat conftest.err
>&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } &&
39037 { ac_try
='test -z "$ac_cxx_werror_flag"
39038 || test ! -s conftest.err'
39039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39040 (eval $ac_try) 2>&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); }; } &&
39044 { ac_try
='test -s conftest.$ac_objext'
39045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39046 (eval $ac_try) 2>&5
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); }; }; then
39051 wx_cv_func_pthread_cleanup
=yes
39054 echo "$as_me: failed program was:" >&5
39055 sed 's/^/| /' conftest.
$ac_ext >&5
39058 wx_cv_func_pthread_cleanup
=no
39062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39065 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39066 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39067 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39068 cat >>confdefs.h
<<\_ACEOF
39069 #define wxHAVE_PTHREAD_CLEANUP 1
39075 for ac_header
in sched.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"
39109 || test ! -s conftest.err'
39110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39111 (eval $ac_try) 2>&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); }; } &&
39115 { ac_try
='test -s conftest.$ac_objext'
39116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39117 (eval $ac_try) 2>&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); }; }; then
39121 ac_header_compiler
=yes
39123 echo "$as_me: failed program was:" >&5
39124 sed 's/^/| /' conftest.
$ac_ext >&5
39126 ac_header_compiler
=no
39128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39130 echo "${ECHO_T}$ac_header_compiler" >&6
39132 # Is the header present?
39133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39135 cat >conftest.
$ac_ext <<_ACEOF
39138 cat confdefs.h
>>conftest.
$ac_ext
39139 cat >>conftest.
$ac_ext <<_ACEOF
39140 /* end confdefs.h. */
39141 #include <$ac_header>
39143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39146 grep -v '^ *+' conftest.er1
>conftest.err
39148 cat conftest.err
>&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } >/dev
/null
; then
39151 if test -s conftest.err
; then
39152 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39153 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39160 if test -z "$ac_cpp_err"; then
39161 ac_header_preproc
=yes
39163 echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.
$ac_ext >&5
39166 ac_header_preproc
=no
39168 rm -f conftest.err conftest.
$ac_ext
39169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39170 echo "${ECHO_T}$ac_header_preproc" >&6
39172 # So? What about this header?
39173 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39179 ac_header_preproc
=yes
39182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39196 ## ----------------------------------------- ##
39197 ## Report this to wx-dev@lists.wxwidgets.org ##
39198 ## ----------------------------------------- ##
39201 sed "s/^/$as_me: WARNING: /" >&2
39204 echo "$as_me:$LINENO: checking for $ac_header" >&5
39205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 eval "$as_ac_Header=\$ac_header_preproc"
39211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39216 cat >>confdefs.h
<<_ACEOF
39217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39224 if test "$ac_cv_header_sched_h" = "yes"; then
39225 echo "$as_me:$LINENO: checking for sched_yield" >&5
39226 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39227 if test "${ac_cv_func_sched_yield+set}" = set; then
39228 echo $ECHO_N "(cached) $ECHO_C" >&6
39230 cat >conftest.
$ac_ext <<_ACEOF
39233 cat confdefs.h
>>conftest.
$ac_ext
39234 cat >>conftest.
$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39238 #define sched_yield innocuous_sched_yield
39240 /* System header to define __stub macros and hopefully few prototypes,
39241 which can conflict with char sched_yield (); below.
39242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39243 <limits.h> exists even on freestanding compilers. */
39246 # include <limits.h>
39248 # include <assert.h>
39253 /* Override any gcc2 internal prototype to avoid an error. */
39258 /* We use char because int might match the return type of a gcc2
39259 builtin and then its argument prototype would still apply. */
39260 char sched_yield ();
39261 /* The GNU C library defines this for functions which it implements
39262 to always fail with ENOSYS. Some functions are actually named
39263 something starting with __ and the normal name is an alias. */
39264 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39267 char (*f) () = sched_yield;
39276 return f != sched_yield;
39281 rm -f conftest.
$ac_objext conftest
$ac_exeext
39282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39283 (eval $ac_link) 2>conftest.er1
39285 grep -v '^ *+' conftest.er1
>conftest.err
39287 cat conftest.err
>&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } &&
39290 { ac_try
='test -z "$ac_cxx_werror_flag"
39291 || test ! -s conftest.err'
39292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39293 (eval $ac_try) 2>&5
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); }; } &&
39297 { ac_try
='test -s conftest$ac_exeext'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; }; then
39303 ac_cv_func_sched_yield
=yes
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.
$ac_ext >&5
39308 ac_cv_func_sched_yield
=no
39310 rm -f conftest.err conftest.
$ac_objext \
39311 conftest
$ac_exeext conftest.
$ac_ext
39313 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39314 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39315 if test $ac_cv_func_sched_yield = yes; then
39316 cat >>confdefs.h
<<\_ACEOF
39317 #define HAVE_SCHED_YIELD 1
39322 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39323 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39324 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39327 ac_check_lib_save_LIBS
=$LIBS
39328 LIBS
="-lposix4 $LIBS"
39329 cat >conftest.
$ac_ext <<_ACEOF
39332 cat confdefs.h
>>conftest.
$ac_ext
39333 cat >>conftest.
$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39336 /* Override any gcc2 internal prototype to avoid an error. */
39340 /* We use char because int might match the return type of a gcc2
39341 builtin and then its argument prototype would still apply. */
39342 char sched_yield ();
39351 rm -f conftest.
$ac_objext conftest
$ac_exeext
39352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39353 (eval $ac_link) 2>conftest.er1
39355 grep -v '^ *+' conftest.er1
>conftest.err
39357 cat conftest.err
>&5
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); } &&
39360 { ac_try
='test -z "$ac_cxx_werror_flag"
39361 || test ! -s conftest.err'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; } &&
39367 { ac_try
='test -s conftest$ac_exeext'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; }; then
39373 ac_cv_lib_posix4_sched_yield
=yes
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.
$ac_ext >&5
39378 ac_cv_lib_posix4_sched_yield
=no
39380 rm -f conftest.err conftest.
$ac_objext \
39381 conftest
$ac_exeext conftest.
$ac_ext
39382 LIBS
=$ac_check_lib_save_LIBS
39384 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39385 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39386 if test $ac_cv_lib_posix4_sched_yield = yes; then
39387 cat >>confdefs.h
<<\_ACEOF
39388 #define HAVE_SCHED_YIELD 1
39390 POSIX4_LINK
=" -lposix4"
39392 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39393 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39404 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39405 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39406 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39407 echo $ECHO_N "(cached) $ECHO_C" >&6
39409 cat >conftest.
$ac_ext <<_ACEOF
39412 cat confdefs.h
>>conftest.
$ac_ext
39413 cat >>conftest.
$ac_ext <<_ACEOF
39414 /* end confdefs.h. */
39415 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39417 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39419 /* System header to define __stub macros and hopefully few prototypes,
39420 which can conflict with char pthread_attr_getschedpolicy (); below.
39421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39422 <limits.h> exists even on freestanding compilers. */
39425 # include <limits.h>
39427 # include <assert.h>
39430 #undef pthread_attr_getschedpolicy
39432 /* Override any gcc2 internal prototype to avoid an error. */
39437 /* We use char because int might match the return type of a gcc2
39438 builtin and then its argument prototype would still apply. */
39439 char pthread_attr_getschedpolicy ();
39440 /* The GNU C library defines this for functions which it implements
39441 to always fail with ENOSYS. Some functions are actually named
39442 something starting with __ and the normal name is an alias. */
39443 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39446 char (*f) () = pthread_attr_getschedpolicy;
39455 return f != pthread_attr_getschedpolicy;
39460 rm -f conftest.
$ac_objext conftest
$ac_exeext
39461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39462 (eval $ac_link) 2>conftest.er1
39464 grep -v '^ *+' conftest.er1
>conftest.err
39466 cat conftest.err
>&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); } &&
39469 { ac_try
='test -z "$ac_cxx_werror_flag"
39470 || test ! -s conftest.err'
39471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39472 (eval $ac_try) 2>&5
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); }; } &&
39476 { ac_try
='test -s conftest$ac_exeext'
39477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39478 (eval $ac_try) 2>&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); }; }; then
39482 ac_cv_func_pthread_attr_getschedpolicy
=yes
39484 echo "$as_me: failed program was:" >&5
39485 sed 's/^/| /' conftest.
$ac_ext >&5
39487 ac_cv_func_pthread_attr_getschedpolicy
=no
39489 rm -f conftest.err conftest.
$ac_objext \
39490 conftest
$ac_exeext conftest.
$ac_ext
39492 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39493 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39494 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39495 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39496 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39497 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39498 echo $ECHO_N "(cached) $ECHO_C" >&6
39500 cat >conftest.
$ac_ext <<_ACEOF
39503 cat confdefs.h
>>conftest.
$ac_ext
39504 cat >>conftest.
$ac_ext <<_ACEOF
39505 /* end confdefs.h. */
39506 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39508 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39510 /* System header to define __stub macros and hopefully few prototypes,
39511 which can conflict with char pthread_attr_setschedparam (); below.
39512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39513 <limits.h> exists even on freestanding compilers. */
39516 # include <limits.h>
39518 # include <assert.h>
39521 #undef pthread_attr_setschedparam
39523 /* Override any gcc2 internal prototype to avoid an error. */
39528 /* We use char because int might match the return type of a gcc2
39529 builtin and then its argument prototype would still apply. */
39530 char pthread_attr_setschedparam ();
39531 /* The GNU C library defines this for functions which it implements
39532 to always fail with ENOSYS. Some functions are actually named
39533 something starting with __ and the normal name is an alias. */
39534 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39537 char (*f) () = pthread_attr_setschedparam;
39546 return f != pthread_attr_setschedparam;
39551 rm -f conftest.
$ac_objext conftest
$ac_exeext
39552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39553 (eval $ac_link) 2>conftest.er1
39555 grep -v '^ *+' conftest.er1
>conftest.err
39557 cat conftest.err
>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); } &&
39560 { ac_try
='test -z "$ac_cxx_werror_flag"
39561 || test ! -s conftest.err'
39562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39563 (eval $ac_try) 2>&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); }; } &&
39567 { ac_try
='test -s conftest$ac_exeext'
39568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569 (eval $ac_try) 2>&5
39571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572 (exit $ac_status); }; }; then
39573 ac_cv_func_pthread_attr_setschedparam
=yes
39575 echo "$as_me: failed program was:" >&5
39576 sed 's/^/| /' conftest.
$ac_ext >&5
39578 ac_cv_func_pthread_attr_setschedparam
=no
39580 rm -f conftest.err conftest.
$ac_objext \
39581 conftest
$ac_exeext conftest.
$ac_ext
39583 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39584 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39585 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39586 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39587 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39588 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 cat >conftest.
$ac_ext <<_ACEOF
39594 cat confdefs.h
>>conftest.
$ac_ext
39595 cat >>conftest.
$ac_ext <<_ACEOF
39596 /* end confdefs.h. */
39597 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39599 #define sched_get_priority_max innocuous_sched_get_priority_max
39601 /* System header to define __stub macros and hopefully few prototypes,
39602 which can conflict with char sched_get_priority_max (); below.
39603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39604 <limits.h> exists even on freestanding compilers. */
39607 # include <limits.h>
39609 # include <assert.h>
39612 #undef sched_get_priority_max
39614 /* Override any gcc2 internal prototype to avoid an error. */
39619 /* We use char because int might match the return type of a gcc2
39620 builtin and then its argument prototype would still apply. */
39621 char sched_get_priority_max ();
39622 /* The GNU C library defines this for functions which it implements
39623 to always fail with ENOSYS. Some functions are actually named
39624 something starting with __ and the normal name is an alias. */
39625 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39628 char (*f) () = sched_get_priority_max;
39637 return f != sched_get_priority_max;
39642 rm -f conftest.
$ac_objext conftest
$ac_exeext
39643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39644 (eval $ac_link) 2>conftest.er1
39646 grep -v '^ *+' conftest.er1
>conftest.err
39648 cat conftest.err
>&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } &&
39651 { ac_try
='test -z "$ac_cxx_werror_flag"
39652 || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try
='test -s conftest$ac_exeext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 ac_cv_func_sched_get_priority_max
=yes
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.
$ac_ext >&5
39669 ac_cv_func_sched_get_priority_max
=no
39671 rm -f conftest.err conftest.
$ac_objext \
39672 conftest
$ac_exeext conftest.
$ac_ext
39674 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39675 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39676 if test $ac_cv_func_sched_get_priority_max = yes; then
39679 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39680 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39681 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 ac_check_lib_save_LIBS
=$LIBS
39685 LIBS
="-lposix4 $LIBS"
39686 cat >conftest.
$ac_ext <<_ACEOF
39689 cat confdefs.h
>>conftest.
$ac_ext
39690 cat >>conftest.
$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39693 /* Override any gcc2 internal prototype to avoid an error. */
39697 /* We use char because int might match the return type of a gcc2
39698 builtin and then its argument prototype would still apply. */
39699 char sched_get_priority_max ();
39703 sched_get_priority_max ();
39708 rm -f conftest.
$ac_objext conftest
$ac_exeext
39709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39710 (eval $ac_link) 2>conftest.er1
39712 grep -v '^ *+' conftest.er1
>conftest.err
39714 cat conftest.err
>&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } &&
39717 { ac_try
='test -z "$ac_cxx_werror_flag"
39718 || test ! -s conftest.err'
39719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39720 (eval $ac_try) 2>&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); }; } &&
39724 { ac_try
='test -s conftest$ac_exeext'
39725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726 (eval $ac_try) 2>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); }; }; then
39730 ac_cv_lib_posix4_sched_get_priority_max
=yes
39732 echo "$as_me: failed program was:" >&5
39733 sed 's/^/| /' conftest.
$ac_ext >&5
39735 ac_cv_lib_posix4_sched_get_priority_max
=no
39737 rm -f conftest.err conftest.
$ac_objext \
39738 conftest
$ac_exeext conftest.
$ac_ext
39739 LIBS
=$ac_check_lib_save_LIBS
39741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39742 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39743 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39746 POSIX4_LINK
=" -lposix4"
39760 if test "$HAVE_PRIOR_FUNCS" = 1; then
39761 cat >>confdefs.h
<<\_ACEOF
39762 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39766 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39767 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39770 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39771 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39772 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 cat >conftest.
$ac_ext <<_ACEOF
39778 cat confdefs.h
>>conftest.
$ac_ext
39779 cat >>conftest.
$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define pthread_cancel innocuous_pthread_cancel
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char pthread_cancel (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39791 # include <limits.h>
39793 # include <assert.h>
39796 #undef pthread_cancel
39798 /* Override any gcc2 internal prototype to avoid an error. */
39803 /* We use char because int might match the return type of a gcc2
39804 builtin and then its argument prototype would still apply. */
39805 char pthread_cancel ();
39806 /* The GNU C library defines this for functions which it implements
39807 to always fail with ENOSYS. Some functions are actually named
39808 something starting with __ and the normal name is an alias. */
39809 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39812 char (*f) () = pthread_cancel;
39821 return f != pthread_cancel;
39826 rm -f conftest.
$ac_objext conftest
$ac_exeext
39827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39828 (eval $ac_link) 2>conftest.er1
39830 grep -v '^ *+' conftest.er1
>conftest.err
39832 cat conftest.err
>&5
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); } &&
39835 { ac_try
='test -z "$ac_cxx_werror_flag"
39836 || test ! -s conftest.err'
39837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39838 (eval $ac_try) 2>&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); }; } &&
39842 { ac_try
='test -s conftest$ac_exeext'
39843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39844 (eval $ac_try) 2>&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); }; }; then
39848 ac_cv_func_pthread_cancel
=yes
39850 echo "$as_me: failed program was:" >&5
39851 sed 's/^/| /' conftest.
$ac_ext >&5
39853 ac_cv_func_pthread_cancel
=no
39855 rm -f conftest.err conftest.
$ac_objext \
39856 conftest
$ac_exeext conftest.
$ac_ext
39858 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39859 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39860 if test $ac_cv_func_pthread_cancel = yes; then
39861 cat >>confdefs.h
<<\_ACEOF
39862 #define HAVE_PTHREAD_CANCEL 1
39866 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39867 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39871 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39872 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39873 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 cat >conftest.
$ac_ext <<_ACEOF
39879 cat confdefs.h
>>conftest.
$ac_ext
39880 cat >>conftest.
$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39884 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39886 /* System header to define __stub macros and hopefully few prototypes,
39887 which can conflict with char pthread_attr_setstacksize (); below.
39888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39889 <limits.h> exists even on freestanding compilers. */
39892 # include <limits.h>
39894 # include <assert.h>
39897 #undef pthread_attr_setstacksize
39899 /* Override any gcc2 internal prototype to avoid an error. */
39904 /* We use char because int might match the return type of a gcc2
39905 builtin and then its argument prototype would still apply. */
39906 char pthread_attr_setstacksize ();
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39913 char (*f) () = pthread_attr_setstacksize;
39922 return f != pthread_attr_setstacksize;
39927 rm -f conftest.
$ac_objext conftest
$ac_exeext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39929 (eval $ac_link) 2>conftest.er1
39931 grep -v '^ *+' conftest.er1
>conftest.err
39933 cat conftest.err
>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } &&
39936 { ac_try
='test -z "$ac_cxx_werror_flag"
39937 || test ! -s conftest.err'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try
='test -s conftest$ac_exeext'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; }; then
39949 ac_cv_func_pthread_attr_setstacksize
=yes
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.
$ac_ext >&5
39954 ac_cv_func_pthread_attr_setstacksize
=no
39956 rm -f conftest.err conftest.
$ac_objext \
39957 conftest
$ac_exeext conftest.
$ac_ext
39959 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39960 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39961 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39962 cat >>confdefs.h
<<\_ACEOF
39963 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39970 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39971 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39972 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39973 echo $ECHO_N "(cached) $ECHO_C" >&6
39976 cat >conftest.
$ac_ext <<_ACEOF
39979 cat confdefs.h
>>conftest.
$ac_ext
39980 cat >>conftest.
$ac_ext <<_ACEOF
39981 /* end confdefs.h. */
39982 #include <pthread.h>
39987 pthread_mutexattr_t attr;
39988 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39994 rm -f conftest.
$ac_objext
39995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39996 (eval $ac_compile) 2>conftest.er1
39998 grep -v '^ *+' conftest.er1
>conftest.err
40000 cat conftest.err
>&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); } &&
40003 { ac_try
='test -z "$ac_cxx_werror_flag"
40004 || test ! -s conftest.err'
40005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40006 (eval $ac_try) 2>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); }; } &&
40010 { ac_try
='test -s conftest.$ac_objext'
40011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012 (eval $ac_try) 2>&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); }; }; then
40016 wx_cv_type_pthread_mutexattr_t
=yes
40018 echo "$as_me: failed program was:" >&5
40019 sed 's/^/| /' conftest.
$ac_ext >&5
40021 wx_cv_type_pthread_mutexattr_t
=no
40024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40027 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40028 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40030 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40031 cat >>confdefs.h
<<\_ACEOF
40032 #define HAVE_PTHREAD_MUTEXATTR_T 1
40036 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40037 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40038 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40039 echo $ECHO_N "(cached) $ECHO_C" >&6
40042 cat >conftest.
$ac_ext <<_ACEOF
40045 cat confdefs.h
>>conftest.
$ac_ext
40046 cat >>conftest.
$ac_ext <<_ACEOF
40047 /* end confdefs.h. */
40048 #include <pthread.h>
40053 pthread_mutexattr_t attr;
40054 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40060 rm -f conftest.
$ac_objext
40061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40062 (eval $ac_compile) 2>conftest.er1
40064 grep -v '^ *+' conftest.er1
>conftest.err
40066 cat conftest.err
>&5
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); } &&
40069 { ac_try
='test -z "$ac_cxx_werror_flag"
40070 || test ! -s conftest.err'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; } &&
40076 { ac_try
='test -s conftest.$ac_objext'
40077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40078 (eval $ac_try) 2>&5
40080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40081 (exit $ac_status); }; }; then
40082 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40084 echo "$as_me: failed program was:" >&5
40085 sed 's/^/| /' conftest.
$ac_ext >&5
40087 wx_cv_func_pthread_mutexattr_settype_decl
=no
40090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40093 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40094 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40095 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40096 cat >>confdefs.h
<<\_ACEOF
40097 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40102 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40103 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40104 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40105 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 cat >conftest.
$ac_ext <<_ACEOF
40111 cat confdefs.h
>>conftest.
$ac_ext
40112 cat >>conftest.
$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 #include <pthread.h>
40119 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40125 rm -f conftest.
$ac_objext
40126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40127 (eval $ac_compile) 2>conftest.er1
40129 grep -v '^ *+' conftest.er1
>conftest.err
40131 cat conftest.err
>&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } &&
40134 { ac_try
='test -z "$ac_cxx_werror_flag"
40135 || test ! -s conftest.err'
40136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40137 (eval $ac_try) 2>&5
40139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40140 (exit $ac_status); }; } &&
40141 { ac_try
='test -s conftest.$ac_objext'
40142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40143 (eval $ac_try) 2>&5
40145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40146 (exit $ac_status); }; }; then
40148 wx_cv_type_pthread_rec_mutex_init
=yes
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.
$ac_ext >&5
40155 wx_cv_type_pthread_rec_mutex_init
=no
40159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40162 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40163 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40164 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40165 cat >>confdefs.h
<<\_ACEOF
40166 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40170 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40171 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40177 if test "$wxUSE_THREADS" = "yes" ; then
40180 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40181 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40182 if test "${wx_cv_cflags_mthread+set}" = set; then
40183 echo $ECHO_N "(cached) $ECHO_C" >&6
40186 CXXFLAGS_OLD
="$CXXFLAGS"
40187 CXXFLAGS
="-mthreads $CXXFLAGS"
40188 cat >conftest.
$ac_ext <<_ACEOF
40191 cat confdefs.h
>>conftest.
$ac_ext
40192 cat >>conftest.
$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40203 rm -f conftest.
$ac_objext
40204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40205 (eval $ac_compile) 2>conftest.er1
40207 grep -v '^ *+' conftest.er1
>conftest.err
40209 cat conftest.err
>&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); } &&
40212 { ac_try
='test -z "$ac_cxx_werror_flag"
40213 || test ! -s conftest.err'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; } &&
40219 { ac_try
='test -s conftest.$ac_objext'
40220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40221 (eval $ac_try) 2>&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); }; }; then
40225 wx_cv_cflags_mthread
=yes
40227 echo "$as_me: failed program was:" >&5
40228 sed 's/^/| /' conftest.
$ac_ext >&5
40230 wx_cv_cflags_mthread
=no
40233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40237 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40238 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40240 if test "$wx_cv_cflags_mthread" = "yes"; then
40241 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40242 LDFLAGS
="$LDFLAGS -mthreads"
40244 CXXFLAGS
="$CXXFLAGS_OLD"
40248 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40249 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40250 LDFLAGS
="$LDFLAGS -Zmt"
40256 echo "$as_me:$LINENO: checking for localtime_r" >&5
40257 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40258 if test "${ac_cv_func_localtime_r+set}" = set; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40261 cat >conftest.
$ac_ext <<_ACEOF
40264 cat confdefs.h
>>conftest.
$ac_ext
40265 cat >>conftest.
$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40267 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40269 #define localtime_r innocuous_localtime_r
40271 /* System header to define __stub macros and hopefully few prototypes,
40272 which can conflict with char localtime_r (); below.
40273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40274 <limits.h> exists even on freestanding compilers. */
40277 # include <limits.h>
40279 # include <assert.h>
40284 /* Override any gcc2 internal prototype to avoid an error. */
40289 /* We use char because int might match the return type of a gcc2
40290 builtin and then its argument prototype would still apply. */
40291 char localtime_r ();
40292 /* The GNU C library defines this for functions which it implements
40293 to always fail with ENOSYS. Some functions are actually named
40294 something starting with __ and the normal name is an alias. */
40295 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40298 char (*f) () = localtime_r;
40307 return f != localtime_r;
40312 rm -f conftest.
$ac_objext conftest
$ac_exeext
40313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40314 (eval $ac_link) 2>conftest.er1
40316 grep -v '^ *+' conftest.er1
>conftest.err
40318 cat conftest.err
>&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); } &&
40321 { ac_try
='test -z "$ac_cxx_werror_flag"
40322 || test ! -s conftest.err'
40323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40324 (eval $ac_try) 2>&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); }; } &&
40328 { ac_try
='test -s conftest$ac_exeext'
40329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40330 (eval $ac_try) 2>&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); }; }; then
40334 ac_cv_func_localtime_r
=yes
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.
$ac_ext >&5
40339 ac_cv_func_localtime_r
=no
40341 rm -f conftest.err conftest.
$ac_objext \
40342 conftest
$ac_exeext conftest.
$ac_ext
40344 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40345 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40346 if test $ac_cv_func_localtime_r = yes; then
40347 cat >>confdefs.h
<<\_ACEOF
40348 #define HAVE_LOCALTIME_R 1
40353 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40354 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40355 if test "${ac_cv_func_gmtime_r+set}" = set; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40358 cat >conftest.
$ac_ext <<_ACEOF
40361 cat confdefs.h
>>conftest.
$ac_ext
40362 cat >>conftest.
$ac_ext <<_ACEOF
40363 /* end confdefs.h. */
40364 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40366 #define gmtime_r innocuous_gmtime_r
40368 /* System header to define __stub macros and hopefully few prototypes,
40369 which can conflict with char gmtime_r (); below.
40370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40371 <limits.h> exists even on freestanding compilers. */
40374 # include <limits.h>
40376 # include <assert.h>
40381 /* Override any gcc2 internal prototype to avoid an error. */
40386 /* We use char because int might match the return type of a gcc2
40387 builtin and then its argument prototype would still apply. */
40389 /* The GNU C library defines this for functions which it implements
40390 to always fail with ENOSYS. Some functions are actually named
40391 something starting with __ and the normal name is an alias. */
40392 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40395 char (*f) () = gmtime_r;
40404 return f != gmtime_r;
40409 rm -f conftest.
$ac_objext conftest
$ac_exeext
40410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40411 (eval $ac_link) 2>conftest.er1
40413 grep -v '^ *+' conftest.er1
>conftest.err
40415 cat conftest.err
>&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); } &&
40418 { ac_try
='test -z "$ac_cxx_werror_flag"
40419 || test ! -s conftest.err'
40420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40421 (eval $ac_try) 2>&5
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); }; } &&
40425 { ac_try
='test -s conftest$ac_exeext'
40426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427 (eval $ac_try) 2>&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); }; }; then
40431 ac_cv_func_gmtime_r
=yes
40433 echo "$as_me: failed program was:" >&5
40434 sed 's/^/| /' conftest.
$ac_ext >&5
40436 ac_cv_func_gmtime_r
=no
40438 rm -f conftest.err conftest.
$ac_objext \
40439 conftest
$ac_exeext conftest.
$ac_ext
40441 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40442 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40443 if test $ac_cv_func_gmtime_r = yes; then
40444 cat >>confdefs.h
<<\_ACEOF
40445 #define HAVE_GMTIME_R 1
40450 echo "$as_me:$LINENO: checking for readdir_r" >&5
40451 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40452 if test "${ac_cv_func_readdir_r+set}" = set; then
40453 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 cat >conftest.
$ac_ext <<_ACEOF
40458 cat confdefs.h
>>conftest.
$ac_ext
40459 cat >>conftest.
$ac_ext <<_ACEOF
40460 /* end confdefs.h. */
40461 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40463 #define readdir_r innocuous_readdir_r
40465 /* System header to define __stub macros and hopefully few prototypes,
40466 which can conflict with char readdir_r (); below.
40467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40468 <limits.h> exists even on freestanding compilers. */
40471 # include <limits.h>
40473 # include <assert.h>
40478 /* Override any gcc2 internal prototype to avoid an error. */
40483 /* We use char because int might match the return type of a gcc2
40484 builtin and then its argument prototype would still apply. */
40486 /* The GNU C library defines this for functions which it implements
40487 to always fail with ENOSYS. Some functions are actually named
40488 something starting with __ and the normal name is an alias. */
40489 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40492 char (*f) () = readdir_r;
40501 return f != readdir_r;
40506 rm -f conftest.
$ac_objext conftest
$ac_exeext
40507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40508 (eval $ac_link) 2>conftest.er1
40510 grep -v '^ *+' conftest.er1
>conftest.err
40512 cat conftest.err
>&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } &&
40515 { ac_try
='test -z "$ac_cxx_werror_flag"
40516 || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try
='test -s conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_func_readdir_r
=yes
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.
$ac_ext >&5
40533 ac_cv_func_readdir_r
=no
40535 rm -f conftest.err conftest.
$ac_objext \
40536 conftest
$ac_exeext conftest.
$ac_ext
40538 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40539 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40540 if test $ac_cv_func_readdir_r = yes; then
40541 cat >>confdefs.h
<<\_ACEOF
40542 #define HAVE_READDIR_R 1
40551 ac_cpp
='$CPP $CPPFLAGS'
40552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40556 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40557 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40559 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40564 ################################################################
40566 ac_cv_func_which_gethostbyname_r
=unknown
40569 # ONE ARGUMENT (sanity check)
40572 # This should fail, as there is no variant of gethostbyname_r() that takes
40573 # a single argument. If it actually compiles, then we can assume that
40574 # netdb.h is not declaring the function, and the compiler is thereby
40575 # assuming an implicit prototype. In which case, we're out of luck.
40577 cat >conftest.
$ac_ext <<_ACEOF
40580 cat confdefs.h
>>conftest.
$ac_ext
40581 cat >>conftest.
$ac_ext <<_ACEOF
40582 /* end confdefs.h. */
40588 char *name = "www.gnu.org";
40589 (void)gethostbyname_r(name) /* ; */
40595 rm -f conftest.
$ac_objext
40596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40597 (eval $ac_compile) 2>conftest.er1
40599 grep -v '^ *+' conftest.er1
>conftest.err
40601 cat conftest.err
>&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } &&
40604 { ac_try
='test -z "$ac_c_werror_flag"
40605 || test ! -s conftest.err'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; } &&
40611 { ac_try
='test -s conftest.$ac_objext'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; }; then
40617 ac_cv_func_which_gethostbyname_r
=no
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.
$ac_ext >&5
40623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40630 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40632 cat >conftest.
$ac_ext <<_ACEOF
40635 cat confdefs.h
>>conftest.
$ac_ext
40636 cat >>conftest.
$ac_ext <<_ACEOF
40637 /* end confdefs.h. */
40643 char *name = "www.gnu.org";
40644 struct hostent ret, *retp;
40648 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40654 rm -f conftest.
$ac_objext
40655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40656 (eval $ac_compile) 2>conftest.er1
40658 grep -v '^ *+' conftest.er1
>conftest.err
40660 cat conftest.err
>&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } &&
40663 { ac_try
='test -z "$ac_c_werror_flag"
40664 || test ! -s conftest.err'
40665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40666 (eval $ac_try) 2>&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); }; } &&
40670 { ac_try
='test -s conftest.$ac_objext'
40671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40672 (eval $ac_try) 2>&5
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); }; }; then
40676 ac_cv_func_which_gethostbyname_r
=six
40678 echo "$as_me: failed program was:" >&5
40679 sed 's/^/| /' conftest.
$ac_ext >&5
40682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40691 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40693 cat >conftest.
$ac_ext <<_ACEOF
40696 cat confdefs.h
>>conftest.
$ac_ext
40697 cat >>conftest.
$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40704 char *name = "www.gnu.org";
40705 struct hostent ret;
40709 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40715 rm -f conftest.
$ac_objext
40716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40717 (eval $ac_compile) 2>conftest.er1
40719 grep -v '^ *+' conftest.er1
>conftest.err
40721 cat conftest.err
>&5
40722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40723 (exit $ac_status); } &&
40724 { ac_try
='test -z "$ac_c_werror_flag"
40725 || test ! -s conftest.err'
40726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40727 (eval $ac_try) 2>&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); }; } &&
40731 { ac_try
='test -s conftest.$ac_objext'
40732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40733 (eval $ac_try) 2>&5
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); }; }; then
40737 ac_cv_func_which_gethostbyname_r
=five
40739 echo "$as_me: failed program was:" >&5
40740 sed 's/^/| /' conftest.
$ac_ext >&5
40743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40749 # (e.g. AIX, HP-UX, Tru64)
40752 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40754 cat >conftest.
$ac_ext <<_ACEOF
40757 cat confdefs.h
>>conftest.
$ac_ext
40758 cat >>conftest.
$ac_ext <<_ACEOF
40759 /* end confdefs.h. */
40765 char *name = "www.gnu.org";
40766 struct hostent ret;
40767 struct hostent_data data;
40768 (void)gethostbyname_r(name, &ret, &data) /* ; */
40774 rm -f conftest.
$ac_objext
40775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40776 (eval $ac_compile) 2>conftest.er1
40778 grep -v '^ *+' conftest.er1
>conftest.err
40780 cat conftest.err
>&5
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); } &&
40783 { ac_try
='test -z "$ac_c_werror_flag"
40784 || test ! -s conftest.err'
40785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40786 (eval $ac_try) 2>&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); }; } &&
40790 { ac_try
='test -s conftest.$ac_objext'
40791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40792 (eval $ac_try) 2>&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); }; }; then
40796 ac_cv_func_which_gethostbyname_r
=three
40798 echo "$as_me: failed program was:" >&5
40799 sed 's/^/| /' conftest.
$ac_ext >&5
40802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40806 ################################################################
40811 case "$ac_cv_func_which_gethostbyname_r" in
40813 echo "$as_me:$LINENO: result: three" >&5
40814 echo "${ECHO_T}three" >&6
40815 cat >>confdefs.h
<<\_ACEOF
40816 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40822 echo "$as_me:$LINENO: result: five" >&5
40823 echo "${ECHO_T}five" >&6
40824 cat >>confdefs.h
<<\_ACEOF
40825 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40831 echo "$as_me:$LINENO: result: six" >&5
40832 echo "${ECHO_T}six" >&6
40833 cat >>confdefs.h
<<\_ACEOF
40834 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40840 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40841 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40845 echo "$as_me:$LINENO: result: can't tell" >&5
40846 echo "${ECHO_T}can't tell" >&6
40850 { { echo "$as_me:$LINENO: error: internal error" >&5
40851 echo "$as_me: error: internal error" >&2;}
40852 { (exit 1); exit 1; }; }
40857 ac_cpp
='$CXXCPP $CPPFLAGS'
40858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40864 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40865 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40866 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40867 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40868 if test "${ac_cv_func_gethostbyname+set}" = set; then
40869 echo $ECHO_N "(cached) $ECHO_C" >&6
40871 cat >conftest.
$ac_ext <<_ACEOF
40874 cat confdefs.h
>>conftest.
$ac_ext
40875 cat >>conftest.
$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40877 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40879 #define gethostbyname innocuous_gethostbyname
40881 /* System header to define __stub macros and hopefully few prototypes,
40882 which can conflict with char gethostbyname (); below.
40883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40884 <limits.h> exists even on freestanding compilers. */
40887 # include <limits.h>
40889 # include <assert.h>
40892 #undef gethostbyname
40894 /* Override any gcc2 internal prototype to avoid an error. */
40899 /* We use char because int might match the return type of a gcc2
40900 builtin and then its argument prototype would still apply. */
40901 char gethostbyname ();
40902 /* The GNU C library defines this for functions which it implements
40903 to always fail with ENOSYS. Some functions are actually named
40904 something starting with __ and the normal name is an alias. */
40905 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40908 char (*f) () = gethostbyname;
40917 return f != gethostbyname;
40922 rm -f conftest.
$ac_objext conftest
$ac_exeext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40924 (eval $ac_link) 2>conftest.er1
40926 grep -v '^ *+' conftest.er1
>conftest.err
40928 cat conftest.err
>&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); } &&
40931 { ac_try
='test -z "$ac_cxx_werror_flag"
40932 || test ! -s conftest.err'
40933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40934 (eval $ac_try) 2>&5
40936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937 (exit $ac_status); }; } &&
40938 { ac_try
='test -s conftest$ac_exeext'
40939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40940 (eval $ac_try) 2>&5
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); }; }; then
40944 ac_cv_func_gethostbyname
=yes
40946 echo "$as_me: failed program was:" >&5
40947 sed 's/^/| /' conftest.
$ac_ext >&5
40949 ac_cv_func_gethostbyname
=no
40951 rm -f conftest.err conftest.
$ac_objext \
40952 conftest
$ac_exeext conftest.
$ac_ext
40954 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40955 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40956 if test $ac_cv_func_gethostbyname = yes; then
40957 cat >>confdefs.h
<<\_ACEOF
40958 #define HAVE_GETHOSTBYNAME 1
40964 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40965 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40966 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40970 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40971 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40972 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40973 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 cat >conftest.
$ac_ext <<_ACEOF
40978 cat confdefs.h
>>conftest.
$ac_ext
40979 cat >>conftest.
$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40981 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40983 #define getservbyname_r innocuous_getservbyname_r
40985 /* System header to define __stub macros and hopefully few prototypes,
40986 which can conflict with char getservbyname_r (); below.
40987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40988 <limits.h> exists even on freestanding compilers. */
40991 # include <limits.h>
40993 # include <assert.h>
40996 #undef getservbyname_r
40998 /* Override any gcc2 internal prototype to avoid an error. */
41003 /* We use char because int might match the return type of a gcc2
41004 builtin and then its argument prototype would still apply. */
41005 char getservbyname_r ();
41006 /* The GNU C library defines this for functions which it implements
41007 to always fail with ENOSYS. Some functions are actually named
41008 something starting with __ and the normal name is an alias. */
41009 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
41012 char (*f) () = getservbyname_r;
41021 return f != getservbyname_r;
41026 rm -f conftest.
$ac_objext conftest
$ac_exeext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41028 (eval $ac_link) 2>conftest.er1
41030 grep -v '^ *+' conftest.er1
>conftest.err
41032 cat conftest.err
>&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } &&
41035 { ac_try
='test -z "$ac_cxx_werror_flag"
41036 || test ! -s conftest.err'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; } &&
41042 { ac_try
='test -s conftest$ac_exeext'
41043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044 (eval $ac_try) 2>&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); }; }; then
41048 ac_cv_func_getservbyname_r
=yes
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.
$ac_ext >&5
41053 ac_cv_func_getservbyname_r
=no
41055 rm -f conftest.err conftest.
$ac_objext \
41056 conftest
$ac_exeext conftest.
$ac_ext
41058 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
41059 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
41060 if test $ac_cv_func_getservbyname_r = yes; then
41062 cat >conftest.
$ac_ext <<_ACEOF
41065 cat confdefs.h
>>conftest.
$ac_ext
41066 cat >>conftest.
$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41069 # include <netdb.h>
41078 struct servent *se;
41079 struct servent_data data;
41080 (void) getservbyname_r(name, proto, se, &data);
41087 rm -f conftest.
$ac_objext
41088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41089 (eval $ac_compile) 2>conftest.er1
41091 grep -v '^ *+' conftest.er1
>conftest.err
41093 cat conftest.err
>&5
41094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41095 (exit $ac_status); } &&
41096 { ac_try
='test -z "$ac_cxx_werror_flag"
41097 || test ! -s conftest.err'
41098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41099 (eval $ac_try) 2>&5
41101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41102 (exit $ac_status); }; } &&
41103 { ac_try
='test -s conftest.$ac_objext'
41104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41105 (eval $ac_try) 2>&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); }; }; then
41109 ac_cv_func_which_getservbyname_r
=four
41111 echo "$as_me: failed program was:" >&5
41112 sed 's/^/| /' conftest.
$ac_ext >&5
41115 cat >conftest.
$ac_ext <<_ACEOF
41118 cat confdefs.h
>>conftest.
$ac_ext
41119 cat >>conftest.
$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41122 # include <netdb.h>
41130 struct servent *se, *res;
41133 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41139 rm -f conftest.
$ac_objext
41140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41141 (eval $ac_compile) 2>conftest.er1
41143 grep -v '^ *+' conftest.er1
>conftest.err
41145 cat conftest.err
>&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); } &&
41148 { ac_try
='test -z "$ac_cxx_werror_flag"
41149 || test ! -s conftest.err'
41150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41151 (eval $ac_try) 2>&5
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); }; } &&
41155 { ac_try
='test -s conftest.$ac_objext'
41156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41157 (eval $ac_try) 2>&5
41159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41160 (exit $ac_status); }; }; then
41161 ac_cv_func_which_getservbyname_r
=six
41163 echo "$as_me: failed program was:" >&5
41164 sed 's/^/| /' conftest.
$ac_ext >&5
41167 cat >conftest.
$ac_ext <<_ACEOF
41170 cat confdefs.h
>>conftest.
$ac_ext
41171 cat >>conftest.
$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41174 # include <netdb.h>
41182 struct servent *se;
41185 (void) getservbyname_r(name, proto, se, buffer, buflen)
41191 rm -f conftest.
$ac_objext
41192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41193 (eval $ac_compile) 2>conftest.er1
41195 grep -v '^ *+' conftest.er1
>conftest.err
41197 cat conftest.err
>&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } &&
41200 { ac_try
='test -z "$ac_cxx_werror_flag"
41201 || test ! -s conftest.err'
41202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41203 (eval $ac_try) 2>&5
41205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41206 (exit $ac_status); }; } &&
41207 { ac_try
='test -s conftest.$ac_objext'
41208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41209 (eval $ac_try) 2>&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); }; }; then
41213 ac_cv_func_which_getservbyname_r
=five
41215 echo "$as_me: failed program was:" >&5
41216 sed 's/^/| /' conftest.
$ac_ext >&5
41218 ac_cv_func_which_getservbyname_r
=no
41220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41233 ac_cv_func_which_getservbyname_r
=no
41237 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41238 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41240 if test $ac_cv_func_which_getservbyname_r = six
; then
41241 cat >>confdefs.h
<<\_ACEOF
41242 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41245 elif test $ac_cv_func_which_getservbyname_r = five
; then
41246 cat >>confdefs.h
<<\_ACEOF
41247 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41250 elif test $ac_cv_func_which_getservbyname_r = four
; then
41251 cat >>confdefs.h
<<\_ACEOF
41252 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41259 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41260 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41262 for ac_func
in getservbyname
41264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41265 echo "$as_me:$LINENO: checking for $ac_func" >&5
41266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41267 if eval "test \"\${$as_ac_var+set}\" = set"; then
41268 echo $ECHO_N "(cached) $ECHO_C" >&6
41270 cat >conftest.
$ac_ext <<_ACEOF
41273 cat confdefs.h
>>conftest.
$ac_ext
41274 cat >>conftest.
$ac_ext <<_ACEOF
41275 /* end confdefs.h. */
41276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41278 #define $ac_func innocuous_$ac_func
41280 /* System header to define __stub macros and hopefully few prototypes,
41281 which can conflict with char $ac_func (); below.
41282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41283 <limits.h> exists even on freestanding compilers. */
41286 # include <limits.h>
41288 # include <assert.h>
41293 /* Override any gcc2 internal prototype to avoid an error. */
41298 /* We use char because int might match the return type of a gcc2
41299 builtin and then its argument prototype would still apply. */
41301 /* The GNU C library defines this for functions which it implements
41302 to always fail with ENOSYS. Some functions are actually named
41303 something starting with __ and the normal name is an alias. */
41304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41307 char (*f) () = $ac_func;
41316 return f != $ac_func;
41321 rm -f conftest.
$ac_objext conftest
$ac_exeext
41322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41323 (eval $ac_link) 2>conftest.er1
41325 grep -v '^ *+' conftest.er1
>conftest.err
41327 cat conftest.err
>&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); } &&
41330 { ac_try
='test -z "$ac_cxx_werror_flag"
41331 || test ! -s conftest.err'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; } &&
41337 { ac_try
='test -s conftest$ac_exeext'
41338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41339 (eval $ac_try) 2>&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); }; }; then
41343 eval "$as_ac_var=yes"
41345 echo "$as_me: failed program was:" >&5
41346 sed 's/^/| /' conftest.
$ac_ext >&5
41348 eval "$as_ac_var=no"
41350 rm -f conftest.err conftest.
$ac_objext \
41351 conftest
$ac_exeext conftest.
$ac_ext
41353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41355 if test `eval echo '${'$as_ac_var'}'` = yes; then
41356 cat >>confdefs.h
<<_ACEOF
41357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41359 cat >>confdefs.h
<<\_ACEOF
41360 #define HAVE_GETSERVBYNAME 1
41368 if test "$wxUSE_THREADS" = "yes"; then
41369 cat >>confdefs.h
<<\_ACEOF
41370 #define wxUSE_THREADS 1
41374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41376 if test "$wx_cv_func_strtok_r" = "yes"; then
41377 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41378 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41379 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41380 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41381 echo "$as_me:$LINENO: result: yes" >&5
41382 echo "${ECHO_T}yes" >&6
41384 echo "$as_me:$LINENO: result: no" >&5
41385 echo "${ECHO_T}no" >&6
41390 if test "$WXGTK20" = 1 ; then
41391 cat >>confdefs.h
<<_ACEOF
41392 #define __WXGTK20__ $WXGTK20
41398 if test "$WXGTK12" = 1 ; then
41399 cat >>confdefs.h
<<_ACEOF
41400 #define __WXGTK12__ $WXGTK12
41405 if test "$WXGTK127" = 1 ; then
41406 cat >>confdefs.h
<<_ACEOF
41407 #define __WXGTK127__ $WXGTK127
41412 if test "$WXGPE" = 1 ; then
41413 cat >>confdefs.h
<<_ACEOF
41414 #define __WXGPE__ $WXGPE
41420 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41425 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41426 wxUSE_DEBUG_INFO
=yes
41427 if test "$GCC" = yes; then
41428 DEBUG_CFLAGS
="-ggdb"
41432 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41433 cat >>confdefs.h
<<\_ACEOF
41437 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41439 if test "$wxUSE_GTK" = 1 ; then
41440 if test "x$wxGTK_VERSION" = "x1" ; then
41441 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41446 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41447 cat >>confdefs.h
<<\_ACEOF
41448 #define wxUSE_MEMORY_TRACING 1
41451 cat >>confdefs.h
<<\_ACEOF
41452 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41455 cat >>confdefs.h
<<\_ACEOF
41456 #define wxUSE_DEBUG_NEW_ALWAYS 1
41459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41462 if test "$wxUSE_DMALLOC" = "yes" ; then
41463 DMALLOC_LIBS
="-ldmallocthcxx"
41467 if test "$wxUSE_PROFILE" = "yes" ; then
41468 PROFILE_FLAGS
=" -pg"
41471 if test "$GCC" = "yes" ; then
41472 if test "$wxUSE_NO_RTTI" = "yes" ; then
41473 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41475 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41476 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41478 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41479 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41484 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41487 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41493 if test "$wxUSE_OPTIMISE" = "no" ; then
41494 if test "$GCC" = yes ; then
41495 OPTIMISE_CFLAGS
="-O0"
41498 if test "$GCC" = yes ; then
41500 *-pc-os2_emx | *-pc-os2-emx )
41501 OPTIMISE_CFLAGS
="-O2"
41504 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41508 OPTIMISE_CFLAGS
="-O"
41513 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41514 cat >>confdefs.h
<<\_ACEOF
41515 #define WXWIN_COMPATIBILITY_2_4 1
41519 WXWIN_COMPATIBILITY_2_6
="yes"
41522 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41523 cat >>confdefs.h
<<\_ACEOF
41524 #define WXWIN_COMPATIBILITY_2_6 1
41530 if test "$wxUSE_GUI" = "yes"; then
41531 cat >>confdefs.h
<<\_ACEOF
41532 #define wxUSE_GUI 1
41539 if test "$wxUSE_UNIX" = "yes"; then
41540 cat >>confdefs.h
<<\_ACEOF
41541 #define wxUSE_UNIX 1
41547 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41551 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41552 if test "$USE_DARWIN" = 1; then
41554 elif test "$USE_DOS" = 1; then
41558 for ac_func
in dlopen
41560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41561 echo "$as_me:$LINENO: checking for $ac_func" >&5
41562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41563 if eval "test \"\${$as_ac_var+set}\" = set"; then
41564 echo $ECHO_N "(cached) $ECHO_C" >&6
41566 cat >conftest.
$ac_ext <<_ACEOF
41569 cat confdefs.h
>>conftest.
$ac_ext
41570 cat >>conftest.
$ac_ext <<_ACEOF
41571 /* end confdefs.h. */
41572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41574 #define $ac_func innocuous_$ac_func
41576 /* System header to define __stub macros and hopefully few prototypes,
41577 which can conflict with char $ac_func (); below.
41578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41579 <limits.h> exists even on freestanding compilers. */
41582 # include <limits.h>
41584 # include <assert.h>
41589 /* Override any gcc2 internal prototype to avoid an error. */
41594 /* We use char because int might match the return type of a gcc2
41595 builtin and then its argument prototype would still apply. */
41597 /* The GNU C library defines this for functions which it implements
41598 to always fail with ENOSYS. Some functions are actually named
41599 something starting with __ and the normal name is an alias. */
41600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41603 char (*f) () = $ac_func;
41612 return f != $ac_func;
41617 rm -f conftest.
$ac_objext conftest
$ac_exeext
41618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41619 (eval $ac_link) 2>conftest.er1
41621 grep -v '^ *+' conftest.er1
>conftest.err
41623 cat conftest.err
>&5
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); } &&
41626 { ac_try
='test -z "$ac_cxx_werror_flag"
41627 || test ! -s conftest.err'
41628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41629 (eval $ac_try) 2>&5
41631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632 (exit $ac_status); }; } &&
41633 { ac_try
='test -s conftest$ac_exeext'
41634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41635 (eval $ac_try) 2>&5
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); }; }; then
41639 eval "$as_ac_var=yes"
41641 echo "$as_me: failed program was:" >&5
41642 sed 's/^/| /' conftest.
$ac_ext >&5
41644 eval "$as_ac_var=no"
41646 rm -f conftest.err conftest.
$ac_objext \
41647 conftest
$ac_exeext conftest.
$ac_ext
41649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41651 if test `eval echo '${'$as_ac_var'}'` = yes; then
41652 cat >>confdefs.h
<<_ACEOF
41653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41656 cat >>confdefs.h
<<\_ACEOF
41657 #define HAVE_DLOPEN 1
41664 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41665 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41669 ac_check_lib_save_LIBS
=$LIBS
41671 cat >conftest.
$ac_ext <<_ACEOF
41674 cat confdefs.h
>>conftest.
$ac_ext
41675 cat >>conftest.
$ac_ext <<_ACEOF
41676 /* end confdefs.h. */
41678 /* Override any gcc2 internal prototype to avoid an error. */
41682 /* We use char because int might match the return type of a gcc2
41683 builtin and then its argument prototype would still apply. */
41693 rm -f conftest.
$ac_objext conftest
$ac_exeext
41694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41695 (eval $ac_link) 2>conftest.er1
41697 grep -v '^ *+' conftest.er1
>conftest.err
41699 cat conftest.err
>&5
41700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41701 (exit $ac_status); } &&
41702 { ac_try
='test -z "$ac_cxx_werror_flag"
41703 || test ! -s conftest.err'
41704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41705 (eval $ac_try) 2>&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; } &&
41709 { ac_try
='test -s conftest$ac_exeext'
41710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711 (eval $ac_try) 2>&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; }; then
41715 ac_cv_lib_dl_dlopen
=yes
41717 echo "$as_me: failed program was:" >&5
41718 sed 's/^/| /' conftest.
$ac_ext >&5
41720 ac_cv_lib_dl_dlopen
=no
41722 rm -f conftest.err conftest.
$ac_objext \
41723 conftest
$ac_exeext conftest.
$ac_ext
41724 LIBS
=$ac_check_lib_save_LIBS
41726 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41727 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41728 if test $ac_cv_lib_dl_dlopen = yes; then
41730 cat >>confdefs.h
<<\_ACEOF
41731 #define HAVE_DLOPEN 1
41735 DL_LINK
=" -ldl$DL_LINK"
41740 for ac_func
in shl_load
41742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41743 echo "$as_me:$LINENO: checking for $ac_func" >&5
41744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41745 if eval "test \"\${$as_ac_var+set}\" = set"; then
41746 echo $ECHO_N "(cached) $ECHO_C" >&6
41748 cat >conftest.
$ac_ext <<_ACEOF
41751 cat confdefs.h
>>conftest.
$ac_ext
41752 cat >>conftest.
$ac_ext <<_ACEOF
41753 /* end confdefs.h. */
41754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41756 #define $ac_func innocuous_$ac_func
41758 /* System header to define __stub macros and hopefully few prototypes,
41759 which can conflict with char $ac_func (); below.
41760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41761 <limits.h> exists even on freestanding compilers. */
41764 # include <limits.h>
41766 # include <assert.h>
41771 /* Override any gcc2 internal prototype to avoid an error. */
41776 /* We use char because int might match the return type of a gcc2
41777 builtin and then its argument prototype would still apply. */
41779 /* The GNU C library defines this for functions which it implements
41780 to always fail with ENOSYS. Some functions are actually named
41781 something starting with __ and the normal name is an alias. */
41782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41785 char (*f) () = $ac_func;
41794 return f != $ac_func;
41799 rm -f conftest.
$ac_objext conftest
$ac_exeext
41800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41801 (eval $ac_link) 2>conftest.er1
41803 grep -v '^ *+' conftest.er1
>conftest.err
41805 cat conftest.err
>&5
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); } &&
41808 { ac_try
='test -z "$ac_cxx_werror_flag"
41809 || test ! -s conftest.err'
41810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41811 (eval $ac_try) 2>&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); }; } &&
41815 { ac_try
='test -s conftest$ac_exeext'
41816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41817 (eval $ac_try) 2>&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; }; then
41821 eval "$as_ac_var=yes"
41823 echo "$as_me: failed program was:" >&5
41824 sed 's/^/| /' conftest.
$ac_ext >&5
41826 eval "$as_ac_var=no"
41828 rm -f conftest.err conftest.
$ac_objext \
41829 conftest
$ac_exeext conftest.
$ac_ext
41831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41833 if test `eval echo '${'$as_ac_var'}'` = yes; then
41834 cat >>confdefs.h
<<_ACEOF
41835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41838 cat >>confdefs.h
<<\_ACEOF
41839 #define HAVE_SHL_LOAD 1
41846 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41847 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41848 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41849 echo $ECHO_N "(cached) $ECHO_C" >&6
41851 ac_check_lib_save_LIBS
=$LIBS
41852 LIBS
="-lshl_load $LIBS"
41853 cat >conftest.
$ac_ext <<_ACEOF
41856 cat confdefs.h
>>conftest.
$ac_ext
41857 cat >>conftest.
$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41860 /* Override any gcc2 internal prototype to avoid an error. */
41864 /* We use char because int might match the return type of a gcc2
41865 builtin and then its argument prototype would still apply. */
41875 rm -f conftest.
$ac_objext conftest
$ac_exeext
41876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41877 (eval $ac_link) 2>conftest.er1
41879 grep -v '^ *+' conftest.er1
>conftest.err
41881 cat conftest.err
>&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } &&
41884 { ac_try
='test -z "$ac_cxx_werror_flag"
41885 || test ! -s conftest.err'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; } &&
41891 { ac_try
='test -s conftest$ac_exeext'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; }; then
41897 ac_cv_lib_shl_load_dld
=yes
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.
$ac_ext >&5
41902 ac_cv_lib_shl_load_dld
=no
41904 rm -f conftest.err conftest.
$ac_objext \
41905 conftest
$ac_exeext conftest.
$ac_ext
41906 LIBS
=$ac_check_lib_save_LIBS
41908 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41909 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41910 if test $ac_cv_lib_shl_load_dld = yes; then
41913 DL_LINK
=" -ldld$DL_LINK"
41929 if test "$HAVE_DL_FUNCS" = 1; then
41931 for ac_func
in dlerror
41933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41934 echo "$as_me:$LINENO: checking for $ac_func" >&5
41935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41936 if eval "test \"\${$as_ac_var+set}\" = set"; then
41937 echo $ECHO_N "(cached) $ECHO_C" >&6
41939 cat >conftest.
$ac_ext <<_ACEOF
41942 cat confdefs.h
>>conftest.
$ac_ext
41943 cat >>conftest.
$ac_ext <<_ACEOF
41944 /* end confdefs.h. */
41945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41947 #define $ac_func innocuous_$ac_func
41949 /* System header to define __stub macros and hopefully few prototypes,
41950 which can conflict with char $ac_func (); below.
41951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41952 <limits.h> exists even on freestanding compilers. */
41955 # include <limits.h>
41957 # include <assert.h>
41962 /* Override any gcc2 internal prototype to avoid an error. */
41967 /* We use char because int might match the return type of a gcc2
41968 builtin and then its argument prototype would still apply. */
41970 /* The GNU C library defines this for functions which it implements
41971 to always fail with ENOSYS. Some functions are actually named
41972 something starting with __ and the normal name is an alias. */
41973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41976 char (*f) () = $ac_func;
41985 return f != $ac_func;
41990 rm -f conftest.
$ac_objext conftest
$ac_exeext
41991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41992 (eval $ac_link) 2>conftest.er1
41994 grep -v '^ *+' conftest.er1
>conftest.err
41996 cat conftest.err
>&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } &&
41999 { ac_try
='test -z "$ac_cxx_werror_flag"
42000 || test ! -s conftest.err'
42001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002 (eval $ac_try) 2>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); }; } &&
42006 { ac_try
='test -s conftest$ac_exeext'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; }; then
42012 eval "$as_ac_var=yes"
42014 echo "$as_me: failed program was:" >&5
42015 sed 's/^/| /' conftest.
$ac_ext >&5
42017 eval "$as_ac_var=no"
42019 rm -f conftest.err conftest.
$ac_objext \
42020 conftest
$ac_exeext conftest.
$ac_ext
42022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42024 if test `eval echo '${'$as_ac_var'}'` = yes; then
42025 cat >>confdefs.h
<<_ACEOF
42026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42028 cat >>confdefs.h
<<\_ACEOF
42029 #define HAVE_DLERROR 1
42034 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42035 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42036 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42037 echo $ECHO_N "(cached) $ECHO_C" >&6
42039 ac_check_lib_save_LIBS
=$LIBS
42041 cat >conftest.
$ac_ext <<_ACEOF
42044 cat confdefs.h
>>conftest.
$ac_ext
42045 cat >>conftest.
$ac_ext <<_ACEOF
42046 /* end confdefs.h. */
42048 /* Override any gcc2 internal prototype to avoid an error. */
42052 /* We use char because int might match the return type of a gcc2
42053 builtin and then its argument prototype would still apply. */
42063 rm -f conftest.
$ac_objext conftest
$ac_exeext
42064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42065 (eval $ac_link) 2>conftest.er1
42067 grep -v '^ *+' conftest.er1
>conftest.err
42069 cat conftest.err
>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); } &&
42072 { ac_try
='test -z "$ac_cxx_werror_flag"
42073 || test ! -s conftest.err'
42074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42075 (eval $ac_try) 2>&5
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; } &&
42079 { ac_try
='test -s conftest$ac_exeext'
42080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42081 (eval $ac_try) 2>&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); }; }; then
42085 ac_cv_lib_dl_dlerror
=yes
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.
$ac_ext >&5
42090 ac_cv_lib_dl_dlerror
=no
42092 rm -f conftest.err conftest.
$ac_objext \
42093 conftest
$ac_exeext conftest.
$ac_ext
42094 LIBS
=$ac_check_lib_save_LIBS
42096 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42097 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42098 if test $ac_cv_lib_dl_dlerror = yes; then
42099 cat >>confdefs.h
<<\_ACEOF
42100 #define HAVE_DLERROR 1
42113 if test "$HAVE_DL_FUNCS" = 0; then
42114 if test "$HAVE_SHL_FUNCS" = 0; then
42115 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42116 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42117 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42118 wxUSE_DYNAMIC_LOADER
=no
42119 wxUSE_DYNLIB_CLASS
=no
42121 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42122 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42129 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42130 cat >>confdefs.h
<<\_ACEOF
42131 #define wxUSE_DYNAMIC_LOADER 1
42135 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42136 cat >>confdefs.h
<<\_ACEOF
42137 #define wxUSE_DYNLIB_CLASS 1
42144 if test "$wxUSE_PLUGINS" = "yes" ; then
42145 if test "$wxUSE_SHARED" = "no" ; then
42146 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42147 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42150 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42151 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42152 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42155 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42156 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42157 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42160 if test "$wxUSE_PLUGINS" = "yes" ; then
42161 cat >>confdefs.h
<<\_ACEOF
42162 #define wxUSE_PLUGINS 1
42169 if test "$wxUSE_STL" = "yes"; then
42170 cat >>confdefs.h
<<\_ACEOF
42171 #define wxUSE_STL 1
42176 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42177 cat >>confdefs.h
<<\_ACEOF
42178 #define wxUSE_APPLE_IEEE 1
42183 if test "$wxUSE_TIMER" = "yes"; then
42184 cat >>confdefs.h
<<\_ACEOF
42185 #define wxUSE_TIMER 1
42190 if test "$USE_UNIX" = "1" ; then
42191 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42192 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42193 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42197 cat >conftest.
$ac_ext <<_ACEOF
42200 cat confdefs.h
>>conftest.
$ac_ext
42201 cat >>conftest.
$ac_ext <<_ACEOF
42202 /* end confdefs.h. */
42204 #include <sys/ioctl.h>
42205 #include <sys/soundcard.h>
42211 ioctl(0, SNDCTL_DSP_SPEED, 0);
42217 rm -f conftest.
$ac_objext conftest
$ac_exeext
42218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42219 (eval $ac_link) 2>conftest.er1
42221 grep -v '^ *+' conftest.er1
>conftest.err
42223 cat conftest.err
>&5
42224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225 (exit $ac_status); } &&
42226 { ac_try
='test -z "$ac_cxx_werror_flag"
42227 || test ! -s conftest.err'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; } &&
42233 { ac_try
='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 ac_cv_header_sys_soundcard
=yes
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.
$ac_ext >&5
42246 LIBS
="$saveLibs -lossaudio"
42247 cat >conftest.
$ac_ext <<_ACEOF
42250 cat confdefs.h
>>conftest.
$ac_ext
42251 cat >>conftest.
$ac_ext <<_ACEOF
42252 /* end confdefs.h. */
42254 #include <sys/ioctl.h>
42255 #include <sys/soundcard.h>
42261 ioctl(0, SNDCTL_DSP_SPEED, 0);
42267 rm -f conftest.
$ac_objext conftest
$ac_exeext
42268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42269 (eval $ac_link) 2>conftest.er1
42271 grep -v '^ *+' conftest.er1
>conftest.err
42273 cat conftest.err
>&5
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); } &&
42276 { ac_try
='test -z "$ac_cxx_werror_flag"
42277 || test ! -s conftest.err'
42278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42279 (eval $ac_try) 2>&5
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; } &&
42283 { ac_try
='test -s conftest$ac_exeext'
42284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42285 (eval $ac_try) 2>&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); }; }; then
42289 ac_cv_header_sys_soundcard
=yes
42291 echo "$as_me: failed program was:" >&5
42292 sed 's/^/| /' conftest.
$ac_ext >&5
42296 ac_cv_header_sys_soundcard
=no
42300 rm -f conftest.err conftest.
$ac_objext \
42301 conftest
$ac_exeext conftest.
$ac_ext
42305 rm -f conftest.err conftest.
$ac_objext \
42306 conftest
$ac_exeext conftest.
$ac_ext
42309 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42310 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42312 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42313 cat >>confdefs.h
<<\_ACEOF
42314 #define HAVE_SYS_SOUNDCARD_H 1
42318 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42322 if test "$wxUSE_SOUND" = "yes"; then
42323 if test "$USE_UNIX" = "1" ; then
42324 if test "$wxUSE_LIBSDL" != "no"; then
42326 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42327 if test "${with_sdl_prefix+set}" = set; then
42328 withval
="$with_sdl_prefix"
42329 sdl_prefix
="$withval"
42334 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42335 if test "${with_sdl_exec_prefix+set}" = set; then
42336 withval
="$with_sdl_exec_prefix"
42337 sdl_exec_prefix
="$withval"
42341 # Check whether --enable-sdltest or --disable-sdltest was given.
42342 if test "${enable_sdltest+set}" = set; then
42343 enableval
="$enable_sdltest"
42349 if test x
$sdl_exec_prefix != x
; then
42350 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42351 if test x
${SDL_CONFIG+set} != xset
; then
42352 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42355 if test x
$sdl_prefix != x
; then
42356 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42357 if test x
${SDL_CONFIG+set} != xset
; then
42358 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42362 if test "x$prefix" != xNONE
; then
42363 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42365 # Extract the first word of "sdl-config", so it can be a program name with args.
42366 set dummy sdl
-config; ac_word
=$2
42367 echo "$as_me:$LINENO: checking for $ac_word" >&5
42368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42369 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42370 echo $ECHO_N "(cached) $ECHO_C" >&6
42372 case $SDL_CONFIG in
42374 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42378 for as_dir
in $PATH
42381 test -z "$as_dir" && as_dir
=.
42382 for ac_exec_ext
in '' $ac_executable_extensions; do
42383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42384 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42391 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42395 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42397 if test -n "$SDL_CONFIG"; then
42398 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42399 echo "${ECHO_T}$SDL_CONFIG" >&6
42401 echo "$as_me:$LINENO: result: no" >&5
42402 echo "${ECHO_T}no" >&6
42405 min_sdl_version
=1.2.0
42406 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42407 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42409 if test "$SDL_CONFIG" = "no" ; then
42412 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42413 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42415 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42417 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42419 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42421 if test "x$enable_sdltest" = "xyes" ; then
42422 ac_save_CFLAGS
="$CFLAGS"
42423 ac_save_CXXFLAGS
="$CXXFLAGS"
42424 ac_save_LIBS
="$LIBS"
42425 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42426 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42427 LIBS
="$LIBS $SDL_LIBS"
42429 if test "$cross_compiling" = yes; then
42430 echo $ac_n "cross compiling; assumed OK... $ac_c"
42432 cat >conftest.
$ac_ext <<_ACEOF
42435 cat confdefs.h
>>conftest.
$ac_ext
42436 cat >>conftest.
$ac_ext <<_ACEOF
42437 /* end confdefs.h. */
42440 #include <stdlib.h>
42441 #include <string.h>
42445 my_strdup (char *str)
42451 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42452 strcpy (new_str, str);
42460 int main (int argc, char *argv[])
42462 int major, minor, micro;
42465 /* This hangs on some systems (?)
42466 system ("touch conf.sdltest");
42468 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42470 /* HP/UX 9 (%@#!) writes to sscanf strings */
42471 tmp_version = my_strdup("$min_sdl_version");
42472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42473 printf("%s, bad version string\n", "$min_sdl_version");
42477 if (($sdl_major_version > major) ||
42478 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42479 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42485 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42486 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42487 printf("*** best to upgrade to the required version.\n");
42488 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42489 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42490 printf("*** config.cache before re-running configure\n");
42497 rm -f conftest
$ac_exeext
42498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42499 (eval $ac_link) 2>&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42504 (eval $ac_try) 2>&5
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); }; }; then
42510 echo "$as_me: program exited with status $ac_status" >&5
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.
$ac_ext >&5
42514 ( exit $ac_status )
42517 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42519 CFLAGS
="$ac_save_CFLAGS"
42520 CXXFLAGS
="$ac_save_CXXFLAGS"
42521 LIBS
="$ac_save_LIBS"
42524 if test "x$no_sdl" = x
; then
42525 echo "$as_me:$LINENO: result: yes" >&5
42526 echo "${ECHO_T}yes" >&6
42528 EXTRALIBS_SDL
="$SDL_LIBS"
42529 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42530 cat >>confdefs.h
<<\_ACEOF
42531 #define wxUSE_LIBSDL 1
42536 echo "$as_me:$LINENO: result: no" >&5
42537 echo "${ECHO_T}no" >&6
42538 if test "$SDL_CONFIG" = "no" ; then
42539 echo "*** The sdl-config script installed by SDL could not be found"
42540 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42541 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42542 echo "*** full path to sdl-config."
42544 if test -f conf.sdltest
; then
42547 echo "*** Could not run SDL test program, checking why..."
42548 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42549 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42550 LIBS
="$LIBS $SDL_LIBS"
42551 cat >conftest.
$ac_ext <<_ACEOF
42554 cat confdefs.h
>>conftest.
$ac_ext
42555 cat >>conftest.
$ac_ext <<_ACEOF
42556 /* end confdefs.h. */
42561 int main(int argc, char *argv[])
42564 #define main K_and_R_C_main
42574 rm -f conftest.
$ac_objext conftest
$ac_exeext
42575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42576 (eval $ac_link) 2>conftest.er1
42578 grep -v '^ *+' conftest.er1
>conftest.err
42580 cat conftest.err
>&5
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); } &&
42583 { ac_try
='test -z "$ac_cxx_werror_flag"
42584 || test ! -s conftest.err'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; } &&
42590 { ac_try
='test -s conftest$ac_exeext'
42591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42592 (eval $ac_try) 2>&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); }; }; then
42596 echo "*** The test program compiled, but did not run. This usually means"
42597 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42598 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42601 echo "*** is required on your system"
42603 echo "*** If you have an old version installed, it is best to remove it, although"
42604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.
$ac_ext >&5
42609 echo "*** The test program failed to compile or link. See the file config.log for the"
42610 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42611 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42612 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42614 rm -f conftest.err conftest.
$ac_objext \
42615 conftest
$ac_exeext conftest.
$ac_ext
42616 CFLAGS
="$ac_save_CFLAGS"
42617 CXXFLAGS
="$ac_save_CXXFLAGS"
42618 LIBS
="$ac_save_LIBS"
42629 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42635 cat >>confdefs.h
<<\_ACEOF
42636 #define wxUSE_SOUND 1
42639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42642 if test "$WXGTK20" = 1; then
42643 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42644 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42648 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42649 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42651 if test -n "$PKG_CONFIG"; then
42652 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42653 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42655 if test -n "$PKG_CONFIG" && \
42656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42657 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); }; then
42661 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42669 if test -n "$PKG_CONFIG"; then
42670 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42671 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42673 if test -n "$PKG_CONFIG" && \
42674 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42675 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); }; then
42679 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42690 if test $pkg_failed = yes; then
42692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42693 _pkg_short_errors_supported
=yes
42695 _pkg_short_errors_supported
=no
42697 if test $_pkg_short_errors_supported = yes; then
42698 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42700 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42702 # Put the nasty error message in config.log where it belongs
42703 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42706 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42707 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42708 wxUSE_LIBGNOMEPRINT
="no"
42711 elif test $pkg_failed = untried
; then
42713 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42714 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42715 wxUSE_LIBGNOMEPRINT
="no"
42719 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42720 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42721 echo "$as_me:$LINENO: result: yes" >&5
42722 echo "${ECHO_T}yes" >&6
42724 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42725 cat >>confdefs.h
<<\_ACEOF
42726 #define wxUSE_LIBGNOMEPRINT 1
42735 if test "$WXGTK20" = 1; then
42736 if test "$wxUSE_MIMETYPE" = "yes" ; then
42737 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42741 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42742 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42744 if test -n "$PKG_CONFIG"; then
42745 if test -n "$GNOMEVFS_CFLAGS"; then
42746 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42748 if test -n "$PKG_CONFIG" && \
42749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42750 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); }; then
42754 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42762 if test -n "$PKG_CONFIG"; then
42763 if test -n "$GNOMEVFS_LIBS"; then
42764 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42766 if test -n "$PKG_CONFIG" && \
42767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42768 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); }; then
42772 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42783 if test $pkg_failed = yes; then
42785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42786 _pkg_short_errors_supported
=yes
42788 _pkg_short_errors_supported
=no
42790 if test $_pkg_short_errors_supported = yes; then
42791 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42793 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42795 # Put the nasty error message in config.log where it belongs
42796 echo "$GNOMEVFS_PKG_ERRORS" >&5
42799 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42800 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42801 wxUSE_LIBGNOMEVFS
="no"
42804 elif test $pkg_failed = untried
; then
42806 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42807 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42808 wxUSE_LIBGNOMEVFS
="no"
42812 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42813 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42814 echo "$as_me:$LINENO: result: yes" >&5
42815 echo "${ECHO_T}yes" >&6
42817 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42818 cat >>confdefs.h
<<\_ACEOF
42819 #define wxUSE_LIBGNOMEVFS 1
42828 if test "$WXGTK20" = 1; then
42829 if test "$wxUSE_LIBHILDON" = "yes" ; then
42832 echo "$as_me:$LINENO: checking for HILDON" >&5
42833 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42835 if test -n "$PKG_CONFIG"; then
42836 if test -n "$HILDON_CFLAGS"; then
42837 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42839 if test -n "$PKG_CONFIG" && \
42840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42841 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; then
42845 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42853 if test -n "$PKG_CONFIG"; then
42854 if test -n "$HILDON_LIBS"; then
42855 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42857 if test -n "$PKG_CONFIG" && \
42858 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42859 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); }; then
42863 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42874 if test $pkg_failed = yes; then
42876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42877 _pkg_short_errors_supported
=yes
42879 _pkg_short_errors_supported
=no
42881 if test $_pkg_short_errors_supported = yes; then
42882 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42884 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42886 # Put the nasty error message in config.log where it belongs
42887 echo "$HILDON_PKG_ERRORS" >&5
42890 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42891 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42892 wxUSE_LIBHILDON
="no"
42895 elif test $pkg_failed = untried
; then
42897 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42898 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42899 wxUSE_LIBHILDON
="no"
42903 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42904 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42905 echo "$as_me:$LINENO: result: yes" >&5
42906 echo "${ECHO_T}yes" >&6
42908 EXTRALIBS_HILDON
="$HILDON_LIBS"
42909 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42910 cat >>confdefs.h
<<\_ACEOF
42911 #define wxUSE_LIBHILDON 1
42919 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42920 cat >>confdefs.h
<<\_ACEOF
42921 #define wxUSE_CMDLINE_PARSER 1
42926 if test "$wxUSE_STOPWATCH" = "yes"; then
42927 cat >>confdefs.h
<<\_ACEOF
42928 #define wxUSE_STOPWATCH 1
42933 if test "$wxUSE_DATETIME" = "yes"; then
42934 cat >>confdefs.h
<<\_ACEOF
42935 #define wxUSE_DATETIME 1
42940 if test "$wxUSE_FILE" = "yes"; then
42941 cat >>confdefs.h
<<\_ACEOF
42942 #define wxUSE_FILE 1
42947 if test "$wxUSE_FFILE" = "yes"; then
42948 cat >>confdefs.h
<<\_ACEOF
42949 #define wxUSE_FFILE 1
42954 if test "$wxUSE_FILESYSTEM" = "yes"; then
42955 cat >>confdefs.h
<<\_ACEOF
42956 #define wxUSE_FILESYSTEM 1
42961 if test "$wxUSE_FS_ZIP" = "yes"; then
42962 cat >>confdefs.h
<<\_ACEOF
42963 #define wxUSE_FS_ZIP 1
42968 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42969 cat >>confdefs.h
<<\_ACEOF
42970 #define wxUSE_ARCHIVE_STREAMS 1
42975 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42976 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42977 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42978 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42979 elif test "$wxUSE_ZLIB" = "no"; then
42980 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42981 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42983 cat >>confdefs.h
<<\_ACEOF
42984 #define wxUSE_ZIPSTREAM 1
42990 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42991 if test "$USE_UNIX" != 1; then
42992 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42993 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42994 wxUSE_ON_FATAL_EXCEPTION
=no
42996 cat >>confdefs.h
<<\_ACEOF
42997 #define wxUSE_ON_FATAL_EXCEPTION 1
43003 if test "$wxUSE_STACKWALKER" = "yes"; then
43004 cat >>confdefs.h
<<\_ACEOF
43005 #define wxUSE_STACKWALKER 1
43010 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43011 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43012 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43013 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43014 wxUSE_DEBUGREPORT
=no
43016 cat >>confdefs.h
<<\_ACEOF
43017 #define wxUSE_DEBUGREPORT 1
43020 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43026 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43027 cat >>confdefs.h
<<\_ACEOF
43028 #define wxUSE_SNGLINST_CHECKER 1
43033 if test "$wxUSE_BUSYINFO" = "yes"; then
43034 cat >>confdefs.h
<<\_ACEOF
43035 #define wxUSE_BUSYINFO 1
43040 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43041 cat >>confdefs.h
<<\_ACEOF
43042 #define wxUSE_STD_IOSTREAM 1
43047 if test "$wxUSE_STD_STRING" = "yes"; then
43048 cat >>confdefs.h
<<\_ACEOF
43049 #define wxUSE_STD_STRING 1
43054 if test "$wxUSE_STDPATHS" = "yes"; then
43055 cat >>confdefs.h
<<\_ACEOF
43056 #define wxUSE_STDPATHS 1
43061 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43062 cat >>confdefs.h
<<\_ACEOF
43063 #define wxUSE_TEXTBUFFER 1
43068 if test "$wxUSE_TEXTFILE" = "yes"; then
43069 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43070 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43071 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43073 cat >>confdefs.h
<<\_ACEOF
43074 #define wxUSE_TEXTFILE 1
43080 if test "$wxUSE_CONFIG" = "yes" ; then
43081 if test "$wxUSE_TEXTFILE" != "yes"; then
43082 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43083 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43085 cat >>confdefs.h
<<\_ACEOF
43086 #define wxUSE_CONFIG 1
43089 cat >>confdefs.h
<<\_ACEOF
43090 #define wxUSE_CONFIG_NATIVE 1
43093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43097 if test "$wxUSE_INTL" = "yes" ; then
43098 if test "$wxUSE_FILE" != "yes"; then
43099 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43100 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43102 cat >>confdefs.h
<<\_ACEOF
43103 #define wxUSE_INTL 1
43106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43107 GUIDIST
="$GUIDIST INTL_DIST"
43111 if test "$wxUSE_LOG" = "yes"; then
43112 cat >>confdefs.h
<<\_ACEOF
43113 #define wxUSE_LOG 1
43117 if test "$wxUSE_LOGGUI" = "yes"; then
43118 cat >>confdefs.h
<<\_ACEOF
43119 #define wxUSE_LOGGUI 1
43124 if test "$wxUSE_LOGWINDOW" = "yes"; then
43125 cat >>confdefs.h
<<\_ACEOF
43126 #define wxUSE_LOGWINDOW 1
43131 if test "$wxUSE_LOGDIALOG" = "yes"; then
43132 cat >>confdefs.h
<<\_ACEOF
43133 #define wxUSE_LOG_DIALOG 1
43138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43141 if test "$wxUSE_LONGLONG" = "yes"; then
43142 cat >>confdefs.h
<<\_ACEOF
43143 #define wxUSE_LONGLONG 1
43148 if test "$wxUSE_GEOMETRY" = "yes"; then
43149 cat >>confdefs.h
<<\_ACEOF
43150 #define wxUSE_GEOMETRY 1
43155 if test "$wxUSE_STREAMS" = "yes" ; then
43156 cat >>confdefs.h
<<\_ACEOF
43157 #define wxUSE_STREAMS 1
43162 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43163 cat >>confdefs.h
<<\_ACEOF
43164 #define wxUSE_PRINTF_POS_PARAMS 1
43171 if test "$wxUSE_DATETIME" = "yes"; then
43173 for ac_func
in strptime
43175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43176 echo "$as_me:$LINENO: checking for $ac_func" >&5
43177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43178 if eval "test \"\${$as_ac_var+set}\" = set"; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43181 cat >conftest.
$ac_ext <<_ACEOF
43184 cat confdefs.h
>>conftest.
$ac_ext
43185 cat >>conftest.
$ac_ext <<_ACEOF
43186 /* end confdefs.h. */
43187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43189 #define $ac_func innocuous_$ac_func
43191 /* System header to define __stub macros and hopefully few prototypes,
43192 which can conflict with char $ac_func (); below.
43193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43194 <limits.h> exists even on freestanding compilers. */
43197 # include <limits.h>
43199 # include <assert.h>
43204 /* Override any gcc2 internal prototype to avoid an error. */
43209 /* We use char because int might match the return type of a gcc2
43210 builtin and then its argument prototype would still apply. */
43212 /* The GNU C library defines this for functions which it implements
43213 to always fail with ENOSYS. Some functions are actually named
43214 something starting with __ and the normal name is an alias. */
43215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43218 char (*f) () = $ac_func;
43227 return f != $ac_func;
43232 rm -f conftest.
$ac_objext conftest
$ac_exeext
43233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43234 (eval $ac_link) 2>conftest.er1
43236 grep -v '^ *+' conftest.er1
>conftest.err
43238 cat conftest.err
>&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); } &&
43241 { ac_try
='test -z "$ac_cxx_werror_flag"
43242 || test ! -s conftest.err'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; } &&
43248 { ac_try
='test -s conftest$ac_exeext'
43249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43250 (eval $ac_try) 2>&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); }; }; then
43254 eval "$as_ac_var=yes"
43256 echo "$as_me: failed program was:" >&5
43257 sed 's/^/| /' conftest.
$ac_ext >&5
43259 eval "$as_ac_var=no"
43261 rm -f conftest.err conftest.
$ac_objext \
43262 conftest
$ac_exeext conftest.
$ac_ext
43264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43266 if test `eval echo '${'$as_ac_var'}'` = yes; then
43267 cat >>confdefs.h
<<_ACEOF
43268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43274 if test "$ac_cv_func_strptime" = "yes"; then
43275 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43276 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43277 if test "${wx_cv_func_strptime_decl+set}" = set; then
43278 echo $ECHO_N "(cached) $ECHO_C" >&6
43281 cat >conftest.
$ac_ext <<_ACEOF
43284 cat confdefs.h
>>conftest.
$ac_ext
43285 cat >>conftest.
$ac_ext <<_ACEOF
43286 /* end confdefs.h. */
43295 strptime("foo", "bar", &t);
43301 rm -f conftest.
$ac_objext
43302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43303 (eval $ac_compile) 2>conftest.er1
43305 grep -v '^ *+' conftest.er1
>conftest.err
43307 cat conftest.err
>&5
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); } &&
43310 { ac_try
='test -z "$ac_cxx_werror_flag"
43311 || test ! -s conftest.err'
43312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43313 (eval $ac_try) 2>&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; } &&
43317 { ac_try
='test -s conftest.$ac_objext'
43318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43319 (eval $ac_try) 2>&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); }; }; then
43323 wx_cv_func_strptime_decl
=yes
43325 echo "$as_me: failed program was:" >&5
43326 sed 's/^/| /' conftest.
$ac_ext >&5
43328 wx_cv_func_strptime_decl
=no
43331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43335 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43336 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43338 if test "$wx_cv_func_strptime_decl" = "yes"; then
43339 cat >>confdefs.h
<<\_ACEOF
43340 #define HAVE_STRPTIME_DECL 1
43345 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43346 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43347 if test "${wx_cv_var_timezone+set}" = set; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43351 cat >conftest.
$ac_ext <<_ACEOF
43354 cat confdefs.h
>>conftest.
$ac_ext
43355 cat >>conftest.
$ac_ext <<_ACEOF
43356 /* end confdefs.h. */
43371 rm -f conftest.
$ac_objext
43372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43373 (eval $ac_compile) 2>conftest.er1
43375 grep -v '^ *+' conftest.er1
>conftest.err
43377 cat conftest.err
>&5
43378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43379 (exit $ac_status); } &&
43380 { ac_try
='test -z "$ac_cxx_werror_flag"
43381 || test ! -s conftest.err'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; } &&
43387 { ac_try
='test -s conftest.$ac_objext'
43388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43389 (eval $ac_try) 2>&5
43391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392 (exit $ac_status); }; }; then
43394 wx_cv_var_timezone
=timezone
43397 echo "$as_me: failed program was:" >&5
43398 sed 's/^/| /' conftest.
$ac_ext >&5
43401 cat >conftest.
$ac_ext <<_ACEOF
43404 cat confdefs.h
>>conftest.
$ac_ext
43405 cat >>conftest.
$ac_ext <<_ACEOF
43406 /* end confdefs.h. */
43421 rm -f conftest.
$ac_objext
43422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43423 (eval $ac_compile) 2>conftest.er1
43425 grep -v '^ *+' conftest.er1
>conftest.err
43427 cat conftest.err
>&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } &&
43430 { ac_try
='test -z "$ac_cxx_werror_flag"
43431 || test ! -s conftest.err'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; } &&
43437 { ac_try
='test -s conftest.$ac_objext'
43438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43439 (eval $ac_try) 2>&5
43441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43442 (exit $ac_status); }; }; then
43444 wx_cv_var_timezone
=_timezone
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.
$ac_ext >&5
43451 cat >conftest.
$ac_ext <<_ACEOF
43454 cat confdefs.h
>>conftest.
$ac_ext
43455 cat >>conftest.
$ac_ext <<_ACEOF
43456 /* end confdefs.h. */
43471 rm -f conftest.
$ac_objext
43472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43473 (eval $ac_compile) 2>conftest.er1
43475 grep -v '^ *+' conftest.er1
>conftest.err
43477 cat conftest.err
>&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } &&
43480 { ac_try
='test -z "$ac_cxx_werror_flag"
43481 || test ! -s conftest.err'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; } &&
43487 { ac_try
='test -s conftest.$ac_objext'
43488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43489 (eval $ac_try) 2>&5
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); }; }; then
43494 wx_cv_var_timezone
=__timezone
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.
$ac_ext >&5
43501 if test "$USE_DOS" = 0 ; then
43502 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43503 echo "$as_me: WARNING: no timezone variable" >&2;}
43508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43520 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43521 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43523 if test "x$wx_cv_var_timezone" != x
; then
43524 cat >>confdefs.h
<<_ACEOF
43525 #define WX_TIMEZONE $wx_cv_var_timezone
43531 for ac_func
in localtime
43533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43534 echo "$as_me:$LINENO: checking for $ac_func" >&5
43535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43536 if eval "test \"\${$as_ac_var+set}\" = set"; then
43537 echo $ECHO_N "(cached) $ECHO_C" >&6
43539 cat >conftest.
$ac_ext <<_ACEOF
43542 cat confdefs.h
>>conftest.
$ac_ext
43543 cat >>conftest.
$ac_ext <<_ACEOF
43544 /* end confdefs.h. */
43545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43547 #define $ac_func innocuous_$ac_func
43549 /* System header to define __stub macros and hopefully few prototypes,
43550 which can conflict with char $ac_func (); below.
43551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43552 <limits.h> exists even on freestanding compilers. */
43555 # include <limits.h>
43557 # include <assert.h>
43562 /* Override any gcc2 internal prototype to avoid an error. */
43567 /* We use char because int might match the return type of a gcc2
43568 builtin and then its argument prototype would still apply. */
43570 /* The GNU C library defines this for functions which it implements
43571 to always fail with ENOSYS. Some functions are actually named
43572 something starting with __ and the normal name is an alias. */
43573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43576 char (*f) () = $ac_func;
43585 return f != $ac_func;
43590 rm -f conftest.
$ac_objext conftest
$ac_exeext
43591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43592 (eval $ac_link) 2>conftest.er1
43594 grep -v '^ *+' conftest.er1
>conftest.err
43596 cat conftest.err
>&5
43597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598 (exit $ac_status); } &&
43599 { ac_try
='test -z "$ac_cxx_werror_flag"
43600 || test ! -s conftest.err'
43601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43602 (eval $ac_try) 2>&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); }; } &&
43606 { ac_try
='test -s conftest$ac_exeext'
43607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43608 (eval $ac_try) 2>&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); }; }; then
43612 eval "$as_ac_var=yes"
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.
$ac_ext >&5
43617 eval "$as_ac_var=no"
43619 rm -f conftest.err conftest.
$ac_objext \
43620 conftest
$ac_exeext conftest.
$ac_ext
43622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43624 if test `eval echo '${'$as_ac_var'}'` = yes; then
43625 cat >>confdefs.h
<<_ACEOF
43626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43633 if test "$ac_cv_func_localtime" = "yes"; then
43634 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43635 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43636 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43637 echo $ECHO_N "(cached) $ECHO_C" >&6
43640 cat >conftest.
$ac_ext <<_ACEOF
43643 cat confdefs.h
>>conftest.
$ac_ext
43644 cat >>conftest.
$ac_ext <<_ACEOF
43645 /* end confdefs.h. */
43660 rm -f conftest.
$ac_objext
43661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43662 (eval $ac_compile) 2>conftest.er1
43664 grep -v '^ *+' conftest.er1
>conftest.err
43666 cat conftest.err
>&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } &&
43669 { ac_try
='test -z "$ac_cxx_werror_flag"
43670 || test ! -s conftest.err'
43671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43672 (eval $ac_try) 2>&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); }; } &&
43676 { ac_try
='test -s conftest.$ac_objext'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; }; then
43683 wx_cv_struct_tm_has_gmtoff
=yes
43686 echo "$as_me: failed program was:" >&5
43687 sed 's/^/| /' conftest.
$ac_ext >&5
43689 wx_cv_struct_tm_has_gmtoff
=no
43692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43695 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43696 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43699 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43700 cat >>confdefs.h
<<\_ACEOF
43701 #define WX_GMTOFF_IN_TM 1
43708 for ac_func
in gettimeofday ftime
43710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43711 echo "$as_me:$LINENO: checking for $ac_func" >&5
43712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43713 if eval "test \"\${$as_ac_var+set}\" = set"; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 cat >conftest.
$ac_ext <<_ACEOF
43719 cat confdefs.h
>>conftest.
$ac_ext
43720 cat >>conftest.
$ac_ext <<_ACEOF
43721 /* end confdefs.h. */
43722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43724 #define $ac_func innocuous_$ac_func
43726 /* System header to define __stub macros and hopefully few prototypes,
43727 which can conflict with char $ac_func (); below.
43728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43729 <limits.h> exists even on freestanding compilers. */
43732 # include <limits.h>
43734 # include <assert.h>
43739 /* Override any gcc2 internal prototype to avoid an error. */
43744 /* We use char because int might match the return type of a gcc2
43745 builtin and then its argument prototype would still apply. */
43747 /* The GNU C library defines this for functions which it implements
43748 to always fail with ENOSYS. Some functions are actually named
43749 something starting with __ and the normal name is an alias. */
43750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43753 char (*f) () = $ac_func;
43762 return f != $ac_func;
43767 rm -f conftest.
$ac_objext conftest
$ac_exeext
43768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43769 (eval $ac_link) 2>conftest.er1
43771 grep -v '^ *+' conftest.er1
>conftest.err
43773 cat conftest.err
>&5
43774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775 (exit $ac_status); } &&
43776 { ac_try
='test -z "$ac_cxx_werror_flag"
43777 || test ! -s conftest.err'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try
='test -s conftest$ac_exeext'
43784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785 (eval $ac_try) 2>&5
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); }; }; then
43789 eval "$as_ac_var=yes"
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.
$ac_ext >&5
43794 eval "$as_ac_var=no"
43796 rm -f conftest.err conftest.
$ac_objext \
43797 conftest
$ac_exeext conftest.
$ac_ext
43799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43801 if test `eval echo '${'$as_ac_var'}'` = yes; then
43802 cat >>confdefs.h
<<_ACEOF
43803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43810 if test "$ac_cv_func_gettimeofday" = "yes"; then
43811 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43812 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43813 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43814 echo $ECHO_N "(cached) $ECHO_C" >&6
43817 cat >conftest.
$ac_ext <<_ACEOF
43820 cat confdefs.h
>>conftest.
$ac_ext
43821 cat >>conftest.
$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43824 #include <sys/time.h>
43825 #include <unistd.h>
43832 gettimeofday(&tv, NULL);
43838 rm -f conftest.
$ac_objext
43839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43840 (eval $ac_compile) 2>conftest.er1
43842 grep -v '^ *+' conftest.er1
>conftest.err
43844 cat conftest.err
>&5
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); } &&
43847 { ac_try
='test -z "$ac_cxx_werror_flag"
43848 || test ! -s conftest.err'
43849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850 (eval $ac_try) 2>&5
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; } &&
43854 { ac_try
='test -s conftest.$ac_objext'
43855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43856 (eval $ac_try) 2>&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); }; }; then
43860 wx_cv_func_gettimeofday_has_2_args
=yes
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.
$ac_ext >&5
43865 cat >conftest.
$ac_ext <<_ACEOF
43868 cat confdefs.h
>>conftest.
$ac_ext
43869 cat >>conftest.
$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43872 #include <sys/time.h>
43873 #include <unistd.h>
43886 rm -f conftest.
$ac_objext
43887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43888 (eval $ac_compile) 2>conftest.er1
43890 grep -v '^ *+' conftest.er1
>conftest.err
43892 cat conftest.err
>&5
43893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43894 (exit $ac_status); } &&
43895 { ac_try
='test -z "$ac_cxx_werror_flag"
43896 || test ! -s conftest.err'
43897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43898 (eval $ac_try) 2>&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); }; } &&
43902 { ac_try
='test -s conftest.$ac_objext'
43903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43904 (eval $ac_try) 2>&5
43906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43907 (exit $ac_status); }; }; then
43908 wx_cv_func_gettimeofday_has_2_args
=no
43910 echo "$as_me: failed program was:" >&5
43911 sed 's/^/| /' conftest.
$ac_ext >&5
43914 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43915 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43916 wx_cv_func_gettimeofday_has_2_args
=unknown
43920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43926 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43927 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43929 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43930 cat >>confdefs.h
<<\_ACEOF
43931 #define WX_GETTIMEOFDAY_NO_TZ 1
43937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43941 if test "$wxUSE_SOCKETS" = "yes"; then
43942 if test "$wxUSE_MGL" = "1"; then
43943 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43944 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43949 if test "$wxUSE_SOCKETS" = "yes"; then
43950 if test "$TOOLKIT" != "MSW"; then
43951 echo "$as_me:$LINENO: checking for socket" >&5
43952 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43953 if test "${ac_cv_func_socket+set}" = set; then
43954 echo $ECHO_N "(cached) $ECHO_C" >&6
43956 cat >conftest.
$ac_ext <<_ACEOF
43959 cat confdefs.h
>>conftest.
$ac_ext
43960 cat >>conftest.
$ac_ext <<_ACEOF
43961 /* end confdefs.h. */
43962 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43964 #define socket innocuous_socket
43966 /* System header to define __stub macros and hopefully few prototypes,
43967 which can conflict with char socket (); below.
43968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43969 <limits.h> exists even on freestanding compilers. */
43972 # include <limits.h>
43974 # include <assert.h>
43979 /* Override any gcc2 internal prototype to avoid an error. */
43984 /* We use char because int might match the return type of a gcc2
43985 builtin and then its argument prototype would still apply. */
43987 /* The GNU C library defines this for functions which it implements
43988 to always fail with ENOSYS. Some functions are actually named
43989 something starting with __ and the normal name is an alias. */
43990 #if defined (__stub_socket) || defined (__stub___socket)
43993 char (*f) () = socket;
44002 return f != socket;
44007 rm -f conftest.
$ac_objext conftest
$ac_exeext
44008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44009 (eval $ac_link) 2>conftest.er1
44011 grep -v '^ *+' conftest.er1
>conftest.err
44013 cat conftest.err
>&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); } &&
44016 { ac_try
='test -z "$ac_cxx_werror_flag"
44017 || test ! -s conftest.err'
44018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44019 (eval $ac_try) 2>&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); }; } &&
44023 { ac_try
='test -s conftest$ac_exeext'
44024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44025 (eval $ac_try) 2>&5
44027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44028 (exit $ac_status); }; }; then
44029 ac_cv_func_socket
=yes
44031 echo "$as_me: failed program was:" >&5
44032 sed 's/^/| /' conftest.
$ac_ext >&5
44034 ac_cv_func_socket
=no
44036 rm -f conftest.err conftest.
$ac_objext \
44037 conftest
$ac_exeext conftest.
$ac_ext
44039 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44040 echo "${ECHO_T}$ac_cv_func_socket" >&6
44041 if test $ac_cv_func_socket = yes; then
44045 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44046 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44047 if test "${ac_cv_lib_socket_socket+set}" = set; then
44048 echo $ECHO_N "(cached) $ECHO_C" >&6
44050 ac_check_lib_save_LIBS
=$LIBS
44051 LIBS
="-lsocket $LIBS"
44052 cat >conftest.
$ac_ext <<_ACEOF
44055 cat confdefs.h
>>conftest.
$ac_ext
44056 cat >>conftest.
$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44059 /* Override any gcc2 internal prototype to avoid an error. */
44063 /* We use char because int might match the return type of a gcc2
44064 builtin and then its argument prototype would still apply. */
44074 rm -f conftest.
$ac_objext conftest
$ac_exeext
44075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44076 (eval $ac_link) 2>conftest.er1
44078 grep -v '^ *+' conftest.er1
>conftest.err
44080 cat conftest.err
>&5
44081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082 (exit $ac_status); } &&
44083 { ac_try
='test -z "$ac_cxx_werror_flag"
44084 || test ! -s conftest.err'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; } &&
44090 { ac_try
='test -s conftest$ac_exeext'
44091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44092 (eval $ac_try) 2>&5
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); }; }; then
44096 ac_cv_lib_socket_socket
=yes
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.
$ac_ext >&5
44101 ac_cv_lib_socket_socket
=no
44103 rm -f conftest.err conftest.
$ac_objext \
44104 conftest
$ac_exeext conftest.
$ac_ext
44105 LIBS
=$ac_check_lib_save_LIBS
44107 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44108 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44109 if test $ac_cv_lib_socket_socket = yes; then
44110 if test "$INET_LINK" != " -lsocket"; then
44111 INET_LINK
="$INET_LINK -lsocket"
44115 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44116 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44129 if test "$wxUSE_SOCKETS" = "yes" ; then
44130 if test "$TOOLKIT" != "MSW"; then
44131 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44132 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44133 if test "${wx_cv_type_getsockname3+set}" = set; then
44134 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 cat >conftest.
$ac_ext <<_ACEOF
44140 cat confdefs.h
>>conftest.
$ac_ext
44141 cat >>conftest.
$ac_ext <<_ACEOF
44142 /* end confdefs.h. */
44144 #include <sys/types.h>
44145 #include <sys/socket.h>
44152 getsockname(0, 0, &len);
44158 rm -f conftest.
$ac_objext
44159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44160 (eval $ac_compile) 2>conftest.er1
44162 grep -v '^ *+' conftest.er1
>conftest.err
44164 cat conftest.err
>&5
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); } &&
44167 { ac_try
='test -z "$ac_cxx_werror_flag"
44168 || test ! -s conftest.err'
44169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44170 (eval $ac_try) 2>&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); }; } &&
44174 { ac_try
='test -s conftest.$ac_objext'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; }; then
44180 wx_cv_type_getsockname3
=socklen_t
44182 echo "$as_me: failed program was:" >&5
44183 sed 's/^/| /' conftest.
$ac_ext >&5
44186 CXXFLAGS_OLD
="$CXXFLAGS"
44187 if test "$GCC" = yes ; then
44188 CXXFLAGS
="-Werror $CXXFLAGS"
44191 cat >conftest.
$ac_ext <<_ACEOF
44194 cat confdefs.h
>>conftest.
$ac_ext
44195 cat >>conftest.
$ac_ext <<_ACEOF
44196 /* end confdefs.h. */
44198 #include <sys/types.h>
44199 #include <sys/socket.h>
44206 getsockname(0, 0, &len);
44212 rm -f conftest.
$ac_objext
44213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44214 (eval $ac_compile) 2>conftest.er1
44216 grep -v '^ *+' conftest.er1
>conftest.err
44218 cat conftest.err
>&5
44219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220 (exit $ac_status); } &&
44221 { ac_try
='test -z "$ac_cxx_werror_flag"
44222 || test ! -s conftest.err'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; } &&
44228 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
44234 wx_cv_type_getsockname3
=size_t
44236 echo "$as_me: failed program was:" >&5
44237 sed 's/^/| /' conftest.
$ac_ext >&5
44239 cat >conftest.
$ac_ext <<_ACEOF
44242 cat confdefs.h
>>conftest.
$ac_ext
44243 cat >>conftest.
$ac_ext <<_ACEOF
44244 /* end confdefs.h. */
44246 #include <sys/types.h>
44247 #include <sys/socket.h>
44254 getsockname(0, 0, &len);
44260 rm -f conftest.
$ac_objext
44261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44262 (eval $ac_compile) 2>conftest.er1
44264 grep -v '^ *+' conftest.er1
>conftest.err
44266 cat conftest.err
>&5
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); } &&
44269 { ac_try
='test -z "$ac_cxx_werror_flag"
44270 || test ! -s conftest.err'
44271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44272 (eval $ac_try) 2>&5
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); }; } &&
44276 { ac_try
='test -s conftest.$ac_objext'
44277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44278 (eval $ac_try) 2>&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); }; }; then
44282 wx_cv_type_getsockname3
=int
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.
$ac_ext >&5
44287 wx_cv_type_getsockname3
=unknown
44290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44295 CXXFLAGS
="$CXXFLAGS_OLD"
44299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44302 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44303 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44305 if test "$wx_cv_type_getsockname3" = "unknown"; then
44307 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44308 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44310 cat >>confdefs.h
<<_ACEOF
44311 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44315 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44316 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44317 if test "${wx_cv_type_getsockopt5+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44321 cat >conftest.
$ac_ext <<_ACEOF
44324 cat confdefs.h
>>conftest.
$ac_ext
44325 cat >>conftest.
$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44328 #include <sys/types.h>
44329 #include <sys/socket.h>
44336 getsockopt(0, 0, 0, 0, &len);
44342 rm -f conftest.
$ac_objext
44343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44344 (eval $ac_compile) 2>conftest.er1
44346 grep -v '^ *+' conftest.er1
>conftest.err
44348 cat conftest.err
>&5
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); } &&
44351 { ac_try
='test -z "$ac_cxx_werror_flag"
44352 || test ! -s conftest.err'
44353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44354 (eval $ac_try) 2>&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); }; } &&
44358 { ac_try
='test -s conftest.$ac_objext'
44359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44360 (eval $ac_try) 2>&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); }; }; then
44364 wx_cv_type_getsockopt5
=socklen_t
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.
$ac_ext >&5
44370 CXXFLAGS_OLD
="$CXXFLAGS"
44371 if test "$GCC" = yes ; then
44372 CXXFLAGS
="-Werror $CXXFLAGS"
44375 cat >conftest.
$ac_ext <<_ACEOF
44378 cat confdefs.h
>>conftest.
$ac_ext
44379 cat >>conftest.
$ac_ext <<_ACEOF
44380 /* end confdefs.h. */
44382 #include <sys/types.h>
44383 #include <sys/socket.h>
44390 getsockopt(0, 0, 0, 0, &len);
44396 rm -f conftest.
$ac_objext
44397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44398 (eval $ac_compile) 2>conftest.er1
44400 grep -v '^ *+' conftest.er1
>conftest.err
44402 cat conftest.err
>&5
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); } &&
44405 { ac_try
='test -z "$ac_cxx_werror_flag"
44406 || test ! -s conftest.err'
44407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44408 (eval $ac_try) 2>&5
44410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44411 (exit $ac_status); }; } &&
44412 { ac_try
='test -s conftest.$ac_objext'
44413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44414 (eval $ac_try) 2>&5
44416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417 (exit $ac_status); }; }; then
44418 wx_cv_type_getsockopt5
=size_t
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.
$ac_ext >&5
44423 cat >conftest.
$ac_ext <<_ACEOF
44426 cat confdefs.h
>>conftest.
$ac_ext
44427 cat >>conftest.
$ac_ext <<_ACEOF
44428 /* end confdefs.h. */
44430 #include <sys/types.h>
44431 #include <sys/socket.h>
44438 getsockopt(0, 0, 0, 0, &len);
44444 rm -f conftest.
$ac_objext
44445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44446 (eval $ac_compile) 2>conftest.er1
44448 grep -v '^ *+' conftest.er1
>conftest.err
44450 cat conftest.err
>&5
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); } &&
44453 { ac_try
='test -z "$ac_cxx_werror_flag"
44454 || test ! -s conftest.err'
44455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44456 (eval $ac_try) 2>&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); }; } &&
44460 { ac_try
='test -s conftest.$ac_objext'
44461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44462 (eval $ac_try) 2>&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); }; }; then
44466 wx_cv_type_getsockopt5
=int
44468 echo "$as_me: failed program was:" >&5
44469 sed 's/^/| /' conftest.
$ac_ext >&5
44471 wx_cv_type_getsockopt5
=unknown
44474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44479 CXXFLAGS
="$CXXFLAGS_OLD"
44483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44486 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44487 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44489 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44491 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44492 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44494 cat >>confdefs.h
<<_ACEOF
44495 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44502 if test "$wxUSE_SOCKETS" = "yes" ; then
44503 cat >>confdefs.h
<<\_ACEOF
44504 #define wxUSE_SOCKETS 1
44507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44510 if test "$wxUSE_PROTOCOL" = "yes"; then
44511 if test "$wxUSE_SOCKETS" != "yes"; then
44512 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44513 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44518 if test "$wxUSE_PROTOCOL" = "yes"; then
44519 cat >>confdefs.h
<<\_ACEOF
44520 #define wxUSE_PROTOCOL 1
44524 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44525 cat >>confdefs.h
<<\_ACEOF
44526 #define wxUSE_PROTOCOL_HTTP 1
44530 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44531 cat >>confdefs.h
<<\_ACEOF
44532 #define wxUSE_PROTOCOL_FTP 1
44536 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44537 cat >>confdefs.h
<<\_ACEOF
44538 #define wxUSE_PROTOCOL_FILE 1
44543 if test "$wxUSE_FS_INET" = "yes"; then
44544 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44545 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44550 if test "$wxUSE_URL" = "yes"; then
44551 if test "$wxUSE_PROTOCOL" != "yes"; then
44552 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44553 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44556 if test "$wxUSE_URL" = "yes"; then
44557 cat >>confdefs.h
<<\_ACEOF
44558 #define wxUSE_URL 1
44564 if test "$wxUSE_FS_INET" = "yes"; then
44565 cat >>confdefs.h
<<\_ACEOF
44566 #define wxUSE_FS_INET 1
44572 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44575 if test "$TOOLKIT" = "MSW"; then
44578 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44579 if test "$USE_DARWIN" = 1; then
44580 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44581 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44582 cat >conftest.
$ac_ext <<_ACEOF
44585 cat confdefs.h
>>conftest.
$ac_ext
44586 cat >>conftest.
$ac_ext <<_ACEOF
44587 /* end confdefs.h. */
44588 #include <IOKit/hid/IOHIDLib.h>
44592 IOHIDQueueInterface *qi = NULL;
44593 IOHIDCallbackFunction cb = NULL;
44594 qi->setEventCallout(NULL, cb, NULL, NULL);
44599 rm -f conftest.
$ac_objext
44600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44601 (eval $ac_compile) 2>conftest.er1
44603 grep -v '^ *+' conftest.er1
>conftest.err
44605 cat conftest.err
>&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } &&
44608 { ac_try
='test -z "$ac_cxx_werror_flag"
44609 || test ! -s conftest.err'
44610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44611 (eval $ac_try) 2>&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); }; } &&
44615 { ac_try
='test -s conftest.$ac_objext'
44616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44617 (eval $ac_try) 2>&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); }; }; then
44624 echo "$as_me: failed program was:" >&5
44625 sed 's/^/| /' conftest.
$ac_ext >&5
44628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44629 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44630 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44635 for ac_header
in linux
/joystick.h
44637 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44639 echo "$as_me:$LINENO: checking for $ac_header" >&5
44640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44642 echo $ECHO_N "(cached) $ECHO_C" >&6
44644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44647 # Is the header compilable?
44648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44650 cat >conftest.
$ac_ext <<_ACEOF
44653 cat confdefs.h
>>conftest.
$ac_ext
44654 cat >>conftest.
$ac_ext <<_ACEOF
44655 /* end confdefs.h. */
44656 $ac_includes_default
44657 #include <$ac_header>
44659 rm -f conftest.
$ac_objext
44660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44661 (eval $ac_compile) 2>conftest.er1
44663 grep -v '^ *+' conftest.er1
>conftest.err
44665 cat conftest.err
>&5
44666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44667 (exit $ac_status); } &&
44668 { ac_try
='test -z "$ac_cxx_werror_flag"
44669 || test ! -s conftest.err'
44670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44671 (eval $ac_try) 2>&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); }; } &&
44675 { ac_try
='test -s conftest.$ac_objext'
44676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44677 (eval $ac_try) 2>&5
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); }; }; then
44681 ac_header_compiler
=yes
44683 echo "$as_me: failed program was:" >&5
44684 sed 's/^/| /' conftest.
$ac_ext >&5
44686 ac_header_compiler
=no
44688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44690 echo "${ECHO_T}$ac_header_compiler" >&6
44692 # Is the header present?
44693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44695 cat >conftest.
$ac_ext <<_ACEOF
44698 cat confdefs.h
>>conftest.
$ac_ext
44699 cat >>conftest.
$ac_ext <<_ACEOF
44700 /* end confdefs.h. */
44701 #include <$ac_header>
44703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44706 grep -v '^ *+' conftest.er1
>conftest.err
44708 cat conftest.err
>&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); } >/dev
/null
; then
44711 if test -s conftest.err
; then
44712 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44713 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44720 if test -z "$ac_cpp_err"; then
44721 ac_header_preproc
=yes
44723 echo "$as_me: failed program was:" >&5
44724 sed 's/^/| /' conftest.
$ac_ext >&5
44726 ac_header_preproc
=no
44728 rm -f conftest.err conftest.
$ac_ext
44729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44730 echo "${ECHO_T}$ac_header_preproc" >&6
44732 # So? What about this header?
44733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44739 ac_header_preproc
=yes
44742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44756 ## ----------------------------------------- ##
44757 ## Report this to wx-dev@lists.wxwidgets.org ##
44758 ## ----------------------------------------- ##
44761 sed "s/^/$as_me: WARNING: /" >&2
44764 echo "$as_me:$LINENO: checking for $ac_header" >&5
44765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44767 echo $ECHO_N "(cached) $ECHO_C" >&6
44769 eval "$as_ac_Header=\$ac_header_preproc"
44771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44776 cat >>confdefs.h
<<_ACEOF
44777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44786 if test "$wxUSE_JOYSTICK" = "yes"; then
44787 cat >>confdefs.h
<<\_ACEOF
44788 #define wxUSE_JOYSTICK 1
44791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44793 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44794 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44800 if test "$wxUSE_FONTMAP" = "yes" ; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_FONTMAP 1
44807 if test "$wxUSE_UNICODE" = "yes" ; then
44808 cat >>confdefs.h
<<\_ACEOF
44809 #define wxUSE_UNICODE 1
44813 if test "$USE_WIN32" != 1; then
44814 wxUSE_UNICODE_MSLU
=no
44817 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44818 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44819 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44820 if test "${ac_cv_lib_unicows_main+set}" = set; then
44821 echo $ECHO_N "(cached) $ECHO_C" >&6
44823 ac_check_lib_save_LIBS
=$LIBS
44824 LIBS
="-lunicows $LIBS"
44825 cat >conftest.
$ac_ext <<_ACEOF
44828 cat confdefs.h
>>conftest.
$ac_ext
44829 cat >>conftest.
$ac_ext <<_ACEOF
44830 /* end confdefs.h. */
44841 rm -f conftest.
$ac_objext conftest
$ac_exeext
44842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44843 (eval $ac_link) 2>conftest.er1
44845 grep -v '^ *+' conftest.er1
>conftest.err
44847 cat conftest.err
>&5
44848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849 (exit $ac_status); } &&
44850 { ac_try
='test -z "$ac_cxx_werror_flag"
44851 || test ! -s conftest.err'
44852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44853 (eval $ac_try) 2>&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); }; } &&
44857 { ac_try
='test -s conftest$ac_exeext'
44858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44859 (eval $ac_try) 2>&5
44861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862 (exit $ac_status); }; }; then
44863 ac_cv_lib_unicows_main
=yes
44865 echo "$as_me: failed program was:" >&5
44866 sed 's/^/| /' conftest.
$ac_ext >&5
44868 ac_cv_lib_unicows_main
=no
44870 rm -f conftest.err conftest.
$ac_objext \
44871 conftest
$ac_exeext conftest.
$ac_ext
44872 LIBS
=$ac_check_lib_save_LIBS
44874 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44875 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44876 if test $ac_cv_lib_unicows_main = yes; then
44878 cat >>confdefs.h
<<\_ACEOF
44879 #define wxUSE_UNICODE_MSLU 1
44885 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44886 Applications will only run on Windows NT/2000/XP!" >&5
44887 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44888 Applications will only run on Windows NT/2000/XP!" >&2;}
44889 wxUSE_UNICODE_MSLU
=no
44896 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44897 cat >>confdefs.h
<<\_ACEOF
44898 #define wxUSE_EXPERIMENTAL_PRINTF 1
44904 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44905 cat >>confdefs.h
<<\_ACEOF
44906 #define wxUSE_POSTSCRIPT 1
44911 cat >>confdefs.h
<<\_ACEOF
44912 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44916 cat >>confdefs.h
<<\_ACEOF
44917 #define wxUSE_NORMALIZED_PS_FONTS 1
44922 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44923 cat >>confdefs.h
<<\_ACEOF
44924 #define wxUSE_CONSTRAINTS 1
44927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44930 if test "$wxUSE_MDI" = "yes"; then
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_MDI 1
44936 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44937 cat >>confdefs.h
<<\_ACEOF
44938 #define wxUSE_MDI_ARCHITECTURE 1
44941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44945 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44946 cat >>confdefs.h
<<\_ACEOF
44947 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44951 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44956 if test "$wxUSE_HELP" = "yes"; then
44957 cat >>confdefs.h
<<\_ACEOF
44958 #define wxUSE_HELP 1
44961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44963 if test "$wxUSE_MSW" = 1; then
44964 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44965 cat >>confdefs.h
<<\_ACEOF
44966 #define wxUSE_MS_HTML_HELP 1
44972 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44973 if test "$wxUSE_HTML" = "yes"; then
44974 cat >>confdefs.h
<<\_ACEOF
44975 #define wxUSE_WXHTML_HELP 1
44979 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44980 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44981 wxUSE_WXHTML_HELP
=no
44986 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44988 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44989 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44991 cat >>confdefs.h
<<\_ACEOF
44992 #define wxUSE_PRINTING_ARCHITECTURE 1
44996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44999 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45000 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45001 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45002 { (exit 1); exit 1; }; }
45006 if test "$wxUSE_METAFILE" = "yes"; then
45007 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45008 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45009 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45015 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45016 -o "$wxUSE_CLIPBOARD" = "yes" \
45017 -o "$wxUSE_OLE" = "yes" \
45018 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45020 for ac_header
in ole2.h
45022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45024 echo "$as_me:$LINENO: checking for $ac_header" >&5
45025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45027 echo $ECHO_N "(cached) $ECHO_C" >&6
45029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45032 # Is the header compilable?
45033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45035 cat >conftest.
$ac_ext <<_ACEOF
45038 cat confdefs.h
>>conftest.
$ac_ext
45039 cat >>conftest.
$ac_ext <<_ACEOF
45040 /* end confdefs.h. */
45041 $ac_includes_default
45042 #include <$ac_header>
45044 rm -f conftest.
$ac_objext
45045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45046 (eval $ac_compile) 2>conftest.er1
45048 grep -v '^ *+' conftest.er1
>conftest.err
45050 cat conftest.err
>&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); } &&
45053 { ac_try
='test -z "$ac_cxx_werror_flag"
45054 || test ! -s conftest.err'
45055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056 (eval $ac_try) 2>&5
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); }; } &&
45060 { ac_try
='test -s conftest.$ac_objext'
45061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062 (eval $ac_try) 2>&5
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; }; then
45066 ac_header_compiler
=yes
45068 echo "$as_me: failed program was:" >&5
45069 sed 's/^/| /' conftest.
$ac_ext >&5
45071 ac_header_compiler
=no
45073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45075 echo "${ECHO_T}$ac_header_compiler" >&6
45077 # Is the header present?
45078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45080 cat >conftest.
$ac_ext <<_ACEOF
45083 cat confdefs.h
>>conftest.
$ac_ext
45084 cat >>conftest.
$ac_ext <<_ACEOF
45085 /* end confdefs.h. */
45086 #include <$ac_header>
45088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45091 grep -v '^ *+' conftest.er1
>conftest.err
45093 cat conftest.err
>&5
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); } >/dev
/null
; then
45096 if test -s conftest.err
; then
45097 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45098 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45105 if test -z "$ac_cpp_err"; then
45106 ac_header_preproc
=yes
45108 echo "$as_me: failed program was:" >&5
45109 sed 's/^/| /' conftest.
$ac_ext >&5
45111 ac_header_preproc
=no
45113 rm -f conftest.err conftest.
$ac_ext
45114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45115 echo "${ECHO_T}$ac_header_preproc" >&6
45117 # So? What about this header?
45118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45124 ac_header_preproc
=yes
45127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45141 ## ----------------------------------------- ##
45142 ## Report this to wx-dev@lists.wxwidgets.org ##
45143 ## ----------------------------------------- ##
45146 sed "s/^/$as_me: WARNING: /" >&2
45149 echo "$as_me:$LINENO: checking for $ac_header" >&5
45150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45152 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 eval "$as_ac_Header=\$ac_header_preproc"
45156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45161 cat >>confdefs.h
<<_ACEOF
45162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45170 if test "$ac_cv_header_ole2_h" = "yes" ; then
45171 if test "$GCC" = yes ; then
45172 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45173 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45174 cat >conftest.
$ac_ext <<_ACEOF
45177 cat confdefs.h
>>conftest.
$ac_ext
45178 cat >>conftest.
$ac_ext <<_ACEOF
45179 /* end confdefs.h. */
45180 #include <windows.h>
45190 rm -f conftest.
$ac_objext
45191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45192 (eval $ac_compile) 2>conftest.er1
45194 grep -v '^ *+' conftest.er1
>conftest.err
45196 cat conftest.err
>&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); } &&
45199 { ac_try
='test -z "$ac_cxx_werror_flag"
45200 || test ! -s conftest.err'
45201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45202 (eval $ac_try) 2>&5
45204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205 (exit $ac_status); }; } &&
45206 { ac_try
='test -s conftest.$ac_objext'
45207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45208 (eval $ac_try) 2>&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); }; }; then
45212 echo "$as_me:$LINENO: result: no" >&5
45213 echo "${ECHO_T}no" >&6
45215 echo "$as_me: failed program was:" >&5
45216 sed 's/^/| /' conftest.
$ac_ext >&5
45218 echo "$as_me:$LINENO: result: yes" >&5
45219 echo "${ECHO_T}yes" >&6
45220 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45223 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45224 if test "$wxUSE_OLE" = "yes" ; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_OLE 1
45229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45233 if test "$wxUSE_DATAOBJ" = "yes" ; then
45234 cat >>confdefs.h
<<\_ACEOF
45235 #define wxUSE_DATAOBJ 1
45240 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45241 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45244 wxUSE_DRAG_AND_DROP
=no
45249 if test "$wxUSE_METAFILE" = "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_METAFILE 1
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_ENH_METAFILE 1
45262 if test "$wxUSE_IPC" = "yes"; then
45263 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45264 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45265 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45269 if test "$wxUSE_IPC" = "yes"; then
45270 cat >>confdefs.h
<<\_ACEOF
45271 #define wxUSE_IPC 1
45274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45278 if test "$wxUSE_DATAOBJ" = "yes"; then
45279 if test "$wxUSE_MGL" = 1; then
45280 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45281 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45284 cat >>confdefs.h
<<\_ACEOF
45285 #define wxUSE_DATAOBJ 1
45290 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45291 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45293 wxUSE_DRAG_AND_DROP
=no
45296 if test "$wxUSE_CLIPBOARD" = "yes"; then
45297 if test "$wxUSE_MGL" = 1; then
45298 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45299 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45303 if test "$wxUSE_CLIPBOARD" = "yes"; then
45304 cat >>confdefs.h
<<\_ACEOF
45305 #define wxUSE_CLIPBOARD 1
45311 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45312 if test "$wxUSE_GTK" = 1; then
45313 if test "$WXGTK12" != 1; then
45314 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45315 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45316 wxUSE_DRAG_AND_DROP
=no
45320 if test "$wxUSE_MOTIF" = 1; then
45321 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45322 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45323 wxUSE_DRAG_AND_DROP
=no
45326 if test "$wxUSE_X11" = 1; then
45327 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45328 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45329 wxUSE_DRAG_AND_DROP
=no
45332 if test "$wxUSE_MGL" = 1; then
45333 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45334 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45335 wxUSE_DRAG_AND_DROP
=no
45338 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45339 cat >>confdefs.h
<<\_ACEOF
45340 #define wxUSE_DRAG_AND_DROP 1
45347 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45351 if test "$wxUSE_SPLINES" = "yes" ; then
45352 cat >>confdefs.h
<<\_ACEOF
45353 #define wxUSE_SPLINES 1
45358 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_MOUSEWHEEL 1
45367 if test "$wxUSE_CONTROLS" = "yes"; then
45371 if test "$wxUSE_ACCEL" = "yes"; then
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_ACCEL 1
45379 if test "$wxUSE_BUTTON" = "yes"; then
45380 cat >>confdefs.h
<<\_ACEOF
45381 #define wxUSE_BUTTON 1
45387 if test "$wxUSE_BMPBUTTON" = "yes"; then
45388 cat >>confdefs.h
<<\_ACEOF
45389 #define wxUSE_BMPBUTTON 1
45395 if test "$wxUSE_CALCTRL" = "yes"; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_CALENDARCTRL 1
45401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45404 if test "$wxUSE_CARET" = "yes"; then
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_CARET 1
45410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45413 if test "$wxUSE_COMBOBOX" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_COMBOBOX 1
45421 if test "$wxUSE_COMBOCTRL" = "yes"; then
45422 cat >>confdefs.h
<<\_ACEOF
45423 #define wxUSE_COMBOCTRL 1
45429 if test "$wxUSE_CHOICE" = "yes"; then
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_CHOICE 1
45437 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45438 cat >>confdefs.h
<<\_ACEOF
45439 #define wxUSE_CHOICEBOOK 1
45445 if test "$wxUSE_CHECKBOX" = "yes"; then
45446 cat >>confdefs.h
<<\_ACEOF
45447 #define wxUSE_CHECKBOX 1
45453 if test "$wxUSE_CHECKLST" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_CHECKLISTBOX 1
45459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45462 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45463 cat >>confdefs.h
<<\_ACEOF
45464 #define wxUSE_COLOURPICKERCTRL 1
45470 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45471 cat >>confdefs.h
<<\_ACEOF
45472 #define wxUSE_DATEPICKCTRL 1
45478 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45479 cat >>confdefs.h
<<\_ACEOF
45480 #define wxUSE_DIRPICKERCTRL 1
45486 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45487 cat >>confdefs.h
<<\_ACEOF
45488 #define wxUSE_FILEPICKERCTRL 1
45494 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_FONTPICKERCTRL 1
45502 if test "$wxUSE_DISPLAY" = "yes"; then
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_DISPLAY 1
45507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45510 if test "$wxUSE_GAUGE" = "yes"; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_GAUGE 1
45518 if test "$wxUSE_GRID" = "yes"; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_GRID 1
45524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45527 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45528 cat >>confdefs.h
<<\_ACEOF
45529 #define wxUSE_HYPERLINKCTRL 1
45535 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45536 cat >>confdefs.h
<<\_ACEOF
45537 #define wxUSE_DATAVIEWCTRL 1
45541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45544 if test "$wxUSE_IMAGLIST" = "yes"; then
45545 cat >>confdefs.h
<<\_ACEOF
45546 #define wxUSE_IMAGLIST 1
45551 if test "$wxUSE_LISTBOOK" = "yes"; then
45552 cat >>confdefs.h
<<\_ACEOF
45553 #define wxUSE_LISTBOOK 1
45559 if test "$wxUSE_LISTBOX" = "yes"; then
45560 cat >>confdefs.h
<<\_ACEOF
45561 #define wxUSE_LISTBOX 1
45565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45568 if test "$wxUSE_LISTCTRL" = "yes"; then
45569 if test "$wxUSE_IMAGLIST" = "yes"; then
45570 cat >>confdefs.h
<<\_ACEOF
45571 #define wxUSE_LISTCTRL 1
45575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45577 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45578 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45582 if test "$wxUSE_NOTEBOOK" = "yes"; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_NOTEBOOK 1
45588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45591 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45592 cat >>confdefs.h
<<\_ACEOF
45593 #define wxUSE_ODCOMBOBOX 1
45597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45601 if test "$wxUSE_RADIOBOX" = "yes"; then
45602 cat >>confdefs.h
<<\_ACEOF
45603 #define wxUSE_RADIOBOX 1
45609 if test "$wxUSE_RADIOBTN" = "yes"; then
45610 cat >>confdefs.h
<<\_ACEOF
45611 #define wxUSE_RADIOBTN 1
45617 if test "$wxUSE_SASH" = "yes"; then
45618 cat >>confdefs.h
<<\_ACEOF
45619 #define wxUSE_SASH 1
45622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45625 if test "$wxUSE_SCROLLBAR" = "yes"; then
45626 cat >>confdefs.h
<<\_ACEOF
45627 #define wxUSE_SCROLLBAR 1
45631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45634 if test "$wxUSE_SLIDER" = "yes"; then
45635 cat >>confdefs.h
<<\_ACEOF
45636 #define wxUSE_SLIDER 1
45642 if test "$wxUSE_SPINBTN" = "yes"; then
45643 cat >>confdefs.h
<<\_ACEOF
45644 #define wxUSE_SPINBTN 1
45650 if test "$wxUSE_SPINCTRL" = "yes"; then
45651 cat >>confdefs.h
<<\_ACEOF
45652 #define wxUSE_SPINCTRL 1
45658 if test "$wxUSE_SPLITTER" = "yes"; then
45659 cat >>confdefs.h
<<\_ACEOF
45660 #define wxUSE_SPLITTER 1
45663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45666 if test "$wxUSE_STATBMP" = "yes"; then
45667 cat >>confdefs.h
<<\_ACEOF
45668 #define wxUSE_STATBMP 1
45674 if test "$wxUSE_STATBOX" = "yes"; then
45675 cat >>confdefs.h
<<\_ACEOF
45676 #define wxUSE_STATBOX 1
45682 if test "$wxUSE_STATTEXT" = "yes"; then
45683 cat >>confdefs.h
<<\_ACEOF
45684 #define wxUSE_STATTEXT 1
45690 if test "$wxUSE_STATLINE" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_STATLINE 1
45698 if test "$wxUSE_STATUSBAR" = "yes"; then
45699 cat >>confdefs.h
<<\_ACEOF
45700 #define wxUSE_NATIVE_STATUSBAR 1
45703 cat >>confdefs.h
<<\_ACEOF
45704 #define wxUSE_STATUSBAR 1
45709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45712 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45713 cat >>confdefs.h
<<\_ACEOF
45714 #define wxUSE_TAB_DIALOG 1
45719 if test "$wxUSE_TEXTCTRL" = "yes"; then
45720 cat >>confdefs.h
<<\_ACEOF
45721 #define wxUSE_TEXTCTRL 1
45725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45728 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45729 if test "$wxUSE_COCOA" = 1 ; then
45730 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45731 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45735 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_TOGGLEBTN 1
45744 if test "$wxUSE_TOOLBAR" = "yes"; then
45745 cat >>confdefs.h
<<\_ACEOF
45746 #define wxUSE_TOOLBAR 1
45751 if test "$wxUSE_UNIVERSAL" = "yes"; then
45752 wxUSE_TOOLBAR_NATIVE
="no"
45754 wxUSE_TOOLBAR_NATIVE
="yes"
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_TOOLBAR_NATIVE 1
45761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45764 if test "$wxUSE_TOOLTIPS" = "yes"; then
45765 if test "$wxUSE_MOTIF" = 1; then
45766 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45767 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45769 if test "$wxUSE_UNIVERSAL" = "yes"; then
45770 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45771 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_TOOLTIPS 1
45781 if test "$wxUSE_TREEBOOK" = "yes"; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_TREEBOOK 1
45789 if test "$wxUSE_TOOLBOOK" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_TOOLBOOK 1
45797 if test "$wxUSE_TREECTRL" = "yes"; then
45798 if test "$wxUSE_IMAGLIST" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_TREECTRL 1
45804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45806 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45807 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45811 if test "$wxUSE_POPUPWIN" = "yes"; then
45812 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45813 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45814 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45816 if test "$wxUSE_PM" = 1; then
45817 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45818 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45820 cat >>confdefs.h
<<\_ACEOF
45821 #define wxUSE_POPUPWIN 1
45824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45831 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45832 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45833 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45834 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45836 cat >>confdefs.h
<<\_ACEOF
45837 #define wxUSE_DIALUP_MANAGER 1
45840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45844 if test "$wxUSE_TIPWINDOW" = "yes"; then
45845 if test "$wxUSE_PM" = 1; then
45846 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45847 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45849 cat >>confdefs.h
<<\_ACEOF
45850 #define wxUSE_TIPWINDOW 1
45856 if test "$USES_CONTROLS" = 1; then
45857 cat >>confdefs.h
<<\_ACEOF
45858 #define wxUSE_CONTROLS 1
45864 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45865 cat >>confdefs.h
<<\_ACEOF
45866 #define wxUSE_ACCESSIBILITY 1
45869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45872 if test "$wxUSE_DC_CACHEING" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_DC_CACHEING 1
45879 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45880 cat >>confdefs.h
<<\_ACEOF
45881 #define wxUSE_DRAGIMAGE 1
45884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45887 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45888 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45889 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45890 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_EXCEPTIONS 1
45896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45901 if test "$wxUSE_HTML" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_HTML 1
45907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45908 if test "$wxUSE_MAC" = 1; then
45909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45912 if test "$wxUSE_WEBKIT" = "yes"; then
45913 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45914 old_CPPFLAGS
="$CPPFLAGS"
45915 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45916 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45917 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45918 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45919 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 cat >conftest.
$ac_ext <<_ACEOF
45924 cat confdefs.h
>>conftest.
$ac_ext
45925 cat >>conftest.
$ac_ext <<_ACEOF
45926 /* end confdefs.h. */
45927 #include <Carbon/Carbon.h>
45929 #include <WebKit/HIWebView.h>
45931 rm -f conftest.
$ac_objext
45932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45933 (eval $ac_compile) 2>conftest.er1
45935 grep -v '^ *+' conftest.er1
>conftest.err
45937 cat conftest.err
>&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } &&
45940 { ac_try
='test -z "$ac_cxx_werror_flag"
45941 || test ! -s conftest.err'
45942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45943 (eval $ac_try) 2>&5
45945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946 (exit $ac_status); }; } &&
45947 { ac_try
='test -s conftest.$ac_objext'
45948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45949 (eval $ac_try) 2>&5
45951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952 (exit $ac_status); }; }; then
45953 ac_cv_header_WebKit_HIWebView_h
=yes
45955 echo "$as_me: failed program was:" >&5
45956 sed 's/^/| /' conftest.
$ac_ext >&5
45958 ac_cv_header_WebKit_HIWebView_h
=no
45960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45962 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45963 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45964 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45966 cat >>confdefs.h
<<\_ACEOF
45967 #define wxUSE_WEBKIT 1
45970 WEBKIT_LINK
="-framework WebKit"
45974 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45975 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45981 CPPFLAGS
="$old_CPPFLAGS"
45982 elif test "$wxUSE_COCOA" = 1; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_WEBKIT 1
45993 if test "$wxUSE_XRC" = "yes"; then
45994 if test "$wxUSE_XML" != "yes"; then
45995 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45996 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45999 cat >>confdefs.h
<<\_ACEOF
46000 #define wxUSE_XRC 1
46004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46009 if test "$wxUSE_AUI" = "yes"; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_AUI 1
46015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46018 if test "$wxUSE_MENUS" = "yes"; then
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_MENUS 1
46023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46026 if test "$wxUSE_METAFILE" = "yes"; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_METAFILE 1
46033 if test "$wxUSE_MIMETYPE" = "yes"; then
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_MIMETYPE 1
46040 if test "$wxUSE_MINIFRAME" = "yes"; then
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_MINIFRAME 1
46045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46048 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_SYSTEM_OPTIONS 1
46053 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46054 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46060 if test "$wxUSE_VALIDATORS" = "yes"; then
46061 cat >>confdefs.h
<<\_ACEOF
46062 #define wxUSE_VALIDATORS 1
46065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46068 if test "$wxUSE_PALETTE" = "yes" ; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_PALETTE 1
46075 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46076 LIBS
=" -lunicows $LIBS"
46080 if test "$wxUSE_RICHTEXT" = "yes"; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_RICHTEXT 1
46086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46090 if test "$wxUSE_IMAGE" = "yes" ; then
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_IMAGE 1
46096 if test "$wxUSE_GIF" = "yes" ; then
46097 cat >>confdefs.h
<<\_ACEOF
46098 #define wxUSE_GIF 1
46103 if test "$wxUSE_PCX" = "yes" ; then
46104 cat >>confdefs.h
<<\_ACEOF
46105 #define wxUSE_PCX 1
46110 if test "$wxUSE_IFF" = "yes" ; then
46111 cat >>confdefs.h
<<\_ACEOF
46112 #define wxUSE_IFF 1
46117 if test "$wxUSE_PNM" = "yes" ; then
46118 cat >>confdefs.h
<<\_ACEOF
46119 #define wxUSE_PNM 1
46124 if test "$wxUSE_XPM" = "yes" ; then
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_XPM 1
46131 if test "$wxUSE_ICO_CUR" = "yes" ; then
46132 cat >>confdefs.h
<<\_ACEOF
46133 #define wxUSE_ICO_CUR 1
46140 if test "$wxUSE_CHOICEDLG" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_CHOICEDLG 1
46147 if test "$wxUSE_COLOURDLG" = "yes"; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_COLOURDLG 1
46154 if test "$wxUSE_FILEDLG" = "yes"; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_FILEDLG 1
46161 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_FINDREPLDLG 1
46168 if test "$wxUSE_FONTDLG" = "yes"; then
46169 cat >>confdefs.h
<<\_ACEOF
46170 #define wxUSE_FONTDLG 1
46175 if test "$wxUSE_DIRDLG" = "yes"; then
46176 if test "$wxUSE_TREECTRL" != "yes"; then
46177 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46178 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46180 cat >>confdefs.h
<<\_ACEOF
46181 #define wxUSE_DIRDLG 1
46187 if test "$wxUSE_MSGDLG" = "yes"; then
46188 cat >>confdefs.h
<<\_ACEOF
46189 #define wxUSE_MSGDLG 1
46194 if test "$wxUSE_NUMBERDLG" = "yes"; then
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_NUMBERDLG 1
46201 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46202 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46203 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46204 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46206 cat >>confdefs.h
<<\_ACEOF
46207 #define wxUSE_PROGRESSDLG 1
46213 if test "$wxUSE_SPLASH" = "yes"; then
46214 cat >>confdefs.h
<<\_ACEOF
46215 #define wxUSE_SPLASH 1
46218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46221 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46222 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46223 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46224 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46226 cat >>confdefs.h
<<\_ACEOF
46227 #define wxUSE_STARTUP_TIPS 1
46233 if test "$wxUSE_TEXTDLG" = "yes"; then
46234 cat >>confdefs.h
<<\_ACEOF
46235 #define wxUSE_TEXTDLG 1
46240 if test "$wxUSE_WIZARDDLG" = "yes"; then
46241 cat >>confdefs.h
<<\_ACEOF
46242 #define wxUSE_WIZARDDLG 1
46245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46251 if test "$wxUSE_MEDIACTRL" = "yes"; then
46254 if test "$wxUSE_GTK" = 1; then
46255 wxUSE_GSTREAMER
="no"
46257 GST_VERSION_MAJOR
=0
46258 GST_VERSION_MINOR
=10
46259 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46261 if test "$wxUSE_GSTREAMER8" = "no"; then
46264 echo "$as_me:$LINENO: checking for GST" >&5
46265 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46267 if test -n "$PKG_CONFIG"; then
46268 if test -n "$GST_CFLAGS"; then
46269 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46271 if test -n "$PKG_CONFIG" && \
46272 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46273 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46276 (exit $ac_status); }; then
46277 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46285 if test -n "$PKG_CONFIG"; then
46286 if test -n "$GST_LIBS"; then
46287 pkg_cv_GST_LIBS
="$GST_LIBS"
46289 if test -n "$PKG_CONFIG" && \
46290 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46291 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46294 (exit $ac_status); }; then
46295 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46306 if test $pkg_failed = yes; then
46308 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46309 _pkg_short_errors_supported
=yes
46311 _pkg_short_errors_supported
=no
46313 if test $_pkg_short_errors_supported = yes; then
46314 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46316 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46318 # Put the nasty error message in config.log where it belongs
46319 echo "$GST_PKG_ERRORS" >&5
46322 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46323 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46324 GST_VERSION_MINOR
=8
46327 elif test $pkg_failed = untried
; then
46329 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46330 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46331 GST_VERSION_MINOR
=8
46335 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46336 GST_LIBS
=$pkg_cv_GST_LIBS
46337 echo "$as_me:$LINENO: result: yes" >&5
46338 echo "${ECHO_T}yes" >&6
46340 wxUSE_GSTREAMER
="yes"
46341 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46345 GST_VERSION_MINOR
=8
46348 if test $GST_VERSION_MINOR = "8"; then
46349 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46352 echo "$as_me:$LINENO: checking for GST" >&5
46353 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46355 if test -n "$PKG_CONFIG"; then
46356 if test -n "$GST_CFLAGS"; then
46357 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46359 if test -n "$PKG_CONFIG" && \
46360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46361 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364 (exit $ac_status); }; then
46365 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46373 if test -n "$PKG_CONFIG"; then
46374 if test -n "$GST_LIBS"; then
46375 pkg_cv_GST_LIBS
="$GST_LIBS"
46377 if test -n "$PKG_CONFIG" && \
46378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46379 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46382 (exit $ac_status); }; then
46383 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46394 if test $pkg_failed = yes; then
46396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46397 _pkg_short_errors_supported
=yes
46399 _pkg_short_errors_supported
=no
46401 if test $_pkg_short_errors_supported = yes; then
46402 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46404 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46406 # Put the nasty error message in config.log where it belongs
46407 echo "$GST_PKG_ERRORS" >&5
46410 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46411 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46413 elif test $pkg_failed = untried
; then
46415 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46416 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46419 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46420 GST_LIBS
=$pkg_cv_GST_LIBS
46421 echo "$as_me:$LINENO: result: yes" >&5
46422 echo "${ECHO_T}yes" >&6
46423 wxUSE_GSTREAMER
="yes"
46428 if test "$wxUSE_GSTREAMER" = "yes"; then
46431 if "$GCC" = yes; then
46432 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46433 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46437 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46438 LIBS
="$GST_LIBS $LIBS"
46440 cat >>confdefs.h
<<\_ACEOF
46441 #define wxUSE_GSTREAMER 1
46449 if test $USE_MEDIA = 1; then
46450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46451 cat >>confdefs.h
<<\_ACEOF
46452 #define wxUSE_MEDIACTRL 1
46459 if test "$cross_compiling" = "yes"; then
46462 OSINFO
=`uname -s -r -m`
46463 OSINFO
="\"$OSINFO\""
46466 cat >>confdefs.h
<<_ACEOF
46467 #define WXWIN_OS_DESCRIPTION $OSINFO
46472 if test "x$prefix" != "xNONE"; then
46475 wxPREFIX
=$ac_default_prefix
46478 cat >>confdefs.h
<<_ACEOF
46479 #define wxINSTALL_PREFIX "$wxPREFIX"
46485 CORE_BASE_LIBS
="net base"
46486 CORE_GUI_LIBS
="adv core"
46488 if test "$wxUSE_XML" = "yes" ; then
46489 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46491 if test "$wxUSE_ODBC" != "no" ; then
46492 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46493 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46495 if test "$wxUSE_HTML" = "yes" ; then
46496 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46498 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46499 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46501 if test "$wxUSE_XRC" = "yes" ; then
46502 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46504 if test "$wxUSE_AUI" = "yes" ; then
46505 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46508 if test "$wxUSE_GUI" != "yes"; then
46517 ac_cpp
='$CPP $CPPFLAGS'
46518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46524 if test "$wxUSE_MAC" = 1 ; then
46525 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46526 if test "$USE_DARWIN" = 1; then
46527 LDFLAGS
="$LDFLAGS -framework QuickTime"
46529 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46532 if test "$USE_DARWIN" = 1; then
46533 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46535 LDFLAGS
="$LDFLAGS -lCarbonLib"
46538 if test "$wxUSE_COCOA" = 1 ; then
46539 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46540 if test "$wxUSE_MEDIACTRL" = "yes"; then
46541 LDFLAGS
="$LDFLAGS -framework QuickTime"
46544 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46545 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46548 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46550 if test "$wxUSE_GUI" = "yes"; then
46553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46554 dynamic erase event exec font image minimal mobile \
46555 mobile/wxedit mobile/styles propsize render \
46556 rotate shaped vscroll widgets"
46558 if test "$wxUSE_MONOLITHIC" != "yes"; then
46559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46561 if test "$TOOLKIT" = "MSW"; then
46562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46563 if test "$wxUSE_UNIVERSAL" != "yes"; then
46564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46567 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46571 SAMPLES_SUBDIRS
="console"
46575 if test "x$INTELCC" = "xyes" ; then
46576 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46577 elif test "$GCC" = yes ; then
46578 CWARNINGS
="-Wall -Wundef"
46581 if test "x$INTELCXX" = "xyes" ; then
46582 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46583 elif test "$GXX" = yes ; then
46584 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46588 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46589 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46592 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46593 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46594 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46597 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46598 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46599 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46601 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46604 if test "x$MWCC" = "xyes"; then
46606 CC
="$CC -cwd source -I-"
46607 CXX
="$CXX -cwd source -I-"
46612 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46613 EXTRALIBS_XML
="$EXPAT_LINK"
46614 EXTRALIBS_HTML
="$MSPACK_LINK"
46615 EXTRALIBS_ODBC
="$ODBC_LINK"
46616 if test "$wxUSE_GUI" = "yes"; then
46617 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46619 if test "$wxUSE_OPENGL" = "yes"; then
46620 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46623 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46625 WXCONFIG_LIBS
="$LIBS"
46627 if test "$wxUSE_REGEX" = "builtin" ; then
46628 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46630 if test "$wxUSE_EXPAT" = "builtin" ; then
46631 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46633 if test "$wxUSE_ODBC" = "builtin" ; then
46634 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46636 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46637 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46639 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46640 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46642 if test "$wxUSE_LIBPNG" = "builtin" ; then
46643 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46645 if test "$wxUSE_ZLIB" = "builtin" ; then
46646 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46649 for i
in $wxconfig_3rdparty ; do
46650 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46654 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46668 if test $wxUSE_MONOLITHIC = "yes" ; then
46674 if test $wxUSE_PLUGINS = "yes" ; then
46680 if test $wxUSE_ODBC != "no" ; then
46686 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46692 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46722 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46733 TOOLKIT_DESC
="GTK+"
46734 if test "$WXGTK20" = 1; then
46735 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46736 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46737 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46739 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46740 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46742 if test "$wxUSE_LIBHILDON" = "yes"; then
46743 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46746 if test "$TOOLKIT_EXTRA" != ""; then
46747 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46753 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46757 TOOLKIT_DESC
="base only"
46761 if test "$wxUSE_WINE" = "yes"; then
46762 BAKEFILE_FORCE_PLATFORM
=win32
46765 if test "$wxUSE_MAC" = 1 ; then
46766 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46767 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46768 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46770 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46772 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46773 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46774 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46775 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46778 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46779 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46785 if test "x$BAKEFILE_HOST" = "x"; then
46786 if test "x${host}" = "x" ; then
46787 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46788 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46789 { (exit 1); exit 1; }; }
46792 BAKEFILE_HOST
="${host}"
46795 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46797 if test -n "$ac_tool_prefix"; then
46798 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46799 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46800 echo "$as_me:$LINENO: checking for $ac_word" >&5
46801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46802 if test "${ac_cv_prog_RANLIB+set}" = set; then
46803 echo $ECHO_N "(cached) $ECHO_C" >&6
46805 if test -n "$RANLIB"; then
46806 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46809 for as_dir
in $PATH
46812 test -z "$as_dir" && as_dir
=.
46813 for ac_exec_ext
in '' $ac_executable_extensions; do
46814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46815 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46824 RANLIB
=$ac_cv_prog_RANLIB
46825 if test -n "$RANLIB"; then
46826 echo "$as_me:$LINENO: result: $RANLIB" >&5
46827 echo "${ECHO_T}$RANLIB" >&6
46829 echo "$as_me:$LINENO: result: no" >&5
46830 echo "${ECHO_T}no" >&6
46834 if test -z "$ac_cv_prog_RANLIB"; then
46835 ac_ct_RANLIB
=$RANLIB
46836 # Extract the first word of "ranlib", so it can be a program name with args.
46837 set dummy ranlib
; ac_word
=$2
46838 echo "$as_me:$LINENO: checking for $ac_word" >&5
46839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46840 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46841 echo $ECHO_N "(cached) $ECHO_C" >&6
46843 if test -n "$ac_ct_RANLIB"; then
46844 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46847 for as_dir
in $PATH
46850 test -z "$as_dir" && as_dir
=.
46851 for ac_exec_ext
in '' $ac_executable_extensions; do
46852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46853 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46860 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46863 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46864 if test -n "$ac_ct_RANLIB"; then
46865 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46866 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46868 echo "$as_me:$LINENO: result: no" >&5
46869 echo "${ECHO_T}no" >&6
46872 RANLIB
=$ac_ct_RANLIB
46874 RANLIB
="$ac_cv_prog_RANLIB"
46877 # Find a good install program. We prefer a C program (faster),
46878 # so one script is as good as another. But avoid the broken or
46879 # incompatible versions:
46880 # SysV /etc/install, /usr/sbin/install
46881 # SunOS /usr/etc/install
46882 # IRIX /sbin/install
46884 # AmigaOS /C/install, which installs bootblocks on floppy discs
46885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46888 # OS/2's system install, which has a completely different semantic
46889 # ./install, which can be erroneously created by make from ./install.sh.
46890 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46891 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46892 if test -z "$INSTALL"; then
46893 if test "${ac_cv_path_install+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46897 for as_dir
in $PATH
46900 test -z "$as_dir" && as_dir
=.
46901 # Account for people who put trailing slashes in PATH elements.
46903 .
/ | .
// | /cC
/* | \
46904 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46905 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46908 # OSF1 and SCO ODT 3.0 have their own names for install.
46909 # Don't use installbsd from OSF since it installs stuff as root
46911 for ac_prog
in ginstall scoinst
install; do
46912 for ac_exec_ext
in '' $ac_executable_extensions; do
46913 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46914 if test $ac_prog = install &&
46915 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46916 # AIX install. It has an incompatible calling convention.
46918 elif test $ac_prog = install &&
46919 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46920 # program-specific install script used by HP pwplus--don't use.
46923 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46935 if test "${ac_cv_path_install+set}" = set; then
46936 INSTALL
=$ac_cv_path_install
46938 # As a last resort, use the slow shell script. We don't cache a
46939 # path for INSTALL within a source directory, because that will
46940 # break other packages using the cache if that directory is
46941 # removed, or if the path is relative.
46942 INSTALL
=$ac_install_sh
46945 echo "$as_me:$LINENO: result: $INSTALL" >&5
46946 echo "${ECHO_T}$INSTALL" >&6
46948 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46949 # It thinks the first close brace ends the variable substitution.
46950 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46952 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46954 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46956 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46957 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46959 if test "$LN_S" = "ln -s"; then
46960 echo "$as_me:$LINENO: result: yes" >&5
46961 echo "${ECHO_T}yes" >&6
46963 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46964 echo "${ECHO_T}no, using $LN_S" >&6
46968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46970 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46974 cat >conftest.
make <<\_ACEOF
46976 @
echo 'ac_maketemp="$(MAKE)"'
46978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46980 if test -n "$ac_maketemp"; then
46981 eval ac_cv_prog_make_
${ac_make}_set
=yes
46983 eval ac_cv_prog_make_
${ac_make}_set
=no
46985 rm -f conftest.
make
46987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46988 echo "$as_me:$LINENO: result: yes" >&5
46989 echo "${ECHO_T}yes" >&6
46992 echo "$as_me:$LINENO: result: no" >&5
46993 echo "${ECHO_T}no" >&6
46994 SET_MAKE
="MAKE=${MAKE-make}"
46999 if test -n "$ac_tool_prefix"; then
47000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47001 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47002 echo "$as_me:$LINENO: checking for $ac_word" >&5
47003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47004 if test "${ac_cv_prog_AR+set}" = set; then
47005 echo $ECHO_N "(cached) $ECHO_C" >&6
47007 if test -n "$AR"; then
47008 ac_cv_prog_AR
="$AR" # Let the user override the test.
47010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47011 for as_dir
in $PATH
47014 test -z "$as_dir" && as_dir
=.
47015 for ac_exec_ext
in '' $ac_executable_extensions; do
47016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47017 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47027 if test -n "$AR"; then
47028 echo "$as_me:$LINENO: result: $AR" >&5
47029 echo "${ECHO_T}$AR" >&6
47031 echo "$as_me:$LINENO: result: no" >&5
47032 echo "${ECHO_T}no" >&6
47036 if test -z "$ac_cv_prog_AR"; then
47038 # Extract the first word of "ar", so it can be a program name with args.
47039 set dummy
ar; ac_word
=$2
47040 echo "$as_me:$LINENO: checking for $ac_word" >&5
47041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47042 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47043 echo $ECHO_N "(cached) $ECHO_C" >&6
47045 if test -n "$ac_ct_AR"; then
47046 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47049 for as_dir
in $PATH
47052 test -z "$as_dir" && as_dir
=.
47053 for ac_exec_ext
in '' $ac_executable_extensions; do
47054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47055 ac_cv_prog_ac_ct_AR
="ar"
47056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47062 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47065 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47066 if test -n "$ac_ct_AR"; then
47067 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47068 echo "${ECHO_T}$ac_ct_AR" >&6
47070 echo "$as_me:$LINENO: result: no" >&5
47071 echo "${ECHO_T}no" >&6
47076 AR
="$ac_cv_prog_AR"
47079 if test -n "$ac_tool_prefix"; then
47080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47081 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47082 echo "$as_me:$LINENO: checking for $ac_word" >&5
47083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47084 if test "${ac_cv_prog_STRIP+set}" = set; then
47085 echo $ECHO_N "(cached) $ECHO_C" >&6
47087 if test -n "$STRIP"; then
47088 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47091 for as_dir
in $PATH
47094 test -z "$as_dir" && as_dir
=.
47095 for ac_exec_ext
in '' $ac_executable_extensions; do
47096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47097 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47106 STRIP
=$ac_cv_prog_STRIP
47107 if test -n "$STRIP"; then
47108 echo "$as_me:$LINENO: result: $STRIP" >&5
47109 echo "${ECHO_T}$STRIP" >&6
47111 echo "$as_me:$LINENO: result: no" >&5
47112 echo "${ECHO_T}no" >&6
47116 if test -z "$ac_cv_prog_STRIP"; then
47118 # Extract the first word of "strip", so it can be a program name with args.
47119 set dummy strip
; ac_word
=$2
47120 echo "$as_me:$LINENO: checking for $ac_word" >&5
47121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47122 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47123 echo $ECHO_N "(cached) $ECHO_C" >&6
47125 if test -n "$ac_ct_STRIP"; then
47126 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47129 for as_dir
in $PATH
47132 test -z "$as_dir" && as_dir
=.
47133 for ac_exec_ext
in '' $ac_executable_extensions; do
47134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47135 ac_cv_prog_ac_ct_STRIP
="strip"
47136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47142 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47145 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47146 if test -n "$ac_ct_STRIP"; then
47147 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47148 echo "${ECHO_T}$ac_ct_STRIP" >&6
47150 echo "$as_me:$LINENO: result: no" >&5
47151 echo "${ECHO_T}no" >&6
47156 STRIP
="$ac_cv_prog_STRIP"
47159 if test -n "$ac_tool_prefix"; then
47160 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47161 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47162 echo "$as_me:$LINENO: checking for $ac_word" >&5
47163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47164 if test "${ac_cv_prog_NM+set}" = set; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47167 if test -n "$NM"; then
47168 ac_cv_prog_NM
="$NM" # Let the user override the test.
47170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47171 for as_dir
in $PATH
47174 test -z "$as_dir" && as_dir
=.
47175 for ac_exec_ext
in '' $ac_executable_extensions; do
47176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47177 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47187 if test -n "$NM"; then
47188 echo "$as_me:$LINENO: result: $NM" >&5
47189 echo "${ECHO_T}$NM" >&6
47191 echo "$as_me:$LINENO: result: no" >&5
47192 echo "${ECHO_T}no" >&6
47196 if test -z "$ac_cv_prog_NM"; then
47198 # Extract the first word of "nm", so it can be a program name with args.
47199 set dummy nm
; ac_word
=$2
47200 echo "$as_me:$LINENO: checking for $ac_word" >&5
47201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47202 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47203 echo $ECHO_N "(cached) $ECHO_C" >&6
47205 if test -n "$ac_ct_NM"; then
47206 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47209 for as_dir
in $PATH
47212 test -z "$as_dir" && as_dir
=.
47213 for ac_exec_ext
in '' $ac_executable_extensions; do
47214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47215 ac_cv_prog_ac_ct_NM
="nm"
47216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47222 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47225 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47226 if test -n "$ac_ct_NM"; then
47227 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47228 echo "${ECHO_T}$ac_ct_NM" >&6
47230 echo "$as_me:$LINENO: result: no" >&5
47231 echo "${ECHO_T}no" >&6
47236 NM
="$ac_cv_prog_NM"
47240 case ${BAKEFILE_HOST} in
47242 INSTALL_DIR
="mkdir -p"
47244 *) INSTALL_DIR
="$INSTALL -d"
47250 case ${BAKEFILE_HOST} in
47251 *-*-cygwin* | *-*-mingw32* )
47252 LDFLAGS_GUI
="-mwindows"
47258 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47259 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47260 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47264 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47265 egrep -s GNU
> /dev
/null
); then
47266 bakefile_cv_prog_makeisgnu
="yes"
47268 bakefile_cv_prog_makeisgnu
="no"
47272 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47273 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47275 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47292 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47293 case "${BAKEFILE_HOST}" in
47300 *-pc-os2_emx | *-pc-os2-emx )
47310 powerpc
-apple-macos* )
47319 case "$BAKEFILE_FORCE_PLATFORM" in
47340 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47341 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47342 { (exit 1); exit 1; }; }
47357 # Check whether --enable-omf or --disable-omf was given.
47358 if test "${enable_omf+set}" = set; then
47359 enableval
="$enable_omf"
47360 bk_os2_use_omf
="$enableval"
47363 case "${BAKEFILE_HOST}" in
47365 if test "x$GCC" = "xyes"; then
47366 CFLAGS
="$CFLAGS -fno-common"
47367 CXXFLAGS
="$CXXFLAGS -fno-common"
47369 if test "x$XLCC" = "xyes"; then
47370 CFLAGS
="$CFLAGS -qnocommon"
47371 CXXFLAGS
="$CXXFLAGS -qnocommon"
47375 *-pc-os2_emx | *-pc-os2-emx )
47376 if test "x$bk_os2_use_omf" = "xyes" ; then
47379 LDFLAGS
="-Zomf $LDFLAGS"
47380 CFLAGS
="-Zomf $CFLAGS"
47381 CXXFLAGS
="-Zomf $CXXFLAGS"
47389 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47395 SO_SUFFIX_MODULE
="so"
47400 DLLPREFIX_MODULE
=""
47404 case "${BAKEFILE_HOST}" in
47407 SO_SUFFIX_MODULE
="sl"
47411 SO_SUFFIX_MODULE
="a"
47415 SO_SUFFIX_MODULE
="dll"
47416 DLLIMP_SUFFIX
="dll.a"
47423 SO_SUFFIX_MODULE
="dll"
47424 DLLIMP_SUFFIX
="dll.a"
47434 *-pc-os2_emx | *-pc-os2-emx )
47436 SO_SUFFIX_MODULE
="dll"
47437 DLLIMP_SUFFIX
=$OS2_LIBEXT
47441 LIBEXT
=".$OS2_LIBEXT"
47446 SO_SUFFIX_MODULE
="bundle"
47450 if test "x$DLLIMP_SUFFIX" = "x" ; then
47451 DLLIMP_SUFFIX
="$SO_SUFFIX"
47466 if test "x$GCC" = "xyes"; then
47470 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47471 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47474 case "${BAKEFILE_HOST}" in
47476 if test "x$GCC" != "xyes"; then
47477 LDFLAGS
="$LDFLAGS -L/usr/lib"
47479 SHARED_LD_CC
="${CC} -b -o"
47480 SHARED_LD_CXX
="${CXX} -b -o"
47486 if test "x$GCC" != "xyes"; then
47487 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47488 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47489 if test "${bakefile_cv_prog_icc+set}" = set; then
47490 echo $ECHO_N "(cached) $ECHO_C" >&6
47493 cat >conftest.
$ac_ext <<_ACEOF
47496 cat confdefs.h
>>conftest.
$ac_ext
47497 cat >>conftest.
$ac_ext <<_ACEOF
47498 /* end confdefs.h. */
47504 #ifndef __INTEL_COMPILER
47512 rm -f conftest.
$ac_objext
47513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47514 (eval $ac_compile) 2>conftest.er1
47516 grep -v '^ *+' conftest.er1
>conftest.err
47518 cat conftest.err
>&5
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); } &&
47521 { ac_try
='test -z "$ac_c_werror_flag"
47522 || test ! -s conftest.err'
47523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47524 (eval $ac_try) 2>&5
47526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47527 (exit $ac_status); }; } &&
47528 { ac_try
='test -s conftest.$ac_objext'
47529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47530 (eval $ac_try) 2>&5
47532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533 (exit $ac_status); }; }; then
47534 bakefile_cv_prog_icc
=yes
47536 echo "$as_me: failed program was:" >&5
47537 sed 's/^/| /' conftest.
$ac_ext >&5
47539 bakefile_cv_prog_icc
=no
47542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47545 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47546 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47547 if test "$bakefile_cv_prog_icc" = "yes"; then
47554 if test "x$GCC" != xyes
; then
47555 SHARED_LD_CC
="${CC} -G -o"
47556 SHARED_LD_CXX
="${CXX} -G -o"
47564 cat <<EOF >shared-ld-sh
47566 #-----------------------------------------------------------------------------
47567 #-- Name: distrib/mac/shared-ld-sh
47568 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47569 #-- Author: Gilles Depeyrot
47570 #-- Copyright: (c) 2002 Gilles Depeyrot
47571 #-- Licence: any use permitted
47572 #-----------------------------------------------------------------------------
47577 linking_flag="-dynamiclib"
47578 ldargs="-r -keep_private_externs -nostdlib"
47580 while test ${D}# -gt 0; do
47587 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47588 # collect these options and values
47589 args="${D}{args} ${D}1 ${D}2"
47594 # collect these load args
47595 ldargs="${D}{ldargs} ${D}1"
47598 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47599 # collect these options
47600 args="${D}{args} ${D}1"
47603 -dynamiclib|-bundle)
47604 linking_flag="${D}1"
47608 echo "shared-ld: unhandled option '${D}1'"
47612 *.o | *.a | *.dylib)
47613 # collect object files
47614 objects="${D}{objects} ${D}1"
47618 echo "shared-ld: unhandled argument '${D}1'"
47629 # Link one module containing all the others
47631 if test ${D}{verbose} = 1; then
47632 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47634 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47638 # Link the shared library from the single module created, but only if the
47639 # previous command didn't fail:
47641 if test ${D}{status} = 0; then
47642 if test ${D}{verbose} = 1; then
47643 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47645 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47650 # Remove intermediate module
47652 rm -f master.${D}${D}.o
47657 chmod +x shared
-ld-sh
47659 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47660 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47663 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47664 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47665 if test "${bakefile_cv_gcc31+set}" = set; then
47666 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 cat >conftest.
$ac_ext <<_ACEOF
47672 cat confdefs.h
>>conftest.
$ac_ext
47673 cat >>conftest.
$ac_ext <<_ACEOF
47674 /* end confdefs.h. */
47680 #if (__GNUC__ < 3) || \
47681 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47689 rm -f conftest.
$ac_objext
47690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47691 (eval $ac_compile) 2>conftest.er1
47693 grep -v '^ *+' conftest.er1
>conftest.err
47695 cat conftest.err
>&5
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); } &&
47698 { ac_try
='test -z "$ac_c_werror_flag"
47699 || test ! -s conftest.err'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; } &&
47705 { ac_try
='test -s conftest.$ac_objext'
47706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47707 (eval $ac_try) 2>&5
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; }; then
47712 bakefile_cv_gcc31
=yes
47715 echo "$as_me: failed program was:" >&5
47716 sed 's/^/| /' conftest.
$ac_ext >&5
47719 bakefile_cv_gcc31
=no
47723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47726 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47727 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47728 if test "$bakefile_cv_gcc31" = "no"; then
47729 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47730 SHARED_LD_CXX
="$SHARED_LD_CC"
47732 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47733 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47736 if test "x$GCC" == "xyes"; then
47737 PIC_FLAG
="-dynamic -fPIC"
47739 if test "x$XLCC" = "xyes"; then
47740 PIC_FLAG
="-dynamic -DPIC"
47745 if test "x$GCC" = "xyes"; then
47748 case "${BAKEFILE_HOST}" in
47750 LD_EXPFULL
="-Wl,-bexpfull"
47754 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47755 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47757 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47758 set dummy makeC
++SharedLib
; ac_word
=$2
47759 echo "$as_me:$LINENO: checking for $ac_word" >&5
47760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47761 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47762 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 if test -n "$AIX_CXX_LD"; then
47765 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47768 for as_dir
in $PATH
47771 test -z "$as_dir" && as_dir
=.
47772 for ac_exec_ext
in '' $ac_executable_extensions; do
47773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47774 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47781 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47784 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47785 if test -n "$AIX_CXX_LD"; then
47786 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47787 echo "${ECHO_T}$AIX_CXX_LD" >&6
47789 echo "$as_me:$LINENO: result: no" >&5
47790 echo "${ECHO_T}no" >&6
47793 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47794 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47799 SHARED_LD_CC
="${LD} -nostart -o"
47800 SHARED_LD_CXX
="${LD} -nostart -o"
47804 if test "x$GCC" != "xyes"; then
47809 *-*-cygwin* | *-*-mingw32* )
47811 SHARED_LD_CC
="\$(CC) -shared -o"
47812 SHARED_LD_CXX
="\$(CXX) -shared -o"
47816 *-pc-os2_emx | *-pc-os2-emx )
47817 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47818 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47822 cat <<EOF >dllar.sh
47825 # dllar - a tool to build both a .dll and an .a file
47826 # from a set of object (.o) files for EMX/OS2.
47828 # Written by Andrew Zabolotny, bit@freya.etu.ru
47829 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47831 # This script will accept a set of files on the command line.
47832 # All the public symbols from the .o files will be exported into
47833 # a .DEF file, then linker will be run (through gcc) against them to
47834 # build a shared library consisting of all given .o files. All libraries
47835 # (.a) will be first decompressed into component .o files then act as
47836 # described above. You can optionally give a description (-d "description")
47837 # which will be put into .DLL. To see the list of accepted options (as well
47838 # as command-line format) simply run this program without options. The .DLL
47839 # is built to be imported by name (there is no guarantee that new versions
47840 # of the library you build will have same ordinals for same symbols).
47842 # dllar is free software; you can redistribute it and/or modify
47843 # it under the terms of the GNU General Public License as published by
47844 # the Free Software Foundation; either version 2, or (at your option)
47845 # any later version.
47847 # dllar is distributed in the hope that it will be useful,
47848 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47850 # GNU General Public License for more details.
47852 # You should have received a copy of the GNU General Public License
47853 # along with dllar; see the file COPYING. If not, write to the Free
47854 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47857 # To successfuly run this program you will need:
47858 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47859 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47861 # (used to build the .dll)
47863 # (used to create .def file from .o files)
47865 # (used to create .a file from .def file)
47866 # - GNU text utilites (cat, sort, uniq)
47867 # used to process emxexp output
47868 # - GNU file utilities (mv, rm)
47870 # - lxlite (optional, see flag below)
47871 # (used for general .dll cleanup)
47878 # basnam, variant of basename, which does _not_ remove the path, _iff_
47879 # second argument (suffix to remove) is given
47883 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47886 echo ${D}1 | sed 's/'${D}2'${D}//'
47889 echo "error in basnam ${D}*"
47895 # Cleanup temporary files and output
47898 for i in ${D}inputFiles ; do
47901 rm -rf \`basnam ${D}i !\`
47908 # Kill result in case of failure as there is just to many stupid make/nmake
47909 # things out there which doesn't do this.
47910 if [ ${D}# -eq 0 ]; then
47911 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47915 # Print usage and exit script with rc=1.
47917 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47918 echo ' [-name-mangler-script script.sh]'
47919 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47920 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47921 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47922 echo ' [*.o] [*.a]'
47923 echo '*> "output_file" should have no extension.'
47924 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47925 echo ' The import library name is derived from this and is set to "name".a,'
47926 echo ' unless overridden by -import'
47927 echo '*> "importlib_name" should have no extension.'
47928 echo ' If it has the .o, or .a extension, it is automatically removed.'
47929 echo ' This name is used as the import library name and may be longer and'
47930 echo ' more descriptive than the DLL name which has to follow the old '
47931 echo ' 8.3 convention of FAT.'
47932 echo '*> "script.sh may be given to override the output_file name by a'
47933 echo ' different name. It is mainly useful if the regular make process'
47934 echo ' of some package does not take into account OS/2 restriction of'
47935 echo ' DLL name lengths. It takes the importlib name as input and is'
47936 echo ' supposed to procude a shorter name as output. The script should'
47937 echo ' expect to get importlib_name without extension and should produce'
47938 echo ' a (max.) 8 letter name without extension.'
47939 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47940 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47941 echo ' These flags will be put at the start of GCC command line.'
47942 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47943 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47944 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47945 echo ' If the last character of a symbol is "*", all symbols beginning'
47946 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47947 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47948 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47949 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47950 echo ' C runtime DLLs.'
47951 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47952 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47953 echo ' unchanged to GCC at the end of command line.'
47954 echo '*> If you create a DLL from a library and you do not specify -o,'
47955 echo ' the basename for DLL and import library will be set to library name,'
47956 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47957 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47958 echo ' library will be renamed into gcc_s.a.'
47961 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47962 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47967 # Execute a command.
47968 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47969 # @Uses Whatever CleanUp() uses.
47975 if [ ${D}rcCmd -ne 0 ]; then
47976 echo "command failed, exit code="${D}rcCmd
47991 CFLAGS="-s -Zcrtdll"
47993 EXPORT_BY_ORDINALS=0
47998 case ${D}curDirS in
48002 curDirS=${D}{curDirS}"/"
48005 # Parse commandline
48008 while [ ${D}1 ]; do
48011 EXPORT_BY_ORDINALS=1;
48021 -name-mangler-script)
48042 exclude_symbols=${D}{exclude_symbols}${D}1" "
48046 library_flags=${D}{library_flags}${D}1" "
48065 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48069 if [ ${D}omfLinking -eq 1 ]; then
48070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48077 if [ ${D}libsToLink -ne 0 ]; then
48078 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48080 for file in ${D}1 ; do
48081 if [ -f ${D}file ]; then
48082 inputFiles="${D}{inputFiles} ${D}file"
48086 if [ ${D}found -eq 0 ]; then
48087 echo "ERROR: No file(s) found: "${D}1
48094 done # iterate cmdline words
48097 if [ -z "${D}inputFiles" ]; then
48098 echo "dllar: no input files"
48102 # Now extract all .o files from .a files
48104 for file in ${D}inputFiles ; do
48115 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48120 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48122 if [ ${D}? -ne 0 ]; then
48123 echo "Failed to create subdirectory ./${D}dirname"
48127 # Append '!' to indicate archive
48128 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48129 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48132 for subfile in ${D}dirname/*.o* ; do
48133 if [ -f ${D}subfile ]; then
48135 if [ -s ${D}subfile ]; then
48136 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48137 newInputFiles="${D}newInputFiles ${D}subfile"
48141 if [ ${D}found -eq 0 ]; then
48142 echo "WARNING: there are no files in archive \\'${D}file\\'"
48146 newInputFiles="${D}{newInputFiles} ${D}file"
48150 inputFiles="${D}newInputFiles"
48152 # Output filename(s).
48154 if [ -z ${D}outFile ]; then
48156 set outFile ${D}inputFiles; outFile=${D}2
48159 # If it is an archive, remove the '!' and the '_%' suffixes
48160 case ${D}outFile in
48162 outFile=\`basnam ${D}outFile _%!\`
48167 case ${D}outFile in
48169 outFile=\`basnam ${D}outFile .dll\`
48172 outFile=\`basnam ${D}outFile .DLL\`
48175 outFile=\`basnam ${D}outFile .o\`
48178 outFile=\`basnam ${D}outFile .obj\`
48181 outFile=\`basnam ${D}outFile .a\`
48184 outFile=\`basnam ${D}outFile .lib\`
48189 case ${D}outimpFile in
48191 outimpFile=\`basnam ${D}outimpFile .a\`
48194 outimpFile=\`basnam ${D}outimpFile .lib\`
48199 if [ -z ${D}outimpFile ]; then
48200 outimpFile=${D}outFile
48202 defFile="${D}{outFile}.def"
48203 arcFile="${D}{outimpFile}.a"
48204 arcFile2="${D}{outimpFile}.lib"
48206 #create ${D}dllFile as something matching 8.3 restrictions,
48207 if [ -z ${D}renameScript ] ; then
48208 dllFile="${D}outFile"
48210 dllFile=\`${D}renameScript ${D}outimpFile\`
48213 if [ ${D}do_backup -ne 0 ] ; then
48214 if [ -f ${D}arcFile ] ; then
48215 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48217 if [ -f ${D}arcFile2 ] ; then
48218 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48222 # Extract public symbols from all the object files.
48223 tmpdefFile=${D}{defFile}_%
48224 rm -f ${D}tmpdefFile
48225 for file in ${D}inputFiles ; do
48230 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48235 # Create the def file.
48237 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48238 dllFile="${D}{dllFile}.dll"
48239 if [ ! -z ${D}description ]; then
48240 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48242 echo "EXPORTS" >> ${D}defFile
48244 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48245 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48247 # Checks if the export is ok or not.
48248 for word in ${D}exclude_symbols; do
48249 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48250 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48254 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48255 sed "=" < ${D}tmpdefFile | \\
48259 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48261 ' > ${D}{tmpdefFile}%
48262 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48264 rm -f ${D}{tmpdefFile}%
48266 cat ${D}tmpdefFile >> ${D}defFile
48267 rm -f ${D}tmpdefFile
48269 # Do linking, create implib, and apply lxlite.
48271 for file in ${D}inputFiles ; do
48276 gccCmdl="${D}gccCmdl ${D}file"
48280 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48281 touch "${D}{outFile}.dll"
48283 doCommand "emximp -o ${D}arcFile ${D}defFile"
48284 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48286 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48289 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48291 doCommand "emxomf -s -l ${D}arcFile"
48301 powerpc
-apple-macos* | \
48302 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48313 if test "x$PIC_FLAG" != "x" ; then
48314 PIC_FLAG
="$PIC_FLAG -DPIC"
48317 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48318 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48320 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48321 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48340 case "${BAKEFILE_HOST}" in
48341 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48342 SONAME_FLAG
="-Wl,-soname,"
48376 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48377 if test "${enable_dependency_tracking+set}" = set; then
48378 enableval
="$enable_dependency_tracking"
48379 bk_use_trackdeps
="$enableval"
48382 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48383 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48385 if test "x$bk_use_trackdeps" = "xno" ; then
48387 echo "$as_me:$LINENO: result: disabled" >&5
48388 echo "${ECHO_T}disabled" >&6
48392 if test "x$GCC" = "xyes"; then
48394 case "${BAKEFILE_HOST}" in
48396 DEPSFLAG
="-no-cpp-precomp -MMD"
48402 echo "$as_me:$LINENO: result: gcc" >&5
48403 echo "${ECHO_T}gcc" >&6
48404 elif test "x$MWCC" = "xyes"; then
48407 echo "$as_me:$LINENO: result: mwcc" >&5
48408 echo "${ECHO_T}mwcc" >&6
48409 elif test "x$SUNCC" = "xyes"; then
48412 echo "$as_me:$LINENO: result: Sun cc" >&5
48413 echo "${ECHO_T}Sun cc" >&6
48414 elif test "x$SGICC" = "xyes"; then
48417 echo "$as_me:$LINENO: result: SGI cc" >&5
48418 echo "${ECHO_T}SGI cc" >&6
48419 elif test "x$HPCC" = "xyes"; then
48422 echo "$as_me:$LINENO: result: HP cc" >&5
48423 echo "${ECHO_T}HP cc" >&6
48424 elif test "x$COMPAQCC" = "xyes"; then
48427 echo "$as_me:$LINENO: result: Compaq cc" >&5
48428 echo "${ECHO_T}Compaq cc" >&6
48431 echo "$as_me:$LINENO: result: none" >&5
48432 echo "${ECHO_T}none" >&6
48435 if test $DEPS_TRACKING = 1 ; then
48441 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48442 # script. It is used to track C/C++ files dependencies in portable way.
48444 # Permission is given to use this file in any way.
48446 DEPSMODE=${DEPSMODE}
48448 DEPSFLAG="${DEPSFLAG}"
48450 mkdir -p ${D}DEPSDIR
48452 if test ${D}DEPSMODE = gcc ; then
48453 ${D}* ${D}{DEPSFLAG}
48455 if test ${D}{status} != 0 ; then
48458 # move created file to the location we want it in:
48459 while test ${D}# -gt 0; do
48473 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48474 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48475 if test -f ${D}depfile ; then
48476 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48479 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48480 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48481 if test ! -f ${D}depfile ; then
48482 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48483 depfile="${D}objfile.d"
48485 if test -f ${D}depfile ; then
48486 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48491 elif test ${D}DEPSMODE = mwcc ; then
48492 ${D}* || exit ${D}?
48493 # Run mwcc again with -MM and redirect into the dep file we want
48494 # NOTE: We can't use shift here because we need ${D}* to be valid
48496 for arg in ${D}* ; do
48497 if test "${D}prevarg" = "-o"; then
48510 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48512 elif test ${D}DEPSMODE = unixcc; then
48513 ${D}* || exit ${D}?
48514 # Run compiler again with deps flag and redirect into the dep file.
48515 # It doesn't work if the '-o FILE' option is used, but without it the
48516 # dependency file will contain the wrong name for the object. So it is
48517 # removed from the command line, and the dep file is fixed with sed.
48519 while test ${D}# -gt 0; do
48526 eval arg${D}#=\\${D}1
48527 cmd="${D}cmd \\${D}arg${D}#"
48532 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48547 case ${BAKEFILE_HOST} in
48548 *-*-cygwin* | *-*-mingw32* )
48549 if test -n "$ac_tool_prefix"; then
48550 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48551 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48552 echo "$as_me:$LINENO: checking for $ac_word" >&5
48553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48554 if test "${ac_cv_prog_WINDRES+set}" = set; then
48555 echo $ECHO_N "(cached) $ECHO_C" >&6
48557 if test -n "$WINDRES"; then
48558 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48561 for as_dir
in $PATH
48564 test -z "$as_dir" && as_dir
=.
48565 for ac_exec_ext
in '' $ac_executable_extensions; do
48566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48567 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48576 WINDRES
=$ac_cv_prog_WINDRES
48577 if test -n "$WINDRES"; then
48578 echo "$as_me:$LINENO: result: $WINDRES" >&5
48579 echo "${ECHO_T}$WINDRES" >&6
48581 echo "$as_me:$LINENO: result: no" >&5
48582 echo "${ECHO_T}no" >&6
48586 if test -z "$ac_cv_prog_WINDRES"; then
48587 ac_ct_WINDRES
=$WINDRES
48588 # Extract the first word of "windres", so it can be a program name with args.
48589 set dummy windres
; ac_word
=$2
48590 echo "$as_me:$LINENO: checking for $ac_word" >&5
48591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48592 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48593 echo $ECHO_N "(cached) $ECHO_C" >&6
48595 if test -n "$ac_ct_WINDRES"; then
48596 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48599 for as_dir
in $PATH
48602 test -z "$as_dir" && as_dir
=.
48603 for ac_exec_ext
in '' $ac_executable_extensions; do
48604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48605 ac_cv_prog_ac_ct_WINDRES
="windres"
48606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48614 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48615 if test -n "$ac_ct_WINDRES"; then
48616 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48617 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48619 echo "$as_me:$LINENO: result: no" >&5
48620 echo "${ECHO_T}no" >&6
48623 WINDRES
=$ac_ct_WINDRES
48625 WINDRES
="$ac_cv_prog_WINDRES"
48630 *-*-darwin* | powerpc
-apple-macos* )
48631 # Extract the first word of "Rez", so it can be a program name with args.
48632 set dummy Rez
; ac_word
=$2
48633 echo "$as_me:$LINENO: checking for $ac_word" >&5
48634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48635 if test "${ac_cv_prog_REZ+set}" = set; then
48636 echo $ECHO_N "(cached) $ECHO_C" >&6
48638 if test -n "$REZ"; then
48639 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48642 for as_dir
in $PATH
48645 test -z "$as_dir" && as_dir
=.
48646 for ac_exec_ext
in '' $ac_executable_extensions; do
48647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48648 ac_cv_prog_REZ
="Rez"
48649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48655 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48658 REZ
=$ac_cv_prog_REZ
48659 if test -n "$REZ"; then
48660 echo "$as_me:$LINENO: result: $REZ" >&5
48661 echo "${ECHO_T}$REZ" >&6
48663 echo "$as_me:$LINENO: result: no" >&5
48664 echo "${ECHO_T}no" >&6
48667 # Extract the first word of "SetFile", so it can be a program name with args.
48668 set dummy SetFile
; ac_word
=$2
48669 echo "$as_me:$LINENO: checking for $ac_word" >&5
48670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48671 if test "${ac_cv_prog_SETFILE+set}" = set; then
48672 echo $ECHO_N "(cached) $ECHO_C" >&6
48674 if test -n "$SETFILE"; then
48675 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48678 for as_dir
in $PATH
48681 test -z "$as_dir" && as_dir
=.
48682 for ac_exec_ext
in '' $ac_executable_extensions; do
48683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48684 ac_cv_prog_SETFILE
="SetFile"
48685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48691 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48694 SETFILE
=$ac_cv_prog_SETFILE
48695 if test -n "$SETFILE"; then
48696 echo "$as_me:$LINENO: result: $SETFILE" >&5
48697 echo "${ECHO_T}$SETFILE" >&6
48699 echo "$as_me:$LINENO: result: no" >&5
48700 echo "${ECHO_T}no" >&6
48711 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48714 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48718 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48719 if test "${enable_precomp_headers+set}" = set; then
48720 enableval
="$enable_precomp_headers"
48721 bk_use_pch
="$enableval"
48728 case ${BAKEFILE_HOST} in
48734 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48735 if test "x$GCC" = "xyes"; then
48736 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48737 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48738 cat >conftest.
$ac_ext <<_ACEOF
48741 cat confdefs.h
>>conftest.
$ac_ext
48742 cat >>conftest.
$ac_ext <<_ACEOF
48743 /* end confdefs.h. */
48749 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48750 There is no PCH support
48753 There is no PCH support
48755 #if (__GNUC__ == 3) && \
48756 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48757 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48758 ( defined(__INTEL_COMPILER) )
48759 There is no PCH support
48766 rm -f conftest.
$ac_objext
48767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48768 (eval $ac_compile) 2>conftest.er1
48770 grep -v '^ *+' conftest.er1
>conftest.err
48772 cat conftest.err
>&5
48773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48774 (exit $ac_status); } &&
48775 { ac_try
='test -z "$ac_c_werror_flag"
48776 || test ! -s conftest.err'
48777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48778 (eval $ac_try) 2>&5
48780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48781 (exit $ac_status); }; } &&
48782 { ac_try
='test -s conftest.$ac_objext'
48783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48784 (eval $ac_try) 2>&5
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); }; }; then
48789 echo "$as_me:$LINENO: result: yes" >&5
48790 echo "${ECHO_T}yes" >&6
48794 echo "$as_me: failed program was:" >&5
48795 sed 's/^/| /' conftest.
$ac_ext >&5
48798 cat >conftest.
$ac_ext <<_ACEOF
48801 cat confdefs.h
>>conftest.
$ac_ext
48802 cat >>conftest.
$ac_ext <<_ACEOF
48803 /* end confdefs.h. */
48809 #if !defined(__INTEL_COMPILER) || \
48810 (__INTEL_COMPILER < 800)
48811 There is no PCH support
48818 rm -f conftest.
$ac_objext
48819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48820 (eval $ac_compile) 2>conftest.er1
48822 grep -v '^ *+' conftest.er1
>conftest.err
48824 cat conftest.err
>&5
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); } &&
48827 { ac_try
='test -z "$ac_c_werror_flag"
48828 || test ! -s conftest.err'
48829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830 (eval $ac_try) 2>&5
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; } &&
48834 { ac_try
='test -s conftest.$ac_objext'
48835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48836 (eval $ac_try) 2>&5
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); }; }; then
48841 echo "$as_me:$LINENO: result: yes" >&5
48842 echo "${ECHO_T}yes" >&6
48846 echo "$as_me: failed program was:" >&5
48847 sed 's/^/| /' conftest.
$ac_ext >&5
48850 echo "$as_me:$LINENO: result: no" >&5
48851 echo "${ECHO_T}no" >&6
48854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48858 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48862 cat <<EOF >bk-make-pch
48865 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48866 # script. It is used to generated precompiled headers.
48868 # Permission is given to use this file in any way.
48878 while test ${D}{#} -gt 0; do
48882 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48883 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48884 headerfile="${D}{incdir}/${D}{header}"
48887 -use-pch|-use_pch )
48892 if test ${D}add_to_cmdline = 1 ; then
48893 compiler="${D}{compiler} ${D}{1}"
48898 if test "x${D}{headerfile}" = "x" ; then
48899 echo "error: can't find header ${D}{header} in include paths" >&2
48901 if test -f ${D}{outfile} ; then
48902 rm -f ${D}{outfile}
48904 mkdir -p \`dirname ${D}{outfile}\`
48906 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48908 if test "x${GCC_PCH}" = "x1" ; then
48909 # can do this because gcc is >= 3.4:
48910 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48911 elif test "x${ICC_PCH}" = "x1" ; then
48912 filename=pch_gen-${D}${D}
48913 file=${D}{filename}.c
48914 dfile=${D}{filename}.d
48915 cat > ${D}file <<EOT
48916 #include "${D}header"
48918 # using -MF icc complains about differing command lines in creation/use
48919 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48920 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48921 rm -f ${D}file ${D}dfile ${D}{filename}.o
48927 chmod +x bk
-make-pch
48935 COND_BUILD_DEBUG
="#"
48936 if test "x$BUILD" = "xdebug" ; then
48937 COND_BUILD_DEBUG
=""
48940 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48941 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48945 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48947 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48950 COND_BUILD_DEBUG_UNICODE_0
="#"
48951 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48952 COND_BUILD_DEBUG_UNICODE_0
=""
48955 COND_BUILD_DEBUG_UNICODE_1
="#"
48956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48957 COND_BUILD_DEBUG_UNICODE_1
=""
48960 COND_BUILD_RELEASE
="#"
48961 if test "x$BUILD" = "xrelease" ; then
48962 COND_BUILD_RELEASE
=""
48965 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48966 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48967 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48970 COND_BUILD_RELEASE_UNICODE_0
="#"
48971 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48972 COND_BUILD_RELEASE_UNICODE_0
=""
48975 COND_BUILD_RELEASE_UNICODE_1
="#"
48976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48977 COND_BUILD_RELEASE_UNICODE_1
=""
48980 COND_DEBUG_FLAG_1
="#"
48981 if test "x$DEBUG_FLAG" = "x1" ; then
48982 COND_DEBUG_FLAG_1
=""
48985 COND_DEBUG_INFO_0
="#"
48986 if test "x$DEBUG_INFO" = "x0" ; then
48987 COND_DEBUG_INFO_0
=""
48990 COND_DEBUG_INFO_1
="#"
48991 if test "x$DEBUG_INFO" = "x1" ; then
48992 COND_DEBUG_INFO_1
=""
48995 COND_DEPS_TRACKING_0
="#"
48996 if test "x$DEPS_TRACKING" = "x0" ; then
48997 COND_DEPS_TRACKING_0
=""
49000 COND_DEPS_TRACKING_1
="#"
49001 if test "x$DEPS_TRACKING" = "x1" ; then
49002 COND_DEPS_TRACKING_1
=""
49006 if test "x$GCC_PCH" = "x1" ; then
49011 if test "x$ICC_PCH" = "x1" ; then
49015 COND_MONOLITHIC_0
="#"
49016 if test "x$MONOLITHIC" = "x0" ; then
49017 COND_MONOLITHIC_0
=""
49020 COND_MONOLITHIC_0_SHARED_0
="#"
49021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49022 COND_MONOLITHIC_0_SHARED_0
=""
49025 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49027 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49030 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49040 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49055 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49057 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49060 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49062 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49065 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49067 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49070 COND_MONOLITHIC_0_SHARED_1
="#"
49071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49072 COND_MONOLITHIC_0_SHARED_1
=""
49075 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49077 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49105 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49107 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49110 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49112 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49115 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49117 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49120 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49121 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49122 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49125 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49126 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49127 COND_MONOLITHIC_0_USE_ODBC_1
=""
49130 COND_MONOLITHIC_1
="#"
49131 if test "x$MONOLITHIC" = "x1" ; then
49132 COND_MONOLITHIC_1
=""
49135 COND_MONOLITHIC_1_SHARED_0
="#"
49136 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49137 COND_MONOLITHIC_1_SHARED_0
=""
49140 COND_MONOLITHIC_1_SHARED_1
="#"
49141 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49142 COND_MONOLITHIC_1_SHARED_1
=""
49145 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49146 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49147 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49150 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49151 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49152 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49155 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49156 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49157 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49160 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49161 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49162 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49165 COND_PLATFORM_MACOSX_1
="#"
49166 if test "x$PLATFORM_MACOSX" = "x1" ; then
49167 COND_PLATFORM_MACOSX_1
=""
49170 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49171 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49172 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49175 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49176 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49177 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49180 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49181 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49182 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49185 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49186 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49187 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49190 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49191 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49192 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49195 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49196 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49197 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49200 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49201 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49202 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49205 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49206 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49207 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49210 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49211 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49212 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49215 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49217 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49220 COND_PLATFORM_MACOS_1
="#"
49221 if test "x$PLATFORM_MACOS" = "x1" ; then
49222 COND_PLATFORM_MACOS_1
=""
49225 COND_PLATFORM_MAC_1
="#"
49226 if test "x$PLATFORM_MAC" = "x1" ; then
49227 COND_PLATFORM_MAC_1
=""
49230 COND_PLATFORM_MSDOS_0
="#"
49231 if test "x$PLATFORM_MSDOS" = "x0" ; then
49232 COND_PLATFORM_MSDOS_0
=""
49235 COND_PLATFORM_MSDOS_1
="#"
49236 if test "x$PLATFORM_MSDOS" = "x1" ; then
49237 COND_PLATFORM_MSDOS_1
=""
49240 COND_PLATFORM_OS2_1
="#"
49241 if test "x$PLATFORM_OS2" = "x1" ; then
49242 COND_PLATFORM_OS2_1
=""
49245 COND_PLATFORM_UNIX_0
="#"
49246 if test "x$PLATFORM_UNIX" = "x0" ; then
49247 COND_PLATFORM_UNIX_0
=""
49250 COND_PLATFORM_UNIX_1
="#"
49251 if test "x$PLATFORM_UNIX" = "x1" ; then
49252 COND_PLATFORM_UNIX_1
=""
49255 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49256 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49257 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49260 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49261 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49262 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49265 COND_PLATFORM_WIN32_0
="#"
49266 if test "x$PLATFORM_WIN32" = "x0" ; then
49267 COND_PLATFORM_WIN32_0
=""
49270 COND_PLATFORM_WIN32_1
="#"
49271 if test "x$PLATFORM_WIN32" = "x1" ; then
49272 COND_PLATFORM_WIN32_1
=""
49276 if test "x$SHARED" = "x0" ; then
49280 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49281 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49282 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49285 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49286 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49287 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49290 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49291 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49292 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49295 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49296 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49297 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49300 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49301 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49302 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49305 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49306 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49307 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49310 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49311 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49312 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49315 COND_SHARED_0_USE_XRC_1
="#"
49316 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49317 COND_SHARED_0_USE_XRC_1
=""
49320 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49321 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49322 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49325 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49326 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49327 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49330 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49331 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49332 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49335 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49336 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49337 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49341 if test "x$SHARED" = "x1" ; then
49345 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49346 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49347 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49350 COND_SHARED_1_USE_XRC_1
="#"
49351 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49352 COND_SHARED_1_USE_XRC_1
=""
49356 if test "x$TOOLKIT" = "x" ; then
49360 COND_TOOLKIT_COCOA
="#"
49361 if test "x$TOOLKIT" = "xCOCOA" ; then
49362 COND_TOOLKIT_COCOA
=""
49365 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49366 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49367 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49370 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49371 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49372 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49375 COND_TOOLKIT_DFB
="#"
49376 if test "x$TOOLKIT" = "xDFB" ; then
49377 COND_TOOLKIT_DFB
=""
49380 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49381 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49382 COND_TOOLKIT_DFB_USE_GUI_1
=""
49385 COND_TOOLKIT_GTK
="#"
49386 if test "x$TOOLKIT" = "xGTK" ; then
49387 COND_TOOLKIT_GTK
=""
49390 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49391 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49392 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49395 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49396 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49397 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49400 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49401 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49402 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49405 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49406 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49407 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49410 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49411 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49412 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49415 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49416 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49417 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49420 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49421 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49422 COND_TOOLKIT_GTK_USE_GUI_1
=""
49425 COND_TOOLKIT_MAC
="#"
49426 if test "x$TOOLKIT" = "xMAC" ; then
49427 COND_TOOLKIT_MAC
=""
49430 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49431 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49432 COND_TOOLKIT_MAC_USE_GUI_1
=""
49435 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49436 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49437 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49440 COND_TOOLKIT_MGL
="#"
49441 if test "x$TOOLKIT" = "xMGL" ; then
49442 COND_TOOLKIT_MGL
=""
49445 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49446 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49447 COND_TOOLKIT_MGL_USE_GUI_1
=""
49450 COND_TOOLKIT_MOTIF
="#"
49451 if test "x$TOOLKIT" = "xMOTIF" ; then
49452 COND_TOOLKIT_MOTIF
=""
49455 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49456 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49457 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49460 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49461 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49462 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49465 COND_TOOLKIT_MSW
="#"
49466 if test "x$TOOLKIT" = "xMSW" ; then
49467 COND_TOOLKIT_MSW
=""
49470 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49471 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49472 COND_TOOLKIT_MSW_USE_GUI_1
=""
49475 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49476 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49477 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49480 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49481 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49482 COND_TOOLKIT_MSW_WXUNIV_0
=""
49485 COND_TOOLKIT_PM
="#"
49486 if test "x$TOOLKIT" = "xPM" ; then
49490 COND_TOOLKIT_PM_USE_GUI_1
="#"
49491 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49492 COND_TOOLKIT_PM_USE_GUI_1
=""
49495 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49496 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49497 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49500 COND_TOOLKIT_WINCE
="#"
49501 if test "x$TOOLKIT" = "xWINCE" ; then
49502 COND_TOOLKIT_WINCE
=""
49505 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49506 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49507 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49510 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49511 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49512 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49515 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49516 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49517 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49520 COND_TOOLKIT_X11
="#"
49521 if test "x$TOOLKIT" = "xX11" ; then
49522 COND_TOOLKIT_X11
=""
49525 COND_TOOLKIT_X11_USE_GUI_1
="#"
49526 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49527 COND_TOOLKIT_X11_USE_GUI_1
=""
49531 if test "x$UNICODE" = "x1" ; then
49535 COND_USE_EXCEPTIONS_0
="#"
49536 if test "x$USE_EXCEPTIONS" = "x0" ; then
49537 COND_USE_EXCEPTIONS_0
=""
49540 COND_USE_EXCEPTIONS_1
="#"
49541 if test "x$USE_EXCEPTIONS" = "x1" ; then
49542 COND_USE_EXCEPTIONS_1
=""
49546 if test "x$USE_GUI" = "x0" ; then
49551 if test "x$USE_GUI" = "x1" ; then
49555 COND_USE_GUI_1_WXUNIV_0
="#"
49556 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49557 COND_USE_GUI_1_WXUNIV_0
=""
49560 COND_USE_GUI_1_WXUNIV_1
="#"
49561 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49562 COND_USE_GUI_1_WXUNIV_1
=""
49565 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49566 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49567 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49570 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49571 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49572 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49575 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49576 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49577 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49580 COND_USE_ODBC_1
="#"
49581 if test "x$USE_ODBC" = "x1" ; then
49585 COND_USE_OPENGL_1
="#"
49586 if test "x$USE_OPENGL" = "x1" ; then
49587 COND_USE_OPENGL_1
=""
49591 if test "x$USE_PCH" = "x1" ; then
49595 COND_USE_PLUGINS_0
="#"
49596 if test "x$USE_PLUGINS" = "x0" ; then
49597 COND_USE_PLUGINS_0
=""
49600 COND_USE_RTTI_0
="#"
49601 if test "x$USE_RTTI" = "x0" ; then
49605 COND_USE_RTTI_1
="#"
49606 if test "x$USE_RTTI" = "x1" ; then
49610 COND_USE_SOSYMLINKS_1
="#"
49611 if test "x$USE_SOSYMLINKS" = "x1" ; then
49612 COND_USE_SOSYMLINKS_1
=""
49615 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49616 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49617 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49620 COND_USE_SOVERLINUX_1
="#"
49621 if test "x$USE_SOVERLINUX" = "x1" ; then
49622 COND_USE_SOVERLINUX_1
=""
49625 COND_USE_SOVERSION_0
="#"
49626 if test "x$USE_SOVERSION" = "x0" ; then
49627 COND_USE_SOVERSION_0
=""
49630 COND_USE_SOVERSOLARIS_1
="#"
49631 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49632 COND_USE_SOVERSOLARIS_1
=""
49635 COND_USE_THREADS_0
="#"
49636 if test "x$USE_THREADS" = "x0" ; then
49637 COND_USE_THREADS_0
=""
49640 COND_USE_THREADS_1
="#"
49641 if test "x$USE_THREADS" = "x1" ; then
49642 COND_USE_THREADS_1
=""
49646 if test "x$USE_XRC" = "x1" ; then
49650 COND_WINDOWS_IMPLIB_1
="#"
49651 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49652 COND_WINDOWS_IMPLIB_1
=""
49655 COND_WITH_PLUGIN_SDL_1
="#"
49656 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49657 COND_WITH_PLUGIN_SDL_1
=""
49661 if test "x$WXUNIV" = "x0" ; then
49666 if test "x$WXUNIV" = "x1" ; then
49670 COND_WXUSE_EXPAT_BUILTIN
="#"
49671 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49672 COND_WXUSE_EXPAT_BUILTIN
=""
49675 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49676 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49677 COND_WXUSE_LIBJPEG_BUILTIN
=""
49680 COND_WXUSE_LIBPNG_BUILTIN
="#"
49681 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49682 COND_WXUSE_LIBPNG_BUILTIN
=""
49685 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49686 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49687 COND_WXUSE_LIBTIFF_BUILTIN
=""
49690 COND_WXUSE_ODBC_BUILTIN
="#"
49691 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49692 COND_WXUSE_ODBC_BUILTIN
=""
49695 COND_WXUSE_REGEX_BUILTIN
="#"
49696 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49697 COND_WXUSE_REGEX_BUILTIN
=""
49700 COND_WXUSE_ZLIB_BUILTIN
="#"
49701 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49702 COND_WXUSE_ZLIB_BUILTIN
=""
49707 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49708 { { 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
49709 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;}
49710 { (exit 1); exit 1; }; }
49713 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49714 { { 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
49715 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;}
49716 { (exit 1); exit 1; }; }
49721 if test "$wxUSE_MAC" = 1 ; then
49722 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49723 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49729 if test "$wxUSE_SHARED" = "yes"; then
49731 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49732 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49735 *-pc-os2_emx | *-pc-os2-emx )
49736 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49737 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49738 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49739 cp -p ${srcdir}/src
/os
2/dllar.sh .
49744 EXE_LINKER
="$CXX -o"
49747 if test "$wxUSE_OMF" = "yes"; then
49749 *-pc-os2_emx | *-pc-os2-emx )
49750 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49751 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49752 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49757 if test $GCC_PCH = 1 ; then
49758 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49761 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49763 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49825 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49826 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49827 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49828 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49829 echo $ECHO_N "(cached) $ECHO_C" >&6
49831 cat >conftest.
make <<\_ACEOF
49833 @
echo 'ac_maketemp="$(MAKE)"'
49835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49836 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49837 if test -n "$ac_maketemp"; then
49838 eval ac_cv_prog_make_
${ac_make}_set
=yes
49840 eval ac_cv_prog_make_
${ac_make}_set
=no
49842 rm -f conftest.
make
49844 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49845 echo "$as_me:$LINENO: result: yes" >&5
49846 echo "${ECHO_T}yes" >&6
49849 echo "$as_me:$LINENO: result: no" >&5
49850 echo "${ECHO_T}no" >&6
49851 SET_MAKE
="MAKE=${MAKE-make}"
49856 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49859 if test "$USE_WIN32" = 1; then
49860 ac_config_commands
="$ac_config_commands
49866 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49869 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49872 ac_config_files
="$ac_config_files version-script Makefile"
49875 ac_config_commands
="$ac_config_commands wx-config"
49879 if test "$wxWITH_SUBDIRS" != "no"; then
49880 if test "$wxUSE_GUI" = "yes"; then
49881 SUBDIRS
="samples demos utils contrib"
49882 else SUBDIRS
="samples utils"
49887 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49888 if test "${with_cppunit_prefix+set}" = set; then
49889 withval
="$with_cppunit_prefix"
49890 cppunit_config_prefix
="$withval"
49892 cppunit_config_prefix
=""
49895 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49896 if test "${with_cppunit_exec_prefix+set}" = set; then
49897 withval
="$with_cppunit_exec_prefix"
49898 cppunit_config_exec_prefix
="$withval"
49900 cppunit_config_exec_prefix
=""
49903 if test x
$cppunit_config_exec_prefix != x
; then
49904 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49905 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49906 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49909 if test x
$cppunit_config_prefix != x
; then
49910 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49911 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49912 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49916 # Extract the first word of "cppunit-config", so it can be a program name with args.
49917 set dummy cppunit
-config; ac_word
=$2
49918 echo "$as_me:$LINENO: checking for $ac_word" >&5
49919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49920 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49921 echo $ECHO_N "(cached) $ECHO_C" >&6
49923 case $CPPUNIT_CONFIG in
49925 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49929 for as_dir
in $PATH
49932 test -z "$as_dir" && as_dir
=.
49933 for ac_exec_ext
in '' $ac_executable_extensions; do
49934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49935 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49942 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49946 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49948 if test -n "$CPPUNIT_CONFIG"; then
49949 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49950 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49952 echo "$as_me:$LINENO: result: no" >&5
49953 echo "${ECHO_T}no" >&6
49956 cppunit_version_min
=1.8.0
49958 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49959 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49961 if test "$CPPUNIT_CONFIG" = "no" ; then
49962 echo "$as_me:$LINENO: result: no" >&5
49963 echo "${ECHO_T}no" >&6
49966 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49967 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49968 cppunit_version
=`$CPPUNIT_CONFIG --version`
49970 cppunit_major_version
=`echo $cppunit_version | \
49971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49972 cppunit_minor_version
=`echo $cppunit_version | \
49973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49974 cppunit_micro_version
=`echo $cppunit_version | \
49975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49977 cppunit_major_min
=`echo $cppunit_version_min | \
49978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49979 cppunit_minor_min
=`echo $cppunit_version_min | \
49980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49981 cppunit_micro_min
=`echo $cppunit_version_min | \
49982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49984 cppunit_version_proper
=`expr \
49985 $cppunit_major_version \> $cppunit_major_min \| \
49986 $cppunit_major_version \= $cppunit_major_min \& \
49987 $cppunit_minor_version \> $cppunit_minor_min \| \
49988 $cppunit_major_version \= $cppunit_major_min \& \
49989 $cppunit_minor_version \= $cppunit_minor_min \& \
49990 $cppunit_micro_version \>= $cppunit_micro_min `
49992 if test "$cppunit_version_proper" = "1" ; then
49993 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49994 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49996 echo "$as_me:$LINENO: result: no" >&5
49997 echo "${ECHO_T}no" >&6
50002 if test "x$no_cppunit" = x
; then
50003 SUBDIRS
="$SUBDIRS tests"
50014 for subdir
in `echo $SUBDIRS`; do
50015 if test -d ${srcdir}/${subdir} ; then
50016 if test "$wxUSE_GUI" = "yes"; then
50017 if test ${subdir} = "samples"; then
50018 makefiles
="samples/Makefile.in $makefiles"
50019 for sample
in `echo $SAMPLES_SUBDIRS`; do
50020 if test -d $srcdir/samples
/$sample; then
50021 makefiles
="samples/$sample/Makefile.in $makefiles"
50025 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50026 eval "disabled=\$$disabled_var"
50027 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50028 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50030 else if test ${subdir} = "samples"; then
50031 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50032 elif test ${subdir} = "utils"; then
50034 for util
in HelpGen tex2rtf
; do
50035 if test -d $srcdir/utils
/$util ; then
50036 makefiles
="utils/$util/Makefile.in \
50037 utils/$util/src/Makefile.in \
50041 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50045 for mkin
in $makefiles ; do
50046 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50047 ac_config_files
="$ac_config_files $mk"
50053 cat >confcache
<<\_ACEOF
50054 # This file is a shell script that caches the results of configure
50055 # tests run on this system so they can be shared between configure
50056 # scripts and configure runs, see configure's option --config-cache.
50057 # It is not useful on other systems. If it contains results you don't
50058 # want to keep, you may remove or edit it.
50060 # config.status only pays attention to the cache file if you give it
50061 # the --recheck option to rerun configure.
50063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50065 # following values.
50069 # The following way of writing the cache mishandles newlines in values,
50070 # but we know of no workaround that is simple, portable, and efficient.
50071 # So, don't put newlines in cache variables' values.
50072 # Ultrix sh set writes to stderr and can't be redirected directly,
50073 # and sets the high bit in the cache file unless we assign to the vars.
50076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50078 # `set' does not quote correctly, so add quotes (double-quote
50079 # substitution turns \\\\ into \\, and sed turns \\ into \).
50082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50085 # `set' quotes correctly as required by POSIX, so do not add quotes.
50087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50098 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50099 if test -w $cache_file; then
50100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50101 cat confcache
>$cache_file
50103 echo "not updating unwritable cache $cache_file"
50108 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50109 # Let make expand exec_prefix.
50110 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50114 # trailing colons and then remove the whole line if VPATH becomes empty
50115 # (actually we leave an empty line to preserve line numbers).
50116 if test "x$srcdir" = x.
; then
50117 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50118 s/:*\$(srcdir):*/:/;
50119 s/:*\${srcdir}:*/:/;
50121 s/^\([^=]*=[ ]*\):*/\1/;
50127 DEFS
=-DHAVE_CONFIG_H
50131 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50132 # 1. Remove the extension, and $U if already installed.
50133 ac_i
=`echo "$ac_i" |
50134 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50136 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50137 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50139 LIBOBJS
=$ac_libobjs
50141 LTLIBOBJS
=$ac_ltlibobjs
50145 : ${CONFIG_STATUS=./config.status}
50146 ac_clean_files_save
=$ac_clean_files
50147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50148 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50149 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50150 cat >$CONFIG_STATUS <<_ACEOF
50152 # Generated by $as_me.
50153 # Run this file to recreate the current configuration.
50154 # Compiler output produced by configure, useful for debugging
50155 # configure, is in config.log if it exists.
50158 ac_cs_recheck=false
50160 SHELL=\${CONFIG_SHELL-$SHELL}
50163 cat >>$CONFIG_STATUS <<\_ACEOF
50164 ## --------------------- ##
50165 ## M4sh Initialization. ##
50166 ## --------------------- ##
50168 # Be Bourne compatible
50169 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50172 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50173 # is contrary to our usage. Disable this feature.
50174 alias -g '${1+"$@"}'='"$@"'
50175 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50178 DUALCASE
=1; export DUALCASE
# for MKS sh
50180 # Support unset when possible.
50181 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50188 # Work around bugs in pre-3.0 UWIN ksh.
50189 $as_unset ENV MAIL MAILPATH
50196 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50197 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50198 LC_TELEPHONE LC_TIME
50200 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50201 eval $as_var=C
; export $as_var
50207 # Required to use basename.
50208 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50214 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50215 as_basename
=basename
50221 # Name of the executable.
50222 as_me
=`$as_basename "$0" ||
50223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50224 X"$0" : 'X\(//\)$' \| \
50225 X"$0" : 'X\(/\)$' \| \
50226 . : '\(.\)' 2>/dev/null ||
50228 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50229 /^X\/\(\/\/\)$/{ s//\1/; q; }
50230 /^X\/\(\/\).*/{ s//\1/; q; }
50234 # PATH needs CR, and LINENO needs CR and PATH.
50235 # Avoid depending upon Character Ranges.
50236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50239 as_cr_digits
='0123456789'
50240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50242 # The user is always right.
50243 if test "${PATH_SEPARATOR+set}" != set; then
50244 echo "#! /bin/sh" >conf$$.sh
50245 echo "exit 0" >>conf$$.sh
50247 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50256 as_lineno_1
=$LINENO
50257 as_lineno_2
=$LINENO
50258 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50259 test "x$as_lineno_1" != "x$as_lineno_2" &&
50260 test "x$as_lineno_3" = "x$as_lineno_2" || {
50261 # Find who we are. Look in the path if we contain no path at all
50264 *[\\/]* ) as_myself
=$0 ;;
50265 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50266 for as_dir
in $PATH
50269 test -z "$as_dir" && as_dir
=.
50270 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50275 # We did not find ourselves, most probably we were run as `sh COMMAND'
50276 # in which case we are not to be found in the path.
50277 if test "x$as_myself" = x
; then
50280 if test ! -f "$as_myself"; then
50281 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50282 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50283 { (exit 1); exit 1; }; }
50285 case $CONFIG_SHELL in
50287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50288 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50291 test -z "$as_dir" && as_dir
=.
50292 for as_base
in sh bash ksh sh5
; do
50295 if ("$as_dir/$as_base" -c '
50296 as_lineno_1=$LINENO
50297 as_lineno_2=$LINENO
50298 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50299 test "x$as_lineno_1" != "x$as_lineno_2" &&
50300 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50301 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50302 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50303 CONFIG_SHELL
=$as_dir/$as_base
50304 export CONFIG_SHELL
50305 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50314 # uniformly replaced by the line number. The first 'sed' inserts a
50315 # line-number line before each line; the second 'sed' does the real
50316 # work. The second script uses 'N' to pair each line-number line
50317 # with the numbered line, and appends trailing '-' during
50318 # substitution so that $LINENO is not a special case at line end.
50319 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50320 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50321 sed '=' <$as_myself |
50326 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50329 s,^['$as_cr_digits']*\n,,
50330 ' >$as_me.lineno
&&
50331 chmod +x
$as_me.lineno
||
50332 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50333 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50334 { (exit 1); exit 1; }; }
50336 # Don't try to exec as it changes $[0], causing all sort of problems
50337 # (the dirname of $[0] is not the place where we might find the
50338 # original and so on. Autoconf is especially sensible to this).
50340 # Exit status is that of the last command.
50345 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50346 *c
*,-n*) ECHO_N
= ECHO_C
='
50348 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50349 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50352 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50358 rm -f conf$$ conf$$.exe conf$$.
file
50360 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50361 # We could just check for DJGPP; but this test a) works b) is more generic
50362 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50363 if test -f conf$$.exe
; then
50364 # Don't use ln at all; we don't have any links
50369 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50374 rm -f conf$$ conf$$.exe conf$$.
file
50376 if mkdir -p .
2>/dev
/null
; then
50379 test -d .
/-p && rmdir .
/-p
50383 as_executable_p
="test -f"
50385 # Sed expression to map a string onto a valid CPP name.
50386 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50388 # Sed expression to map a string onto a valid variable name.
50389 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50393 # We need space, tab and new line, in precisely that order.
50403 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50404 # report actual input values of CONFIG_FILES etc. instead of their
50405 # values after options handling. Logging --version etc. is OK.
50409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50410 ## Running $as_me. ##
50415 This file was extended by wxWidgets $as_me 2.7.0, which was
50416 generated by GNU Autoconf 2.59. Invocation command line was
50418 CONFIG_FILES = $CONFIG_FILES
50419 CONFIG_HEADERS = $CONFIG_HEADERS
50420 CONFIG_LINKS = $CONFIG_LINKS
50421 CONFIG_COMMANDS = $CONFIG_COMMANDS
50425 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50429 # Files that config.status was made for.
50430 if test -n "$ac_config_files"; then
50431 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50434 if test -n "$ac_config_headers"; then
50435 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50438 if test -n "$ac_config_links"; then
50439 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50442 if test -n "$ac_config_commands"; then
50443 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50446 cat >>$CONFIG_STATUS <<\_ACEOF
50449 \`$as_me' instantiates files from templates according to the
50450 current configuration.
50452 Usage: $0 [OPTIONS] [FILE]...
50454 -h, --help print this help, then exit
50455 -V, --version print version number, then exit
50456 -q, --quiet do not print progress messages
50457 -d, --debug don't remove temporary files
50458 --recheck update $as_me by reconfiguring in the same conditions
50459 --file=FILE[:TEMPLATE]
50460 instantiate the configuration file FILE
50461 --header=FILE[:TEMPLATE]
50462 instantiate the configuration header FILE
50464 Configuration files:
50467 Configuration headers:
50470 Configuration commands:
50473 Report bugs to <bug-autoconf@gnu.org>."
50476 cat >>$CONFIG_STATUS <<_ACEOF
50478 wxWidgets config.status 2.7.0
50479 configured by $0, generated by GNU Autoconf 2.59,
50480 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50482 Copyright (C) 2003 Free Software Foundation, Inc.
50483 This config.status script is free software; the Free Software Foundation
50484 gives unlimited permission to copy, distribute and modify it."
50489 cat >>$CONFIG_STATUS <<\_ACEOF
50490 # If no file are specified by the user, then we need to provide default
50491 # value. By we need to know if files were specified by the user.
50497 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50498 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50506 *) # This is not an option, so the user has probably given explicit
50509 ac_need_defaults
=false
;;
50513 # Handling of the options.
50515 cat >>$CONFIG_STATUS <<\_ACEOF
50516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50518 --version | --vers* | -V )
50519 echo "$ac_cs_version"; exit 0 ;;
50521 # Conflict between --help and --header
50522 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50523 Try \`$0 --help' for more information." >&5
50524 echo "$as_me: error: ambiguous option: $1
50525 Try \`$0 --help' for more information." >&2;}
50526 { (exit 1); exit 1; }; };;
50527 --help | --hel | -h )
50528 echo "$ac_cs_usage"; exit 0 ;;
50529 --debug | --d* | -d )
50531 --file | --fil | --fi | --f )
50533 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50534 ac_need_defaults
=false
;;
50535 --header | --heade | --head | --hea )
50537 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50538 ac_need_defaults
=false
;;
50539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50543 # This is an error.
50544 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50545 Try \`$0 --help' for more information." >&5
50546 echo "$as_me: error: unrecognized option: $1
50547 Try \`$0 --help' for more information." >&2;}
50548 { (exit 1); exit 1; }; } ;;
50550 *) ac_config_targets
="$ac_config_targets $1" ;;
50556 ac_configure_extra_args
=
50558 if $ac_cs_silent; then
50560 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50564 cat >>$CONFIG_STATUS <<_ACEOF
50565 if \$ac_cs_recheck; then
50566 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50567 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50572 cat >>$CONFIG_STATUS <<_ACEOF
50574 # INIT-COMMANDS section.
50579 infile="$srcdir/include/wx/msw/genrcdefs.h"
50580 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50583 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50585 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50593 cat >>$CONFIG_STATUS <<\_ACEOF
50594 for ac_config_target
in $ac_config_targets
50596 case "$ac_config_target" in
50597 # Handling of arguments.
50598 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50599 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50600 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50601 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50602 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50603 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50604 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50605 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50606 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50607 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50608 { (exit 1); exit 1; }; };;
50612 # If the user did not use the arguments to specify the items to instantiate,
50613 # then the envvar interface is used. Set only those that are not.
50614 # We use the long form for the default assignment because of an extremely
50615 # bizarre bug on SunOS 4.1.3.
50616 if $ac_need_defaults; then
50617 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50618 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50619 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50622 # Have a temporary directory for convenience. Make it in the build tree
50623 # simply because there is no reason to put it here, and in addition,
50624 # creating and moving files from /tmp can sometimes cause problems.
50625 # Create a temporary directory, and hook for its removal unless debugging.
50628 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50629 trap '{ (exit 1); exit 1; }' 1 2 13 15
50632 # Create a (secure) tmp directory for tmp files.
50635 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50636 test -n "$tmp" && test -d "$tmp"
50639 tmp
=.
/confstat$$
-$RANDOM
50640 (umask 077 && mkdir $tmp)
50643 echo "$me: cannot create a temporary directory in ." >&2
50644 { (exit 1); exit 1; }
50649 cat >>$CONFIG_STATUS <<_ACEOF
50652 # CONFIG_FILES section.
50655 # No need to generate the scripts if there are no CONFIG_FILES.
50656 # This happens for instance when ./config.status config.h
50657 if test -n "\$CONFIG_FILES"; then
50658 # Protect against being on the right side of a sed subst in config.status.
50659 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50660 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50661 s,@SHELL@,$SHELL,;t t
50662 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50663 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50664 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50665 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50666 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50667 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50668 s,@exec_prefix@,$exec_prefix,;t t
50669 s,@prefix@,$prefix,;t t
50670 s,@program_transform_name@,$program_transform_name,;t t
50671 s,@bindir@,$bindir,;t t
50672 s,@sbindir@,$sbindir,;t t
50673 s,@libexecdir@,$libexecdir,;t t
50674 s,@datadir@,$datadir,;t t
50675 s,@sysconfdir@,$sysconfdir,;t t
50676 s,@sharedstatedir@,$sharedstatedir,;t t
50677 s,@localstatedir@,$localstatedir,;t t
50678 s,@libdir@,$libdir,;t t
50679 s,@includedir@,$includedir,;t t
50680 s,@oldincludedir@,$oldincludedir,;t t
50681 s,@infodir@,$infodir,;t t
50682 s,@mandir@,$mandir,;t t
50683 s,@build_alias@,$build_alias,;t t
50684 s,@host_alias@,$host_alias,;t t
50685 s,@target_alias@,$target_alias,;t t
50686 s,@DEFS@,$DEFS,;t t
50687 s,@ECHO_C@,$ECHO_C,;t t
50688 s,@ECHO_N@,$ECHO_N,;t t
50689 s,@ECHO_T@,$ECHO_T,;t t
50690 s,@LIBS@,$LIBS,;t t
50691 s,@build@,$build,;t t
50692 s,@build_cpu@,$build_cpu,;t t
50693 s,@build_vendor@,$build_vendor,;t t
50694 s,@build_os@,$build_os,;t t
50695 s,@host@,$host,;t t
50696 s,@host_cpu@,$host_cpu,;t t
50697 s,@host_vendor@,$host_vendor,;t t
50698 s,@host_os@,$host_os,;t t
50699 s,@target@,$target,;t t
50700 s,@target_cpu@,$target_cpu,;t t
50701 s,@target_vendor@,$target_vendor,;t t
50702 s,@target_os@,$target_os,;t t
50704 s,@CFLAGS@,$CFLAGS,;t t
50705 s,@LDFLAGS@,$LDFLAGS,;t t
50706 s,@CPPFLAGS@,$CPPFLAGS,;t t
50707 s,@ac_ct_CC@,$ac_ct_CC,;t t
50708 s,@EXEEXT@,$EXEEXT,;t t
50709 s,@OBJEXT@,$OBJEXT,;t t
50711 s,@EGREP@,$EGREP,;t t
50713 s,@CXXFLAGS@,$CXXFLAGS,;t t
50714 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50715 s,@RANLIB@,$RANLIB,;t t
50716 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50718 s,@ac_ct_AR@,$ac_ct_AR,;t t
50719 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50720 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50721 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50722 s,@STRIP@,$STRIP,;t t
50723 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50724 s,@WINDRES@,$WINDRES,;t t
50725 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50726 s,@DLLTOOL@,$DLLTOOL,;t t
50727 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50728 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50729 s,@LN_S@,$LN_S,;t t
50730 s,@CXXCPP@,$CXXCPP,;t t
50731 s,@subdirs@,$subdirs,;t t
50732 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50733 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50734 s,@GTK_LIBS@,$GTK_LIBS,;t t
50735 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50736 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50737 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50738 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50739 s,@X_CFLAGS@,$X_CFLAGS,;t t
50740 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50741 s,@X_LIBS@,$X_LIBS,;t t
50742 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50743 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50744 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50745 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50746 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50747 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50748 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50750 s,@DEREZ@,$DEREZ,;t t
50751 s,@SETFILE@,$SETFILE,;t t
50752 s,@LIBICONV@,$LIBICONV,;t t
50753 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50754 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50755 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50756 s,@SDL_LIBS@,$SDL_LIBS,;t t
50757 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50758 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50759 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50760 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50761 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50762 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50763 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50764 s,@GST_LIBS@,$GST_LIBS,;t t
50765 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50766 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50767 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50768 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50769 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50770 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50771 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50772 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50773 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50774 s,@VENDOR@,$VENDOR,;t t
50775 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50776 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50777 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50778 s,@WXUNIV@,$WXUNIV,;t t
50779 s,@MONOLITHIC@,$MONOLITHIC,;t t
50780 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50781 s,@EXTRALIBS@,$EXTRALIBS,;t t
50782 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50783 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50784 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50785 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50786 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50787 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50788 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50789 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50790 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50791 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50792 s,@UNICODE@,$UNICODE,;t t
50793 s,@BUILD@,$BUILD,;t t
50794 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50795 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50796 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50797 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50798 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50799 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50800 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50801 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50802 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50803 s,@SET_MAKE@,$SET_MAKE,;t t
50804 s,@MAKE_SET@,$MAKE_SET,;t t
50806 s,@ac_ct_NM@,$ac_ct_NM,;t t
50807 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50808 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50809 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50810 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50811 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50812 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50813 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50814 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50815 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50816 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50817 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50818 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50819 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50820 s,@LIBPREFIX@,$LIBPREFIX,;t t
50821 s,@LIBEXT@,$LIBEXT,;t t
50822 s,@DLLPREFIX@,$DLLPREFIX,;t t
50823 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50824 s,@dlldir@,$dlldir,;t t
50825 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50826 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50827 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50828 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50829 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50830 s,@PIC_FLAG@,$PIC_FLAG,;t t
50831 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50832 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50833 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50834 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50835 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50836 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50837 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50838 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50839 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50840 s,@GCC_PCH@,$GCC_PCH,;t t
50841 s,@ICC_PCH@,$ICC_PCH,;t t
50842 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50843 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50844 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50845 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50846 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50847 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50848 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50849 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50850 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50851 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50852 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50853 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50854 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50855 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50856 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50857 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50858 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50859 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50860 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50861 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50862 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
50863 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
50864 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
50865 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
50866 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50867 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50868 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50869 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50870 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50871 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50872 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
50873 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
50874 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
50875 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
50876 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50877 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50878 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50879 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50880 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50881 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50882 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50883 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50884 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50885 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50886 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50887 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50888 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50892 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50893 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50894 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
50895 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50896 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50897 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50898 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50899 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50900 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50901 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50902 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50903 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50904 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50905 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50906 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50907 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50908 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50909 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50910 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50911 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50912 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50913 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50914 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50915 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50916 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50917 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50918 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50919 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50920 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50921 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50922 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50923 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50924 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50925 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50926 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50927 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50928 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50929 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50930 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50931 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50932 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50933 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50934 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50936 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
50937 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50938 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50939 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50940 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50941 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50942 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50943 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50944 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50945 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50946 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50947 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50948 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50949 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50950 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50951 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50952 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50953 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50954 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50955 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50956 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50957 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50958 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50959 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50960 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50961 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50962 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50963 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50964 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50965 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50966 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50967 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50968 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50969 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50970 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50971 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50972 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50973 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50974 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50975 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50976 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50977 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50978 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50979 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50980 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50981 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50982 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50983 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50984 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50985 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50986 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50987 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50988 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50989 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50990 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50991 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50992 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50993 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50994 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50995 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50996 s,@SHARED@,$SHARED,;t t
50997 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50998 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50999 s,@USE_GUI@,$USE_GUI,;t t
51000 s,@AFMINSTALL@,$AFMINSTALL,;t t
51001 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51002 s,@TOOLKIT@,$TOOLKIT,;t t
51003 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51004 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51005 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51006 s,@cross_compiling@,$cross_compiling,;t t
51007 s,@WIDGET_SET@,$WIDGET_SET,;t t
51008 s,@WX_RELEASE@,$WX_RELEASE,;t t
51009 s,@WX_VERSION@,$WX_VERSION,;t t
51010 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51011 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51012 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51013 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51014 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51015 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51016 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51017 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51018 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51019 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51020 s,@EXE_LINKER@,$EXE_LINKER,;t t
51021 s,@GUIDIST@,$GUIDIST,;t t
51022 s,@DISTDIR@,$DISTDIR,;t t
51023 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51024 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51025 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51026 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51027 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51028 s,@RESCOMP@,$RESCOMP,;t t
51029 s,@RESFLAGS@,$RESFLAGS,;t t
51030 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51031 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51032 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51033 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51034 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51035 s,@MACSETFILE@,$MACSETFILE,;t t
51037 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51038 s,@LIBOBJS@,$LIBOBJS,;t t
51039 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51044 cat >>$CONFIG_STATUS <<\_ACEOF
51045 # Split the substitutions into bite-sized pieces for seds with
51046 # small command number limits, like on Digital OSF/1 and HP-UX.
51047 ac_max_sed_lines
=48
51048 ac_sed_frag
=1 # Number of current file.
51049 ac_beg
=1 # First line for current file.
51050 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51053 while $ac_more_lines; do
51054 if test $ac_beg -gt 1; then
51055 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51057 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51059 if test ! -s $tmp/subs.frag
; then
51060 ac_more_lines
=false
51062 # The purpose of the label and of the branching condition is to
51063 # speed up the sed processing (if there are no `@' at all, there
51064 # is no need to browse any of the substitutions).
51065 # These are the two extra sed commands mentioned above.
51067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51068 if test -z "$ac_sed_cmds"; then
51069 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51071 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51073 ac_sed_frag
=`expr $ac_sed_frag + 1`
51075 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51078 if test -z "$ac_sed_cmds"; then
51081 fi # test -n "$CONFIG_FILES"
51084 cat >>$CONFIG_STATUS <<\_ACEOF
51085 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51088 - | *:- | *:-:* ) # input from stdin
51090 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51091 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51092 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51094 * ) ac_file_in
=$ac_file.
in ;;
51097 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51098 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51100 X"$ac_file" : 'X\(//\)[^/]' \| \
51101 X"$ac_file" : 'X\(//\)$' \| \
51102 X"$ac_file" : 'X\(/\)' \| \
51103 . : '\(.\)' 2>/dev/null ||
51105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51107 /^X\(\/\/\)$/{ s//\1/; q; }
51108 /^X\(\/\).*/{ s//\1/; q; }
51110 { if $as_mkdir_p; then
51115 while test ! -d "$as_dir"; do
51116 as_dirs
="$as_dir $as_dirs"
51117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51119 X"$as_dir" : 'X\(//\)[^/]' \| \
51120 X"$as_dir" : 'X\(//\)$' \| \
51121 X"$as_dir" : 'X\(/\)' \| \
51122 . : '\(.\)' 2>/dev/null ||
51124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51126 /^X\(\/\/\)$/{ s//\1/; q; }
51127 /^X\(\/\).*/{ s//\1/; q; }
51130 test ! -n "$as_dirs" || mkdir $as_dirs
51131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51133 { (exit 1); exit 1; }; }; }
51137 if test "$ac_dir" != .
; then
51138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51139 # A "../" for each directory in $ac_dir_suffix.
51140 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51142 ac_dir_suffix
= ac_top_builddir
=
51146 .
) # No --srcdir option. We are building in place.
51148 if test -z "$ac_top_builddir"; then
51151 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51153 [\\/]* | ?
:[\\/]* ) # Absolute path.
51154 ac_srcdir
=$srcdir$ac_dir_suffix;
51155 ac_top_srcdir
=$srcdir ;;
51156 *) # Relative path.
51157 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51158 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51161 # Do not use `cd foo && pwd` to compute absolute paths, because
51162 # the directories may not exist.
51164 .
) ac_abs_builddir
="$ac_dir";;
51167 .
) ac_abs_builddir
=`pwd`;;
51168 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51169 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51172 case $ac_abs_builddir in
51173 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51175 case ${ac_top_builddir}.
in
51176 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51177 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51178 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51181 case $ac_abs_builddir in
51182 .
) ac_abs_srcdir
=$ac_srcdir;;
51185 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51186 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51187 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51190 case $ac_abs_builddir in
51191 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51193 case $ac_top_srcdir in
51194 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51195 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51196 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51202 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51203 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51206 if test x
"$ac_file" != x
-; then
51207 { echo "$as_me:$LINENO: creating $ac_file" >&5
51208 echo "$as_me: creating $ac_file" >&6;}
51211 # Let's still pretend it is `configure' which instantiates (i.e., don't
51212 # use $as_me), people would be surprised to read:
51213 # /* config.h. Generated by config.status. */
51214 if test x
"$ac_file" = x
-; then
51217 configure_input
="$ac_file. "
51219 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51220 sed 's,.*/,,'` by configure."
51222 # First look for the input files in the build tree, otherwise in the
51224 ac_file_inputs
=`IFS=:
51225 for f in $ac_file_in; do
51227 -) echo $tmp/stdin ;;
51229 # Absolute (can't be DOS-style, as IFS=:)
51230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51231 echo "$as_me: error: cannot find input file: $f" >&2;}
51232 { (exit 1); exit 1; }; }
51235 if test -f "$f"; then
51238 elif test -f "$srcdir/$f"; then
51243 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51244 echo "$as_me: error: cannot find input file: $f" >&2;}
51245 { (exit 1); exit 1; }; }
51248 done` || { (exit 1); exit 1; }
51250 cat >>$CONFIG_STATUS <<_ACEOF
51254 cat >>$CONFIG_STATUS <<\_ACEOF
51256 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51257 s
,@configure_input@
,$configure_input,;t t
51258 s
,@srcdir@
,$ac_srcdir,;t t
51259 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51260 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51261 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51262 s
,@builddir@
,$ac_builddir,;t t
51263 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51264 s
,@top_builddir@
,$ac_top_builddir,;t t
51265 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51266 s
,@INSTALL@
,$ac_INSTALL,;t t
51267 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51269 if test x"$ac_file" != x-; then
51270 mv $tmp/out $ac_file
51276 # Run the commands associated with the file.
51278 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51279 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51283 cat >>$CONFIG_STATUS <<\_ACEOF
51286 # CONFIG_HEADER section.
51289 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51290 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51292 # ac_d sets the value in "#define NAME VALUE" lines.
51293 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51294 ac_dB
='[ ].*$,\1#\2'
51297 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51298 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51299 ac_uB
='$,\1#\2define\3'
51303 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51306 - | *:- | *:-:* ) # input from stdin
51308 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51309 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51310 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51311 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51312 * ) ac_file_in
=$ac_file.
in ;;
51315 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51316 echo "$as_me: creating $ac_file" >&6;}
51318 # First look for the input files in the build tree, otherwise in the
51320 ac_file_inputs
=`IFS=:
51321 for f in $ac_file_in; do
51323 -) echo $tmp/stdin ;;
51325 # Absolute (can't be DOS-style, as IFS=:)
51326 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51327 echo "$as_me: error: cannot find input file: $f" >&2;}
51328 { (exit 1); exit 1; }; }
51329 # Do quote $f, to prevent DOS paths from being IFS'd.
51332 if test -f "$f"; then
51335 elif test -f "$srcdir/$f"; then
51340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51341 echo "$as_me: error: cannot find input file: $f" >&2;}
51342 { (exit 1); exit 1; }; }
51345 done` || { (exit 1); exit 1; }
51346 # Remove the trailing spaces.
51347 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51351 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51352 # `conftest.undefs', that substitutes the proper values into
51353 # config.h.in to produce config.h. The first handles `#define'
51354 # templates, and the second `#undef' templates.
51355 # And first: Protect against being on the right side of a sed subst in
51356 # config.status. Protect against being in an unquoted here document
51357 # in config.status.
51358 rm -f conftest.defines conftest.undefs
51359 # Using a here document instead of a string reduces the quoting nightmare.
51360 # Putting comments in sed scripts is not portable.
51362 # `end' is used to avoid that the second main sed command (meant for
51363 # 0-ary CPP macros) applies to n-ary macro definitions.
51364 # See the Autoconf documentation for `clear'.
51365 cat >confdef2sed.
sed <<\_ACEOF
51370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51375 # If some macros were called several times there might be several times
51376 # the same #defines, which is useless. Nevertheless, we may not want to
51377 # sort them, since we want the *last* AC-DEFINE to be honored.
51378 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51379 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51380 rm -f confdef2sed.sed
51382 # This sed command replaces #undef with comments. This is necessary, for
51383 # example, in the case of _POSIX_SOURCE, which is predefined and required
51384 # on some systems where configure will not decide to define it.
51385 cat >>conftest.undefs <<\_ACEOF
51386 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51389 # Break up conftest.defines because some shells have a limit on the size
51390 # of here documents, and old seds have small limits too (100 cmds).
51391 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51392 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51393 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51394 echo ' :' >>$CONFIG_STATUS
51395 rm -f conftest.tail
51396 while grep . conftest.defines >/dev/null
51398 # Write a limited-size here document to $tmp/defines.sed.
51399 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51400 # Speed up: don't consider the non `#define' lines.
51401 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51402 # Work around the forget-to-reset-the-flag bug.
51403 echo 't clr' >>$CONFIG_STATUS
51404 echo ': clr' >>$CONFIG_STATUS
51405 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51407 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51409 mv $tmp/out $tmp/in
51411 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51412 rm -f conftest.defines
51413 mv conftest.
tail conftest.defines
51415 rm -f conftest.defines
51416 echo ' fi # grep' >>$CONFIG_STATUS
51417 echo >>$CONFIG_STATUS
51419 # Break up conftest.undefs because some shells have a limit on the size
51420 # of here documents, and old seds have small limits too (100 cmds).
51421 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51422 rm -f conftest.
tail
51423 while grep . conftest.undefs
>/dev
/null
51425 # Write a limited-size here document to $tmp/undefs.sed.
51426 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51427 # Speed up: don't consider the non
`#undef'
51428 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51429 # Work around the forget-to-reset-the-flag bug.
51430 echo 't clr' >>$CONFIG_STATUS
51431 echo ': clr' >>$CONFIG_STATUS
51432 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51434 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51436 mv $tmp/out $tmp/in
51438 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51439 rm -f conftest.undefs
51440 mv conftest.tail conftest.undefs
51442 rm -f conftest.undefs
51444 cat >>$CONFIG_STATUS <<\_ACEOF
51445 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51446 # use $as_me), people would be surprised to read:
51447 # /* config.h. Generated by config.status. */
51448 if test x
"$ac_file" = x
-; then
51449 echo "/* Generated by configure. */" >$tmp/config.h
51451 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51453 cat $tmp/in >>$tmp/config.h
51455 if test x
"$ac_file" != x
-; then
51456 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51457 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51458 echo "$as_me: $ac_file is unchanged" >&6;}
51460 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51462 X"$ac_file" : 'X\(//\)[^/]' \| \
51463 X"$ac_file" : 'X\(//\)$' \| \
51464 X"$ac_file" : 'X\(/\)' \| \
51465 . : '\(.\)' 2>/dev/null ||
51467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51469 /^X\(\/\/\)$/{ s//\1/; q; }
51470 /^X\(\/\).*/{ s//\1/; q; }
51472 { if $as_mkdir_p; then
51477 while test ! -d "$as_dir"; do
51478 as_dirs
="$as_dir $as_dirs"
51479 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51481 X"$as_dir" : 'X\(//\)[^/]' \| \
51482 X"$as_dir" : 'X\(//\)$' \| \
51483 X"$as_dir" : 'X\(/\)' \| \
51484 . : '\(.\)' 2>/dev/null ||
51486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51488 /^X\(\/\/\)$/{ s//\1/; q; }
51489 /^X\(\/\).*/{ s//\1/; q; }
51492 test ! -n "$as_dirs" || mkdir $as_dirs
51493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51495 { (exit 1); exit 1; }; }; }
51498 mv $tmp/config.h
$ac_file
51502 rm -f $tmp/config.h
51506 cat >>$CONFIG_STATUS <<\_ACEOF
51509 # CONFIG_COMMANDS section.
51511 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51512 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51513 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51514 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51516 X"$ac_dest" : 'X\(//\)[^/]' \| \
51517 X"$ac_dest" : 'X\(//\)$' \| \
51518 X"$ac_dest" : 'X\(/\)' \| \
51519 . : '\(.\)' 2>/dev/null ||
51521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51523 /^X\(\/\/\)$/{ s//\1/; q; }
51524 /^X\(\/\).*/{ s//\1/; q; }
51526 { if $as_mkdir_p; then
51531 while test ! -d "$as_dir"; do
51532 as_dirs
="$as_dir $as_dirs"
51533 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51535 X"$as_dir" : 'X\(//\)[^/]' \| \
51536 X"$as_dir" : 'X\(//\)$' \| \
51537 X"$as_dir" : 'X\(/\)' \| \
51538 . : '\(.\)' 2>/dev/null ||
51540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51542 /^X\(\/\/\)$/{ s//\1/; q; }
51543 /^X\(\/\).*/{ s//\1/; q; }
51546 test ! -n "$as_dirs" || mkdir $as_dirs
51547 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51549 { (exit 1); exit 1; }; }; }
51553 if test "$ac_dir" != .
; then
51554 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51555 # A "../" for each directory in $ac_dir_suffix.
51556 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51558 ac_dir_suffix
= ac_top_builddir
=
51562 .
) # No --srcdir option. We are building in place.
51564 if test -z "$ac_top_builddir"; then
51567 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51569 [\\/]* | ?
:[\\/]* ) # Absolute path.
51570 ac_srcdir
=$srcdir$ac_dir_suffix;
51571 ac_top_srcdir
=$srcdir ;;
51572 *) # Relative path.
51573 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51574 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51577 # Do not use `cd foo && pwd` to compute absolute paths, because
51578 # the directories may not exist.
51580 .
) ac_abs_builddir
="$ac_dir";;
51583 .
) ac_abs_builddir
=`pwd`;;
51584 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51585 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51588 case $ac_abs_builddir in
51589 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51591 case ${ac_top_builddir}.
in
51592 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51593 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51594 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51597 case $ac_abs_builddir in
51598 .
) ac_abs_srcdir
=$ac_srcdir;;
51601 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51602 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51603 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51606 case $ac_abs_builddir in
51607 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51609 case $ac_top_srcdir in
51610 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51611 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51612 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51617 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51618 echo "$as_me: executing $ac_dest commands" >&6;}
51621 mkdir -p $outdir &&
51622 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51624 wx
-config ) rm -f wx
-config
51625 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51631 cat >>$CONFIG_STATUS <<\_ACEOF
51633 { (exit 0); exit 0; }
51635 chmod +x
$CONFIG_STATUS
51636 ac_clean_files
=$ac_clean_files_save
51639 # configure is writing to config.log, and then calls config.status.
51640 # config.status does its own redirection, appending to config.log.
51641 # Unfortunately, on DOS this fails, as config.log is still kept open
51642 # by configure, so config.status won't be able to write to it; its
51643 # output is simply discarded. So we exec the FD to /dev/null,
51644 # effectively closing config.log, so it can be properly (re)opened and
51645 # appended to by config.status. When coming back to configure, we
51646 # need to make the FD available again.
51647 if test "$no_create" != yes; then
51649 ac_config_status_args
=
51650 test "$silent" = yes &&
51651 ac_config_status_args
="$ac_config_status_args --quiet"
51653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51656 # would make configure fail if this is the last instruction.
51657 $ac_cs_success || { (exit 1); exit 1; }
51661 # CONFIG_SUBDIRS section.
51663 if test "$no_recursion" != yes; then
51665 # Remove --cache-file and --srcdir arguments so they do not pile up.
51666 ac_sub_configure_args
=
51668 for ac_arg
in $ac_configure_args; do
51669 if test -n "$ac_prev"; then
51674 -cache-file | --cache-file | --cache-fil | --cache-fi \
51675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51676 ac_prev
=cache_file
;;
51677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51681 --config-cache | -C)
51683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51691 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51695 # Always prepend --prefix to ensure using the same prefix
51696 # in subdir configurations.
51697 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51700 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51702 # Do not complain, so a configure script can configure whichever
51703 # parts of a large source tree are present.
51704 test -d $srcdir/$ac_dir || continue
51706 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51707 echo "$as_me: configuring in $ac_dir" >&6;}
51708 { if $as_mkdir_p; then
51713 while test ! -d "$as_dir"; do
51714 as_dirs
="$as_dir $as_dirs"
51715 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51717 X"$as_dir" : 'X\(//\)[^/]' \| \
51718 X"$as_dir" : 'X\(//\)$' \| \
51719 X"$as_dir" : 'X\(/\)' \| \
51720 . : '\(.\)' 2>/dev/null ||
51722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51724 /^X\(\/\/\)$/{ s//\1/; q; }
51725 /^X\(\/\).*/{ s//\1/; q; }
51728 test ! -n "$as_dirs" || mkdir $as_dirs
51729 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51730 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51731 { (exit 1); exit 1; }; }; }
51735 if test "$ac_dir" != .
; then
51736 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51737 # A "../" for each directory in $ac_dir_suffix.
51738 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51740 ac_dir_suffix
= ac_top_builddir
=
51744 .
) # No --srcdir option. We are building in place.
51746 if test -z "$ac_top_builddir"; then
51749 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51751 [\\/]* | ?
:[\\/]* ) # Absolute path.
51752 ac_srcdir
=$srcdir$ac_dir_suffix;
51753 ac_top_srcdir
=$srcdir ;;
51754 *) # Relative path.
51755 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51756 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51759 # Do not use `cd foo && pwd` to compute absolute paths, because
51760 # the directories may not exist.
51762 .
) ac_abs_builddir
="$ac_dir";;
51765 .
) ac_abs_builddir
=`pwd`;;
51766 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51767 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51770 case $ac_abs_builddir in
51771 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51773 case ${ac_top_builddir}.
in
51774 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51775 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51776 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51779 case $ac_abs_builddir in
51780 .
) ac_abs_srcdir
=$ac_srcdir;;
51783 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51784 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51785 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51788 case $ac_abs_builddir in
51789 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51791 case $ac_top_srcdir in
51792 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51793 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51794 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51801 # Check for guested configure; otherwise get Cygnus style configure.
51802 if test -f $ac_srcdir/configure.gnu
; then
51803 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51804 elif test -f $ac_srcdir/configure
; then
51805 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51806 elif test -f $ac_srcdir/configure.
in; then
51807 ac_sub_configure
=$ac_configure
51809 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51810 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51814 # The recursion is here.
51815 if test -n "$ac_sub_configure"; then
51816 # Make the cache file name correct relative to the subdirectory.
51817 case $cache_file in
51818 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51819 *) # Relative path.
51820 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51823 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51824 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51825 # The eval makes quoting arguments work.
51826 eval $ac_sub_configure $ac_sub_configure_args \
51827 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51828 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51829 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51830 { (exit 1); exit 1; }; }
51839 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51841 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51842 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51844 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51845 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51846 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51848 echo " What level of wxWidgets compatibility should be enabled?"
51849 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51850 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51852 echo " Which libraries should wxWidgets use?"
51853 echo " jpeg ${wxUSE_LIBJPEG-none}"
51854 echo " png ${wxUSE_LIBPNG-none}"
51855 echo " regex ${wxUSE_REGEX}"
51856 echo " tiff ${wxUSE_LIBTIFF-none}"
51857 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51858 echo " xpm ${wxUSE_LIBXPM-none}"
51860 echo " zlib ${wxUSE_ZLIB}"
51861 echo " odbc ${wxUSE_ODBC}"
51862 echo " expat ${wxUSE_EXPAT}"
51863 echo " libmspack ${wxUSE_LIBMSPACK}"
51864 echo " sdl ${wxUSE_LIBSDL}"