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-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support
in wxProtocol
1016 --enable-protocol-ftp FTP support
in wxProtocol
1017 --enable-protocol-file FILE support
in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use
help subsystem
1021 --enable-mshtmlhelp use MS HTML Help
(win32
)
1022 --enable-html use wxHTML sub
-library
1023 --enable-htmlhelp use wxHTML
-based help
1024 --enable-xrc use XRC resources sub
-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout
-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl
(Mac
)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1036 --enable-prologio not available
; see contrib
1037 --enable-resources not available
; see contrib
1038 --enable-clipboard use wxClipboard class
1039 --enable-dnd use Drag
'n'Drop classes
1040 --enable-metafile use win32 metafiles
1041 --enable-controls use all usual controls
1042 --enable-accel use accelerators
1043 --enable-button use wxButton class
1044 --enable-bmpbutton use wxBitmapButton class
1045 --enable-bmpcombobox use wxBitmapComboBox class
1046 --enable-calendar use wxCalendarCtrl class
1047 --enable-caret use wxCaret class
1048 --enable-checkbox use wxCheckBox class
1049 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1050 --enable-choice use wxChoice class
1051 --enable-choicebook use wxChoicebook class
1052 --enable-colourpicker use wxColourPickerCtrl class
1053 --enable-combobox use wxComboBox class
1054 --enable-comboctrl use wxComboCtrl class
1055 --enable-datepick use wxDatePickerCtrl class
1056 --enable-dirpicker use wxDirPickerCtrl class
1057 --enable-display use wxDisplay class
1058 --enable-filepicker use wxFilePickerCtrl class
1059 --enable-fontpicker use wxFontPickerCtrl class
1060 --enable-gauge use wxGauge class
1061 --enable-grid use wxGrid class
1062 --enable-dataviewctrl, use wxDataViewCtrl class
1063 --enable-hyperlink use wxHyperlinkCtrl class
1064 --enable-imaglist use wxImageList class
1065 --enable-listbook use wxListbook class
1066 --enable-listbox use wxListBox class
1067 --enable-listctrl use wxListCtrl class
1068 --enable-notebook use wxNotebook class
1069 --enable-odcombobox use wxOwnerDrawnComboBox class
1070 --enable-radiobox use wxRadioBox class
1071 --enable-radiobtn use wxRadioButton class
1072 --enable-sash use wxSashWindow class
1073 --enable-scrollbar use wxScrollBar class and scrollable windows
1074 --enable-slider use wxSlider class
1075 --enable-spinbtn use wxSpinButton class
1076 --enable-spinctrl use wxSpinCtrl class
1077 --enable-splitter use wxSplitterWindow class
1078 --enable-statbmp use wxStaticBitmap class
1079 --enable-statbox use wxStaticBox class
1080 --enable-statline use wxStaticLine class
1081 --enable-stattext use wxStaticText class
1082 --enable-statusbar use wxStatusBar class
1083 --enable-tabdialog use wxTabControl class
1084 --enable-textctrl use wxTextCtrl class
1085 --enable-togglebtn use wxToggleButton class
1086 --enable-toolbar use wxToolBar class
1087 --enable-tbarnative use native wxToolBar class
1088 --enable-treebook use wxTreebook class
1089 --enable-toolbook use wxToolbook class
1090 --enable-treectrl use wxTreeCtrl class
1091 --enable-tipwindow use wxTipWindow class
1092 --enable-popupwin use wxPopUpWindow class
1093 --enable-commondlg use all common dialogs
1094 --enable-choicedlg use wxChoiceDialog
1095 --enable-coldlg use wxColourDialog
1096 --enable-filedlg use wxFileDialog
1097 --enable-finddlg use wxFindReplaceDialog
1098 --enable-fontdlg use wxFontDialog
1099 --enable-dirdlg use wxDirDialog
1100 --enable-msgdlg use wxMessageDialog
1101 --enable-numberdlg use wxNumberEntryDialog
1102 --enable-splash use wxSplashScreen
1103 --enable-textdlg use wxTextDialog
1104 --enable-tipdlg use startup tips
1105 --enable-progressdlg use wxProgressDialog
1106 --enable-wizarddlg use wxWizard
1107 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1108 --enable-miniframe use wxMiniFrame class
1109 --enable-tooltips use wxToolTip class
1110 --enable-splines use spline drawing code
1111 --enable-mousewheel use mousewheel
1112 --enable-validators use wxValidator and derived classes
1113 --enable-busyinfo use wxBusyInfo
1114 --enable-joystick use wxJoystick
1115 --enable-metafiles use wxMetaFile
(Win32 only
)
1116 --enable-dragimage use wxDragImage
1117 --enable-accessibility enable accessibility support
1118 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1119 --enable-palette use wxPalette class
1120 --enable-image use wxImage class
1121 --enable-gif use gif images
(GIF
file format
)
1122 --enable-pcx use pcx images
(PCX
file format
)
1123 --enable-iff use iff images
(IFF
file format
)
1124 --enable-pnm use pnm images
(PNM
file format
)
1125 --enable-xpm use xpm images
(XPM
file format
)
1126 --enable-icocur use Windows ICO and CUR formats
1127 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1128 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1129 --disable-largefile omit support
for large files
1130 --disable-gtktest do not try to compile and run a
test GTK
+ program
1131 --disable-gtktest Do not try to compile and run a
test GTK program
1132 --disable-sdltest Do not try to compile and run a
test SDL program
1133 --enable-omf use OMF object format
(OS
/2)
1134 --disable-dependency-tracking
1135 don
't use dependency tracking even if the compiler
1137 --disable-precomp-headers
1138 don't use precompiled headers even
if compiler can
1141 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1142 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1143 --without-subdirs don
't generate makefiles for samples/demos/...
1144 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1145 --with-motif use Motif/Lesstif
1146 --with-mac use Mac OS X
1147 --with-cocoa use Cocoa
1148 --with-wine use Wine
1149 --with-msw use MS-Windows
1150 --with-pm use OS/2 Presentation Manager
1151 --with-mgl use SciTech MGL
1152 --with-directfb use DirectFB
1153 --with-microwin use MicroWindows
1155 --with-libpng use libpng (PNG image format)
1156 --with-libjpeg use libjpeg (JPEG file format)
1157 --with-libtiff use libtiff (TIFF file format)
1158 --with-libxpm use libxpm (XPM file format)
1159 --with-libmspack use libmspack (CHM help files loading)
1160 --with-sdl use SDL for audio on Unix
1161 --with-gnomeprint use GNOME print for printing under GNOME
1162 --with-gnomevfs use GNOME VFS for associating MIME types
1163 --with-hildon use Hildon framework for Nokia 770
1164 --with-opengl use OpenGL (or Mesa)
1165 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1166 --with-regex enable support for wxRegEx class
1167 --with-zlib use zlib for LZW compression
1168 --with-odbc use the IODBC and wxODBC classes
1169 --with-expat enable XML support using expat parser
1170 --with-flavour=NAME specify a name to identify this build
1171 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1172 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1173 --with-x use the X Window System
1174 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1175 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1176 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1177 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1178 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1180 Some influential environment variables:
1181 CC C compiler command
1182 CFLAGS C compiler flags
1183 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1184 nonstandard directory <lib dir>
1185 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1186 headers in a nonstandard directory <include dir>
1188 CXX C++ compiler command
1189 CXXFLAGS C++ compiler flags
1190 CXXCPP C++ preprocessor
1191 PKG_CONFIG path to pkg-config utility
1193 C compiler flags for DIRECTFB, overriding pkg-config
1195 linker flags for DIRECTFB, overriding pkg-config
1197 C compiler flags for PANGOX, overriding pkg-config
1198 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1200 C compiler flags for PANGOFT2, overriding pkg-config
1202 linker flags for PANGOFT2, overriding pkg-config
1204 C compiler flags for PANGOXFT, overriding pkg-config
1206 linker flags for PANGOXFT, overriding pkg-config
1207 LIBGNOMEPRINTUI_CFLAGS
1208 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1209 LIBGNOMEPRINTUI_LIBS
1210 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 C compiler flags for GNOMEVFS, overriding pkg-config
1214 linker flags for GNOMEVFS, overriding pkg-config
1216 C compiler flags for HILDON, overriding pkg-config
1217 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1218 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1219 GST_LIBS linker flags for GST, overriding pkg-config
1221 Use these variables to override the choices made by `configure' or to
help
1222 it to
find libraries and programs with nonstandard names
/locations.
1224 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1228 if test "$ac_init_help" = "recursive"; then
1229 # If there are subdirs, report their specific --help.
1231 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1232 test -d $ac_dir || continue
1235 if test "$ac_dir" != .
; then
1236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237 # A "../" for each directory in $ac_dir_suffix.
1238 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1240 ac_dir_suffix
= ac_top_builddir
=
1244 .
) # No --srcdir option. We are building in place.
1246 if test -z "$ac_top_builddir"; then
1249 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1251 [\\/]* | ?
:[\\/]* ) # Absolute path.
1252 ac_srcdir
=$srcdir$ac_dir_suffix;
1253 ac_top_srcdir
=$srcdir ;;
1255 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1256 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1259 # Do not use `cd foo && pwd` to compute absolute paths, because
1260 # the directories may not exist.
1262 .
) ac_abs_builddir
="$ac_dir";;
1265 .
) ac_abs_builddir
=`pwd`;;
1266 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1267 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1270 case $ac_abs_builddir in
1271 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1273 case ${ac_top_builddir}.
in
1274 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1275 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1276 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1279 case $ac_abs_builddir in
1280 .
) ac_abs_srcdir
=$ac_srcdir;;
1283 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1284 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1285 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1288 case $ac_abs_builddir in
1289 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1291 case $ac_top_srcdir in
1292 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1293 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1294 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1299 # Check for guested configure; otherwise get Cygnus style configure.
1300 if test -f $ac_srcdir/configure.gnu
; then
1302 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1303 elif test -f $ac_srcdir/configure
; then
1305 $SHELL $ac_srcdir/configure
--help=recursive
1306 elif test -f $ac_srcdir/configure.ac
||
1307 test -f $ac_srcdir/configure.
in; then
1309 $ac_configure --help
1311 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 test -n "$ac_init_help" && exit 0
1318 if $ac_init_version; then
1320 wxWidgets configure
2.7.0
1321 generated by GNU Autoconf
2.59
1323 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1324 This configure
script is free software
; the Free Software Foundation
1325 gives unlimited permission to copy
, distribute and modify it.
1331 This file contains any messages produced by compilers while
1332 running configure, to aid debugging if configure makes a mistake.
1334 It was created by wxWidgets $as_me 2.7.0, which was
1335 generated by GNU Autoconf 2.59. Invocation command line was
1346 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1347 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1348 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1349 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1350 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1352 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1353 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1355 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1356 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1357 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1358 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1359 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1360 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1361 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1369 test -z "$as_dir" && as_dir
=.
1370 echo "PATH: $as_dir"
1385 # Keep a trace of the command line.
1386 # Strip out --no-create and --no-recursion so they do not pile up.
1387 # Strip out --silent because we don't want to record it for future runs.
1388 # Also quote any args containing shell meta-characters.
1389 # Make two passes to allow for proper duplicate-argument suppression.
1394 ac_must_keep_next
=false
1400 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1402 | -silent | --silent | --silen | --sile | --sil)
1404 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1405 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1408 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1410 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1411 if test $ac_must_keep_next = true
; then
1412 ac_must_keep_next
=false
# Got value, back to normal.
1415 *=* | --config-cache | -C | -disable-* | --disable-* \
1416 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1417 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1418 | -with-* | --with-* | -without-* | --without-* | --x)
1419 case "$ac_configure_args0 " in
1420 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1423 -* ) ac_must_keep_next
=true
;;
1426 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1427 # Get rid of the leading space.
1433 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1434 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log. We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Be sure not to use single quotes in there, as some shells,
1440 # such as our DU 5.0 friend, will then `close' the trap.
1441 trap 'exit_status=$?
1442 # Save into config.log some information that might help in debugging.
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1452 # The following way of writing the cache mishandles newlines in values,
1455 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1458 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1463 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1470 ## ----------------- ##
1471 ## Output variables. ##
1472 ## ----------------- ##
1475 for ac_var in $ac_subst_vars
1477 eval ac_val=$`echo $ac_var`
1478 echo "$ac_var='"'"'$ac_val'"'"'"
1482 if test -n "$ac_subst_files"; then
1489 for ac_var in $ac_subst_files
1491 eval ac_val=$`echo $ac_var`
1492 echo "$ac_var='"'"'$ac_val'"'"'"
1497 if test -s confdefs.h; then
1504 sed "/^$/d" confdefs.h | sort
1507 test "$ac_signal" != 0 &&
1508 echo "$as_me: caught signal $ac_signal"
1509 echo "$as_me: exit $exit_status"
1511 rm -f core *.core &&
1512 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1515 for ac_signal
in 1 2 13 15; do
1516 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1521 rm -rf conftest
* confdefs.h
1522 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1525 # Predefined preprocessor variables.
1527 cat >>confdefs.h
<<_ACEOF
1528 #define PACKAGE_NAME "$PACKAGE_NAME"
1532 cat >>confdefs.h
<<_ACEOF
1533 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1537 cat >>confdefs.h
<<_ACEOF
1538 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1542 cat >>confdefs.h
<<_ACEOF
1543 #define PACKAGE_STRING "$PACKAGE_STRING"
1547 cat >>confdefs.h
<<_ACEOF
1548 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1552 # Let the site file select an alternate cache file if it wants to.
1553 # Prefer explicitly selected file to automatically selected ones.
1554 if test -z "$CONFIG_SITE"; then
1555 if test "x$prefix" != xNONE
; then
1556 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1558 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1561 for ac_site_file
in $CONFIG_SITE; do
1562 if test -r "$ac_site_file"; then
1563 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1564 echo "$as_me: loading site script $ac_site_file" >&6;}
1565 sed 's/^/| /' "$ac_site_file" >&5
1570 if test -r "$cache_file"; then
1571 # Some versions of bash will fail to source /dev/null (special
1572 # files actually), so we avoid doing that.
1573 if test -f "$cache_file"; then
1574 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1575 echo "$as_me: loading cache $cache_file" >&6;}
1577 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1578 *) . .
/$cache_file;;
1582 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1583 echo "$as_me: creating cache $cache_file" >&6;}
1587 # Check that the precious variables saved in the cache have kept the same
1589 ac_cache_corrupted
=false
1590 for ac_var
in `(set) 2>&1 |
1591 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1592 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1593 eval ac_new_set
=\
$ac_env_${ac_var}_set
1594 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1595 eval ac_new_val
="\$ac_env_${ac_var}_value"
1596 case $ac_old_set,$ac_new_set in
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1600 ac_cache_corrupted
=: ;;
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1604 ac_cache_corrupted
=: ;;
1607 if test "x$ac_old_val" != "x$ac_new_val"; then
1608 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1609 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1610 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1611 echo "$as_me: former value: $ac_old_val" >&2;}
1612 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1613 echo "$as_me: current value: $ac_new_val" >&2;}
1614 ac_cache_corrupted
=:
1617 # Pass precious variables to config.status.
1618 if test "$ac_new_set" = set; then
1620 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1621 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1622 *) ac_arg
=$ac_var=$ac_new_val ;;
1624 case " $ac_configure_args " in
1625 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1626 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1630 if $ac_cache_corrupted; then
1631 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1632 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1633 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1634 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1635 { (exit 1); exit 1; }; }
1639 ac_cpp
='$CPP $CPPFLAGS'
1640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1674 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1675 if test -f $ac_dir/install-sh; then
1677 ac_install_sh
="$ac_aux_dir/install-sh -c"
1679 elif test -f $ac_dir/install.sh
; then
1681 ac_install_sh
="$ac_aux_dir/install.sh -c"
1683 elif test -f $ac_dir/shtool
; then
1685 ac_install_sh
="$ac_aux_dir/shtool install -c"
1689 if test -z "$ac_aux_dir"; then
1690 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1691 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1692 { (exit 1); exit 1; }; }
1694 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1695 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1696 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1698 # Make sure we can run config.sub.
1699 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1700 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1701 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1702 { (exit 1); exit 1; }; }
1704 echo "$as_me:$LINENO: checking build system type" >&5
1705 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1706 if test "${ac_cv_build+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 ac_cv_build_alias
=$build_alias
1710 test -z "$ac_cv_build_alias" &&
1711 ac_cv_build_alias
=`$ac_config_guess`
1712 test -z "$ac_cv_build_alias" &&
1713 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1714 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1715 { (exit 1); exit 1; }; }
1716 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1717 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1718 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1719 { (exit 1); exit 1; }; }
1722 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1723 echo "${ECHO_T}$ac_cv_build" >&6
1725 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1726 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1727 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1730 echo "$as_me:$LINENO: checking host system type" >&5
1731 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1732 if test "${ac_cv_host+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 ac_cv_host_alias
=$host_alias
1736 test -z "$ac_cv_host_alias" &&
1737 ac_cv_host_alias
=$ac_cv_build_alias
1738 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1744 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1745 echo "${ECHO_T}$ac_cv_host" >&6
1747 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1748 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1749 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1752 echo "$as_me:$LINENO: checking target system type" >&5
1753 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1754 if test "${ac_cv_target+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 ac_cv_target_alias
=$target_alias
1758 test "x$ac_cv_target_alias" = "x" &&
1759 ac_cv_target_alias
=$ac_cv_host_alias
1760 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1762 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1763 { (exit 1); exit 1; }; }
1766 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1767 echo "${ECHO_T}$ac_cv_target" >&6
1768 target
=$ac_cv_target
1769 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1770 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1771 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1774 # The aliases save the names the user supplied, while $host etc.
1775 # will get canonicalized.
1776 test -n "$target_alias" &&
1777 test "$program_prefix$program_suffix$program_transform_name" = \
1779 program_prefix
=${target_alias}-
1783 wx_major_version_number
=2
1784 wx_minor_version_number
=7
1786 wx_subrelease_number
=1
1788 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1789 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1790 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1792 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1805 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1811 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1817 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1819 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1821 DEFAULT_wxUSE_COCOA
=0
1825 DEFAULT_wxUSE_MICROWIN
=0
1826 DEFAULT_wxUSE_MOTIF
=0
1832 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1833 DEFAULT_DEFAULT_wxUSE_GTK
=0
1834 DEFAULT_DEFAULT_wxUSE_MAC
=0
1835 DEFAULT_DEFAULT_wxUSE_MGL
=0
1836 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1837 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1838 DEFAULT_DEFAULT_wxUSE_MSW
=0
1839 DEFAULT_DEFAULT_wxUSE_PM
=0
1840 DEFAULT_DEFAULT_wxUSE_X11
=0
1841 DEFAULT_DEFAULT_wxUSE_DFB
=0
1846 SAMPLES_RPATH_POSTLINK
=
1848 DEFAULT_STD_FLAG
=yes
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1856 cat >>confdefs.h
<<\_ACEOF
1861 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1865 cat >>confdefs.h
<<\_ACEOF
1870 if test "x$TMP" = "xalpha"; then
1872 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_GTK
=1
1879 *-*-gnu* | *-*-k*bsd
*-gnu )
1882 if test "x$TMP" = "xalpha"; then
1884 cat >>confdefs.h
<<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_GTK
=1
1891 *-*-irix5* | *-*-irix6* )
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1908 cat >>confdefs.h
<<\_ACEOF
1912 cat >>confdefs.h
<<\_ACEOF
1913 #define __SOLARIS__ 1
1916 cat >>confdefs.h
<<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1944 cat >>confdefs.h
<<\_ACEOF
1945 #define __FREEBSD__ 1
1948 cat >>confdefs.h
<<\_ACEOF
1952 DEFAULT_DEFAULT_wxUSE_GTK
=1
1954 *-*-openbsd*|*-*-mirbsd*)
1957 cat >>confdefs.h
<<\_ACEOF
1958 #define __OPENBSD__ 1
1961 cat >>confdefs.h
<<\_ACEOF
1965 DEFAULT_DEFAULT_wxUSE_GTK
=1
1970 cat >>confdefs.h
<<\_ACEOF
1971 #define __NETBSD__ 1
1974 cat >>confdefs.h
<<\_ACEOF
1978 DEFAULT_DEFAULT_wxUSE_GTK
=1
1979 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1981 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1986 cat >>confdefs.h
<<\_ACEOF
1990 cat >>confdefs.h
<<\_ACEOF
1994 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1995 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2000 cat >>confdefs.h
<<\_ACEOF
2004 cat >>confdefs.h
<<\_ACEOF
2008 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2013 cat >>confdefs.h
<<\_ACEOF
2017 cat >>confdefs.h
<<\_ACEOF
2021 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2028 cat >>confdefs.h
<<\_ACEOF
2032 cat >>confdefs.h
<<\_ACEOF
2036 cat >>confdefs.h
<<\_ACEOF
2040 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2047 cat >>confdefs.h
<<\_ACEOF
2048 #define __UNIXWARE__ 1
2053 *-*-cygwin* | *-*-mingw32* )
2056 DEFAULT_DEFAULT_wxUSE_MSW
=1
2063 cat >>confdefs.h
<<\_ACEOF
2068 DEFAULT_DEFAULT_wxUSE_MGL
=1
2071 *-pc-os2_emx | *-pc-os2-emx )
2072 cat >>confdefs.h
<<\_ACEOF
2077 cat >>confdefs.h
<<\_ACEOF
2082 DEFAULT_DEFAULT_wxUSE_PM
=1
2084 LDFLAGS
="$LDFLAGS -Zcrtdll"
2085 ac_executable_extensions
=".exe"
2086 export ac_executable_extensions
2090 for ac_dir
in $PATH; do
2092 if test -z "$ac_TEMP_PATH"; then
2093 ac_TEMP_PATH
="$ac_dir"
2095 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2098 export PATH
="$ac_TEMP_PATH"
2107 cat >>confdefs.h
<<\_ACEOF
2111 cat >>confdefs.h
<<\_ACEOF
2112 #define __DARWIN__ 1
2115 cat >>confdefs.h
<<\_ACEOF
2116 #define TARGET_CARBON 1
2119 DEFAULT_DEFAULT_wxUSE_MAC
=1
2122 powerpc
-apple-macos* )
2124 ac_cv_c_bigendian
=yes
2126 DEFAULT_DEFAULT_wxUSE_MAC
=1
2132 cat >>confdefs.h
<<\_ACEOF
2139 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2140 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2141 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2142 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2144 DEFAULT_DEFAULT_wxUSE_X11
=1
2145 DEFAULT_wxUSE_SHARED
=no
2151 wx_arg_cache_file
="configarg.cache"
2152 echo "loading argument cache $wx_arg_cache_file"
2153 rm -f ${wx_arg_cache_file}.tmp
2154 touch ${wx_arg_cache_file}.tmp
2155 touch ${wx_arg_cache_file}
2159 if test $DEBUG_CONFIGURE = 1; then
2160 DEFAULT_wxUSE_UNIVERSAL
=no
2161 DEFAULT_wxUSE_STL
=no
2163 DEFAULT_wxUSE_NANOX
=no
2165 DEFAULT_wxUSE_THREADS
=yes
2167 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2168 DEFAULT_wxUSE_OPTIMISE
=no
2169 DEFAULT_wxUSE_PROFILE
=no
2170 DEFAULT_wxUSE_NO_DEPS
=no
2171 DEFAULT_wxUSE_NO_RTTI
=no
2172 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2173 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2174 DEFAULT_wxUSE_RPATH
=yes
2175 DEFAULT_wxUSE_PERMISSIVE
=no
2176 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2177 DEFAULT_wxUSE_DEBUG_INFO
=yes
2178 DEFAULT_wxUSE_DEBUG_GDB
=yes
2179 DEFAULT_wxUSE_MEM_TRACING
=no
2180 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2181 DEFAULT_wxUSE_DMALLOC
=no
2182 DEFAULT_wxUSE_APPLE_IEEE
=no
2184 DEFAULT_wxUSE_EXCEPTIONS
=no
2185 DEFAULT_wxUSE_LOG
=yes
2186 DEFAULT_wxUSE_LOGWINDOW
=no
2187 DEFAULT_wxUSE_LOGGUI
=no
2188 DEFAULT_wxUSE_LOGDIALOG
=no
2190 DEFAULT_wxUSE_GUI
=yes
2191 DEFAULT_wxUSE_CONTROLS
=no
2193 DEFAULT_wxUSE_REGEX
=no
2194 DEFAULT_wxUSE_XML
=no
2195 DEFAULT_wxUSE_EXPAT
=no
2196 DEFAULT_wxUSE_ZLIB
=no
2197 DEFAULT_wxUSE_LIBPNG
=no
2198 DEFAULT_wxUSE_LIBJPEG
=no
2199 DEFAULT_wxUSE_LIBTIFF
=no
2200 DEFAULT_wxUSE_LIBXPM
=no
2201 DEFAULT_wxUSE_LIBMSPACK
=no
2202 DEFAULT_wxUSE_LIBSDL
=no
2203 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2204 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2205 DEFAULT_wxUSE_LIBHILDON
=no
2206 DEFAULT_wxUSE_ODBC
=no
2207 DEFAULT_wxUSE_OPENGL
=no
2209 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2210 DEFAULT_wxUSE_STACKWALKER
=no
2211 DEFAULT_wxUSE_DEBUGREPORT
=no
2212 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2213 DEFAULT_wxUSE_STD_IOSTREAM
=no
2214 DEFAULT_wxUSE_STD_STRING
=no
2215 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2216 DEFAULT_wxUSE_DATETIME
=no
2217 DEFAULT_wxUSE_TIMER
=no
2218 DEFAULT_wxUSE_STOPWATCH
=no
2219 DEFAULT_wxUSE_FILE
=no
2220 DEFAULT_wxUSE_FFILE
=no
2221 DEFAULT_wxUSE_STDPATHS
=no
2222 DEFAULT_wxUSE_TEXTBUFFER
=no
2223 DEFAULT_wxUSE_TEXTFILE
=no
2224 DEFAULT_wxUSE_SOUND
=no
2225 DEFAULT_wxUSE_MEDIACTRL
=no
2226 DEFAULT_wxUSE_GSTREAMER8
=no
2227 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2228 DEFAULT_wxUSE_INTL
=no
2229 DEFAULT_wxUSE_CONFIG
=no
2230 DEFAULT_wxUSE_FONTMAP
=no
2231 DEFAULT_wxUSE_STREAMS
=no
2232 DEFAULT_wxUSE_SOCKETS
=no
2233 DEFAULT_wxUSE_OLE
=no
2234 DEFAULT_wxUSE_DATAOBJ
=no
2235 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2236 DEFAULT_wxUSE_JOYSTICK
=no
2237 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2238 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2239 DEFAULT_wxUSE_LONGLONG
=no
2240 DEFAULT_wxUSE_GEOMETRY
=no
2242 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2243 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2244 DEFAULT_wxUSE_POSTSCRIPT
=no
2246 DEFAULT_wxUSE_CLIPBOARD
=no
2247 DEFAULT_wxUSE_TOOLTIPS
=no
2248 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2249 DEFAULT_wxUSE_DRAGIMAGE
=no
2250 DEFAULT_wxUSE_SPLINES
=no
2251 DEFAULT_wxUSE_MOUSEWHEEL
=no
2253 DEFAULT_wxUSE_MDI
=no
2254 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2255 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2256 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2258 DEFAULT_wxUSE_RESOURCES
=no
2259 DEFAULT_wxUSE_CONSTRAINTS
=no
2260 DEFAULT_wxUSE_IPC
=no
2261 DEFAULT_wxUSE_HELP
=no
2262 DEFAULT_wxUSE_MS_HTML_HELP
=no
2263 DEFAULT_wxUSE_WXHTML_HELP
=no
2264 DEFAULT_wxUSE_TREELAYOUT
=no
2265 DEFAULT_wxUSE_METAFILE
=no
2266 DEFAULT_wxUSE_MIMETYPE
=no
2267 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2268 DEFAULT_wxUSE_PROTOCOL
=no
2269 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2270 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2271 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2272 DEFAULT_wxUSE_URL
=no
2273 DEFAULT_wxUSE_VARIANT
=no
2275 DEFAULT_wxUSE_COMMONDLGS
=no
2276 DEFAULT_wxUSE_CHOICEDLG
=no
2277 DEFAULT_wxUSE_COLOURDLG
=no
2278 DEFAULT_wxUSE_DIRDLG
=no
2279 DEFAULT_wxUSE_FILEDLG
=no
2280 DEFAULT_wxUSE_FINDREPLDLG
=no
2281 DEFAULT_wxUSE_FONTDLG
=no
2282 DEFAULT_wxUSE_MSGDLG
=no
2283 DEFAULT_wxUSE_NUMBERDLG
=no
2284 DEFAULT_wxUSE_TEXTDLG
=no
2285 DEFAULT_wxUSE_SPLASH
=no
2286 DEFAULT_wxUSE_STARTUP_TIPS
=no
2287 DEFAULT_wxUSE_PROGRESSDLG
=no
2288 DEFAULT_wxUSE_WIZARDDLG
=no
2290 DEFAULT_wxUSE_MENUS
=no
2291 DEFAULT_wxUSE_MINIFRAME
=no
2292 DEFAULT_wxUSE_HTML
=no
2293 DEFAULT_wxUSE_RICHTEXT
=no
2294 DEFAULT_wxUSE_XRC
=no
2295 DEFAULT_wxUSE_AUI
=no
2296 DEFAULT_wxUSE_WEBKIT
=no
2297 DEFAULT_wxUSE_FILESYSTEM
=no
2298 DEFAULT_wxUSE_FS_INET
=no
2299 DEFAULT_wxUSE_FS_ZIP
=no
2300 DEFAULT_wxUSE_BUSYINFO
=no
2301 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2302 DEFAULT_wxUSE_ZIPSTREAM
=no
2303 DEFAULT_wxUSE_VALIDATORS
=no
2305 DEFAULT_wxUSE_ACCEL
=no
2306 DEFAULT_wxUSE_BUTTON
=no
2307 DEFAULT_wxUSE_BMPBUTTON
=no
2308 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2309 DEFAULT_wxUSE_CALCTRL
=no
2310 DEFAULT_wxUSE_CARET
=no
2311 DEFAULT_wxUSE_CHECKBOX
=no
2312 DEFAULT_wxUSE_CHECKLST
=no
2313 DEFAULT_wxUSE_CHOICE
=no
2314 DEFAULT_wxUSE_CHOICEBOOK
=no
2315 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2316 DEFAULT_wxUSE_COMBOBOX
=no
2317 DEFAULT_wxUSE_COMBOCTRL
=no
2318 DEFAULT_wxUSE_DATEPICKCTRL
=no
2319 DEFAULT_wxUSE_DISPLAY
=no
2320 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2321 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2322 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2323 DEFAULT_wxUSE_GAUGE
=no
2324 DEFAULT_wxUSE_GRID
=no
2325 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2326 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2327 DEFAULT_wxUSE_IMAGLIST
=no
2328 DEFAULT_wxUSE_LISTBOOK
=no
2329 DEFAULT_wxUSE_LISTBOX
=no
2330 DEFAULT_wxUSE_LISTCTRL
=no
2331 DEFAULT_wxUSE_NOTEBOOK
=no
2332 DEFAULT_wxUSE_ODCOMBOBOX
=no
2333 DEFAULT_wxUSE_RADIOBOX
=no
2334 DEFAULT_wxUSE_RADIOBTN
=no
2335 DEFAULT_wxUSE_SASH
=no
2336 DEFAULT_wxUSE_SCROLLBAR
=no
2337 DEFAULT_wxUSE_SLIDER
=no
2338 DEFAULT_wxUSE_SPINBTN
=no
2339 DEFAULT_wxUSE_SPINCTRL
=no
2340 DEFAULT_wxUSE_SPLITTER
=no
2341 DEFAULT_wxUSE_STATBMP
=no
2342 DEFAULT_wxUSE_STATBOX
=no
2343 DEFAULT_wxUSE_STATLINE
=no
2344 DEFAULT_wxUSE_STATTEXT
=no
2345 DEFAULT_wxUSE_STATUSBAR
=yes
2346 DEFAULT_wxUSE_TAB_DIALOG
=no
2347 DEFAULT_wxUSE_TEXTCTRL
=no
2348 DEFAULT_wxUSE_TOGGLEBTN
=no
2349 DEFAULT_wxUSE_TOOLBAR
=no
2350 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2351 DEFAULT_wxUSE_TREEBOOK
=no
2352 DEFAULT_wxUSE_TOOLBOOK
=no
2353 DEFAULT_wxUSE_TREECTRL
=no
2354 DEFAULT_wxUSE_POPUPWIN
=no
2355 DEFAULT_wxUSE_TIPWINDOW
=no
2357 DEFAULT_wxUSE_UNICODE
=no
2358 DEFAULT_wxUSE_UNICODE_MSLU
=no
2359 DEFAULT_wxUSE_WCSRTOMBS
=no
2361 DEFAULT_wxUSE_PALETTE
=no
2362 DEFAULT_wxUSE_IMAGE
=no
2363 DEFAULT_wxUSE_GIF
=no
2364 DEFAULT_wxUSE_PCX
=no
2365 DEFAULT_wxUSE_PNM
=no
2366 DEFAULT_wxUSE_IFF
=no
2367 DEFAULT_wxUSE_XPM
=no
2368 DEFAULT_wxUSE_ICO_CUR
=no
2369 DEFAULT_wxUSE_ACCESSIBILITY
=no
2371 DEFAULT_wxUSE_MONOLITHIC
=no
2372 DEFAULT_wxUSE_PLUGINS
=no
2373 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2375 DEFAULT_wxUSE_UNIVERSAL
=no
2376 DEFAULT_wxUSE_STL
=no
2378 DEFAULT_wxUSE_NANOX
=no
2380 DEFAULT_wxUSE_THREADS
=yes
2382 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2383 DEFAULT_wxUSE_OPTIMISE
=yes
2384 DEFAULT_wxUSE_PROFILE
=no
2385 DEFAULT_wxUSE_NO_DEPS
=no
2386 DEFAULT_wxUSE_NO_RTTI
=no
2387 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2388 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2389 DEFAULT_wxUSE_RPATH
=yes
2390 DEFAULT_wxUSE_PERMISSIVE
=no
2391 DEFAULT_wxUSE_DEBUG_FLAG
=no
2392 DEFAULT_wxUSE_DEBUG_INFO
=no
2393 DEFAULT_wxUSE_DEBUG_GDB
=no
2394 DEFAULT_wxUSE_MEM_TRACING
=no
2395 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2396 DEFAULT_wxUSE_DMALLOC
=no
2397 DEFAULT_wxUSE_APPLE_IEEE
=yes
2399 DEFAULT_wxUSE_EXCEPTIONS
=yes
2400 DEFAULT_wxUSE_LOG
=yes
2401 DEFAULT_wxUSE_LOGWINDOW
=yes
2402 DEFAULT_wxUSE_LOGGUI
=yes
2403 DEFAULT_wxUSE_LOGDIALOG
=yes
2405 DEFAULT_wxUSE_GUI
=yes
2407 DEFAULT_wxUSE_REGEX
=yes
2408 DEFAULT_wxUSE_XML
=yes
2409 DEFAULT_wxUSE_EXPAT
=yes
2410 DEFAULT_wxUSE_ZLIB
=yes
2411 DEFAULT_wxUSE_LIBPNG
=yes
2412 DEFAULT_wxUSE_LIBJPEG
=yes
2413 DEFAULT_wxUSE_LIBTIFF
=yes
2414 DEFAULT_wxUSE_LIBXPM
=yes
2415 DEFAULT_wxUSE_LIBMSPACK
=yes
2416 DEFAULT_wxUSE_LIBSDL
=no
2417 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2418 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2419 DEFAULT_wxUSE_LIBHILDON
=no
2420 DEFAULT_wxUSE_ODBC
=no
2421 DEFAULT_wxUSE_OPENGL
=no
2423 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2424 DEFAULT_wxUSE_STACKWALKER
=yes
2425 DEFAULT_wxUSE_DEBUGREPORT
=yes
2426 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2427 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2428 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2429 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2430 DEFAULT_wxUSE_DATETIME
=yes
2431 DEFAULT_wxUSE_TIMER
=yes
2432 DEFAULT_wxUSE_STOPWATCH
=yes
2433 DEFAULT_wxUSE_FILE
=yes
2434 DEFAULT_wxUSE_FFILE
=yes
2435 DEFAULT_wxUSE_STDPATHS
=yes
2436 DEFAULT_wxUSE_TEXTBUFFER
=yes
2437 DEFAULT_wxUSE_TEXTFILE
=yes
2438 DEFAULT_wxUSE_SOUND
=yes
2439 DEFAULT_wxUSE_MEDIACTRL
=no
2440 DEFAULT_wxUSE_GSTREAMER8
=no
2441 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2442 DEFAULT_wxUSE_INTL
=yes
2443 DEFAULT_wxUSE_CONFIG
=yes
2444 DEFAULT_wxUSE_FONTMAP
=yes
2445 DEFAULT_wxUSE_STREAMS
=yes
2446 DEFAULT_wxUSE_SOCKETS
=yes
2447 DEFAULT_wxUSE_OLE
=yes
2448 DEFAULT_wxUSE_DATAOBJ
=yes
2449 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2450 DEFAULT_wxUSE_JOYSTICK
=yes
2451 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2452 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2453 DEFAULT_wxUSE_LONGLONG
=yes
2454 DEFAULT_wxUSE_GEOMETRY
=yes
2456 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2457 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2458 DEFAULT_wxUSE_POSTSCRIPT
=yes
2460 DEFAULT_wxUSE_CLIPBOARD
=yes
2461 DEFAULT_wxUSE_TOOLTIPS
=yes
2462 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2463 DEFAULT_wxUSE_DRAGIMAGE
=yes
2464 DEFAULT_wxUSE_SPLINES
=yes
2465 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2467 DEFAULT_wxUSE_MDI
=yes
2468 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2469 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2470 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2472 DEFAULT_wxUSE_RESOURCES
=no
2473 DEFAULT_wxUSE_CONSTRAINTS
=yes
2474 DEFAULT_wxUSE_IPC
=yes
2475 DEFAULT_wxUSE_HELP
=yes
2476 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2477 DEFAULT_wxUSE_WXHTML_HELP
=yes
2478 DEFAULT_wxUSE_TREELAYOUT
=yes
2479 DEFAULT_wxUSE_METAFILE
=yes
2480 DEFAULT_wxUSE_MIMETYPE
=yes
2481 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2482 DEFAULT_wxUSE_PROTOCOL
=yes
2483 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2484 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2485 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2486 DEFAULT_wxUSE_URL
=yes
2487 DEFAULT_wxUSE_VARIANT
=yes
2489 DEFAULT_wxUSE_COMMONDLGS
=yes
2490 DEFAULT_wxUSE_CHOICEDLG
=yes
2491 DEFAULT_wxUSE_COLOURDLG
=yes
2492 DEFAULT_wxUSE_DIRDLG
=yes
2493 DEFAULT_wxUSE_FILEDLG
=yes
2494 DEFAULT_wxUSE_FINDREPLDLG
=yes
2495 DEFAULT_wxUSE_FONTDLG
=yes
2496 DEFAULT_wxUSE_MSGDLG
=yes
2497 DEFAULT_wxUSE_NUMBERDLG
=yes
2498 DEFAULT_wxUSE_TEXTDLG
=yes
2499 DEFAULT_wxUSE_SPLASH
=yes
2500 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2501 DEFAULT_wxUSE_PROGRESSDLG
=yes
2502 DEFAULT_wxUSE_WIZARDDLG
=yes
2504 DEFAULT_wxUSE_MENUS
=yes
2505 DEFAULT_wxUSE_MINIFRAME
=yes
2506 DEFAULT_wxUSE_HTML
=yes
2507 DEFAULT_wxUSE_RICHTEXT
=yes
2508 DEFAULT_wxUSE_XRC
=yes
2509 DEFAULT_wxUSE_AUI
=yes
2510 DEFAULT_wxUSE_WEBKIT
=yes
2511 DEFAULT_wxUSE_FILESYSTEM
=yes
2512 DEFAULT_wxUSE_FS_INET
=yes
2513 DEFAULT_wxUSE_FS_ZIP
=yes
2514 DEFAULT_wxUSE_BUSYINFO
=yes
2515 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2516 DEFAULT_wxUSE_ZIPSTREAM
=yes
2517 DEFAULT_wxUSE_VALIDATORS
=yes
2519 DEFAULT_wxUSE_ACCEL
=yes
2520 DEFAULT_wxUSE_BUTTON
=yes
2521 DEFAULT_wxUSE_BMPBUTTON
=yes
2522 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2523 DEFAULT_wxUSE_CALCTRL
=yes
2524 DEFAULT_wxUSE_CARET
=yes
2525 DEFAULT_wxUSE_CHECKBOX
=yes
2526 DEFAULT_wxUSE_CHECKLST
=yes
2527 DEFAULT_wxUSE_CHOICE
=yes
2528 DEFAULT_wxUSE_CHOICEBOOK
=yes
2529 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2530 DEFAULT_wxUSE_COMBOBOX
=yes
2531 DEFAULT_wxUSE_COMBOCTRL
=yes
2532 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2533 DEFAULT_wxUSE_DISPLAY
=yes
2534 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2535 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2536 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2537 DEFAULT_wxUSE_GAUGE
=yes
2538 DEFAULT_wxUSE_GRID
=yes
2539 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2540 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2541 DEFAULT_wxUSE_IMAGLIST
=yes
2542 DEFAULT_wxUSE_LISTBOOK
=yes
2543 DEFAULT_wxUSE_LISTBOX
=yes
2544 DEFAULT_wxUSE_LISTCTRL
=yes
2545 DEFAULT_wxUSE_NOTEBOOK
=yes
2546 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2547 DEFAULT_wxUSE_RADIOBOX
=yes
2548 DEFAULT_wxUSE_RADIOBTN
=yes
2549 DEFAULT_wxUSE_SASH
=yes
2550 DEFAULT_wxUSE_SCROLLBAR
=yes
2551 DEFAULT_wxUSE_SLIDER
=yes
2552 DEFAULT_wxUSE_SPINBTN
=yes
2553 DEFAULT_wxUSE_SPINCTRL
=yes
2554 DEFAULT_wxUSE_SPLITTER
=yes
2555 DEFAULT_wxUSE_STATBMP
=yes
2556 DEFAULT_wxUSE_STATBOX
=yes
2557 DEFAULT_wxUSE_STATLINE
=yes
2558 DEFAULT_wxUSE_STATTEXT
=yes
2559 DEFAULT_wxUSE_STATUSBAR
=yes
2560 DEFAULT_wxUSE_TAB_DIALOG
=no
2561 DEFAULT_wxUSE_TEXTCTRL
=yes
2562 DEFAULT_wxUSE_TOGGLEBTN
=yes
2563 DEFAULT_wxUSE_TOOLBAR
=yes
2564 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2565 DEFAULT_wxUSE_TREEBOOK
=yes
2566 DEFAULT_wxUSE_TOOLBOOK
=yes
2567 DEFAULT_wxUSE_TREECTRL
=yes
2568 DEFAULT_wxUSE_POPUPWIN
=yes
2569 DEFAULT_wxUSE_TIPWINDOW
=yes
2571 DEFAULT_wxUSE_UNICODE
=no
2572 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2573 DEFAULT_wxUSE_WCSRTOMBS
=no
2575 DEFAULT_wxUSE_PALETTE
=yes
2576 DEFAULT_wxUSE_IMAGE
=yes
2577 DEFAULT_wxUSE_GIF
=yes
2578 DEFAULT_wxUSE_PCX
=yes
2579 DEFAULT_wxUSE_IFF
=no
2580 DEFAULT_wxUSE_PNM
=yes
2581 DEFAULT_wxUSE_XPM
=yes
2582 DEFAULT_wxUSE_ICO_CUR
=yes
2583 DEFAULT_wxUSE_ACCESSIBILITY
=no
2585 DEFAULT_wxUSE_MONOLITHIC
=no
2586 DEFAULT_wxUSE_PLUGINS
=no
2587 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2589 DEFAULT_wxUSE_GTK2
=yes
2595 for toolkit
in `echo $ALL_TOOLKITS`; do
2596 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 has_toolkit_in_cache
=1
2599 eval "DEFAULT_$LINE"
2600 eval "CACHE_$toolkit=1"
2602 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2603 if test "x$LINE" != "x" ; then
2604 eval "DEFAULT_$LINE"
2612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2613 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2615 # Check whether --enable-gui or --disable-gui was given.
2616 if test "${enable_gui+set}" = set; then
2617 enableval
="$enable_gui"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_gui
='wxUSE_GUI=yes'
2622 ac_cv_use_gui
='wxUSE_GUI=no'
2627 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2638 eval "$ac_cv_use_gui"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2643 if test "$wxUSE_GUI" = yes; then
2644 echo "$as_me:$LINENO: result: yes" >&5
2645 echo "${ECHO_T}yes" >&6
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2656 # Check whether --enable-monolithic or --disable-monolithic was given.
2657 if test "${enable_monolithic+set}" = set; then
2658 enableval
="$enable_monolithic"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2663 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2668 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2679 eval "$ac_cv_use_monolithic"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_MONOLITHIC" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2695 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2697 # Check whether --enable-plugins or --disable-plugins was given.
2698 if test "${enable_plugins+set}" = set; then
2699 enableval
="$enable_plugins"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2704 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2709 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2720 eval "$ac_cv_use_plugins"
2721 if test "$no_cache" != 1; then
2722 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2725 if test "$wxUSE_PLUGINS" = yes; then
2726 echo "$as_me:$LINENO: result: yes" >&5
2727 echo "${ECHO_T}yes" >&6
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2735 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2736 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2739 # Check whether --with-subdirs or --without-subdirs was given.
2740 if test "${with_subdirs+set}" = set; then
2741 withval
="$with_subdirs"
2743 if test "$withval" = yes; then
2744 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2746 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2751 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2762 eval "$ac_cv_use_subdirs"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2767 if test "$wxWITH_SUBDIRS" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2776 if test "$wxUSE_GUI" = "yes"; then
2780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2781 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2783 # Check whether --enable-universal or --disable-universal was given.
2784 if test "${enable_universal+set}" = set; then
2785 enableval
="$enable_universal"
2787 if test "$enableval" = yes; then
2788 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2790 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2795 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2796 if test "x$LINE" != x
; then
2797 eval "DEFAULT_$LINE"
2802 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2806 eval "$ac_cv_use_universal"
2807 if test "$no_cache" != 1; then
2808 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2811 if test "$wxUSE_UNIVERSAL" = yes; then
2812 echo "$as_me:$LINENO: result: yes" >&5
2813 echo "${ECHO_T}yes" >&6
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2820 # Check whether --with-gtk or --without-gtk was given.
2821 if test "${with_gtk+set}" = set; then
2823 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2826 # Check whether --with-motif or --without-motif was given.
2827 if test "${with_motif+set}" = set; then
2828 withval
="$with_motif"
2829 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2832 # Check whether --with-mac or --without-mac was given.
2833 if test "${with_mac+set}" = set; then
2835 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2838 # Check whether --with-cocoa or --without-cocoa was given.
2839 if test "${with_cocoa+set}" = set; then
2840 withval
="$with_cocoa"
2841 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2844 # Check whether --with-wine or --without-wine was given.
2845 if test "${with_wine+set}" = set; then
2846 withval
="$with_wine"
2847 wxUSE_WINE
="$withval" CACHE_WINE
=1
2850 # Check whether --with-msw or --without-msw was given.
2851 if test "${with_msw+set}" = set; then
2853 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2856 # Check whether --with-pm or --without-pm was given.
2857 if test "${with_pm+set}" = set; then
2859 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2862 # Check whether --with-mgl or --without-mgl was given.
2863 if test "${with_mgl+set}" = set; then
2865 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2868 # Check whether --with-directfb or --without-directfb was given.
2869 if test "${with_directfb+set}" = set; then
2870 withval
="$with_directfb"
2871 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2874 # Check whether --with-microwin or --without-microwin was given.
2875 if test "${with_microwin+set}" = set; then
2876 withval
="$with_microwin"
2877 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2880 # Check whether --with-x11 or --without-x11 was given.
2881 if test "${with_x11+set}" = set; then
2883 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2888 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2890 # Check whether --enable-nanox or --disable-nanox was given.
2891 if test "${enable_nanox+set}" = set; then
2892 enableval
="$enable_nanox"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2897 ac_cv_use_nanox
='wxUSE_NANOX=no'
2902 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2913 eval "$ac_cv_use_nanox"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_NANOX" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2927 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2928 if test "${enable_gtk2+set}" = set; then
2929 enableval
="$enable_gtk2"
2930 wxUSE_GTK2
="$enableval"
2934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2935 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2937 # Check whether --enable-gpe or --disable-gpe was given.
2938 if test "${enable_gpe+set}" = set; then
2939 enableval
="$enable_gpe"
2941 if test "$enableval" = yes; then
2942 ac_cv_use_gpe
='wxUSE_GPE=yes'
2944 ac_cv_use_gpe
='wxUSE_GPE=no'
2949 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2960 eval "$ac_cv_use_gpe"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2965 if test "$wxUSE_GPE" = yes; then
2966 echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2975 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2976 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2979 # Check whether --with-libpng or --without-libpng was given.
2980 if test "${with_libpng+set}" = set; then
2981 withval
="$with_libpng"
2983 if test "$withval" = yes; then
2984 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2985 elif test "$withval" = no
; then
2986 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2987 elif test "$withval" = sys
; then
2988 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2989 elif test "$withval" = builtin; then
2990 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2999 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x
; then
3001 eval "DEFAULT_$LINE"
3006 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3010 eval "$ac_cv_use_libpng"
3011 if test "$no_cache" != 1; then
3012 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3015 if test "$wxUSE_LIBPNG" = yes; then
3016 echo "$as_me:$LINENO: result: yes" >&5
3017 echo "${ECHO_T}yes" >&6
3018 elif test "$wxUSE_LIBPNG" = no
; then
3019 echo "$as_me:$LINENO: result: no" >&5
3020 echo "${ECHO_T}no" >&6
3021 elif test "$wxUSE_LIBPNG" = sys
; then
3022 echo "$as_me:$LINENO: result: system version" >&5
3023 echo "${ECHO_T}system version" >&6
3024 elif test "$wxUSE_LIBPNG" = builtin; then
3025 echo "$as_me:$LINENO: result: builtin version" >&5
3026 echo "${ECHO_T}builtin version" >&6
3028 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3029 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3030 { (exit 1); exit 1; }; }
3034 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3035 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3038 # Check whether --with-libjpeg or --without-libjpeg was given.
3039 if test "${with_libjpeg+set}" = set; then
3040 withval
="$with_libjpeg"
3042 if test "$withval" = yes; then
3043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3044 elif test "$withval" = no
; then
3045 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3046 elif test "$withval" = sys
; then
3047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3048 elif test "$withval" = builtin; then
3049 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3051 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3052 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3053 { (exit 1); exit 1; }; }
3058 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3069 eval "$ac_cv_use_libjpeg"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_LIBJPEG" = yes; then
3075 echo "$as_me:$LINENO: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3077 elif test "$wxUSE_LIBJPEG" = no
; then
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3080 elif test "$wxUSE_LIBJPEG" = sys
; then
3081 echo "$as_me:$LINENO: result: system version" >&5
3082 echo "${ECHO_T}system version" >&6
3083 elif test "$wxUSE_LIBJPEG" = builtin; then
3084 echo "$as_me:$LINENO: result: builtin version" >&5
3085 echo "${ECHO_T}builtin version" >&6
3087 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3088 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3089 { (exit 1); exit 1; }; }
3093 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3094 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3097 # Check whether --with-libtiff or --without-libtiff was given.
3098 if test "${with_libtiff+set}" = set; then
3099 withval
="$with_libtiff"
3101 if test "$withval" = yes; then
3102 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3103 elif test "$withval" = no
; then
3104 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3105 elif test "$withval" = sys
; then
3106 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3107 elif test "$withval" = builtin; then
3108 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3110 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3111 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3112 { (exit 1); exit 1; }; }
3117 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x
; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3128 eval "$ac_cv_use_libtiff"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_LIBTIFF" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3136 elif test "$wxUSE_LIBTIFF" = no
; then
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3139 elif test "$wxUSE_LIBTIFF" = sys
; then
3140 echo "$as_me:$LINENO: result: system version" >&5
3141 echo "${ECHO_T}system version" >&6
3142 elif test "$wxUSE_LIBTIFF" = builtin; then
3143 echo "$as_me:$LINENO: result: builtin version" >&5
3144 echo "${ECHO_T}builtin version" >&6
3146 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3147 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3148 { (exit 1); exit 1; }; }
3152 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3153 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3156 # Check whether --with-libxpm or --without-libxpm was given.
3157 if test "${with_libxpm+set}" = set; then
3158 withval
="$with_libxpm"
3160 if test "$withval" = yes; then
3161 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3162 elif test "$withval" = no
; then
3163 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3164 elif test "$withval" = sys
; then
3165 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3166 elif test "$withval" = builtin; then
3167 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3169 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3170 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3171 { (exit 1); exit 1; }; }
3176 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3187 eval "$ac_cv_use_libxpm"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_LIBXPM" = yes; then
3193 echo "$as_me:$LINENO: result: yes" >&5
3194 echo "${ECHO_T}yes" >&6
3195 elif test "$wxUSE_LIBXPM" = no
; then
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3198 elif test "$wxUSE_LIBXPM" = sys
; then
3199 echo "$as_me:$LINENO: result: system version" >&5
3200 echo "${ECHO_T}system version" >&6
3201 elif test "$wxUSE_LIBXPM" = builtin; then
3202 echo "$as_me:$LINENO: result: builtin version" >&5
3203 echo "${ECHO_T}builtin version" >&6
3205 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3206 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3207 { (exit 1); exit 1; }; }
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3216 # Check whether --with-libmspack or --without-libmspack was given.
3217 if test "${with_libmspack+set}" = set; then
3218 withval
="$with_libmspack"
3220 if test "$withval" = yes; then
3221 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3223 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3228 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x
; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3239 eval "$ac_cv_use_libmspack"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_LIBMSPACK" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3254 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3255 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3258 # Check whether --with-sdl or --without-sdl was given.
3259 if test "${with_sdl+set}" = set; then
3262 if test "$withval" = yes; then
3263 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3265 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3270 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3271 if test "x$LINE" != x
; then
3272 eval "DEFAULT_$LINE"
3277 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3281 eval "$ac_cv_use_sdl"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3286 if test "$wxUSE_LIBSDL" = yes; then
3287 echo "$as_me:$LINENO: result: yes" >&5
3288 echo "${ECHO_T}yes" >&6
3290 echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3296 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3297 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3300 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3301 if test "${with_gnomeprint+set}" = set; then
3302 withval
="$with_gnomeprint"
3304 if test "$withval" = yes; then
3305 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3307 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3312 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3323 eval "$ac_cv_use_gnomeprint"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3338 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3339 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3342 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3343 if test "${with_gnomevfs+set}" = set; then
3344 withval
="$with_gnomevfs"
3346 if test "$withval" = yes; then
3347 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3349 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3354 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x
; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3365 eval "$ac_cv_use_gnomevfs"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3380 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3381 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3384 # Check whether --with-hildon or --without-hildon was given.
3385 if test "${with_hildon+set}" = set; then
3386 withval
="$with_hildon"
3388 if test "$withval" = yes; then
3389 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3391 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3396 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x
; then
3398 eval "DEFAULT_$LINE"
3403 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3407 eval "$ac_cv_use_hildon"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_LIBHILDON" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3422 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3423 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3426 # Check whether --with-opengl or --without-opengl was given.
3427 if test "${with_opengl+set}" = set; then
3428 withval
="$with_opengl"
3430 if test "$withval" = yes; then
3431 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3433 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3438 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x
; then
3440 eval "DEFAULT_$LINE"
3445 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3449 eval "$ac_cv_use_opengl"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3454 if test "$wxUSE_OPENGL" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3467 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3468 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3471 # Check whether --with-dmalloc or --without-dmalloc was given.
3472 if test "${with_dmalloc+set}" = set; then
3473 withval
="$with_dmalloc"
3475 if test "$withval" = yes; then
3476 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3478 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3483 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3494 eval "$ac_cv_use_dmalloc"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_DMALLOC" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3508 echo "$as_me:$LINENO: checking for --with-regex" >&5
3509 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3512 # Check whether --with-regex or --without-regex was given.
3513 if test "${with_regex+set}" = set; then
3514 withval
="$with_regex"
3516 if test "$withval" = yes; then
3517 ac_cv_use_regex
='wxUSE_REGEX=yes'
3518 elif test "$withval" = no
; then
3519 ac_cv_use_regex
='wxUSE_REGEX=no'
3520 elif test "$withval" = sys
; then
3521 ac_cv_use_regex
='wxUSE_REGEX=sys'
3522 elif test "$withval" = builtin; then
3523 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3525 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3526 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3527 { (exit 1); exit 1; }; }
3532 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3543 eval "$ac_cv_use_regex"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_REGEX" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 elif test "$wxUSE_REGEX" = no
; then
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 elif test "$wxUSE_REGEX" = sys
; then
3555 echo "$as_me:$LINENO: result: system version" >&5
3556 echo "${ECHO_T}system version" >&6
3557 elif test "$wxUSE_REGEX" = builtin; then
3558 echo "$as_me:$LINENO: result: builtin version" >&5
3559 echo "${ECHO_T}builtin version" >&6
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3567 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3568 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3571 # Check whether --with-zlib or --without-zlib was given.
3572 if test "${with_zlib+set}" = set; then
3573 withval
="$with_zlib"
3575 if test "$withval" = yes; then
3576 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3577 elif test "$withval" = no
; then
3578 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3579 elif test "$withval" = sys
; then
3580 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3581 elif test "$withval" = builtin; then
3582 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3584 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3585 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3586 { (exit 1); exit 1; }; }
3591 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x
; then
3593 eval "DEFAULT_$LINE"
3598 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3602 eval "$ac_cv_use_zlib"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3607 if test "$wxUSE_ZLIB" = yes; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3610 elif test "$wxUSE_ZLIB" = no
; then
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3613 elif test "$wxUSE_ZLIB" = sys
; then
3614 echo "$as_me:$LINENO: result: system version" >&5
3615 echo "${ECHO_T}system version" >&6
3616 elif test "$wxUSE_ZLIB" = builtin; then
3617 echo "$as_me:$LINENO: result: builtin version" >&5
3618 echo "${ECHO_T}builtin version" >&6
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3626 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3627 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3630 # Check whether --with-odbc or --without-odbc was given.
3631 if test "${with_odbc+set}" = set; then
3632 withval
="$with_odbc"
3634 if test "$withval" = yes; then
3635 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3636 elif test "$withval" = no
; then
3637 ac_cv_use_odbc
='wxUSE_ODBC=no'
3638 elif test "$withval" = sys
; then
3639 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3640 elif test "$withval" = builtin; then
3641 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3643 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3644 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3645 { (exit 1); exit 1; }; }
3650 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3661 eval "$ac_cv_use_odbc"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_ODBC" = yes; then
3667 echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6
3669 elif test "$wxUSE_ODBC" = no
; then
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3672 elif test "$wxUSE_ODBC" = sys
; then
3673 echo "$as_me:$LINENO: result: system version" >&5
3674 echo "${ECHO_T}system version" >&6
3675 elif test "$wxUSE_ODBC" = builtin; then
3676 echo "$as_me:$LINENO: result: builtin version" >&5
3677 echo "${ECHO_T}builtin version" >&6
3679 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3680 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3681 { (exit 1); exit 1; }; }
3685 echo "$as_me:$LINENO: checking for --with-expat" >&5
3686 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3689 # Check whether --with-expat or --without-expat was given.
3690 if test "${with_expat+set}" = set; then
3691 withval
="$with_expat"
3693 if test "$withval" = yes; then
3694 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3695 elif test "$withval" = no
; then
3696 ac_cv_use_expat
='wxUSE_EXPAT=no'
3697 elif test "$withval" = sys
; then
3698 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3699 elif test "$withval" = builtin; then
3700 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3702 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3703 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3704 { (exit 1); exit 1; }; }
3709 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3710 if test "x$LINE" != x
; then
3711 eval "DEFAULT_$LINE"
3716 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3720 eval "$ac_cv_use_expat"
3721 if test "$no_cache" != 1; then
3722 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3725 if test "$wxUSE_EXPAT" = yes; then
3726 echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6
3728 elif test "$wxUSE_EXPAT" = no
; then
3729 echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3731 elif test "$wxUSE_EXPAT" = sys
; then
3732 echo "$as_me:$LINENO: result: system version" >&5
3733 echo "${ECHO_T}system version" >&6
3734 elif test "$wxUSE_EXPAT" = builtin; then
3735 echo "$as_me:$LINENO: result: builtin version" >&5
3736 echo "${ECHO_T}builtin version" >&6
3738 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3739 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3740 { (exit 1); exit 1; }; }
3747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3748 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3750 # Check whether --enable-shared or --disable-shared was given.
3751 if test "${enable_shared+set}" = set; then
3752 enableval
="$enable_shared"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_shared
='wxUSE_SHARED=yes'
3757 ac_cv_use_shared
='wxUSE_SHARED=no'
3762 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3773 eval "$ac_cv_use_shared"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_SHARED" = yes; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3791 # Check whether --enable-optimise or --disable-optimise was given.
3792 if test "${enable_optimise+set}" = set; then
3793 enableval
="$enable_optimise"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3798 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3803 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3814 eval "$ac_cv_use_optimise"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_OPTIMISE" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3832 # Check whether --enable-debug or --disable-debug was given.
3833 if test "${enable_debug+set}" = set; then
3834 enableval
="$enable_debug"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3839 ac_cv_use_debug
='wxUSE_DEBUG=no'
3844 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3855 eval "$ac_cv_use_debug"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_DEBUG" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3873 # Check whether --enable-stl or --disable-stl was given.
3874 if test "${enable_stl+set}" = set; then
3875 enableval
="$enable_stl"
3877 if test "$enableval" = yes; then
3878 ac_cv_use_stl
='wxUSE_STL=yes'
3880 ac_cv_use_stl
='wxUSE_STL=no'
3885 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x
; then
3887 eval "DEFAULT_$LINE"
3892 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3896 eval "$ac_cv_use_stl"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3901 if test "$wxUSE_STL" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3909 if test "$USE_OS2" = "1"; then
3910 DEFAULT_wxUSE_OMF
=no
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3916 # Check whether --enable-omf or --disable-omf was given.
3917 if test "${enable_omf+set}" = set; then
3918 enableval
="$enable_omf"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_omf
='wxUSE_OMF=yes'
3923 ac_cv_use_omf
='wxUSE_OMF=no'
3928 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3939 eval "$ac_cv_use_omf"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_OMF" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3954 if test "$wxUSE_DEBUG" = "yes"; then
3955 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3956 DEFAULT_wxUSE_DEBUG_INFO
=yes
3958 elif test "$wxUSE_DEBUG" = "no"; then
3959 DEFAULT_wxUSE_DEBUG_FLAG
=no
3960 DEFAULT_wxUSE_DEBUG_INFO
=no
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3969 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3970 if test "${enable_debug_flag+set}" = set; then
3971 enableval
="$enable_debug_flag"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3976 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3981 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x
; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3992 eval "$ac_cv_use_debug_flag"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3997 if test "$wxUSE_DEBUG_FLAG" = yes; then
3998 echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4010 # Check whether --enable-debug_info or --disable-debug_info was given.
4011 if test "${enable_debug_info+set}" = set; then
4012 enableval
="$enable_debug_info"
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4017 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4022 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x
; then
4024 eval "DEFAULT_$LINE"
4029 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4033 eval "$ac_cv_use_debug_info"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_DEBUG_INFO" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4051 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4052 if test "${enable_debug_gdb+set}" = set; then
4053 enableval
="$enable_debug_gdb"
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4058 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4063 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x
; then
4065 eval "DEFAULT_$LINE"
4070 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4074 eval "$ac_cv_use_debug_gdb"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_DEBUG_GDB" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4092 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4093 if test "${enable_debug_cntxt+set}" = set; then
4094 enableval
="$enable_debug_cntxt"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4099 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4104 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4115 eval "$ac_cv_use_debug_cntxt"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4120 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4133 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4134 if test "${enable_mem_tracing+set}" = set; then
4135 enableval
="$enable_mem_tracing"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4140 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4145 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4156 eval "$ac_cv_use_mem_tracing"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_MEM_TRACING" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4174 # Check whether --enable-profile or --disable-profile was given.
4175 if test "${enable_profile+set}" = set; then
4176 enableval
="$enable_profile"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4181 ac_cv_use_profile
='wxUSE_PROFILE=no'
4186 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x
; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4197 eval "$ac_cv_use_profile"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_PROFILE" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4215 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4216 if test "${enable_no_rtti+set}" = set; then
4217 enableval
="$enable_no_rtti"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4222 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4227 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4238 eval "$ac_cv_use_no_rtti"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_NO_RTTI" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4256 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4257 if test "${enable_no_exceptions+set}" = set; then
4258 enableval
="$enable_no_exceptions"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4263 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4268 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4279 eval "$ac_cv_use_no_exceptions"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4297 # Check whether --enable-permissive or --disable-permissive was given.
4298 if test "${enable_permissive+set}" = set; then
4299 enableval
="$enable_permissive"
4301 if test "$enableval" = yes; then
4302 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4304 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4309 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x
; then
4311 eval "DEFAULT_$LINE"
4316 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4320 eval "$ac_cv_use_permissive"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4325 if test "$wxUSE_PERMISSIVE" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4338 # Check whether --enable-no_deps or --disable-no_deps was given.
4339 if test "${enable_no_deps+set}" = set; then
4340 enableval
="$enable_no_deps"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4345 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4350 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4361 eval "$ac_cv_use_no_deps"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_NO_DEPS" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4379 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4380 if test "${enable_universal_binary+set}" = set; then
4381 enableval
="$enable_universal_binary"
4383 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4387 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x
; then
4389 eval "DEFAULT_$LINE"
4390 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4393 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4398 eval "$wx_cv_use_universal_binary"
4399 if test "$no_cache" != 1; then
4400 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4403 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4404 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4410 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4412 # Check whether --enable-compat24 or --disable-compat24 was given.
4413 if test "${enable_compat24+set}" = set; then
4414 enableval
="$enable_compat24"
4416 if test "$enableval" = yes; then
4417 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4419 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4424 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4435 eval "$ac_cv_use_compat24"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4440 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4441 echo "$as_me:$LINENO: result: yes" >&5
4442 echo "${ECHO_T}yes" >&6
4444 echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6
4449 enablestring
=disable
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4453 # Check whether --enable-compat26 or --disable-compat26 was given.
4454 if test "${enable_compat26+set}" = set; then
4455 enableval
="$enable_compat26"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4460 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4465 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4476 eval "$ac_cv_use_compat26"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4481 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4495 # Check whether --enable-rpath or --disable-rpath was given.
4496 if test "${enable_rpath+set}" = set; then
4497 enableval
="$enable_rpath"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4502 ac_cv_use_rpath
='wxUSE_RPATH=no'
4507 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4518 eval "$ac_cv_use_rpath"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_RPATH" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4539 # Check whether --enable-intl or --disable-intl was given.
4540 if test "${enable_intl+set}" = set; then
4541 enableval
="$enable_intl"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_intl
='wxUSE_INTL=yes'
4546 ac_cv_use_intl
='wxUSE_INTL=no'
4551 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4562 eval "$ac_cv_use_intl"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_INTL" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4580 # Check whether --enable-config or --disable-config was given.
4581 if test "${enable_config+set}" = set; then
4582 enableval
="$enable_config"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_config
='wxUSE_CONFIG=yes'
4587 ac_cv_use_config
='wxUSE_CONFIG=no'
4592 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4603 eval "$ac_cv_use_config"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_CONFIG" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4622 # Check whether --enable-protocols or --disable-protocols was given.
4623 if test "${enable_protocols+set}" = set; then
4624 enableval
="$enable_protocols"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4629 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4634 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4645 eval "$ac_cv_use_protocols"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_PROTOCOL" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4663 # Check whether --enable-ftp or --disable-ftp was given.
4664 if test "${enable_ftp+set}" = set; then
4665 enableval
="$enable_ftp"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4670 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4675 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4686 eval "$ac_cv_use_ftp"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4704 # Check whether --enable-http or --disable-http was given.
4705 if test "${enable_http+set}" = set; then
4706 enableval
="$enable_http"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4711 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4716 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4727 eval "$ac_cv_use_http"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4745 # Check whether --enable-fileproto or --disable-fileproto was given.
4746 if test "${enable_fileproto+set}" = set; then
4747 enableval
="$enable_fileproto"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4752 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4757 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4768 eval "$ac_cv_use_fileproto"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4786 # Check whether --enable-sockets or --disable-sockets was given.
4787 if test "${enable_sockets+set}" = set; then
4788 enableval
="$enable_sockets"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4793 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4798 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4809 eval "$ac_cv_use_sockets"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_SOCKETS" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4827 # Check whether --enable-ole or --disable-ole was given.
4828 if test "${enable_ole+set}" = set; then
4829 enableval
="$enable_ole"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_ole
='wxUSE_OLE=yes'
4834 ac_cv_use_ole
='wxUSE_OLE=no'
4839 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4850 eval "$ac_cv_use_ole"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_OLE" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4868 # Check whether --enable-dataobj or --disable-dataobj was given.
4869 if test "${enable_dataobj+set}" = set; then
4870 enableval
="$enable_dataobj"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4875 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4880 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4891 eval "$ac_cv_use_dataobj"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_DATAOBJ" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4910 # Check whether --enable-ipc or --disable-ipc was given.
4911 if test "${enable_ipc+set}" = set; then
4912 enableval
="$enable_ipc"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_ipc
='wxUSE_IPC=yes'
4917 ac_cv_use_ipc
='wxUSE_IPC=no'
4922 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4933 eval "$ac_cv_use_ipc"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_IPC" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4952 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4953 if test "${enable_apple_ieee+set}" = set; then
4954 enableval
="$enable_apple_ieee"
4956 if test "$enableval" = yes; then
4957 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4959 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4964 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x
; then
4966 eval "DEFAULT_$LINE"
4971 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4975 eval "$ac_cv_use_apple_ieee"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4980 if test "$wxUSE_APPLE_IEEE" = yes; then
4981 echo "$as_me:$LINENO: result: yes" >&5
4982 echo "${ECHO_T}yes" >&6
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4993 # Check whether --enable-arcstream or --disable-arcstream was given.
4994 if test "${enable_arcstream+set}" = set; then
4995 enableval
="$enable_arcstream"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5000 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5005 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x
; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5016 eval "$ac_cv_use_arcstream"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5034 # Check whether --enable-backtrace or --disable-backtrace was given.
5035 if test "${enable_backtrace+set}" = set; then
5036 enableval
="$enable_backtrace"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5041 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5046 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5057 eval "$ac_cv_use_backtrace"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_STACKWALKER" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5075 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5076 if test "${enable_catch_segvs+set}" = set; then
5077 enableval
="$enable_catch_segvs"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5082 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5087 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x
; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5098 eval "$ac_cv_use_catch_segvs"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5116 # Check whether --enable-cmdline or --disable-cmdline was given.
5117 if test "${enable_cmdline+set}" = set; then
5118 enableval
="$enable_cmdline"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5123 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5128 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5139 eval "$ac_cv_use_cmdline"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5157 # Check whether --enable-datetime or --disable-datetime was given.
5158 if test "${enable_datetime+set}" = set; then
5159 enableval
="$enable_datetime"
5161 if test "$enableval" = yes; then
5162 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5164 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5169 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x
; then
5171 eval "DEFAULT_$LINE"
5176 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5180 eval "$ac_cv_use_datetime"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_DATETIME" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5198 # Check whether --enable-debugreport or --disable-debugreport was given.
5199 if test "${enable_debugreport+set}" = set; then
5200 enableval
="$enable_debugreport"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5205 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5210 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x
; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5221 eval "$ac_cv_use_debugreport"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_DEBUGREPORT" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5239 # Check whether --enable-dialupman or --disable-dialupman was given.
5240 if test "${enable_dialupman+set}" = set; then
5241 enableval
="$enable_dialupman"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5246 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5251 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5262 eval "$ac_cv_use_dialupman"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5280 # Check whether --enable-dynlib or --disable-dynlib was given.
5281 if test "${enable_dynlib+set}" = set; then
5282 enableval
="$enable_dynlib"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5287 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5292 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5303 eval "$ac_cv_use_dynlib"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5321 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5322 if test "${enable_dynamicloader+set}" = set; then
5323 enableval
="$enable_dynamicloader"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5328 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5333 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5344 eval "$ac_cv_use_dynamicloader"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5362 # Check whether --enable-exceptions or --disable-exceptions was given.
5363 if test "${enable_exceptions+set}" = set; then
5364 enableval
="$enable_exceptions"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5369 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5374 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5385 eval "$ac_cv_use_exceptions"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_EXCEPTIONS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5403 # Check whether --enable-ffile or --disable-ffile was given.
5404 if test "${enable_ffile+set}" = set; then
5405 enableval
="$enable_ffile"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5410 ac_cv_use_ffile
='wxUSE_FFILE=no'
5415 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x
; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5426 eval "$ac_cv_use_ffile"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_FFILE" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5444 # Check whether --enable-file or --disable-file was given.
5445 if test "${enable_file+set}" = set; then
5446 enableval
="$enable_file"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_file
='wxUSE_FILE=yes'
5451 ac_cv_use_file
='wxUSE_FILE=no'
5456 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x
; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5467 eval "$ac_cv_use_file"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_FILE" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5485 # Check whether --enable-filesystem or --disable-filesystem was given.
5486 if test "${enable_filesystem+set}" = set; then
5487 enableval
="$enable_filesystem"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5492 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5497 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5508 eval "$ac_cv_use_filesystem"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_FILESYSTEM" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5526 # Check whether --enable-fontmap or --disable-fontmap was given.
5527 if test "${enable_fontmap+set}" = set; then
5528 enableval
="$enable_fontmap"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5533 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5538 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x
; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5549 eval "$ac_cv_use_fontmap"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_FONTMAP" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5567 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5568 if test "${enable_fs_inet+set}" = set; then
5569 enableval
="$enable_fs_inet"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5574 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5579 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x
; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5590 eval "$ac_cv_use_fs_inet"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_FS_INET" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5608 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5609 if test "${enable_fs_zip+set}" = set; then
5610 enableval
="$enable_fs_zip"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5615 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5620 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5631 eval "$ac_cv_use_fs_zip"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_FS_ZIP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5649 # Check whether --enable-geometry or --disable-geometry was given.
5650 if test "${enable_geometry+set}" = set; then
5651 enableval
="$enable_geometry"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5656 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5661 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5672 eval "$ac_cv_use_geometry"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_GEOMETRY" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5690 # Check whether --enable-log or --disable-log was given.
5691 if test "${enable_log+set}" = set; then
5692 enableval
="$enable_log"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_log
='wxUSE_LOG=yes'
5697 ac_cv_use_log
='wxUSE_LOG=no'
5702 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5713 eval "$ac_cv_use_log"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5718 if test "$wxUSE_LOG" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5731 # Check whether --enable-longlong or --disable-longlong was given.
5732 if test "${enable_longlong+set}" = set; then
5733 enableval
="$enable_longlong"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5738 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5743 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x
; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5754 eval "$ac_cv_use_longlong"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_LONGLONG" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5772 # Check whether --enable-mimetype or --disable-mimetype was given.
5773 if test "${enable_mimetype+set}" = set; then
5774 enableval
="$enable_mimetype"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5779 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5784 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x
; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5795 eval "$ac_cv_use_mimetype"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_MIMETYPE" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5813 # Check whether --enable-mslu or --disable-mslu was given.
5814 if test "${enable_mslu+set}" = set; then
5815 enableval
="$enable_mslu"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5820 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5825 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5836 eval "$ac_cv_use_mslu"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5841 if test "$wxUSE_UNICODE_MSLU" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5854 # Check whether --enable-snglinst or --disable-snglinst was given.
5855 if test "${enable_snglinst+set}" = set; then
5856 enableval
="$enable_snglinst"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5861 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5866 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x
; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5877 eval "$ac_cv_use_snglinst"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5895 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5896 if test "${enable_std_iostreams+set}" = set; then
5897 enableval
="$enable_std_iostreams"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5902 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5907 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x
; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5918 eval "$ac_cv_use_std_iostreams"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_STD_IOSTREAM" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5936 # Check whether --enable-std_string or --disable-std_string was given.
5937 if test "${enable_std_string+set}" = set; then
5938 enableval
="$enable_std_string"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5943 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5948 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5959 eval "$ac_cv_use_std_string"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_STD_STRING" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5977 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5978 if test "${enable_stdpaths+set}" = set; then
5979 enableval
="$enable_stdpaths"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5984 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5989 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6000 eval "$ac_cv_use_stdpaths"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_STDPATHS" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6018 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6019 if test "${enable_stopwatch+set}" = set; then
6020 enableval
="$enable_stopwatch"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6025 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6030 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x
; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6041 eval "$ac_cv_use_stopwatch"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_STOPWATCH" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6059 # Check whether --enable-streams or --disable-streams was given.
6060 if test "${enable_streams+set}" = set; then
6061 enableval
="$enable_streams"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6066 ac_cv_use_streams
='wxUSE_STREAMS=no'
6071 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x
; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6082 eval "$ac_cv_use_streams"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_STREAMS" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6100 # Check whether --enable-system_options or --disable-system_options was given.
6101 if test "${enable_system_options+set}" = set; then
6102 enableval
="$enable_system_options"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6107 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6112 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6123 eval "$ac_cv_use_system_options"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6141 # Check whether --enable-textbuf or --disable-textbuf was given.
6142 if test "${enable_textbuf+set}" = set; then
6143 enableval
="$enable_textbuf"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6148 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6153 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6164 eval "$ac_cv_use_textbuf"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_TEXTBUFFER" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6182 # Check whether --enable-textfile or --disable-textfile was given.
6183 if test "${enable_textfile+set}" = set; then
6184 enableval
="$enable_textfile"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6189 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6194 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6205 eval "$ac_cv_use_textfile"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_TEXTFILE" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6223 # Check whether --enable-timer or --disable-timer was given.
6224 if test "${enable_timer+set}" = set; then
6225 enableval
="$enable_timer"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_timer
='wxUSE_TIMER=yes'
6230 ac_cv_use_timer
='wxUSE_TIMER=no'
6235 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6246 eval "$ac_cv_use_timer"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_TIMER" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6264 # Check whether --enable-unicode or --disable-unicode was given.
6265 if test "${enable_unicode+set}" = set; then
6266 enableval
="$enable_unicode"
6268 if test "$enableval" = yes; then
6269 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6271 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6276 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x
; then
6278 eval "DEFAULT_$LINE"
6283 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6287 eval "$ac_cv_use_unicode"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_UNICODE" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6305 # Check whether --enable-sound or --disable-sound was given.
6306 if test "${enable_sound+set}" = set; then
6307 enableval
="$enable_sound"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_sound
='wxUSE_SOUND=yes'
6312 ac_cv_use_sound
='wxUSE_SOUND=no'
6317 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6328 eval "$ac_cv_use_sound"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_SOUND" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6346 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6347 if test "${enable_mediactrl+set}" = set; then
6348 enableval
="$enable_mediactrl"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6353 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6358 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6369 eval "$ac_cv_use_mediactrl"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_MEDIACTRL" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6387 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6388 if test "${enable_gstreamer8+set}" = set; then
6389 enableval
="$enable_gstreamer8"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6394 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6399 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6410 eval "$ac_cv_use_gstreamer8"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_GSTREAMER8" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6428 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6429 if test "${enable_printfposparam+set}" = set; then
6430 enableval
="$enable_printfposparam"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6435 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6440 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6451 eval "$ac_cv_use_printfposparam"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6469 # Check whether --enable-zipstream or --disable-zipstream was given.
6470 if test "${enable_zipstream+set}" = set; then
6471 enableval
="$enable_zipstream"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6476 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6481 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6492 eval "$ac_cv_use_zipstream"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_ZIPSTREAM" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6511 # Check whether --enable-url or --disable-url was given.
6512 if test "${enable_url+set}" = set; then
6513 enableval
="$enable_url"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_url
='wxUSE_URL=yes'
6518 ac_cv_use_url
='wxUSE_URL=no'
6523 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6534 eval "$ac_cv_use_url"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_URL" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6552 # Check whether --enable-variant or --disable-variant was given.
6553 if test "${enable_variant+set}" = set; then
6554 enableval
="$enable_variant"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6559 ac_cv_use_variant
='wxUSE_VARIANT=no'
6564 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6575 eval "$ac_cv_use_variant"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_VARIANT" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6593 # Check whether --enable-protocol or --disable-protocol was given.
6594 if test "${enable_protocol+set}" = set; then
6595 enableval
="$enable_protocol"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6600 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6605 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6616 eval "$ac_cv_use_protocol"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6621 if test "$wxUSE_PROTOCOL" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6634 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6635 if test "${enable_protocol_http+set}" = set; then
6636 enableval
="$enable_protocol_http"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6641 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6646 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6657 eval "$ac_cv_use_protocol_http"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6675 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6676 if test "${enable_protocol_ftp+set}" = set; then
6677 enableval
="$enable_protocol_ftp"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6682 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6687 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6698 eval "$ac_cv_use_protocol_ftp"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6716 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6717 if test "${enable_protocol_file+set}" = set; then
6718 enableval
="$enable_protocol_file"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6723 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6728 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6739 eval "$ac_cv_use_protocol_file"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6760 # Check whether --enable-threads or --disable-threads was given.
6761 if test "${enable_threads+set}" = set; then
6762 enableval
="$enable_threads"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_threads
='wxUSE_THREADS=yes'
6767 ac_cv_use_threads
='wxUSE_THREADS=no'
6772 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6783 eval "$ac_cv_use_threads"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_THREADS" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6797 if test "$wxUSE_GUI" = "yes"; then
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6805 # Check whether --enable-docview or --disable-docview was given.
6806 if test "${enable_docview+set}" = set; then
6807 enableval
="$enable_docview"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6812 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6817 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x
; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6828 eval "$ac_cv_use_docview"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6846 # Check whether --enable-help or --disable-help was given.
6847 if test "${enable_help+set}" = set; then
6848 enableval
="$enable_help"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_help
='wxUSE_HELP=yes'
6853 ac_cv_use_help
='wxUSE_HELP=no'
6858 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x
; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6869 eval "$ac_cv_use_help"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_HELP" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6887 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6888 if test "${enable_mshtmlhelp+set}" = set; then
6889 enableval
="$enable_mshtmlhelp"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6894 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6899 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6910 eval "$ac_cv_use_mshtmlhelp"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_MS_HTML_HELP" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6928 # Check whether --enable-html or --disable-html was given.
6929 if test "${enable_html+set}" = set; then
6930 enableval
="$enable_html"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_html
='wxUSE_HTML=yes'
6935 ac_cv_use_html
='wxUSE_HTML=no'
6940 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6951 eval "$ac_cv_use_html"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_HTML" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6969 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6970 if test "${enable_htmlhelp+set}" = set; then
6971 enableval
="$enable_htmlhelp"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6976 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6981 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6992 eval "$ac_cv_use_htmlhelp"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_WXHTML_HELP" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7010 # Check whether --enable-xrc or --disable-xrc was given.
7011 if test "${enable_xrc+set}" = set; then
7012 enableval
="$enable_xrc"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_xrc
='wxUSE_XRC=yes'
7017 ac_cv_use_xrc
='wxUSE_XRC=no'
7022 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7033 eval "$ac_cv_use_xrc"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_XRC" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7051 # Check whether --enable-aui or --disable-aui was given.
7052 if test "${enable_aui+set}" = set; then
7053 enableval
="$enable_aui"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_aui
='wxUSE_AUI=yes'
7058 ac_cv_use_aui
='wxUSE_AUI=no'
7063 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7074 eval "$ac_cv_use_aui"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_AUI" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7092 # Check whether --enable-constraints or --disable-constraints was given.
7093 if test "${enable_constraints+set}" = set; then
7094 enableval
="$enable_constraints"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7099 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7104 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7115 eval "$ac_cv_use_constraints"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CONSTRAINTS" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7133 # Check whether --enable-printarch or --disable-printarch was given.
7134 if test "${enable_printarch+set}" = set; then
7135 enableval
="$enable_printarch"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7140 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7145 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7156 eval "$ac_cv_use_printarch"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7174 # Check whether --enable-mdi or --disable-mdi was given.
7175 if test "${enable_mdi+set}" = set; then
7176 enableval
="$enable_mdi"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_mdi
='wxUSE_MDI=yes'
7181 ac_cv_use_mdi
='wxUSE_MDI=no'
7186 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7197 eval "$ac_cv_use_mdi"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_MDI" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7215 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7216 if test "${enable_mdidoc+set}" = set; then
7217 enableval
="$enable_mdidoc"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7222 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7227 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7238 eval "$ac_cv_use_mdidoc"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7256 # Check whether --enable-loggui or --disable-loggui was given.
7257 if test "${enable_loggui+set}" = set; then
7258 enableval
="$enable_loggui"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7263 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7268 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7279 eval "$ac_cv_use_loggui"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_LOGGUI" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7297 # Check whether --enable-logwin or --disable-logwin was given.
7298 if test "${enable_logwin+set}" = set; then
7299 enableval
="$enable_logwin"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7304 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7309 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7320 eval "$ac_cv_use_logwin"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_LOGWINDOW" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7338 # Check whether --enable-logdialog or --disable-logdialog was given.
7339 if test "${enable_logdialog+set}" = set; then
7340 enableval
="$enable_logdialog"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7345 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7350 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7361 eval "$ac_cv_use_logdialog"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_LOGDIALOG" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7379 # Check whether --enable-webkit or --disable-webkit was given.
7380 if test "${enable_webkit+set}" = set; then
7381 enableval
="$enable_webkit"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7386 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7391 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7402 eval "$ac_cv_use_webkit"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_WEBKIT" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7420 # Check whether --enable-html or --disable-html was given.
7421 if test "${enable_html+set}" = set; then
7422 enableval
="$enable_html"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7427 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7432 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7443 eval "$ac_cv_use_html"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_RICHTEXT" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7462 # Check whether --enable-postscript or --disable-postscript was given.
7463 if test "${enable_postscript+set}" = set; then
7464 enableval
="$enable_postscript"
7466 if test "$enableval" = yes; then
7467 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7469 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7474 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x
; then
7476 eval "DEFAULT_$LINE"
7481 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7485 eval "$ac_cv_use_postscript"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7490 if test "$wxUSE_POSTSCRIPT" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7506 # Check whether --enable-prologio or --disable-prologio was given.
7507 if test "${enable_prologio+set}" = set; then
7508 enableval
="$enable_prologio"
7510 if test "$enableval" = yes; then
7511 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7513 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7518 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x
; then
7520 eval "DEFAULT_$LINE"
7525 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7529 eval "$ac_cv_use_prologio"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_PROLOGIO" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7547 # Check whether --enable-resources or --disable-resources was given.
7548 if test "${enable_resources+set}" = set; then
7549 enableval
="$enable_resources"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7554 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7559 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7570 eval "$ac_cv_use_resources"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_RESOURCES" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7590 # Check whether --enable-clipboard or --disable-clipboard was given.
7591 if test "${enable_clipboard+set}" = set; then
7592 enableval
="$enable_clipboard"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7597 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7602 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7613 eval "$ac_cv_use_clipboard"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_CLIPBOARD" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7631 # Check whether --enable-dnd or --disable-dnd was given.
7632 if test "${enable_dnd+set}" = set; then
7633 enableval
="$enable_dnd"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7638 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7643 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7654 eval "$ac_cv_use_dnd"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7672 # Check whether --enable-metafile or --disable-metafile was given.
7673 if test "${enable_metafile+set}" = set; then
7674 enableval
="$enable_metafile"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7679 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7684 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7695 eval "$ac_cv_use_metafile"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_METAFILE" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7716 # Check whether --enable-controls or --disable-controls was given.
7717 if test "${enable_controls+set}" = set; then
7718 enableval
="$enable_controls"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7723 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7728 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7739 eval "$ac_cv_use_controls"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_CONTROLS" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7753 if test "$wxUSE_CONTROLS" = "yes"; then
7754 DEFAULT_wxUSE_ACCEL
=yes
7755 DEFAULT_wxUSE_BMPBUTTON
=yes
7756 DEFAULT_wxUSE_BUTTON
=yes
7757 DEFAULT_wxUSE_CALCTRL
=yes
7758 DEFAULT_wxUSE_CARET
=yes
7759 DEFAULT_wxUSE_COMBOBOX
=yes
7760 DEFAULT_wxUSE_CHECKBOX
=yes
7761 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7762 DEFAULT_wxUSE_CHOICE
=yes
7763 DEFAULT_wxUSE_CHOICEBOOK
=yes
7764 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7765 DEFAULT_wxUSE_COMBOBOX
=yes
7766 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7767 DEFAULT_wxUSE_DISPLAY
=yes
7768 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7769 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7770 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7771 DEFAULT_wxUSE_GAUGE
=yes
7772 DEFAULT_wxUSE_GRID
=yes
7773 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7774 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7775 DEFAULT_wxUSE_IMAGLIST
=yes
7776 DEFAULT_wxUSE_LISTBOOK
=yes
7777 DEFAULT_wxUSE_LISTBOX
=yes
7778 DEFAULT_wxUSE_LISTCTRL
=yes
7779 DEFAULT_wxUSE_NOTEBOOK
=yes
7780 DEFAULT_wxUSE_RADIOBOX
=yes
7781 DEFAULT_wxUSE_RADIOBTN
=yes
7782 DEFAULT_wxUSE_SASH
=yes
7783 DEFAULT_wxUSE_SCROLLBAR
=yes
7784 DEFAULT_wxUSE_SLIDER
=yes
7785 DEFAULT_wxUSE_SPINBTN
=yes
7786 DEFAULT_wxUSE_SPINCTRL
=yes
7787 DEFAULT_wxUSE_SPLITTER
=yes
7788 DEFAULT_wxUSE_STATBMP
=yes
7789 DEFAULT_wxUSE_STATBOX
=yes
7790 DEFAULT_wxUSE_STATLINE
=yes
7791 DEFAULT_wxUSE_STATUSBAR
=yes
7792 DEFAULT_wxUSE_TAB_DIALOG
=yes
7793 DEFAULT_wxUSE_TOGGLEBTN
=yes
7794 DEFAULT_wxUSE_TOOLBAR
=yes
7795 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7796 DEFAULT_wxUSE_TOOLTIPS
=yes
7797 DEFAULT_wxUSE_TREEBOOK
=yes
7798 DEFAULT_wxUSE_TOOLBOOK
=yes
7799 DEFAULT_wxUSE_TREECTRL
=yes
7800 DEFAULT_wxUSE_POPUPWIN
=yes
7801 DEFAULT_wxUSE_TIPWINDOW
=yes
7802 elif test "$wxUSE_CONTROLS" = "no"; then
7803 DEFAULT_wxUSE_ACCEL
=no
7804 DEFAULT_wxUSE_BMPBUTTON
=no
7805 DEFAULT_wxUSE_BUTTON
=no
7806 DEFAULT_wxUSE_CALCTRL
=no
7807 DEFAULT_wxUSE_CARET
=no
7808 DEFAULT_wxUSE_COMBOBOX
=no
7809 DEFAULT_wxUSE_CHECKBOX
=no
7810 DEFAULT_wxUSE_CHECKLISTBOX
=no
7811 DEFAULT_wxUSE_CHOICE
=no
7812 DEFAULT_wxUSE_CHOICEBOOK
=no
7813 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7814 DEFAULT_wxUSE_COMBOBOX
=no
7815 DEFAULT_wxUSE_DATEPICKCTRL
=no
7816 DEFAULT_wxUSE_DISPLAY
=no
7817 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7818 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7819 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7820 DEFAULT_wxUSE_GAUGE
=no
7821 DEFAULT_wxUSE_GRID
=no
7822 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7823 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7824 DEFAULT_wxUSE_IMAGLIST
=no
7825 DEFAULT_wxUSE_LISTBOOK
=no
7826 DEFAULT_wxUSE_LISTBOX
=no
7827 DEFAULT_wxUSE_LISTCTRL
=no
7828 DEFAULT_wxUSE_NOTEBOOK
=no
7829 DEFAULT_wxUSE_RADIOBOX
=no
7830 DEFAULT_wxUSE_RADIOBTN
=no
7831 DEFAULT_wxUSE_SASH
=no
7832 DEFAULT_wxUSE_SCROLLBAR
=no
7833 DEFAULT_wxUSE_SLIDER
=no
7834 DEFAULT_wxUSE_SPINBTN
=no
7835 DEFAULT_wxUSE_SPINCTRL
=no
7836 DEFAULT_wxUSE_SPLITTER
=no
7837 DEFAULT_wxUSE_STATBMP
=no
7838 DEFAULT_wxUSE_STATBOX
=no
7839 DEFAULT_wxUSE_STATLINE
=no
7840 DEFAULT_wxUSE_STATUSBAR
=no
7841 DEFAULT_wxUSE_TAB_DIALOG
=no
7842 DEFAULT_wxUSE_TOGGLEBTN
=no
7843 DEFAULT_wxUSE_TOOLBAR
=no
7844 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7845 DEFAULT_wxUSE_TOOLTIPS
=no
7846 DEFAULT_wxUSE_TREEBOOK
=no
7847 DEFAULT_wxUSE_TOOLBOOK
=no
7848 DEFAULT_wxUSE_TREECTRL
=no
7849 DEFAULT_wxUSE_POPUPWIN
=no
7850 DEFAULT_wxUSE_TIPWINDOW
=no
7855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7858 # Check whether --enable-accel or --disable-accel was given.
7859 if test "${enable_accel+set}" = set; then
7860 enableval
="$enable_accel"
7862 if test "$enableval" = yes; then
7863 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7865 ac_cv_use_accel
='wxUSE_ACCEL=no'
7870 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7871 if test "x$LINE" != x
; then
7872 eval "DEFAULT_$LINE"
7877 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7881 eval "$ac_cv_use_accel"
7882 if test "$no_cache" != 1; then
7883 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7886 if test "$wxUSE_ACCEL" = yes; then
7887 echo "$as_me:$LINENO: result: yes" >&5
7888 echo "${ECHO_T}yes" >&6
7890 echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6
7896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7897 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7899 # Check whether --enable-button or --disable-button was given.
7900 if test "${enable_button+set}" = set; then
7901 enableval
="$enable_button"
7903 if test "$enableval" = yes; then
7904 ac_cv_use_button
='wxUSE_BUTTON=yes'
7906 ac_cv_use_button
='wxUSE_BUTTON=no'
7911 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7912 if test "x$LINE" != x
; then
7913 eval "DEFAULT_$LINE"
7918 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7922 eval "$ac_cv_use_button"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7927 if test "$wxUSE_BUTTON" = yes; then
7928 echo "$as_me:$LINENO: result: yes" >&5
7929 echo "${ECHO_T}yes" >&6
7931 echo "$as_me:$LINENO: result: no" >&5
7932 echo "${ECHO_T}no" >&6
7937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7938 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7940 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7941 if test "${enable_bmpbutton+set}" = set; then
7942 enableval
="$enable_bmpbutton"
7944 if test "$enableval" = yes; then
7945 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7947 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7952 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7953 if test "x$LINE" != x
; then
7954 eval "DEFAULT_$LINE"
7959 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7963 eval "$ac_cv_use_bmpbutton"
7964 if test "$no_cache" != 1; then
7965 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7968 if test "$wxUSE_BMPBUTTON" = yes; then
7969 echo "$as_me:$LINENO: result: yes" >&5
7970 echo "${ECHO_T}yes" >&6
7972 echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6
7978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
7979 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
7981 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
7982 if test "${enable_bmpcombobox+set}" = set; then
7983 enableval
="$enable_bmpcombobox"
7985 if test "$enableval" = yes; then
7986 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
7988 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
7993 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
7994 if test "x$LINE" != x
; then
7995 eval "DEFAULT_$LINE"
8000 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8004 eval "$ac_cv_use_bmpcombobox"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8009 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8010 echo "$as_me:$LINENO: result: yes" >&5
8011 echo "${ECHO_T}yes" >&6
8013 echo "$as_me:$LINENO: result: no" >&5
8014 echo "${ECHO_T}no" >&6
8019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8022 # Check whether --enable-calendar or --disable-calendar was given.
8023 if test "${enable_calendar+set}" = set; then
8024 enableval
="$enable_calendar"
8026 if test "$enableval" = yes; then
8027 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8029 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8034 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x
; then
8036 eval "DEFAULT_$LINE"
8041 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8045 eval "$ac_cv_use_calendar"
8046 if test "$no_cache" != 1; then
8047 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8050 if test "$wxUSE_CALCTRL" = yes; then
8051 echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6
8054 echo "$as_me:$LINENO: result: no" >&5
8055 echo "${ECHO_T}no" >&6
8060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8061 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8063 # Check whether --enable-caret or --disable-caret was given.
8064 if test "${enable_caret+set}" = set; then
8065 enableval
="$enable_caret"
8067 if test "$enableval" = yes; then
8068 ac_cv_use_caret
='wxUSE_CARET=yes'
8070 ac_cv_use_caret
='wxUSE_CARET=no'
8075 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8076 if test "x$LINE" != x
; then
8077 eval "DEFAULT_$LINE"
8082 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8086 eval "$ac_cv_use_caret"
8087 if test "$no_cache" != 1; then
8088 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8091 if test "$wxUSE_CARET" = yes; then
8092 echo "$as_me:$LINENO: result: yes" >&5
8093 echo "${ECHO_T}yes" >&6
8095 echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6
8101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8104 # Check whether --enable-checkbox or --disable-checkbox was given.
8105 if test "${enable_checkbox+set}" = set; then
8106 enableval
="$enable_checkbox"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8111 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8116 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x
; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8127 eval "$ac_cv_use_checkbox"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8132 if test "$wxUSE_CHECKBOX" = yes; then
8133 echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8136 echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8145 # Check whether --enable-checklst or --disable-checklst was given.
8146 if test "${enable_checklst+set}" = set; then
8147 enableval
="$enable_checklst"
8149 if test "$enableval" = yes; then
8150 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8152 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8157 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8158 if test "x$LINE" != x
; then
8159 eval "DEFAULT_$LINE"
8164 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8168 eval "$ac_cv_use_checklst"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8173 if test "$wxUSE_CHECKLST" = yes; then
8174 echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6
8177 echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8186 # Check whether --enable-choice or --disable-choice was given.
8187 if test "${enable_choice+set}" = set; then
8188 enableval
="$enable_choice"
8190 if test "$enableval" = yes; then
8191 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8193 ac_cv_use_choice
='wxUSE_CHOICE=no'
8198 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x
; then
8200 eval "DEFAULT_$LINE"
8205 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8209 eval "$ac_cv_use_choice"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8214 if test "$wxUSE_CHOICE" = yes; then
8215 echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6
8218 echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6
8224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8227 # Check whether --enable-choicebook or --disable-choicebook was given.
8228 if test "${enable_choicebook+set}" = set; then
8229 enableval
="$enable_choicebook"
8231 if test "$enableval" = yes; then
8232 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8234 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8239 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8240 if test "x$LINE" != x
; then
8241 eval "DEFAULT_$LINE"
8246 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8250 eval "$ac_cv_use_choicebook"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8255 if test "$wxUSE_CHOICEBOOK" = yes; then
8256 echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8268 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8269 if test "${enable_colourpicker+set}" = set; then
8270 enableval
="$enable_colourpicker"
8272 if test "$enableval" = yes; then
8273 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8275 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8280 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8281 if test "x$LINE" != x
; then
8282 eval "DEFAULT_$LINE"
8287 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8291 eval "$ac_cv_use_colourpicker"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8296 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8297 echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6
8300 echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6
8306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8309 # Check whether --enable-combobox or --disable-combobox was given.
8310 if test "${enable_combobox+set}" = set; then
8311 enableval
="$enable_combobox"
8313 if test "$enableval" = yes; then
8314 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8316 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8321 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x
; then
8323 eval "DEFAULT_$LINE"
8328 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8332 eval "$ac_cv_use_combobox"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8337 if test "$wxUSE_COMBOBOX" = yes; then
8338 echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6
8341 echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8350 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8351 if test "${enable_comboctrl+set}" = set; then
8352 enableval
="$enable_comboctrl"
8354 if test "$enableval" = yes; then
8355 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8357 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8362 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8363 if test "x$LINE" != x
; then
8364 eval "DEFAULT_$LINE"
8369 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8373 eval "$ac_cv_use_comboctrl"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8378 if test "$wxUSE_COMBOCTRL" = yes; then
8379 echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6
8382 echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6
8388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8391 # Check whether --enable-datepick or --disable-datepick was given.
8392 if test "${enable_datepick+set}" = set; then
8393 enableval
="$enable_datepick"
8395 if test "$enableval" = yes; then
8396 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8398 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8403 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x
; then
8405 eval "DEFAULT_$LINE"
8410 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8414 eval "$ac_cv_use_datepick"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8419 if test "$wxUSE_DATEPICKCTRL" = yes; then
8420 echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6
8423 echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6
8429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8432 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8433 if test "${enable_dirpicker+set}" = set; then
8434 enableval
="$enable_dirpicker"
8436 if test "$enableval" = yes; then
8437 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8439 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8444 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x
; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8455 eval "$ac_cv_use_dirpicker"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8460 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8473 # Check whether --enable-display or --disable-display was given.
8474 if test "${enable_display+set}" = set; then
8475 enableval
="$enable_display"
8477 if test "$enableval" = yes; then
8478 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8480 ac_cv_use_display
='wxUSE_DISPLAY=no'
8485 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x
; then
8487 eval "DEFAULT_$LINE"
8492 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8496 eval "$ac_cv_use_display"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8501 if test "$wxUSE_DISPLAY" = yes; then
8502 echo "$as_me:$LINENO: result: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8505 echo "$as_me:$LINENO: result: no" >&5
8506 echo "${ECHO_T}no" >&6
8511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8514 # Check whether --enable-filepicker or --disable-filepicker was given.
8515 if test "${enable_filepicker+set}" = set; then
8516 enableval
="$enable_filepicker"
8518 if test "$enableval" = yes; then
8519 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8521 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8526 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x
; then
8528 eval "DEFAULT_$LINE"
8533 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8537 eval "$ac_cv_use_filepicker"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8542 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8555 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8556 if test "${enable_fontpicker+set}" = set; then
8557 enableval
="$enable_fontpicker"
8559 if test "$enableval" = yes; then
8560 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8562 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8567 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x
; then
8569 eval "DEFAULT_$LINE"
8574 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8578 eval "$ac_cv_use_fontpicker"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8584 echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6
8587 echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6
8593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8596 # Check whether --enable-gauge or --disable-gauge was given.
8597 if test "${enable_gauge+set}" = set; then
8598 enableval
="$enable_gauge"
8600 if test "$enableval" = yes; then
8601 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8603 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8608 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8609 if test "x$LINE" != x
; then
8610 eval "DEFAULT_$LINE"
8615 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8619 eval "$ac_cv_use_gauge"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8624 if test "$wxUSE_GAUGE" = yes; then
8625 echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6
8628 echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6
8634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8637 # Check whether --enable-grid or --disable-grid was given.
8638 if test "${enable_grid+set}" = set; then
8639 enableval
="$enable_grid"
8641 if test "$enableval" = yes; then
8642 ac_cv_use_grid
='wxUSE_GRID=yes'
8644 ac_cv_use_grid
='wxUSE_GRID=no'
8649 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x
; then
8651 eval "DEFAULT_$LINE"
8656 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8660 eval "$ac_cv_use_grid"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8665 if test "$wxUSE_GRID" = yes; then
8666 echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8678 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8679 if test "${enable_dataviewctrl+set}" = set; then
8680 enableval
="$enable_dataviewctrl"
8682 if test "$enableval" = yes; then
8683 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8685 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8690 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8691 if test "x$LINE" != x
; then
8692 eval "DEFAULT_$LINE"
8697 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8701 eval "$ac_cv_use_dataviewctrl"
8702 if test "$no_cache" != 1; then
8703 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8706 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8707 echo "$as_me:$LINENO: result: yes" >&5
8708 echo "${ECHO_T}yes" >&6
8710 echo "$as_me:$LINENO: result: no" >&5
8711 echo "${ECHO_T}no" >&6
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8719 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8720 if test "${enable_hyperlink+set}" = set; then
8721 enableval
="$enable_hyperlink"
8723 if test "$enableval" = yes; then
8724 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8726 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8731 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x
; then
8733 eval "DEFAULT_$LINE"
8738 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8742 eval "$ac_cv_use_hyperlink"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8747 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8760 # Check whether --enable-imaglist or --disable-imaglist was given.
8761 if test "${enable_imaglist+set}" = set; then
8762 enableval
="$enable_imaglist"
8764 if test "$enableval" = yes; then
8765 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8767 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8772 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x
; then
8774 eval "DEFAULT_$LINE"
8779 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8783 eval "$ac_cv_use_imaglist"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8788 if test "$wxUSE_IMAGLIST" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8801 # Check whether --enable-listbook or --disable-listbook was given.
8802 if test "${enable_listbook+set}" = set; then
8803 enableval
="$enable_listbook"
8805 if test "$enableval" = yes; then
8806 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8808 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8813 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x
; then
8815 eval "DEFAULT_$LINE"
8820 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8824 eval "$ac_cv_use_listbook"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8829 if test "$wxUSE_LISTBOOK" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8842 # Check whether --enable-listbox or --disable-listbox was given.
8843 if test "${enable_listbox+set}" = set; then
8844 enableval
="$enable_listbox"
8846 if test "$enableval" = yes; then
8847 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8849 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8854 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x
; then
8856 eval "DEFAULT_$LINE"
8861 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8865 eval "$ac_cv_use_listbox"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8870 if test "$wxUSE_LISTBOX" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8883 # Check whether --enable-listctrl or --disable-listctrl was given.
8884 if test "${enable_listctrl+set}" = set; then
8885 enableval
="$enable_listctrl"
8887 if test "$enableval" = yes; then
8888 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8890 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8895 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x
; then
8897 eval "DEFAULT_$LINE"
8902 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8906 eval "$ac_cv_use_listctrl"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_LISTCTRL" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8924 # Check whether --enable-notebook or --disable-notebook was given.
8925 if test "${enable_notebook+set}" = set; then
8926 enableval
="$enable_notebook"
8928 if test "$enableval" = yes; then
8929 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8931 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8936 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x
; then
8938 eval "DEFAULT_$LINE"
8943 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8947 eval "$ac_cv_use_notebook"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8952 if test "$wxUSE_NOTEBOOK" = yes; then
8953 echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6
8956 echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6
8962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8965 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8966 if test "${enable_odcombobox+set}" = set; then
8967 enableval
="$enable_odcombobox"
8969 if test "$enableval" = yes; then
8970 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8972 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8977 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8978 if test "x$LINE" != x
; then
8979 eval "DEFAULT_$LINE"
8984 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8988 eval "$ac_cv_use_odcombobox"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8993 if test "$wxUSE_ODCOMBOBOX" = yes; then
8994 echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6
8997 echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9006 # Check whether --enable-radiobox or --disable-radiobox was given.
9007 if test "${enable_radiobox+set}" = set; then
9008 enableval
="$enable_radiobox"
9010 if test "$enableval" = yes; then
9011 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9013 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9018 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x
; then
9020 eval "DEFAULT_$LINE"
9025 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9029 eval "$ac_cv_use_radiobox"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_RADIOBOX" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9047 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9048 if test "${enable_radiobtn+set}" = set; then
9049 enableval
="$enable_radiobtn"
9051 if test "$enableval" = yes; then
9052 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9054 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9059 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x
; then
9061 eval "DEFAULT_$LINE"
9066 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9070 eval "$ac_cv_use_radiobtn"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_RADIOBTN" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9088 # Check whether --enable-sash or --disable-sash was given.
9089 if test "${enable_sash+set}" = set; then
9090 enableval
="$enable_sash"
9092 if test "$enableval" = yes; then
9093 ac_cv_use_sash
='wxUSE_SASH=yes'
9095 ac_cv_use_sash
='wxUSE_SASH=no'
9100 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x
; then
9102 eval "DEFAULT_$LINE"
9107 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9111 eval "$ac_cv_use_sash"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_SASH" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9129 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9130 if test "${enable_scrollbar+set}" = set; then
9131 enableval
="$enable_scrollbar"
9133 if test "$enableval" = yes; then
9134 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9136 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9141 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x
; then
9143 eval "DEFAULT_$LINE"
9148 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9152 eval "$ac_cv_use_scrollbar"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_SCROLLBAR" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9170 # Check whether --enable-slider or --disable-slider was given.
9171 if test "${enable_slider+set}" = set; then
9172 enableval
="$enable_slider"
9174 if test "$enableval" = yes; then
9175 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9177 ac_cv_use_slider
='wxUSE_SLIDER=no'
9182 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x
; then
9184 eval "DEFAULT_$LINE"
9189 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9193 eval "$ac_cv_use_slider"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_SLIDER" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9211 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9212 if test "${enable_spinbtn+set}" = set; then
9213 enableval
="$enable_spinbtn"
9215 if test "$enableval" = yes; then
9216 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9218 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9223 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x
; then
9225 eval "DEFAULT_$LINE"
9230 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9234 eval "$ac_cv_use_spinbtn"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_SPINBTN" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9252 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9253 if test "${enable_spinctrl+set}" = set; then
9254 enableval
="$enable_spinctrl"
9256 if test "$enableval" = yes; then
9257 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9259 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9264 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x
; then
9266 eval "DEFAULT_$LINE"
9271 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9275 eval "$ac_cv_use_spinctrl"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_SPINCTRL" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9293 # Check whether --enable-splitter or --disable-splitter was given.
9294 if test "${enable_splitter+set}" = set; then
9295 enableval
="$enable_splitter"
9297 if test "$enableval" = yes; then
9298 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9300 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9305 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x
; then
9307 eval "DEFAULT_$LINE"
9312 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9316 eval "$ac_cv_use_splitter"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_SPLITTER" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9334 # Check whether --enable-statbmp or --disable-statbmp was given.
9335 if test "${enable_statbmp+set}" = set; then
9336 enableval
="$enable_statbmp"
9338 if test "$enableval" = yes; then
9339 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9341 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9346 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x
; then
9348 eval "DEFAULT_$LINE"
9353 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9357 eval "$ac_cv_use_statbmp"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_STATBMP" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9375 # Check whether --enable-statbox or --disable-statbox was given.
9376 if test "${enable_statbox+set}" = set; then
9377 enableval
="$enable_statbox"
9379 if test "$enableval" = yes; then
9380 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9382 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9387 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x
; then
9389 eval "DEFAULT_$LINE"
9394 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9398 eval "$ac_cv_use_statbox"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_STATBOX" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9416 # Check whether --enable-statline or --disable-statline was given.
9417 if test "${enable_statline+set}" = set; then
9418 enableval
="$enable_statline"
9420 if test "$enableval" = yes; then
9421 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9423 ac_cv_use_statline
='wxUSE_STATLINE=no'
9428 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x
; then
9430 eval "DEFAULT_$LINE"
9435 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9439 eval "$ac_cv_use_statline"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_STATLINE" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9457 # Check whether --enable-stattext or --disable-stattext was given.
9458 if test "${enable_stattext+set}" = set; then
9459 enableval
="$enable_stattext"
9461 if test "$enableval" = yes; then
9462 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9464 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9469 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x
; then
9471 eval "DEFAULT_$LINE"
9476 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9480 eval "$ac_cv_use_stattext"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_STATTEXT" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9498 # Check whether --enable-statusbar or --disable-statusbar was given.
9499 if test "${enable_statusbar+set}" = set; then
9500 enableval
="$enable_statusbar"
9502 if test "$enableval" = yes; then
9503 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9505 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9510 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x
; then
9512 eval "DEFAULT_$LINE"
9517 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9521 eval "$ac_cv_use_statusbar"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_STATUSBAR" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9539 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9540 if test "${enable_tabdialog+set}" = set; then
9541 enableval
="$enable_tabdialog"
9543 if test "$enableval" = yes; then
9544 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9546 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9551 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x
; then
9553 eval "DEFAULT_$LINE"
9558 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9562 eval "$ac_cv_use_tabdialog"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_TAB_DIALOG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9580 # Check whether --enable-textctrl or --disable-textctrl was given.
9581 if test "${enable_textctrl+set}" = set; then
9582 enableval
="$enable_textctrl"
9584 if test "$enableval" = yes; then
9585 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9587 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9592 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9593 if test "x$LINE" != x
; then
9594 eval "DEFAULT_$LINE"
9599 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9603 eval "$ac_cv_use_textctrl"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9608 if test "$wxUSE_TEXTCTRL" = yes; then
9609 echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6
9612 echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6
9618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9621 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9622 if test "${enable_togglebtn+set}" = set; then
9623 enableval
="$enable_togglebtn"
9625 if test "$enableval" = yes; then
9626 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9628 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9633 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9634 if test "x$LINE" != x
; then
9635 eval "DEFAULT_$LINE"
9640 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9644 eval "$ac_cv_use_togglebtn"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9649 if test "$wxUSE_TOGGLEBTN" = yes; then
9650 echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9653 echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6
9659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9662 # Check whether --enable-toolbar or --disable-toolbar was given.
9663 if test "${enable_toolbar+set}" = set; then
9664 enableval
="$enable_toolbar"
9666 if test "$enableval" = yes; then
9667 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9669 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9674 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9675 if test "x$LINE" != x
; then
9676 eval "DEFAULT_$LINE"
9681 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9685 eval "$ac_cv_use_toolbar"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9690 if test "$wxUSE_TOOLBAR" = yes; then
9691 echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6
9694 echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6
9700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9703 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9704 if test "${enable_tbarnative+set}" = set; then
9705 enableval
="$enable_tbarnative"
9707 if test "$enableval" = yes; then
9708 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9710 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9715 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9716 if test "x$LINE" != x
; then
9717 eval "DEFAULT_$LINE"
9722 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9726 eval "$ac_cv_use_tbarnative"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9731 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9732 echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6
9735 echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6
9741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9744 # Check whether --enable-treebook or --disable-treebook was given.
9745 if test "${enable_treebook+set}" = set; then
9746 enableval
="$enable_treebook"
9748 if test "$enableval" = yes; then
9749 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9751 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9756 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9757 if test "x$LINE" != x
; then
9758 eval "DEFAULT_$LINE"
9763 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9767 eval "$ac_cv_use_treebook"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9772 if test "$wxUSE_TREEBOOK" = yes; then
9773 echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6
9776 echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6
9782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9785 # Check whether --enable-toolbook or --disable-toolbook was given.
9786 if test "${enable_toolbook+set}" = set; then
9787 enableval
="$enable_toolbook"
9789 if test "$enableval" = yes; then
9790 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9792 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9797 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9798 if test "x$LINE" != x
; then
9799 eval "DEFAULT_$LINE"
9804 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9808 eval "$ac_cv_use_toolbook"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9813 if test "$wxUSE_TOOLBOOK" = yes; then
9814 echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6
9817 echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6
9823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9826 # Check whether --enable-treectrl or --disable-treectrl was given.
9827 if test "${enable_treectrl+set}" = set; then
9828 enableval
="$enable_treectrl"
9830 if test "$enableval" = yes; then
9831 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9833 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9838 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9839 if test "x$LINE" != x
; then
9840 eval "DEFAULT_$LINE"
9845 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9849 eval "$ac_cv_use_treectrl"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9854 if test "$wxUSE_TREECTRL" = yes; then
9855 echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6
9858 echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6
9864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9867 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9868 if test "${enable_tipwindow+set}" = set; then
9869 enableval
="$enable_tipwindow"
9871 if test "$enableval" = yes; then
9872 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9874 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9879 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9880 if test "x$LINE" != x
; then
9881 eval "DEFAULT_$LINE"
9886 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9890 eval "$ac_cv_use_tipwindow"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9895 if test "$wxUSE_TIPWINDOW" = yes; then
9896 echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6
9899 echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6
9905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9908 # Check whether --enable-popupwin or --disable-popupwin was given.
9909 if test "${enable_popupwin+set}" = set; then
9910 enableval
="$enable_popupwin"
9912 if test "$enableval" = yes; then
9913 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9915 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9920 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9921 if test "x$LINE" != x
; then
9922 eval "DEFAULT_$LINE"
9927 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9931 eval "$ac_cv_use_popupwin"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9936 if test "$wxUSE_POPUPWIN" = yes; then
9937 echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6
9940 echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9951 # Check whether --enable-commondlg or --disable-commondlg was given.
9952 if test "${enable_commondlg+set}" = set; then
9953 enableval
="$enable_commondlg"
9955 if test "$enableval" = yes; then
9956 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9958 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9963 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x
; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9974 eval "$ac_cv_use_commondlg"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_COMMONDLGS" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9992 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9993 if test "${enable_choicedlg+set}" = set; then
9994 enableval
="$enable_choicedlg"
9996 if test "$enableval" = yes; then
9997 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9999 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10004 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x
; then
10006 eval "DEFAULT_$LINE"
10011 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10015 eval "$ac_cv_use_choicedlg"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10020 if test "$wxUSE_CHOICEDLG" = yes; then
10021 echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6
10024 echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6
10030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10033 # Check whether --enable-coldlg or --disable-coldlg was given.
10034 if test "${enable_coldlg+set}" = set; then
10035 enableval
="$enable_coldlg"
10037 if test "$enableval" = yes; then
10038 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10040 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10045 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x
; then
10047 eval "DEFAULT_$LINE"
10052 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10056 eval "$ac_cv_use_coldlg"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10061 if test "$wxUSE_COLOURDLG" = yes; then
10062 echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10074 # Check whether --enable-filedlg or --disable-filedlg was given.
10075 if test "${enable_filedlg+set}" = set; then
10076 enableval
="$enable_filedlg"
10078 if test "$enableval" = yes; then
10079 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10081 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10086 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x
; then
10088 eval "DEFAULT_$LINE"
10093 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10097 eval "$ac_cv_use_filedlg"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10102 if test "$wxUSE_FILEDLG" = yes; then
10103 echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10115 # Check whether --enable-finddlg or --disable-finddlg was given.
10116 if test "${enable_finddlg+set}" = set; then
10117 enableval
="$enable_finddlg"
10119 if test "$enableval" = yes; then
10120 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10122 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10127 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x
; then
10129 eval "DEFAULT_$LINE"
10134 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10138 eval "$ac_cv_use_finddlg"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10143 if test "$wxUSE_FINDREPLDLG" = yes; then
10144 echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6
10147 echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10156 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10157 if test "${enable_fontdlg+set}" = set; then
10158 enableval
="$enable_fontdlg"
10160 if test "$enableval" = yes; then
10161 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10163 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10168 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x
; then
10170 eval "DEFAULT_$LINE"
10175 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10179 eval "$ac_cv_use_fontdlg"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10184 if test "$wxUSE_FONTDLG" = yes; then
10185 echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6
10188 echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6
10194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10197 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10198 if test "${enable_dirdlg+set}" = set; then
10199 enableval
="$enable_dirdlg"
10201 if test "$enableval" = yes; then
10202 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10204 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10209 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x
; then
10211 eval "DEFAULT_$LINE"
10216 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10220 eval "$ac_cv_use_dirdlg"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10225 if test "$wxUSE_DIRDLG" = yes; then
10226 echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6
10229 echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6
10235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10238 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10239 if test "${enable_msgdlg+set}" = set; then
10240 enableval
="$enable_msgdlg"
10242 if test "$enableval" = yes; then
10243 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10245 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10250 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x
; then
10252 eval "DEFAULT_$LINE"
10257 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10261 eval "$ac_cv_use_msgdlg"
10262 if test "$no_cache" != 1; then
10263 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10266 if test "$wxUSE_MSGDLG" = yes; then
10267 echo "$as_me:$LINENO: result: yes" >&5
10268 echo "${ECHO_T}yes" >&6
10270 echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6
10276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10279 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10280 if test "${enable_numberdlg+set}" = set; then
10281 enableval
="$enable_numberdlg"
10283 if test "$enableval" = yes; then
10284 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10286 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10291 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x
; then
10293 eval "DEFAULT_$LINE"
10298 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10302 eval "$ac_cv_use_numberdlg"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10307 if test "$wxUSE_NUMBERDLG" = yes; then
10308 echo "$as_me:$LINENO: result: yes" >&5
10309 echo "${ECHO_T}yes" >&6
10311 echo "$as_me:$LINENO: result: no" >&5
10312 echo "${ECHO_T}no" >&6
10317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10320 # Check whether --enable-splash or --disable-splash was given.
10321 if test "${enable_splash+set}" = set; then
10322 enableval
="$enable_splash"
10324 if test "$enableval" = yes; then
10325 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10327 ac_cv_use_splash
='wxUSE_SPLASH=no'
10332 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x
; then
10334 eval "DEFAULT_$LINE"
10339 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10343 eval "$ac_cv_use_splash"
10344 if test "$no_cache" != 1; then
10345 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10348 if test "$wxUSE_SPLASH" = yes; then
10349 echo "$as_me:$LINENO: result: yes" >&5
10350 echo "${ECHO_T}yes" >&6
10352 echo "$as_me:$LINENO: result: no" >&5
10353 echo "${ECHO_T}no" >&6
10358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10361 # Check whether --enable-textdlg or --disable-textdlg was given.
10362 if test "${enable_textdlg+set}" = set; then
10363 enableval
="$enable_textdlg"
10365 if test "$enableval" = yes; then
10366 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10368 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10373 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x
; then
10375 eval "DEFAULT_$LINE"
10380 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10384 eval "$ac_cv_use_textdlg"
10385 if test "$no_cache" != 1; then
10386 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10389 if test "$wxUSE_TEXTDLG" = yes; then
10390 echo "$as_me:$LINENO: result: yes" >&5
10391 echo "${ECHO_T}yes" >&6
10393 echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6
10399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10400 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10402 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10403 if test "${enable_tipdlg+set}" = set; then
10404 enableval
="$enable_tipdlg"
10406 if test "$enableval" = yes; then
10407 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10409 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10414 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x
; then
10416 eval "DEFAULT_$LINE"
10421 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10425 eval "$ac_cv_use_tipdlg"
10426 if test "$no_cache" != 1; then
10427 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10430 if test "$wxUSE_STARTUP_TIPS" = yes; then
10431 echo "$as_me:$LINENO: result: yes" >&5
10432 echo "${ECHO_T}yes" >&6
10434 echo "$as_me:$LINENO: result: no" >&5
10435 echo "${ECHO_T}no" >&6
10440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10443 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10444 if test "${enable_progressdlg+set}" = set; then
10445 enableval
="$enable_progressdlg"
10447 if test "$enableval" = yes; then
10448 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10450 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10455 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x
; then
10457 eval "DEFAULT_$LINE"
10462 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10466 eval "$ac_cv_use_progressdlg"
10467 if test "$no_cache" != 1; then
10468 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10471 if test "$wxUSE_PROGRESSDLG" = yes; then
10472 echo "$as_me:$LINENO: result: yes" >&5
10473 echo "${ECHO_T}yes" >&6
10475 echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6
10481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10482 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10484 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10485 if test "${enable_wizarddlg+set}" = set; then
10486 enableval
="$enable_wizarddlg"
10488 if test "$enableval" = yes; then
10489 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10491 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10496 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x
; then
10498 eval "DEFAULT_$LINE"
10503 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10507 eval "$ac_cv_use_wizarddlg"
10508 if test "$no_cache" != 1; then
10509 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10512 if test "$wxUSE_WIZARDDLG" = yes; then
10513 echo "$as_me:$LINENO: result: yes" >&5
10514 echo "${ECHO_T}yes" >&6
10516 echo "$as_me:$LINENO: result: no" >&5
10517 echo "${ECHO_T}no" >&6
10524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10525 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10527 # Check whether --enable-menus or --disable-menus was given.
10528 if test "${enable_menus+set}" = set; then
10529 enableval
="$enable_menus"
10531 if test "$enableval" = yes; then
10532 ac_cv_use_menus
='wxUSE_MENUS=yes'
10534 ac_cv_use_menus
='wxUSE_MENUS=no'
10539 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10540 if test "x$LINE" != x
; then
10541 eval "DEFAULT_$LINE"
10546 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10550 eval "$ac_cv_use_menus"
10551 if test "$no_cache" != 1; then
10552 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10555 if test "$wxUSE_MENUS" = yes; then
10556 echo "$as_me:$LINENO: result: yes" >&5
10557 echo "${ECHO_T}yes" >&6
10559 echo "$as_me:$LINENO: result: no" >&5
10560 echo "${ECHO_T}no" >&6
10565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10568 # Check whether --enable-miniframe or --disable-miniframe was given.
10569 if test "${enable_miniframe+set}" = set; then
10570 enableval
="$enable_miniframe"
10572 if test "$enableval" = yes; then
10573 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10575 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10580 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x
; then
10582 eval "DEFAULT_$LINE"
10587 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10591 eval "$ac_cv_use_miniframe"
10592 if test "$no_cache" != 1; then
10593 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10596 if test "$wxUSE_MINIFRAME" = yes; then
10597 echo "$as_me:$LINENO: result: yes" >&5
10598 echo "${ECHO_T}yes" >&6
10600 echo "$as_me:$LINENO: result: no" >&5
10601 echo "${ECHO_T}no" >&6
10606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10607 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10609 # Check whether --enable-tooltips or --disable-tooltips was given.
10610 if test "${enable_tooltips+set}" = set; then
10611 enableval
="$enable_tooltips"
10613 if test "$enableval" = yes; then
10614 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10616 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10621 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10622 if test "x$LINE" != x
; then
10623 eval "DEFAULT_$LINE"
10628 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10632 eval "$ac_cv_use_tooltips"
10633 if test "$no_cache" != 1; then
10634 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10637 if test "$wxUSE_TOOLTIPS" = yes; then
10638 echo "$as_me:$LINENO: result: yes" >&5
10639 echo "${ECHO_T}yes" >&6
10641 echo "$as_me:$LINENO: result: no" >&5
10642 echo "${ECHO_T}no" >&6
10647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10648 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10650 # Check whether --enable-splines or --disable-splines was given.
10651 if test "${enable_splines+set}" = set; then
10652 enableval
="$enable_splines"
10654 if test "$enableval" = yes; then
10655 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10657 ac_cv_use_splines
='wxUSE_SPLINES=no'
10662 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10663 if test "x$LINE" != x
; then
10664 eval "DEFAULT_$LINE"
10669 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10673 eval "$ac_cv_use_splines"
10674 if test "$no_cache" != 1; then
10675 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10678 if test "$wxUSE_SPLINES" = yes; then
10679 echo "$as_me:$LINENO: result: yes" >&5
10680 echo "${ECHO_T}yes" >&6
10682 echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6
10688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10691 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10692 if test "${enable_mousewheel+set}" = set; then
10693 enableval
="$enable_mousewheel"
10695 if test "$enableval" = yes; then
10696 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10698 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10703 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10704 if test "x$LINE" != x
; then
10705 eval "DEFAULT_$LINE"
10710 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10714 eval "$ac_cv_use_mousewheel"
10715 if test "$no_cache" != 1; then
10716 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10719 if test "$wxUSE_MOUSEWHEEL" = yes; then
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10723 echo "$as_me:$LINENO: result: no" >&5
10724 echo "${ECHO_T}no" >&6
10729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10730 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10732 # Check whether --enable-validators or --disable-validators was given.
10733 if test "${enable_validators+set}" = set; then
10734 enableval
="$enable_validators"
10736 if test "$enableval" = yes; then
10737 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10739 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10744 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10745 if test "x$LINE" != x
; then
10746 eval "DEFAULT_$LINE"
10751 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10755 eval "$ac_cv_use_validators"
10756 if test "$no_cache" != 1; then
10757 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10760 if test "$wxUSE_VALIDATORS" = yes; then
10761 echo "$as_me:$LINENO: result: yes" >&5
10762 echo "${ECHO_T}yes" >&6
10764 echo "$as_me:$LINENO: result: no" >&5
10765 echo "${ECHO_T}no" >&6
10770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10771 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10773 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10774 if test "${enable_busyinfo+set}" = set; then
10775 enableval
="$enable_busyinfo"
10777 if test "$enableval" = yes; then
10778 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10780 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10785 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10786 if test "x$LINE" != x
; then
10787 eval "DEFAULT_$LINE"
10792 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10796 eval "$ac_cv_use_busyinfo"
10797 if test "$no_cache" != 1; then
10798 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10801 if test "$wxUSE_BUSYINFO" = yes; then
10802 echo "$as_me:$LINENO: result: yes" >&5
10803 echo "${ECHO_T}yes" >&6
10805 echo "$as_me:$LINENO: result: no" >&5
10806 echo "${ECHO_T}no" >&6
10811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10814 # Check whether --enable-joystick or --disable-joystick was given.
10815 if test "${enable_joystick+set}" = set; then
10816 enableval
="$enable_joystick"
10818 if test "$enableval" = yes; then
10819 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10821 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10826 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10827 if test "x$LINE" != x
; then
10828 eval "DEFAULT_$LINE"
10833 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10837 eval "$ac_cv_use_joystick"
10838 if test "$no_cache" != 1; then
10839 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10842 if test "$wxUSE_JOYSTICK" = yes; then
10843 echo "$as_me:$LINENO: result: yes" >&5
10844 echo "${ECHO_T}yes" >&6
10846 echo "$as_me:$LINENO: result: no" >&5
10847 echo "${ECHO_T}no" >&6
10852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10853 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10855 # Check whether --enable-metafile or --disable-metafile was given.
10856 if test "${enable_metafile+set}" = set; then
10857 enableval
="$enable_metafile"
10859 if test "$enableval" = yes; then
10860 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10862 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10867 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10868 if test "x$LINE" != x
; then
10869 eval "DEFAULT_$LINE"
10874 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10878 eval "$ac_cv_use_metafile"
10879 if test "$no_cache" != 1; then
10880 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10883 if test "$wxUSE_METAFILE" = yes; then
10884 echo "$as_me:$LINENO: result: yes" >&5
10885 echo "${ECHO_T}yes" >&6
10887 echo "$as_me:$LINENO: result: no" >&5
10888 echo "${ECHO_T}no" >&6
10893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10894 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10896 # Check whether --enable-dragimage or --disable-dragimage was given.
10897 if test "${enable_dragimage+set}" = set; then
10898 enableval
="$enable_dragimage"
10900 if test "$enableval" = yes; then
10901 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10903 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10908 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10909 if test "x$LINE" != x
; then
10910 eval "DEFAULT_$LINE"
10915 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10919 eval "$ac_cv_use_dragimage"
10920 if test "$no_cache" != 1; then
10921 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10924 if test "$wxUSE_DRAGIMAGE" = yes; then
10925 echo "$as_me:$LINENO: result: yes" >&5
10926 echo "${ECHO_T}yes" >&6
10928 echo "$as_me:$LINENO: result: no" >&5
10929 echo "${ECHO_T}no" >&6
10934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10935 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10937 # Check whether --enable-accessibility or --disable-accessibility was given.
10938 if test "${enable_accessibility+set}" = set; then
10939 enableval
="$enable_accessibility"
10941 if test "$enableval" = yes; then
10942 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10944 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10949 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10950 if test "x$LINE" != x
; then
10951 eval "DEFAULT_$LINE"
10956 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10960 eval "$ac_cv_use_accessibility"
10961 if test "$no_cache" != 1; then
10962 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10965 if test "$wxUSE_ACCESSIBILITY" = yes; then
10966 echo "$as_me:$LINENO: result: yes" >&5
10967 echo "${ECHO_T}yes" >&6
10969 echo "$as_me:$LINENO: result: no" >&5
10970 echo "${ECHO_T}no" >&6
10974 if test "$wxUSE_MSW" = "1"; then
10977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10980 # Check whether --enable-dccache or --disable-dccache was given.
10981 if test "${enable_dccache+set}" = set; then
10982 enableval
="$enable_dccache"
10984 if test "$enableval" = yes; then
10985 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10987 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10992 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10993 if test "x$LINE" != x
; then
10994 eval "DEFAULT_$LINE"
10999 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11003 eval "$ac_cv_use_dccache"
11004 if test "$no_cache" != 1; then
11005 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11008 if test "$wxUSE_DC_CACHEING" = yes; then
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11024 # Check whether --enable-palette or --disable-palette was given.
11025 if test "${enable_palette+set}" = set; then
11026 enableval
="$enable_palette"
11028 if test "$enableval" = yes; then
11029 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11031 ac_cv_use_palette
='wxUSE_PALETTE=no'
11036 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11037 if test "x$LINE" != x
; then
11038 eval "DEFAULT_$LINE"
11043 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11047 eval "$ac_cv_use_palette"
11048 if test "$no_cache" != 1; then
11049 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11052 if test "$wxUSE_PALETTE" = yes; then
11053 echo "$as_me:$LINENO: result: yes" >&5
11054 echo "${ECHO_T}yes" >&6
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11065 # Check whether --enable-image or --disable-image was given.
11066 if test "${enable_image+set}" = set; then
11067 enableval
="$enable_image"
11069 if test "$enableval" = yes; then
11070 ac_cv_use_image
='wxUSE_IMAGE=yes'
11072 ac_cv_use_image
='wxUSE_IMAGE=no'
11077 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11078 if test "x$LINE" != x
; then
11079 eval "DEFAULT_$LINE"
11084 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11088 eval "$ac_cv_use_image"
11089 if test "$no_cache" != 1; then
11090 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11093 if test "$wxUSE_IMAGE" = yes; then
11094 echo "$as_me:$LINENO: result: yes" >&5
11095 echo "${ECHO_T}yes" >&6
11097 echo "$as_me:$LINENO: result: no" >&5
11098 echo "${ECHO_T}no" >&6
11103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11104 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11106 # Check whether --enable-gif or --disable-gif was given.
11107 if test "${enable_gif+set}" = set; then
11108 enableval
="$enable_gif"
11110 if test "$enableval" = yes; then
11111 ac_cv_use_gif
='wxUSE_GIF=yes'
11113 ac_cv_use_gif
='wxUSE_GIF=no'
11118 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11119 if test "x$LINE" != x
; then
11120 eval "DEFAULT_$LINE"
11125 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11129 eval "$ac_cv_use_gif"
11130 if test "$no_cache" != 1; then
11131 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11134 if test "$wxUSE_GIF" = yes; then
11135 echo "$as_me:$LINENO: result: yes" >&5
11136 echo "${ECHO_T}yes" >&6
11138 echo "$as_me:$LINENO: result: no" >&5
11139 echo "${ECHO_T}no" >&6
11144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11147 # Check whether --enable-pcx or --disable-pcx was given.
11148 if test "${enable_pcx+set}" = set; then
11149 enableval
="$enable_pcx"
11151 if test "$enableval" = yes; then
11152 ac_cv_use_pcx
='wxUSE_PCX=yes'
11154 ac_cv_use_pcx
='wxUSE_PCX=no'
11159 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11160 if test "x$LINE" != x
; then
11161 eval "DEFAULT_$LINE"
11166 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11170 eval "$ac_cv_use_pcx"
11171 if test "$no_cache" != 1; then
11172 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11175 if test "$wxUSE_PCX" = yes; then
11176 echo "$as_me:$LINENO: result: yes" >&5
11177 echo "${ECHO_T}yes" >&6
11179 echo "$as_me:$LINENO: result: no" >&5
11180 echo "${ECHO_T}no" >&6
11185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11188 # Check whether --enable-iff or --disable-iff was given.
11189 if test "${enable_iff+set}" = set; then
11190 enableval
="$enable_iff"
11192 if test "$enableval" = yes; then
11193 ac_cv_use_iff
='wxUSE_IFF=yes'
11195 ac_cv_use_iff
='wxUSE_IFF=no'
11200 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x
; then
11202 eval "DEFAULT_$LINE"
11207 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11211 eval "$ac_cv_use_iff"
11212 if test "$no_cache" != 1; then
11213 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11216 if test "$wxUSE_IFF" = yes; then
11217 echo "$as_me:$LINENO: result: yes" >&5
11218 echo "${ECHO_T}yes" >&6
11220 echo "$as_me:$LINENO: result: no" >&5
11221 echo "${ECHO_T}no" >&6
11226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11227 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11229 # Check whether --enable-pnm or --disable-pnm was given.
11230 if test "${enable_pnm+set}" = set; then
11231 enableval
="$enable_pnm"
11233 if test "$enableval" = yes; then
11234 ac_cv_use_pnm
='wxUSE_PNM=yes'
11236 ac_cv_use_pnm
='wxUSE_PNM=no'
11241 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x
; then
11243 eval "DEFAULT_$LINE"
11248 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11252 eval "$ac_cv_use_pnm"
11253 if test "$no_cache" != 1; then
11254 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11257 if test "$wxUSE_PNM" = yes; then
11258 echo "$as_me:$LINENO: result: yes" >&5
11259 echo "${ECHO_T}yes" >&6
11261 echo "$as_me:$LINENO: result: no" >&5
11262 echo "${ECHO_T}no" >&6
11267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11268 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11270 # Check whether --enable-xpm or --disable-xpm was given.
11271 if test "${enable_xpm+set}" = set; then
11272 enableval
="$enable_xpm"
11274 if test "$enableval" = yes; then
11275 ac_cv_use_xpm
='wxUSE_XPM=yes'
11277 ac_cv_use_xpm
='wxUSE_XPM=no'
11282 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11283 if test "x$LINE" != x
; then
11284 eval "DEFAULT_$LINE"
11289 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11293 eval "$ac_cv_use_xpm"
11294 if test "$no_cache" != 1; then
11295 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11298 if test "$wxUSE_XPM" = yes; then
11299 echo "$as_me:$LINENO: result: yes" >&5
11300 echo "${ECHO_T}yes" >&6
11302 echo "$as_me:$LINENO: result: no" >&5
11303 echo "${ECHO_T}no" >&6
11308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11309 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11311 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11312 if test "${enable_ico_cur+set}" = set; then
11313 enableval
="$enable_ico_cur"
11315 if test "$enableval" = yes; then
11316 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11318 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11323 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11324 if test "x$LINE" != x
; then
11325 eval "DEFAULT_$LINE"
11330 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11334 eval "$ac_cv_use_ico_cur"
11335 if test "$no_cache" != 1; then
11336 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11339 if test "$wxUSE_ICO_CUR" = yes; then
11340 echo "$as_me:$LINENO: result: yes" >&5
11341 echo "${ECHO_T}yes" >&6
11343 echo "$as_me:$LINENO: result: no" >&5
11344 echo "${ECHO_T}no" >&6
11352 # Check whether --with-flavour or --without-flavour was given.
11353 if test "${with_flavour+set}" = set; then
11354 withval
="$with_flavour"
11355 WX_FLAVOUR
="$withval"
11361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11362 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11364 # Check whether --enable-official_build or --disable-official_build was given.
11365 if test "${enable_official_build+set}" = set; then
11366 enableval
="$enable_official_build"
11368 if test "$enableval" = yes; then
11369 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11371 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11376 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11377 if test "x$LINE" != x
; then
11378 eval "DEFAULT_$LINE"
11383 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11387 eval "$ac_cv_use_official_build"
11388 if test "$no_cache" != 1; then
11389 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11392 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11393 echo "$as_me:$LINENO: result: yes" >&5
11394 echo "${ECHO_T}yes" >&6
11396 echo "$as_me:$LINENO: result: no" >&5
11397 echo "${ECHO_T}no" >&6
11400 # Check whether --enable-vendor or --disable-vendor was given.
11401 if test "${enable_vendor+set}" = set; then
11402 enableval
="$enable_vendor"
11403 VENDOR
="$enableval"
11405 if test "x$VENDOR" = "x"; then
11412 echo "saving argument cache $wx_arg_cache_file"
11413 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11417 echo "$as_me:$LINENO: checking for toolkit" >&5
11418 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11420 # In Wine, we need to default to MSW, not GTK or MOTIF
11421 if test "$wxUSE_WINE" = "yes"; then
11422 DEFAULT_DEFAULT_wxUSE_GTK
=0
11423 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11424 DEFAULT_DEFAULT_wxUSE_MSW
=1
11429 if test "$wxUSE_GUI" = "yes"; then
11431 if test "$USE_BEOS" = 1; then
11432 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11433 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11434 { (exit 1); exit 1; }; }
11437 if test "$TOOLKIT_GIVEN" = 1; then
11438 for toolkit
in `echo $ALL_TOOLKITS`; do
11440 eval "value=\$${var}"
11441 if test "x$value" = "xno"; then
11443 elif test "x$value" != "x"; then
11447 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11448 eval "wx${toolkit}_VERSION=$value"
11452 for toolkit
in `echo $ALL_TOOLKITS`; do
11453 if test "$has_toolkit_in_cache" != 1; then
11454 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11456 var
=DEFAULT_wxUSE_
$toolkit
11458 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11459 if test "x$version" != "x"; then
11460 eval "wx${toolkit}_VERSION=$version"
11463 eval "wxUSE_$toolkit=\$${var}"
11467 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11468 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11469 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11472 *-pc-os2_emx | *-pc-os2-emx )
11473 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11476 case "$NUM_TOOLKITS" in
11480 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11481 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11482 { (exit 1); exit 1; }; }
11485 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11486 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11487 { (exit 1); exit 1; }; }
11490 # to be removed when --disable-gtk2 isn't needed
11491 if test "x$wxUSE_GTK2" = "xyes"; then
11493 elif test "x$wxUSE_GTK2" = "xno"; then
11497 for toolkit
in `echo $ALL_TOOLKITS`; do
11499 eval "value=\$${var}"
11500 if test "x$value" != x
; then
11501 cache_var
=CACHE_
$toolkit
11502 eval "cache=\$${cache_var}"
11503 if test "$cache" = 1; then
11504 echo "$var=$value" >> ${wx_arg_cache_file}
11505 eval "version=\$wx${toolkit}_VERSION"
11506 if test "x$version" != "x"; then
11507 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11510 if test "$value" = 1; then
11511 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11512 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11513 echo "${ECHO_T}$toolkit_echo" >&6
11518 if test "x$host_alias" != "x"; then
11519 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11520 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11522 echo "$as_me:$LINENO: result: base only" >&5
11523 echo "${ECHO_T}base only" >&6
11528 doesnt_want_win32
=0
11531 if test "$wxUSE_MSW" = 1 ; then
11533 BAKEFILE_FORCE_PLATFORM
=win32
11535 doesnt_want_win32
=1
11543 if test "$wxUSE_WINE" = "yes"; then
11547 LDFLAGS_GUI
="-mwindows"
11550 if test "$wants_win32" = 1 ; then
11553 cat >>confdefs.h
<<\_ACEOF
11554 #define __WIN32__ 1
11557 cat >>confdefs.h
<<\_ACEOF
11558 #define __WIN95__ 1
11561 cat >>confdefs.h
<<\_ACEOF
11562 #define __WINDOWS__ 1
11565 cat >>confdefs.h
<<\_ACEOF
11566 #define __GNUWIN32__ 1
11569 cat >>confdefs.h
<<\_ACEOF
11573 cat >>confdefs.h
<<\_ACEOF
11574 #define WINVER 0x0400
11578 if test "$doesnt_want_win32" = 1 ; then
11583 if test "$USE_UNIX" = 1 ; then
11585 cat >>confdefs.h
<<\_ACEOF
11592 cat >confcache
<<\_ACEOF
11593 # This file is a shell script that caches the results of configure
11594 # tests run on this system so they can be shared between configure
11595 # scripts and configure runs, see configure's option --config-cache.
11596 # It is not useful on other systems. If it contains results you don't
11597 # want to keep, you may remove or edit it.
11599 # config.status only pays attention to the cache file if you give it
11600 # the --recheck option to rerun configure.
11602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11604 # following values.
11608 # The following way of writing the cache mishandles newlines in values,
11609 # but we know of no workaround that is simple, portable, and efficient.
11610 # So, don't put newlines in cache variables' values.
11611 # Ultrix sh set writes to stderr and can't be redirected directly,
11612 # and sets the high bit in the cache file unless we assign to the vars.
11615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11617 # `set' does not quote correctly, so add quotes (double-quote
11618 # substitution turns \\\\ into \\, and sed turns \\ into \).
11621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11624 # `set' quotes correctly as required by POSIX, so do not add quotes.
11626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11637 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11638 if test -w $cache_file; then
11639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11640 cat confcache
>$cache_file
11642 echo "not updating unwritable cache $cache_file"
11652 ac_cpp
='$CPP $CPPFLAGS'
11653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11656 if test -n "$ac_tool_prefix"; then
11657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11658 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11659 echo "$as_me:$LINENO: checking for $ac_word" >&5
11660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11661 if test "${ac_cv_prog_CC+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 if test -n "$CC"; then
11665 ac_cv_prog_CC
="$CC" # Let the user override the test.
11667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11668 for as_dir
in $PATH
11671 test -z "$as_dir" && as_dir
=.
11672 for ac_exec_ext
in '' $ac_executable_extensions; do
11673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11674 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11684 if test -n "$CC"; then
11685 echo "$as_me:$LINENO: result: $CC" >&5
11686 echo "${ECHO_T}$CC" >&6
11688 echo "$as_me:$LINENO: result: no" >&5
11689 echo "${ECHO_T}no" >&6
11693 if test -z "$ac_cv_prog_CC"; then
11695 # Extract the first word of "gcc", so it can be a program name with args.
11696 set dummy gcc
; ac_word
=$2
11697 echo "$as_me:$LINENO: checking for $ac_word" >&5
11698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 if test -n "$ac_ct_CC"; then
11703 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11706 for as_dir
in $PATH
11709 test -z "$as_dir" && as_dir
=.
11710 for ac_exec_ext
in '' $ac_executable_extensions; do
11711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11712 ac_cv_prog_ac_ct_CC
="gcc"
11713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11722 if test -n "$ac_ct_CC"; then
11723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11724 echo "${ECHO_T}$ac_ct_CC" >&6
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11732 CC
="$ac_cv_prog_CC"
11735 if test -z "$CC"; then
11736 if test -n "$ac_tool_prefix"; then
11737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11738 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11739 echo "$as_me:$LINENO: checking for $ac_word" >&5
11740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11741 if test "${ac_cv_prog_CC+set}" = set; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11744 if test -n "$CC"; then
11745 ac_cv_prog_CC
="$CC" # Let the user override the test.
11747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11748 for as_dir
in $PATH
11751 test -z "$as_dir" && as_dir
=.
11752 for ac_exec_ext
in '' $ac_executable_extensions; do
11753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11754 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11764 if test -n "$CC"; then
11765 echo "$as_me:$LINENO: result: $CC" >&5
11766 echo "${ECHO_T}$CC" >&6
11768 echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6
11773 if test -z "$ac_cv_prog_CC"; then
11775 # Extract the first word of "cc", so it can be a program name with args.
11776 set dummy cc
; ac_word
=$2
11777 echo "$as_me:$LINENO: checking for $ac_word" >&5
11778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 if test -n "$ac_ct_CC"; then
11783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11786 for as_dir
in $PATH
11789 test -z "$as_dir" && as_dir
=.
11790 for ac_exec_ext
in '' $ac_executable_extensions; do
11791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_ac_ct_CC
="cc"
11793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11802 if test -n "$ac_ct_CC"; then
11803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11804 echo "${ECHO_T}$ac_ct_CC" >&6
11806 echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6
11812 CC
="$ac_cv_prog_CC"
11816 if test -z "$CC"; then
11817 # Extract the first word of "cc", so it can be a program name with args.
11818 set dummy cc
; ac_word
=$2
11819 echo "$as_me:$LINENO: checking for $ac_word" >&5
11820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11821 if test "${ac_cv_prog_CC+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 if test -n "$CC"; then
11825 ac_cv_prog_CC
="$CC" # Let the user override the test.
11827 ac_prog_rejected
=no
11828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11829 for as_dir
in $PATH
11832 test -z "$as_dir" && as_dir
=.
11833 for ac_exec_ext
in '' $ac_executable_extensions; do
11834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11835 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11836 ac_prog_rejected
=yes
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11846 if test $ac_prog_rejected = yes; then
11847 # We found a bogon in the path, so make sure we never use it.
11848 set dummy
$ac_cv_prog_CC
11850 if test $# != 0; then
11851 # We chose a different compiler from the bogus one.
11852 # However, it has the same basename, so the bogon will be chosen
11853 # first if we set CC to just the basename; use the full file name.
11855 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11861 if test -n "$CC"; then
11862 echo "$as_me:$LINENO: result: $CC" >&5
11863 echo "${ECHO_T}$CC" >&6
11865 echo "$as_me:$LINENO: result: no" >&5
11866 echo "${ECHO_T}no" >&6
11870 if test -z "$CC"; then
11871 if test -n "$ac_tool_prefix"; then
11874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11876 echo "$as_me:$LINENO: checking for $ac_word" >&5
11877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11878 if test "${ac_cv_prog_CC+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 if test -n "$CC"; then
11882 ac_cv_prog_CC
="$CC" # Let the user override the test.
11884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11885 for as_dir
in $PATH
11888 test -z "$as_dir" && as_dir
=.
11889 for ac_exec_ext
in '' $ac_executable_extensions; do
11890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11891 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11901 if test -n "$CC"; then
11902 echo "$as_me:$LINENO: result: $CC" >&5
11903 echo "${ECHO_T}$CC" >&6
11905 echo "$as_me:$LINENO: result: no" >&5
11906 echo "${ECHO_T}no" >&6
11909 test -n "$CC" && break
11912 if test -z "$CC"; then
11916 # Extract the first word of "$ac_prog", so it can be a program name with args.
11917 set dummy
$ac_prog; ac_word
=$2
11918 echo "$as_me:$LINENO: checking for $ac_word" >&5
11919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 if test -n "$ac_ct_CC"; then
11924 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11927 for as_dir
in $PATH
11930 test -z "$as_dir" && as_dir
=.
11931 for ac_exec_ext
in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 ac_cv_prog_ac_ct_CC
="$ac_prog"
11934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11943 if test -n "$ac_ct_CC"; then
11944 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11945 echo "${ECHO_T}$ac_ct_CC" >&6
11947 echo "$as_me:$LINENO: result: no" >&5
11948 echo "${ECHO_T}no" >&6
11951 test -n "$ac_ct_CC" && break
11960 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11961 See \`config.log' for more details." >&5
11962 echo "$as_me: error: no acceptable C compiler found in \$PATH
11963 See \`config.log' for more details." >&2;}
11964 { (exit 1); exit 1; }; }
11966 # Provide some information about the compiler.
11967 echo "$as_me:$LINENO:" \
11968 "checking for C compiler version" >&5
11969 ac_compiler
=`set X $ac_compile; echo $2`
11970 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11971 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }
11975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11976 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }
11980 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11981 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
12001 ac_clean_files_save
=$ac_clean_files
12002 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12003 # Try to create an executable without -o first, disregard a.out.
12004 # It will help us diagnose broken compilers, and finding out an intuition
12006 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12007 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12008 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12010 (eval $ac_link_default) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; then
12014 # Find the output, starting from the most likely. This scheme is
12015 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12018 # Be careful to initialize this variable, since it used to be cached.
12019 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12021 # b.out is created by i960 compilers.
12022 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12024 test -f "$ac_file" || continue
12026 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12029 # This is the source file.
12032 # We found the default executable, but exeext='' is most
12036 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12037 # FIXME: I believe we export ac_cv_exeext for Libtool,
12038 # but it would be cool to find out if it's true. Does anybody
12039 # maintain Libtool? --akim.
12040 export ac_cv_exeext
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.
$ac_ext >&5
12050 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12051 See \`config.log' for more details." >&5
12052 echo "$as_me: error: C compiler cannot create executables
12053 See \`config.log' for more details." >&2;}
12054 { (exit 77); exit 77; }; }
12057 ac_exeext
=$ac_cv_exeext
12058 echo "$as_me:$LINENO: result: $ac_file" >&5
12059 echo "${ECHO_T}$ac_file" >&6
12061 # Check the compiler produces executables we can run. If not, either
12062 # the compiler is broken, or we cross compile.
12063 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12064 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12065 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12066 # If not cross compiling, check that we can run a simple program.
12067 if test "$cross_compiling" != yes; then
12068 if { ac_try
='./$ac_file'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12076 if test "$cross_compiling" = maybe
; then
12077 cross_compiling
=yes
12079 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12080 If you meant to cross compile, use \`--host'.
12081 See \`config.log' for more details." >&5
12082 echo "$as_me: error: cannot run C compiled programs.
12083 If you meant to cross compile, use \`--host'.
12084 See \`config.log' for more details." >&2;}
12085 { (exit 1); exit 1; }; }
12089 echo "$as_me:$LINENO: result: yes" >&5
12090 echo "${ECHO_T}yes" >&6
12092 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12093 ac_clean_files
=$ac_clean_files_save
12094 # Check the compiler produces executables we can run. If not, either
12095 # the compiler is broken, or we cross compile.
12096 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12097 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12098 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12099 echo "${ECHO_T}$cross_compiling" >&6
12101 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12102 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); }; then
12108 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12109 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12110 # work properly (i.e., refer to `conftest.exe'), while it won't with
12112 for ac_file
in conftest.exe conftest conftest.
*; do
12113 test -f "$ac_file" || continue
12115 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12116 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12117 export ac_cv_exeext
12123 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12124 See \`config.log' for more details." >&5
12125 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12126 See \`config.log' for more details." >&2;}
12127 { (exit 1); exit 1; }; }
12130 rm -f conftest
$ac_cv_exeext
12131 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12132 echo "${ECHO_T}$ac_cv_exeext" >&6
12134 rm -f conftest.
$ac_ext
12135 EXEEXT
=$ac_cv_exeext
12137 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12138 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12139 if test "${ac_cv_objext+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 cat >conftest.
$ac_ext <<_ACEOF
12145 cat confdefs.h
>>conftest.
$ac_ext
12146 cat >>conftest.
$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12157 rm -f conftest.o conftest.obj
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; then
12163 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12165 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12166 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.
$ac_ext >&5
12174 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12175 See \`config.log' for more details." >&5
12176 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12177 See \`config.log' for more details." >&2;}
12178 { (exit 1); exit 1; }; }
12181 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12183 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12184 echo "${ECHO_T}$ac_cv_objext" >&6
12185 OBJEXT
=$ac_cv_objext
12187 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12188 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12189 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 cat >conftest.
$ac_ext <<_ACEOF
12195 cat confdefs.h
>>conftest.
$ac_ext
12196 cat >>conftest.
$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12210 rm -f conftest.
$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12214 grep -v '^ *+' conftest.er1
>conftest.err
12216 cat conftest.err
>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try
='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 ac_compiler_gnu
=yes
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.
$ac_ext >&5
12238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12239 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12242 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12244 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12245 ac_test_CFLAGS
=${CFLAGS+set}
12246 ac_save_CFLAGS
=$CFLAGS
12248 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12249 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12250 if test "${ac_cv_prog_cc_g+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 cat >conftest.
$ac_ext <<_ACEOF
12256 cat confdefs.h
>>conftest.
$ac_ext
12257 cat >>conftest.
$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12268 rm -f conftest.
$ac_objext
12269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12270 (eval $ac_compile) 2>conftest.er1
12272 grep -v '^ *+' conftest.er1
>conftest.err
12274 cat conftest.err
>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } &&
12277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; } &&
12283 { ac_try
='test -s conftest.$ac_objext'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; }; then
12289 ac_cv_prog_cc_g
=yes
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.
$ac_ext >&5
12296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12300 if test "$ac_test_CFLAGS" = set; then
12301 CFLAGS
=$ac_save_CFLAGS
12302 elif test $ac_cv_prog_cc_g = yes; then
12303 if test "$GCC" = yes; then
12309 if test "$GCC" = yes; then
12315 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12316 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12317 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 ac_cv_prog_cc_stdc
=no
12322 cat >conftest.
$ac_ext <<_ACEOF
12325 cat confdefs.h
>>conftest.
$ac_ext
12326 cat >>conftest.
$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12328 #include <stdarg.h>
12330 #include <sys/types.h>
12331 #include <sys/stat.h>
12332 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12333 struct buf { int x; };
12334 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12335 static char *e (p, i)
12341 static char *f (char * (*g) (char **, int), char **p, ...)
12346 s = g (p, va_arg (v,int));
12351 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12352 function prototypes and stuff, but not '\xHH' hex character constants.
12353 These don't provoke an error unfortunately, instead are silently treated
12354 as 'x'. The following induces an error, until -std1 is added to get
12355 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12356 array size at least. It's necessary to write '\x00'==0 to get something
12357 that's true only with -std1. */
12358 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12360 int test (int i, double x);
12361 struct s1 {int (*f) (int a);};
12362 struct s2 {int (*f) (double a);};
12363 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12369 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12374 # Don't try gcc -ansi; that turns off useful extensions and
12375 # breaks some systems' header files.
12376 # AIX -qlanglvl=ansi
12377 # Ultrix and OSF/1 -std1
12378 # HP-UX 10.20 and later -Ae
12379 # HP-UX older versions -Aa -D_HPUX_SOURCE
12380 # SVR4 -Xc -D__EXTENSIONS__
12381 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12383 CC
="$ac_save_CC $ac_arg"
12384 rm -f conftest.
$ac_objext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>conftest.er1
12388 grep -v '^ *+' conftest.er1
>conftest.err
12390 cat conftest.err
>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } &&
12393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12395 (eval $ac_try) 2>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }; } &&
12399 { ac_try
='test -s conftest.$ac_objext'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; }; then
12405 ac_cv_prog_cc_stdc
=$ac_arg
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12412 rm -f conftest.err conftest.
$ac_objext
12414 rm -f conftest.
$ac_ext conftest.
$ac_objext
12419 case "x$ac_cv_prog_cc_stdc" in
12421 echo "$as_me:$LINENO: result: none needed" >&5
12422 echo "${ECHO_T}none needed" >&6 ;;
12424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12425 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12426 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12429 # Some people use a C++ compiler to compile C. Since we use `exit',
12430 # in C++ we need to declare it. In case someone uses the same compiler
12431 # for both compiling C and C++ we need to have the C++ compiler decide
12432 # the declaration of exit, since it's the most demanding environment.
12433 cat >conftest.
$ac_ext <<_ACEOF
12434 #ifndef __cplusplus
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; } &&
12453 { ac_try
='test -s conftest.$ac_objext'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; }; then
12459 for ac_declaration
in \
12461 'extern "C" void std::exit (int) throw (); using std::exit;' \
12462 'extern "C" void std::exit (int); using std::exit;' \
12463 'extern "C" void exit (int) throw ();' \
12464 'extern "C" void exit (int);' \
12467 cat >conftest.
$ac_ext <<_ACEOF
12470 cat confdefs.h
>>conftest.
$ac_ext
12471 cat >>conftest.
$ac_ext <<_ACEOF
12472 /* end confdefs.h. */
12474 #include <stdlib.h>
12483 rm -f conftest.
$ac_objext
12484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12485 (eval $ac_compile) 2>conftest.er1
12487 grep -v '^ *+' conftest.er1
>conftest.err
12489 cat conftest.err
>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); } &&
12492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try
='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12527 rm -f conftest.
$ac_objext
12528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12529 (eval $ac_compile) 2>conftest.er1
12531 grep -v '^ *+' conftest.er1
>conftest.err
12533 cat conftest.err
>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } &&
12536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; } &&
12542 { ac_try
='test -s conftest.$ac_objext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12557 if test -n "$ac_declaration"; then
12558 echo '#ifdef __cplusplus' >>confdefs.h
12559 echo $ac_declaration >>confdefs.h
12560 echo '#endif' >>confdefs.h
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12570 ac_cpp
='$CPP $CPPFLAGS'
12571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12578 ac_cpp
='$CPP $CPPFLAGS'
12579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12583 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12584 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12585 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12599 #ifndef __INTEL_COMPILER
12607 rm -f conftest.
$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>conftest.er1
12611 grep -v '^ *+' conftest.er1
>conftest.err
12613 cat conftest.err
>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try
='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12633 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12640 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12641 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12643 ac_cpp
='$CPP $CPPFLAGS'
12644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12648 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12655 if test "x$GCC" != "xyes"; then
12656 if test "xCC" = "xC"; then
12657 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12658 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12659 if test "${bakefile_cv_c_exto+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 cat >conftest.
$ac_ext <<_ACEOF
12665 cat confdefs.h
>>conftest.
$ac_ext
12666 cat >>conftest.
$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12677 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12679 (eval $ac_compile) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; then
12683 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12685 conftest.
$ac_ext.o
)
12686 bakefile_cv_c_exto
="-ext o"
12693 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12694 See \`config.log' for more details." >&5
12695 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12696 See \`config.log' for more details." >&2;}
12697 { (exit 1); exit 1; }; }
12701 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12704 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12705 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12706 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12707 if test "c" = "c"; then
12708 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12710 if test "c" = "cxx"; then
12711 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12715 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12716 unset ac_cv_prog_cc_g
12717 ac_test_CFLAGS
=${CFLAGS+set}
12718 ac_save_CFLAGS
=$CFLAGS
12720 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12721 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12722 if test "${ac_cv_prog_cc_g+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 cat >conftest.
$ac_ext <<_ACEOF
12728 cat confdefs.h
>>conftest.
$ac_ext
12729 cat >>conftest.
$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12740 rm -f conftest.
$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>conftest.er1
12744 grep -v '^ *+' conftest.er1
>conftest.err
12746 cat conftest.err
>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; } &&
12755 { ac_try
='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_prog_cc_g
=yes
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.
$ac_ext >&5
12768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12770 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12771 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12772 if test "$ac_test_CFLAGS" = set; then
12773 CFLAGS
=$ac_save_CFLAGS
12774 elif test $ac_cv_prog_cc_g = yes; then
12775 if test "$GCC" = yes; then
12781 if test "$GCC" = yes; then
12793 ac_cpp
='$CPP $CPPFLAGS'
12794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12798 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12799 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12800 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 cat >conftest.
$ac_ext <<_ACEOF
12806 cat confdefs.h
>>conftest.
$ac_ext
12807 cat >>conftest.
$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12821 rm -f conftest.
$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try
='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 bakefile_compiler_xlc
=yes
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 bakefile_compiler_xlc
=no
12849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12853 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12854 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12856 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12858 ac_cpp
='$CPP $CPPFLAGS'
12859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12868 ac_cpp
='$CPP $CPPFLAGS'
12869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12873 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12874 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12875 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12881 cat confdefs.h
>>conftest.
$ac_ext
12882 cat >>conftest.
$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12896 rm -f conftest.
$ac_objext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898 (eval $ac_compile) 2>conftest.er1
12900 grep -v '^ *+' conftest.er1
>conftest.err
12902 cat conftest.err
>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try
='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 bakefile_compiler_mwerks
=yes
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.
$ac_ext >&5
12922 bakefile_compiler_mwerks
=no
12924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12925 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12928 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12929 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12931 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12933 ac_cpp
='$CPP $CPPFLAGS'
12934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12936 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 IBM xlC C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler_xlc+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. */
12968 rm -f conftest.
$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12972 grep -v '^ *+' conftest.er1
>conftest.err
12974 cat conftest.err
>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 bakefile_compiler_xlc
=yes
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.
$ac_ext >&5
12994 bakefile_compiler_xlc
=no
12996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13000 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13001 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13003 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13005 ac_cpp
='$CPP $CPPFLAGS'
13006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13017 ac_cpp
='$CPP $CPPFLAGS'
13018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13022 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13023 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13024 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13038 #ifndef _SGI_COMPILER_VERSION
13046 rm -f conftest.
$ac_objext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048 (eval $ac_compile) 2>conftest.er1
13050 grep -v '^ *+' conftest.er1
>conftest.err
13052 cat conftest.err
>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; } &&
13061 { ac_try
='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.
$ac_ext >&5
13072 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13079 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13080 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13082 ac_cpp
='$CPP $CPPFLAGS'
13083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13087 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13100 ac_cpp
='$CPP $CPPFLAGS'
13101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13105 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13106 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13107 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 cat >conftest.
$ac_ext <<_ACEOF
13113 cat confdefs.h
>>conftest.
$ac_ext
13114 cat >>conftest.
$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13129 rm -f conftest.
$ac_objext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13131 (eval $ac_compile) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1
>conftest.err
13135 cat conftest.err
>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try
='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 bakefile_cv_c_compiler___HP_cc
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 bakefile_cv_c_compiler___HP_cc
=no
13158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13162 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13163 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13165 ac_cpp
='$CPP $CPPFLAGS'
13166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13170 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13183 ac_cpp
='$CPP $CPPFLAGS'
13184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13188 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13189 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13190 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 cat >conftest.
$ac_ext <<_ACEOF
13196 cat confdefs.h
>>conftest.
$ac_ext
13197 cat >>conftest.
$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_cv_c_compiler___DECC
=yes
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.
$ac_ext >&5
13238 bakefile_cv_c_compiler___DECC
=no
13241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13245 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13246 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13248 ac_cpp
='$CPP $CPPFLAGS'
13249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13253 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13266 ac_cpp
='$CPP $CPPFLAGS'
13267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13271 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13272 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13273 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13295 rm -f conftest.
$ac_objext
13296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13297 (eval $ac_compile) 2>conftest.er1
13299 grep -v '^ *+' conftest.er1
>conftest.err
13301 cat conftest.err
>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } &&
13304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try
='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 bakefile_cv_c_compiler___SUNPRO_C
=yes
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 bakefile_cv_c_compiler___SUNPRO_C
=no
13324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13329 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13331 ac_cpp
='$CPP $CPPFLAGS'
13332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13336 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13350 ac_cpp
='$CPP $CPPFLAGS'
13351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13354 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13355 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13356 # On Suns, sometimes $CPP names a directory.
13357 if test -n "$CPP" && test -d "$CPP"; then
13360 if test -z "$CPP"; then
13361 if test "${ac_cv_prog_CPP+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 # Double quotes because CPP needs to be expanded
13365 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13367 ac_preproc_ok
=false
13368 for ac_c_preproc_warn_flag
in '' yes
13370 # Use a header file that comes with gcc, so configuring glibc
13371 # with a fresh cross-compiler works.
13372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13373 # <limits.h> exists even on freestanding compilers.
13374 # On the NeXT, cc -E runs the code through the compiler's parser,
13375 # not just through cpp. "Syntax error" is here to catch this case.
13376 cat >conftest.
$ac_ext <<_ACEOF
13379 cat confdefs.h
>>conftest.
$ac_ext
13380 cat >>conftest.
$ac_ext <<_ACEOF
13381 /* end confdefs.h. */
13383 # include <limits.h>
13385 # include <assert.h>
13389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13392 grep -v '^ *+' conftest.er1
>conftest.err
13394 cat conftest.err
>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } >/dev
/null
; then
13397 if test -s conftest.err
; then
13398 ac_cpp_err
=$ac_c_preproc_warn_flag
13399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13406 if test -z "$ac_cpp_err"; then
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 # Broken: fails on valid input.
13415 rm -f conftest.err conftest.
$ac_ext
13417 # OK, works on sane cases. Now check whether non-existent headers
13418 # can be detected and how.
13419 cat >conftest.
$ac_ext <<_ACEOF
13422 cat confdefs.h
>>conftest.
$ac_ext
13423 cat >>conftest.
$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 #include <ac_nonexistent.h>
13427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13430 grep -v '^ *+' conftest.er1
>conftest.err
13432 cat conftest.err
>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } >/dev
/null
; then
13435 if test -s conftest.err
; then
13436 ac_cpp_err
=$ac_c_preproc_warn_flag
13437 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13444 if test -z "$ac_cpp_err"; then
13445 # Broken: success on invalid input.
13448 echo "$as_me: failed program was:" >&5
13449 sed 's/^/| /' conftest.
$ac_ext >&5
13451 # Passes both tests.
13455 rm -f conftest.err conftest.
$ac_ext
13458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13459 rm -f conftest.err conftest.
$ac_ext
13460 if $ac_preproc_ok; then
13465 ac_cv_prog_CPP
=$CPP
13468 CPP
=$ac_cv_prog_CPP
13470 ac_cv_prog_CPP
=$CPP
13472 echo "$as_me:$LINENO: result: $CPP" >&5
13473 echo "${ECHO_T}$CPP" >&6
13474 ac_preproc_ok
=false
13475 for ac_c_preproc_warn_flag
in '' yes
13477 # Use a header file that comes with gcc, so configuring glibc
13478 # with a fresh cross-compiler works.
13479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13480 # <limits.h> exists even on freestanding compilers.
13481 # On the NeXT, cc -E runs the code through the compiler's parser,
13482 # not just through cpp. "Syntax error" is here to catch this case.
13483 cat >conftest.
$ac_ext <<_ACEOF
13486 cat confdefs.h
>>conftest.
$ac_ext
13487 cat >>conftest.
$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13490 # include <limits.h>
13492 # include <assert.h>
13496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13499 grep -v '^ *+' conftest.er1
>conftest.err
13501 cat conftest.err
>&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } >/dev
/null
; then
13504 if test -s conftest.err
; then
13505 ac_cpp_err
=$ac_c_preproc_warn_flag
13506 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13513 if test -z "$ac_cpp_err"; then
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.
$ac_ext >&5
13519 # Broken: fails on valid input.
13522 rm -f conftest.err conftest.
$ac_ext
13524 # OK, works on sane cases. Now check whether non-existent headers
13525 # can be detected and how.
13526 cat >conftest.
$ac_ext <<_ACEOF
13529 cat confdefs.h
>>conftest.
$ac_ext
13530 cat >>conftest.
$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 #include <ac_nonexistent.h>
13534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13537 grep -v '^ *+' conftest.er1
>conftest.err
13539 cat conftest.err
>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } >/dev
/null
; then
13542 if test -s conftest.err
; then
13543 ac_cpp_err
=$ac_c_preproc_warn_flag
13544 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13551 if test -z "$ac_cpp_err"; then
13552 # Broken: success on invalid input.
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.
$ac_ext >&5
13558 # Passes both tests.
13562 rm -f conftest.err conftest.
$ac_ext
13565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13566 rm -f conftest.err conftest.
$ac_ext
13567 if $ac_preproc_ok; then
13570 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13571 See \`config.log' for more details." >&5
13572 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13573 See \`config.log' for more details." >&2;}
13574 { (exit 1); exit 1; }; }
13578 ac_cpp
='$CPP $CPPFLAGS'
13579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13584 echo "$as_me:$LINENO: checking for egrep" >&5
13585 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13586 if test "${ac_cv_prog_egrep+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13590 then ac_cv_prog_egrep
='grep -E'
13591 else ac_cv_prog_egrep
='egrep'
13594 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13595 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13596 EGREP
=$ac_cv_prog_egrep
13599 if test $ac_cv_c_compiler_gnu = yes; then
13600 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13601 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13602 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 ac_pattern
="Autoconf.*'x'"
13606 cat >conftest.
$ac_ext <<_ACEOF
13609 cat confdefs.h
>>conftest.
$ac_ext
13610 cat >>conftest.
$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13616 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13617 ac_cv_prog_gcc_traditional
=yes
13619 ac_cv_prog_gcc_traditional
=no
13624 if test $ac_cv_prog_gcc_traditional = no
; then
13625 cat >conftest.
$ac_ext <<_ACEOF
13628 cat confdefs.h
>>conftest.
$ac_ext
13629 cat >>conftest.
$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13631 #include <termio.h>
13634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13635 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13636 ac_cv_prog_gcc_traditional
=yes
13642 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13643 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13644 if test $ac_cv_prog_gcc_traditional = yes; then
13645 CC
="$CC -traditional"
13651 ac_cpp
='$CXXCPP $CPPFLAGS'
13652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13657 CXXFLAGS
=${CXXFLAGS:=}
13662 ac_cpp
='$CXXCPP $CPPFLAGS'
13663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13666 if test -n "$ac_tool_prefix"; then
13667 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13670 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13671 echo "$as_me:$LINENO: checking for $ac_word" >&5
13672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13673 if test "${ac_cv_prog_CXX+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 if test -n "$CXX"; then
13677 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13680 for as_dir
in $PATH
13683 test -z "$as_dir" && as_dir
=.
13684 for ac_exec_ext
in '' $ac_executable_extensions; do
13685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13686 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13695 CXX
=$ac_cv_prog_CXX
13696 if test -n "$CXX"; then
13697 echo "$as_me:$LINENO: result: $CXX" >&5
13698 echo "${ECHO_T}$CXX" >&6
13700 echo "$as_me:$LINENO: result: no" >&5
13701 echo "${ECHO_T}no" >&6
13704 test -n "$CXX" && break
13707 if test -z "$CXX"; then
13709 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13711 # Extract the first word of "$ac_prog", so it can be a program name with args.
13712 set dummy
$ac_prog; ac_word
=$2
13713 echo "$as_me:$LINENO: checking for $ac_word" >&5
13714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13715 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 if test -n "$ac_ct_CXX"; then
13719 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13722 for as_dir
in $PATH
13725 test -z "$as_dir" && as_dir
=.
13726 for ac_exec_ext
in '' $ac_executable_extensions; do
13727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13728 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13737 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13738 if test -n "$ac_ct_CXX"; then
13739 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13740 echo "${ECHO_T}$ac_ct_CXX" >&6
13742 echo "$as_me:$LINENO: result: no" >&5
13743 echo "${ECHO_T}no" >&6
13746 test -n "$ac_ct_CXX" && break
13748 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13754 # Provide some information about the compiler.
13755 echo "$as_me:$LINENO:" \
13756 "checking for C++ compiler version" >&5
13757 ac_compiler
=`set X $ac_compile; echo $2`
13758 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13759 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }
13763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13764 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }
13768 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13769 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }
13774 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13775 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13776 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13777 echo $ECHO_N "(cached) $ECHO_C" >&6
13779 cat >conftest.
$ac_ext <<_ACEOF
13782 cat confdefs.h
>>conftest.
$ac_ext
13783 cat >>conftest.
$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13797 rm -f conftest.
$ac_objext
13798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13799 (eval $ac_compile) 2>conftest.er1
13801 grep -v '^ *+' conftest.er1
>conftest.err
13803 cat conftest.err
>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } &&
13806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; } &&
13812 { ac_try
='test -s conftest.$ac_objext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_compiler_gnu
=yes
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.
$ac_ext >&5
13825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13826 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13829 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13830 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13831 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13832 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13833 ac_save_CXXFLAGS
=$CXXFLAGS
13835 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13836 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13837 if test "${ac_cv_prog_cxx_g+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 cat >conftest.
$ac_ext <<_ACEOF
13843 cat confdefs.h
>>conftest.
$ac_ext
13844 cat >>conftest.
$ac_ext <<_ACEOF
13845 /* end confdefs.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" || test ! -s conftest.err'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; } &&
13870 { ac_try
='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 ac_cv_prog_cxx_g
=yes
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13881 ac_cv_prog_cxx_g
=no
13883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13885 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13886 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13887 if test "$ac_test_CXXFLAGS" = set; then
13888 CXXFLAGS
=$ac_save_CXXFLAGS
13889 elif test $ac_cv_prog_cxx_g = yes; then
13890 if test "$GXX" = yes; then
13896 if test "$GXX" = yes; then
13902 for ac_declaration
in \
13904 'extern "C" void std::exit (int) throw (); using std::exit;' \
13905 'extern "C" void std::exit (int); using std::exit;' \
13906 'extern "C" void exit (int) throw ();' \
13907 'extern "C" void exit (int);' \
13910 cat >conftest.
$ac_ext <<_ACEOF
13913 cat confdefs.h
>>conftest.
$ac_ext
13914 cat >>conftest.
$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13917 #include <stdlib.h>
13926 rm -f conftest.
$ac_objext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13928 (eval $ac_compile) 2>conftest.er1
13930 grep -v '^ *+' conftest.er1
>conftest.err
13932 cat conftest.err
>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; } &&
13941 { ac_try
='test -s conftest.$ac_objext'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.
$ac_ext >&5
13954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13955 cat >conftest.
$ac_ext <<_ACEOF
13958 cat confdefs.h
>>conftest.
$ac_ext
13959 cat >>conftest.
$ac_ext <<_ACEOF
13960 /* end confdefs.h. */
13970 rm -f conftest.
$ac_objext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13972 (eval $ac_compile) 2>conftest.er1
13974 grep -v '^ *+' conftest.er1
>conftest.err
13976 cat conftest.err
>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } &&
13979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; } &&
13985 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.
$ac_ext >&5
13997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14000 if test -n "$ac_declaration"; then
14001 echo '#ifdef __cplusplus' >>confdefs.h
14002 echo $ac_declaration >>confdefs.h
14003 echo '#endif' >>confdefs.h
14007 ac_cpp
='$CXXCPP $CPPFLAGS'
14008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14015 ac_cpp
='$CXXCPP $CPPFLAGS'
14016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14020 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14021 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14022 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14025 cat >conftest.
$ac_ext <<_ACEOF
14028 cat confdefs.h
>>conftest.
$ac_ext
14029 cat >>conftest.
$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14036 #ifndef __INTEL_COMPILER
14044 rm -f conftest.
$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14048 grep -v '^ *+' conftest.er1
>conftest.err
14050 cat conftest.err
>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try
='test -s conftest.$ac_objext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.
$ac_ext >&5
14070 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14077 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14078 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14080 ac_cpp
='$CXXCPP $CPPFLAGS'
14081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14085 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14092 if test "x$GCXX" != "xyes"; then
14093 if test "xCXX" = "xC"; then
14094 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14095 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14096 if test "${bakefile_cv_cxx_exto+set}" = set; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14099 cat >conftest.
$ac_ext <<_ACEOF
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14114 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; then
14120 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14122 conftest.
$ac_ext.o
)
14123 bakefile_cv_cxx_exto
="-ext o"
14130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14131 See \`config.log' for more details." >&5
14132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14133 See \`config.log' for more details." >&2;}
14134 { (exit 1); exit 1; }; }
14138 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14141 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14142 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14143 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14144 if test "cxx" = "c"; then
14145 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14147 if test "cxx" = "cxx"; then
14148 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14153 unset ac_cv_prog_cc_g
14154 ac_test_CFLAGS
=${CFLAGS+set}
14155 ac_save_CFLAGS
=$CFLAGS
14157 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14158 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14159 if test "${ac_cv_prog_cc_g+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14162 cat >conftest.
$ac_ext <<_ACEOF
14165 cat confdefs.h
>>conftest.
$ac_ext
14166 cat >>conftest.
$ac_ext <<_ACEOF
14167 /* end confdefs.h. */
14177 rm -f conftest.
$ac_objext
14178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14179 (eval $ac_compile) 2>conftest.er1
14181 grep -v '^ *+' conftest.er1
>conftest.err
14183 cat conftest.err
>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); } &&
14186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; } &&
14192 { ac_try
='test -s conftest.$ac_objext'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 ac_cv_prog_cc_g
=yes
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.
$ac_ext >&5
14205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14207 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14208 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14209 if test "$ac_test_CFLAGS" = set; then
14210 CFLAGS
=$ac_save_CFLAGS
14211 elif test $ac_cv_prog_cc_g = yes; then
14212 if test "$GCC" = yes; then
14218 if test "$GCC" = yes; then
14230 ac_cpp
='$CXXCPP $CPPFLAGS'
14231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14235 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14236 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14237 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 cat >conftest.
$ac_ext <<_ACEOF
14243 cat confdefs.h
>>conftest.
$ac_ext
14244 cat >>conftest.
$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14258 rm -f conftest.
$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try
='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 bakefile_compiler_xlc
=yes
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14284 bakefile_compiler_xlc
=no
14286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14287 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14290 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14291 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14293 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14295 ac_cpp
='$CXXCPP $CPPFLAGS'
14296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
14310 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14311 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14312 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 cat >conftest.
$ac_ext <<_ACEOF
14318 cat confdefs.h
>>conftest.
$ac_ext
14319 cat >>conftest.
$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14333 rm -f conftest.
$ac_objext
14334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14335 (eval $ac_compile) 2>conftest.er1
14337 grep -v '^ *+' conftest.er1
>conftest.err
14339 cat conftest.err
>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; } &&
14348 { ac_try
='test -s conftest.$ac_objext'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 bakefile_compiler_mwerks
=yes
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.
$ac_ext >&5
14359 bakefile_compiler_mwerks
=no
14361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14362 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14365 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14366 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14368 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14370 ac_cpp
='$CXXCPP $CPPFLAGS'
14371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14377 ac_cpp
='$CXXCPP $CPPFLAGS'
14378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14382 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14383 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14384 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 cat >conftest.
$ac_ext <<_ACEOF
14390 cat confdefs.h
>>conftest.
$ac_ext
14391 cat >>conftest.
$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14405 rm -f conftest.
$ac_objext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14407 (eval $ac_compile) 2>conftest.er1
14409 grep -v '^ *+' conftest.er1
>conftest.err
14411 cat conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; } &&
14420 { ac_try
='test -s conftest.$ac_objext'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; }; then
14426 bakefile_compiler_xlc
=yes
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.
$ac_ext >&5
14431 bakefile_compiler_xlc
=no
14433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14434 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14437 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14438 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14440 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14442 ac_cpp
='$CXXCPP $CPPFLAGS'
14443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14454 ac_cpp
='$CXXCPP $CPPFLAGS'
14455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14459 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14460 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14461 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 cat >conftest.
$ac_ext <<_ACEOF
14467 cat confdefs.h
>>conftest.
$ac_ext
14468 cat >>conftest.
$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14475 #ifndef _SGI_COMPILER_VERSION
14483 rm -f conftest.
$ac_objext
14484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14485 (eval $ac_compile) 2>conftest.er1
14487 grep -v '^ *+' conftest.er1
>conftest.err
14489 cat conftest.err
>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try
='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14504 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14509 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14516 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14517 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14519 ac_cpp
='$CXXCPP $CPPFLAGS'
14520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14524 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14537 ac_cpp
='$CXXCPP $CPPFLAGS'
14538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14542 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14543 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14544 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14547 cat >conftest.
$ac_ext <<_ACEOF
14550 cat confdefs.h
>>conftest.
$ac_ext
14551 cat >>conftest.
$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14566 rm -f conftest.
$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>conftest.er1
14570 grep -v '^ *+' conftest.er1
>conftest.err
14572 cat conftest.err
>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try
='test -s conftest.$ac_objext'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 bakefile_cv_cxx_compiler___HP_aCC
=yes
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.
$ac_ext >&5
14592 bakefile_cv_cxx_compiler___HP_aCC
=no
14595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14602 ac_cpp
='$CXXCPP $CPPFLAGS'
14603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14607 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14620 ac_cpp
='$CXXCPP $CPPFLAGS'
14621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14625 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14626 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14627 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 cat >conftest.
$ac_ext <<_ACEOF
14633 cat confdefs.h
>>conftest.
$ac_ext
14634 cat >>conftest.
$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14649 rm -f conftest.
$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14653 grep -v '^ *+' conftest.er1
>conftest.err
14655 cat conftest.err
>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try
='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_cv_cxx_compiler___DECCXX
=yes
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.
$ac_ext >&5
14675 bakefile_cv_cxx_compiler___DECCXX
=no
14678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14682 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14683 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14685 ac_cpp
='$CXXCPP $CPPFLAGS'
14686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14690 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14703 ac_cpp
='$CXXCPP $CPPFLAGS'
14704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14708 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14709 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14710 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 cat >conftest.
$ac_ext <<_ACEOF
14716 cat confdefs.h
>>conftest.
$ac_ext
14717 cat >>conftest.
$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14724 #ifndef __SUNPRO_CC
14732 rm -f conftest.
$ac_objext
14733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14734 (eval $ac_compile) 2>conftest.er1
14736 grep -v '^ *+' conftest.er1
>conftest.err
14738 cat conftest.err
>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); } &&
14741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; } &&
14747 { ac_try
='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.
$ac_ext >&5
14758 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14765 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14766 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14768 ac_cpp
='$CXXCPP $CPPFLAGS'
14769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14773 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14786 if test -n "$ac_tool_prefix"; then
14787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14788 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14789 echo "$as_me:$LINENO: checking for $ac_word" >&5
14790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14791 if test "${ac_cv_prog_RANLIB+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 if test -n "$RANLIB"; then
14795 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14798 for as_dir
in $PATH
14801 test -z "$as_dir" && as_dir
=.
14802 for ac_exec_ext
in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14813 RANLIB
=$ac_cv_prog_RANLIB
14814 if test -n "$RANLIB"; then
14815 echo "$as_me:$LINENO: result: $RANLIB" >&5
14816 echo "${ECHO_T}$RANLIB" >&6
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14823 if test -z "$ac_cv_prog_RANLIB"; then
14824 ac_ct_RANLIB
=$RANLIB
14825 # Extract the first word of "ranlib", so it can be a program name with args.
14826 set dummy ranlib
; ac_word
=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 if test -n "$ac_ct_RANLIB"; then
14833 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14836 for as_dir
in $PATH
14839 test -z "$as_dir" && as_dir
=.
14840 for ac_exec_ext
in '' $ac_executable_extensions; do
14841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14842 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14849 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14852 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14853 if test -n "$ac_ct_RANLIB"; then
14854 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14855 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14857 echo "$as_me:$LINENO: result: no" >&5
14858 echo "${ECHO_T}no" >&6
14861 RANLIB
=$ac_ct_RANLIB
14863 RANLIB
="$ac_cv_prog_RANLIB"
14867 if test -n "$ac_tool_prefix"; then
14868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14869 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14870 echo "$as_me:$LINENO: checking for $ac_word" >&5
14871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14872 if test "${ac_cv_prog_AR+set}" = set; then
14873 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 if test -n "$AR"; then
14876 ac_cv_prog_AR
="$AR" # Let the user override the test.
14878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14879 for as_dir
in $PATH
14882 test -z "$as_dir" && as_dir
=.
14883 for ac_exec_ext
in '' $ac_executable_extensions; do
14884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14885 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14895 if test -n "$AR"; then
14896 echo "$as_me:$LINENO: result: $AR" >&5
14897 echo "${ECHO_T}$AR" >&6
14899 echo "$as_me:$LINENO: result: no" >&5
14900 echo "${ECHO_T}no" >&6
14904 if test -z "$ac_cv_prog_AR"; then
14906 # Extract the first word of "ar", so it can be a program name with args.
14907 set dummy
ar; ac_word
=$2
14908 echo "$as_me:$LINENO: checking for $ac_word" >&5
14909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14910 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14911 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 if test -n "$ac_ct_AR"; then
14914 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14917 for as_dir
in $PATH
14920 test -z "$as_dir" && as_dir
=.
14921 for ac_exec_ext
in '' $ac_executable_extensions; do
14922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14923 ac_cv_prog_ac_ct_AR
="ar"
14924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14932 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14933 if test -n "$ac_ct_AR"; then
14934 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14935 echo "${ECHO_T}$ac_ct_AR" >&6
14937 echo "$as_me:$LINENO: result: no" >&5
14938 echo "${ECHO_T}no" >&6
14943 AR
="$ac_cv_prog_AR"
14946 if test "x$AR" = "x" ; then
14947 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14948 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14949 { (exit 1); exit 1; }; }
14952 # Find a good install program. We prefer a C program (faster),
14953 # so one script is as good as another. But avoid the broken or
14954 # incompatible versions:
14955 # SysV /etc/install, /usr/sbin/install
14956 # SunOS /usr/etc/install
14957 # IRIX /sbin/install
14959 # AmigaOS /C/install, which installs bootblocks on floppy discs
14960 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14961 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14962 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14963 # OS/2's system install, which has a completely different semantic
14964 # ./install, which can be erroneously created by make from ./install.sh.
14965 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14966 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14967 if test -z "$INSTALL"; then
14968 if test "${ac_cv_path_install+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14972 for as_dir
in $PATH
14975 test -z "$as_dir" && as_dir
=.
14976 # Account for people who put trailing slashes in PATH elements.
14978 .
/ | .
// | /cC
/* | \
14979 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14980 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14983 # OSF1 and SCO ODT 3.0 have their own names for install.
14984 # Don't use installbsd from OSF since it installs stuff as root
14986 for ac_prog
in ginstall scoinst
install; do
14987 for ac_exec_ext
in '' $ac_executable_extensions; do
14988 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14989 if test $ac_prog = install &&
14990 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14991 # AIX install. It has an incompatible calling convention.
14993 elif test $ac_prog = install &&
14994 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14995 # program-specific install script used by HP pwplus--don't use.
14998 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15010 if test "${ac_cv_path_install+set}" = set; then
15011 INSTALL
=$ac_cv_path_install
15013 # As a last resort, use the slow shell script. We don't cache a
15014 # path for INSTALL within a source directory, because that will
15015 # break other packages using the cache if that directory is
15016 # removed, or if the path is relative.
15017 INSTALL
=$ac_install_sh
15020 echo "$as_me:$LINENO: result: $INSTALL" >&5
15021 echo "${ECHO_T}$INSTALL" >&6
15023 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15024 # It thinks the first close brace ends the variable substitution.
15025 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15027 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15029 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15035 ?
:* ) # Drive letter, considered as absolute.
15038 INSTALL
=`pwd`/${INSTALL} ;;
15045 INSTALL_PROGRAM
="cp -fp"
15046 INSTALL_DATA
="cp -fp"
15052 if test -n "$ac_tool_prefix"; then
15053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15054 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15055 echo "$as_me:$LINENO: checking for $ac_word" >&5
15056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15057 if test "${ac_cv_prog_STRIP+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 if test -n "$STRIP"; then
15061 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15064 for as_dir
in $PATH
15067 test -z "$as_dir" && as_dir
=.
15068 for ac_exec_ext
in '' $ac_executable_extensions; do
15069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15070 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15079 STRIP
=$ac_cv_prog_STRIP
15080 if test -n "$STRIP"; then
15081 echo "$as_me:$LINENO: result: $STRIP" >&5
15082 echo "${ECHO_T}$STRIP" >&6
15084 echo "$as_me:$LINENO: result: no" >&5
15085 echo "${ECHO_T}no" >&6
15089 if test -z "$ac_cv_prog_STRIP"; then
15091 # Extract the first word of "strip", so it can be a program name with args.
15092 set dummy strip
; ac_word
=$2
15093 echo "$as_me:$LINENO: checking for $ac_word" >&5
15094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15096 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 if test -n "$ac_ct_STRIP"; then
15099 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15102 for as_dir
in $PATH
15105 test -z "$as_dir" && as_dir
=.
15106 for ac_exec_ext
in '' $ac_executable_extensions; do
15107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15108 ac_cv_prog_ac_ct_STRIP
="strip"
15109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15118 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15119 if test -n "$ac_ct_STRIP"; then
15120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15121 echo "${ECHO_T}$ac_ct_STRIP" >&6
15123 echo "$as_me:$LINENO: result: no" >&5
15124 echo "${ECHO_T}no" >&6
15129 STRIP
="$ac_cv_prog_STRIP"
15133 if test "$wxUSE_WINE" = "yes"; then
15134 if test -n "$ac_tool_prefix"; then
15135 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15136 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15137 echo "$as_me:$LINENO: checking for $ac_word" >&5
15138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15139 if test "${ac_cv_prog_WINDRES+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 if test -n "$WINDRES"; then
15143 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15146 for as_dir
in $PATH
15149 test -z "$as_dir" && as_dir
=.
15150 for ac_exec_ext
in '' $ac_executable_extensions; do
15151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15152 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 WINDRES
=$ac_cv_prog_WINDRES
15162 if test -n "$WINDRES"; then
15163 echo "$as_me:$LINENO: result: $WINDRES" >&5
15164 echo "${ECHO_T}$WINDRES" >&6
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15171 if test -z "$ac_cv_prog_WINDRES"; then
15172 ac_ct_WINDRES
=$WINDRES
15173 # Extract the first word of "wrc", so it can be a program name with args.
15174 set dummy wrc
; ac_word
=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 if test -n "$ac_ct_WINDRES"; then
15181 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15184 for as_dir
in $PATH
15187 test -z "$as_dir" && as_dir
=.
15188 for ac_exec_ext
in '' $ac_executable_extensions; do
15189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15190 ac_cv_prog_ac_ct_WINDRES
="wrc"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15199 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15200 if test -n "$ac_ct_WINDRES"; then
15201 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15202 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15204 echo "$as_me:$LINENO: result: no" >&5
15205 echo "${ECHO_T}no" >&6
15208 WINDRES
=$ac_ct_WINDRES
15210 WINDRES
="$ac_cv_prog_WINDRES"
15216 *-*-cygwin* | *-*-mingw32* )
15217 if test -n "$ac_tool_prefix"; then
15218 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15219 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15220 echo "$as_me:$LINENO: checking for $ac_word" >&5
15221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15222 if test "${ac_cv_prog_WINDRES+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 if test -n "$WINDRES"; then
15226 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15229 for as_dir
in $PATH
15232 test -z "$as_dir" && as_dir
=.
15233 for ac_exec_ext
in '' $ac_executable_extensions; do
15234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15235 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15244 WINDRES
=$ac_cv_prog_WINDRES
15245 if test -n "$WINDRES"; then
15246 echo "$as_me:$LINENO: result: $WINDRES" >&5
15247 echo "${ECHO_T}$WINDRES" >&6
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15254 if test -z "$ac_cv_prog_WINDRES"; then
15255 ac_ct_WINDRES
=$WINDRES
15256 # Extract the first word of "windres", so it can be a program name with args.
15257 set dummy windres
; ac_word
=$2
15258 echo "$as_me:$LINENO: checking for $ac_word" >&5
15259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15260 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 if test -n "$ac_ct_WINDRES"; then
15264 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15267 for as_dir
in $PATH
15270 test -z "$as_dir" && as_dir
=.
15271 for ac_exec_ext
in '' $ac_executable_extensions; do
15272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15273 ac_cv_prog_ac_ct_WINDRES
="windres"
15274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15282 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15283 if test -n "$ac_ct_WINDRES"; then
15284 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15285 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15287 echo "$as_me:$LINENO: result: no" >&5
15288 echo "${ECHO_T}no" >&6
15291 WINDRES
=$ac_ct_WINDRES
15293 WINDRES
="$ac_cv_prog_WINDRES"
15297 if test -n "$ac_tool_prefix"; then
15298 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15299 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15300 echo "$as_me:$LINENO: checking for $ac_word" >&5
15301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15302 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 if test -n "$DLLTOOL"; then
15306 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15309 for as_dir
in $PATH
15312 test -z "$as_dir" && as_dir
=.
15313 for ac_exec_ext
in '' $ac_executable_extensions; do
15314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15315 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15324 DLLTOOL
=$ac_cv_prog_DLLTOOL
15325 if test -n "$DLLTOOL"; then
15326 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15327 echo "${ECHO_T}$DLLTOOL" >&6
15329 echo "$as_me:$LINENO: result: no" >&5
15330 echo "${ECHO_T}no" >&6
15334 if test -z "$ac_cv_prog_DLLTOOL"; then
15335 ac_ct_DLLTOOL
=$DLLTOOL
15336 # Extract the first word of "dlltool", so it can be a program name with args.
15337 set dummy dlltool
; ac_word
=$2
15338 echo "$as_me:$LINENO: checking for $ac_word" >&5
15339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15340 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 if test -n "$ac_ct_DLLTOOL"; then
15344 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15347 for as_dir
in $PATH
15350 test -z "$as_dir" && as_dir
=.
15351 for ac_exec_ext
in '' $ac_executable_extensions; do
15352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15353 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15362 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15363 if test -n "$ac_ct_DLLTOOL"; then
15364 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15365 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15371 DLLTOOL
=$ac_ct_DLLTOOL
15373 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15380 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15381 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15382 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15387 egrep -s GNU
> /dev
/null
); then
15388 wx_cv_prog_makeisgnu
="yes"
15390 wx_cv_prog_makeisgnu
="no"
15394 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15395 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15397 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15405 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15406 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15407 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15408 if test "${wx_cv_prog_makevpath+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 cat - << EOF > confMake
15418 if test ! -d sub
; then
15421 echo dummy
> sub
/file
15422 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15424 rm -f sub
/file check final_file confMake
15426 if test "$RESULT" = 0; then
15427 wx_cv_prog_makevpath
="yes"
15429 wx_cv_prog_makevpath
="no"
15433 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15434 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15436 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15437 { { echo "$as_me:$LINENO: error:
15438 You need a make-utility that is able to use the variable
15440 If your version of make does not support VPATH correctly,
15441 please install GNU-make (possibly as gmake), and start
15442 configure with the following command:
15443 export MAKE=gmake; ./configure for sh-type shells
15444 setenv MAKE gmake; ./configure for csh-type shells
15445 Also please do remember to use gmake in this case every time
15446 you are trying to compile.
15448 echo "$as_me: error:
15449 You need a make-utility that is able to use the variable
15451 If your version of make does not support VPATH correctly,
15452 please install GNU-make (possibly as gmake), and start
15453 configure with the following command:
15454 export MAKE=gmake; ./configure for sh-type shells
15455 setenv MAKE gmake; ./configure for csh-type shells
15456 Also please do remember to use gmake in this case every time
15457 you are trying to compile.
15459 { (exit 1); exit 1; }; }
15461 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15462 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15464 if test "$LN_S" = "ln -s"; then
15465 echo "$as_me:$LINENO: result: yes" >&5
15466 echo "${ECHO_T}yes" >&6
15468 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15469 echo "${ECHO_T}no, using $LN_S" >&6
15475 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15476 CXXFLAGS
="-qunique $CXXFLAGS"
15480 powerpc
-*-darwin* )
15481 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15482 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15483 cat >conftest.
$ac_ext <<_ACEOF
15486 cat confdefs.h
>>conftest.
$ac_ext
15487 cat >>conftest.
$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15493 #ifndef __POWERPC__
15494 choke me for lack of PowerPC
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" || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try
='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 echo "$as_me:$LINENO: result: yes" >&5
15523 echo "${ECHO_T}yes" >&6
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15528 echo "$as_me:$LINENO: result: no" >&5
15529 echo "${ECHO_T}no" >&6
15530 cat >>confdefs.h
<<\_ACEOF
15531 #define __POWERPC__ 1
15536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15542 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15543 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15544 cat >conftest.
$ac_ext <<_ACEOF
15547 cat confdefs.h
>>conftest.
$ac_ext
15548 cat >>conftest.
$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 #include <CoreFoundation/CFBase.h>
15560 rm -f conftest.
$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562 (eval $ac_compile) 2>conftest.er1
15564 grep -v '^ *+' conftest.er1
>conftest.err
15566 cat conftest.err
>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15571 (eval $ac_try) 2>&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; } &&
15575 { ac_try
='test -s conftest.$ac_objext'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; }; then
15581 echo "$as_me:$LINENO: result: yes" >&5
15582 echo "${ECHO_T}yes" >&6
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.
$ac_ext >&5
15587 echo "$as_me:$LINENO: result: no" >&5
15588 echo "${ECHO_T}no" >&6
15589 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15590 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15591 cat >conftest.
$ac_ext <<_ACEOF
15594 cat confdefs.h
>>conftest.
$ac_ext
15595 cat >>conftest.
$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597 #define __CF_USE_FRAMEWORK_INCLUDES__
15598 #include <CoreFoundation/CFBase.h>
15608 rm -f conftest.
$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; } &&
15623 { ac_try
='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 echo "$as_me:$LINENO: result: yes" >&5
15630 echo "${ECHO_T}yes" >&6
15631 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.
$ac_ext >&5
15636 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15637 See \`config.log' for more details." >&5
15638 echo "$as_me: error: no. CoreFoundation not available.
15639 See \`config.log' for more details." >&2;}
15640 { (exit 1); exit 1; }; }
15643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15652 *-pc-os2_emx | *-pc-os2-emx )
15654 ac_cpp
='$CPP $CPPFLAGS'
15655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15659 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15660 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15661 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15662 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 ac_check_lib_save_LIBS
=$LIBS
15666 LIBS
="-lcExt $LIBS"
15667 cat >conftest.
$ac_ext <<_ACEOF
15670 cat confdefs.h
>>conftest.
$ac_ext
15671 cat >>conftest.
$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15674 /* Override any gcc2 internal prototype to avoid an error. */
15678 /* We use char because int might match the return type of a gcc2
15679 builtin and then its argument prototype would still apply. */
15689 rm -f conftest.
$ac_objext conftest
$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691 (eval $ac_link) 2>conftest.er1
15693 grep -v '^ *+' conftest.er1
>conftest.err
15695 cat conftest.err
>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try
='test -s conftest$ac_exeext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_cv_lib_cExt_drand48
=yes
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.
$ac_ext >&5
15715 ac_cv_lib_cExt_drand48
=no
15717 rm -f conftest.err conftest.
$ac_objext \
15718 conftest
$ac_exeext conftest.
$ac_ext
15719 LIBS
=$ac_check_lib_save_LIBS
15721 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15722 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15723 if test $ac_cv_lib_cExt_drand48 = yes; then
15724 LIBS
="$LIBS -lcExt"
15728 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15730 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15731 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15732 if test "${wx_cv_gccversion+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 if test "$cross_compiling" = yes; then
15737 wx_cv_gccversion
="EMX2"
15740 cat >conftest.
$ac_ext <<_ACEOF
15743 cat confdefs.h
>>conftest.
$ac_ext
15744 cat >>conftest.
$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15751 FILE *f=fopen("conftestval", "w");
15756 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15758 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15768 rm -f conftest
$ac_exeext
15769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15770 (eval $ac_link) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 wx_cv_gccversion
=`cat conftestval`
15781 echo "$as_me: program exited with status $ac_status" >&5
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.
$ac_ext >&5
15785 ( exit $ac_status )
15786 wx_cv_gccversion
="EMX2"
15788 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15792 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15793 echo "${ECHO_T}$wx_cv_gccversion" >&6
15795 ac_cpp
='$CXXCPP $CPPFLAGS'
15796 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15797 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15798 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15800 if test "$wx_cv_gccversion" = "EMX2"; then
15801 LIBS
="$LIBS -lstdcpp"
15802 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15804 if test "$wx_cv_gccversion" = "EMX3"; then
15805 LIBS
="$LIBS -lstdcxx -lgcc"
15806 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15808 LIBS
="$LIBS -lstdc++"
15811 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15812 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15813 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15820 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15821 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15822 if test "${ac_cv_string_strcasecmp+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15833 #include <string.h>
15839 strcasecmp("foo", "bar");
15845 rm -f conftest.
$ac_objext conftest
$ac_exeext
15846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15847 (eval $ac_link) 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } &&
15854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try
='test -s conftest$ac_exeext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_cv_string_strcasecmp
=yes
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.
$ac_ext >&5
15871 ac_cv_string_strcasecmp
=no
15874 rm -f conftest.err conftest.
$ac_objext \
15875 conftest
$ac_exeext conftest.
$ac_ext
15878 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15879 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15881 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15882 cat >>confdefs.h
<<\_ACEOF
15883 #define HAVE_STRCASECMP_IN_STRING_H 1
15887 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15888 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15889 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 cat >conftest.
$ac_ext <<_ACEOF
15896 cat confdefs.h
>>conftest.
$ac_ext
15897 cat >>conftest.
$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15900 #include <strings.h>
15906 strcasecmp("foo", "bar");
15912 rm -f conftest.
$ac_objext conftest
$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914 (eval $ac_link) 2>conftest.er1
15916 grep -v '^ *+' conftest.er1
>conftest.err
15918 cat conftest.err
>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } &&
15921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; } &&
15927 { ac_try
='test -s conftest$ac_exeext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_cv_strings_strcasecmp
=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15938 ac_cv_strings_strcasecmp
=no
15941 rm -f conftest.err conftest.
$ac_objext \
15942 conftest
$ac_exeext conftest.
$ac_ext
15945 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15948 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15949 cat >>confdefs.h
<<\_ACEOF
15950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15954 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15955 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15956 { (exit 1); exit 1; }; }
15965 ac_cpp
='$CXXCPP $CPPFLAGS'
15966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15969 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15970 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15971 if test -z "$CXXCPP"; then
15972 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 # Double quotes because CXXCPP needs to be expanded
15976 for CXXCPP
in "$CXX -E" "/lib/cpp"
15978 ac_preproc_ok
=false
15979 for ac_cxx_preproc_warn_flag
in '' yes
15981 # Use a header file that comes with gcc, so configuring glibc
15982 # with a fresh cross-compiler works.
15983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15984 # <limits.h> exists even on freestanding compilers.
15985 # On the NeXT, cc -E runs the code through the compiler's parser,
15986 # not just through cpp. "Syntax error" is here to catch this case.
15987 cat >conftest.
$ac_ext <<_ACEOF
15990 cat confdefs.h
>>conftest.
$ac_ext
15991 cat >>conftest.
$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15994 # include <limits.h>
15996 # include <assert.h>
16000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16003 grep -v '^ *+' conftest.er1
>conftest.err
16005 cat conftest.err
>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } >/dev
/null
; then
16008 if test -s conftest.err
; then
16009 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16010 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16017 if test -z "$ac_cpp_err"; then
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.
$ac_ext >&5
16023 # Broken: fails on valid input.
16026 rm -f conftest.err conftest.
$ac_ext
16028 # OK, works on sane cases. Now check whether non-existent headers
16029 # can be detected and how.
16030 cat >conftest.
$ac_ext <<_ACEOF
16033 cat confdefs.h
>>conftest.
$ac_ext
16034 cat >>conftest.
$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 #include <ac_nonexistent.h>
16038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16041 grep -v '^ *+' conftest.er1
>conftest.err
16043 cat conftest.err
>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } >/dev
/null
; then
16046 if test -s conftest.err
; then
16047 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16048 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16055 if test -z "$ac_cpp_err"; then
16056 # Broken: success on invalid input.
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.
$ac_ext >&5
16062 # Passes both tests.
16066 rm -f conftest.err conftest.
$ac_ext
16069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16070 rm -f conftest.err conftest.
$ac_ext
16071 if $ac_preproc_ok; then
16076 ac_cv_prog_CXXCPP
=$CXXCPP
16079 CXXCPP
=$ac_cv_prog_CXXCPP
16081 ac_cv_prog_CXXCPP
=$CXXCPP
16083 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16084 echo "${ECHO_T}$CXXCPP" >&6
16085 ac_preproc_ok
=false
16086 for ac_cxx_preproc_warn_flag
in '' yes
16088 # Use a header file that comes with gcc, so configuring glibc
16089 # with a fresh cross-compiler works.
16090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16091 # <limits.h> exists even on freestanding compilers.
16092 # On the NeXT, cc -E runs the code through the compiler's parser,
16093 # not just through cpp. "Syntax error" is here to catch this case.
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16101 # include <limits.h>
16103 # include <assert.h>
16107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16110 grep -v '^ *+' conftest.er1
>conftest.err
16112 cat conftest.err
>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } >/dev
/null
; then
16115 if test -s conftest.err
; then
16116 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16117 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16124 if test -z "$ac_cpp_err"; then
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16130 # Broken: fails on valid input.
16133 rm -f conftest.err conftest.
$ac_ext
16135 # OK, works on sane cases. Now check whether non-existent headers
16136 # can be detected and how.
16137 cat >conftest.
$ac_ext <<_ACEOF
16140 cat confdefs.h
>>conftest.
$ac_ext
16141 cat >>conftest.
$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 #include <ac_nonexistent.h>
16145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16148 grep -v '^ *+' conftest.er1
>conftest.err
16150 cat conftest.err
>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } >/dev
/null
; then
16153 if test -s conftest.err
; then
16154 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16155 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16162 if test -z "$ac_cpp_err"; then
16163 # Broken: success on invalid input.
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.
$ac_ext >&5
16169 # Passes both tests.
16173 rm -f conftest.err conftest.
$ac_ext
16176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16177 rm -f conftest.err conftest.
$ac_ext
16178 if $ac_preproc_ok; then
16181 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16184 See \`config.log' for more details." >&2;}
16185 { (exit 1); exit 1; }; }
16189 ac_cpp
='$CXXCPP $CPPFLAGS'
16190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16195 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16196 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16197 if test "${ac_cv_header_stdc+set}" = set; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 cat >conftest.
$ac_ext <<_ACEOF
16203 cat confdefs.h
>>conftest.
$ac_ext
16204 cat >>conftest.
$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 #include <stdlib.h>
16207 #include <stdarg.h>
16208 #include <string.h>
16219 rm -f conftest.
$ac_objext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>conftest.er1
16223 grep -v '^ *+' conftest.er1
>conftest.err
16225 cat conftest.err
>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; } &&
16234 { ac_try
='test -s conftest.$ac_objext'
16235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236 (eval $ac_try) 2>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; }; then
16240 ac_cv_header_stdc
=yes
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.
$ac_ext >&5
16245 ac_cv_header_stdc
=no
16247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16249 if test $ac_cv_header_stdc = yes; then
16250 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16251 cat >conftest.
$ac_ext <<_ACEOF
16254 cat confdefs.h
>>conftest.
$ac_ext
16255 cat >>conftest.
$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 #include <string.h>
16260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16261 $EGREP "memchr" >/dev
/null
2>&1; then
16264 ac_cv_header_stdc
=no
16270 if test $ac_cv_header_stdc = yes; then
16271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16272 cat >conftest.
$ac_ext <<_ACEOF
16275 cat confdefs.h
>>conftest.
$ac_ext
16276 cat >>conftest.
$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 #include <stdlib.h>
16281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16282 $EGREP "free" >/dev
/null
2>&1; then
16285 ac_cv_header_stdc
=no
16291 if test $ac_cv_header_stdc = yes; then
16292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16293 if test "$cross_compiling" = yes; then
16296 cat >conftest.
$ac_ext <<_ACEOF
16299 cat confdefs.h
>>conftest.
$ac_ext
16300 cat >>conftest.
$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16303 #if ((' ' & 0x0FF) == 0x020)
16304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16307 # define ISLOWER(c) \
16308 (('a' <= (c) && (c) <= 'i') \
16309 || ('j' <= (c) && (c) <= 'r') \
16310 || ('s' <= (c) && (c) <= 'z'))
16311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16319 for (i = 0; i < 256; i++)
16320 if (XOR (islower (i), ISLOWER (i))
16321 || toupper (i) != TOUPPER (i))
16326 rm -f conftest
$ac_exeext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16328 (eval $ac_link) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16339 echo "$as_me: program exited with status $ac_status" >&5
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.
$ac_ext >&5
16343 ( exit $ac_status )
16344 ac_cv_header_stdc
=no
16346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16350 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16351 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16352 if test $ac_cv_header_stdc = yes; then
16354 cat >>confdefs.h
<<\_ACEOF
16355 #define STDC_HEADERS 1
16360 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16370 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16371 inttypes.h stdint.h unistd.h
16373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16374 echo "$as_me:$LINENO: checking for $ac_header" >&5
16375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 cat >conftest.
$ac_ext <<_ACEOF
16382 cat confdefs.h
>>conftest.
$ac_ext
16383 cat >>conftest.
$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385 $ac_includes_default
16387 #include <$ac_header>
16389 rm -f conftest.
$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 eval "$as_ac_Header=yes"
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 eval "$as_ac_Header=no"
16417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16422 cat >>confdefs.h
<<_ACEOF
16423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16432 for ac_header
in stdlib.h
16434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16436 echo "$as_me:$LINENO: checking for $ac_header" >&5
16437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16444 # Is the header compilable?
16445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16447 cat >conftest.
$ac_ext <<_ACEOF
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16454 #include <$ac_header>
16456 rm -f conftest.
$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16460 grep -v '^ *+' conftest.er1
>conftest.err
16462 cat conftest.err
>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try
='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_header_compiler
=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.
$ac_ext >&5
16482 ac_header_compiler
=no
16484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16486 echo "${ECHO_T}$ac_header_compiler" >&6
16488 # Is the header present?
16489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16491 cat >conftest.
$ac_ext <<_ACEOF
16494 cat confdefs.h
>>conftest.
$ac_ext
16495 cat >>conftest.
$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #include <$ac_header>
16499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16502 grep -v '^ *+' conftest.er1
>conftest.err
16504 cat conftest.err
>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } >/dev
/null
; then
16507 if test -s conftest.err
; then
16508 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16509 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16516 if test -z "$ac_cpp_err"; then
16517 ac_header_preproc
=yes
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 ac_header_preproc
=no
16524 rm -f conftest.err conftest.
$ac_ext
16525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16526 echo "${ECHO_T}$ac_header_preproc" >&6
16528 # So? What about this header?
16529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16535 ac_header_preproc
=yes
16538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16552 ## ----------------------------------------- ##
16553 ## Report this to wx-dev@lists.wxwidgets.org ##
16554 ## ----------------------------------------- ##
16557 sed "s/^/$as_me: WARNING: /" >&2
16560 echo "$as_me:$LINENO: checking for $ac_header" >&5
16561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16563 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 eval "$as_ac_Header=\$ac_header_preproc"
16567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16572 cat >>confdefs.h
<<_ACEOF
16573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16581 for ac_header
in malloc.h
16583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16585 echo "$as_me:$LINENO: checking for $ac_header" >&5
16586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16593 # Is the header compilable?
16594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16603 #include <$ac_header>
16605 rm -f conftest.
$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16609 grep -v '^ *+' conftest.er1
>conftest.err
16611 cat conftest.err
>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try
='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 ac_header_compiler
=yes
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.
$ac_ext >&5
16631 ac_header_compiler
=no
16633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16635 echo "${ECHO_T}$ac_header_compiler" >&6
16637 # Is the header present?
16638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 #include <$ac_header>
16648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } >/dev
/null
; then
16656 if test -s conftest.err
; then
16657 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16658 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16665 if test -z "$ac_cpp_err"; then
16666 ac_header_preproc
=yes
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.
$ac_ext >&5
16671 ac_header_preproc
=no
16673 rm -f conftest.err conftest.
$ac_ext
16674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16675 echo "${ECHO_T}$ac_header_preproc" >&6
16677 # So? What about this header?
16678 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16684 ac_header_preproc
=yes
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16701 ## ----------------------------------------- ##
16702 ## Report this to wx-dev@lists.wxwidgets.org ##
16703 ## ----------------------------------------- ##
16706 sed "s/^/$as_me: WARNING: /" >&2
16709 echo "$as_me:$LINENO: checking for $ac_header" >&5
16710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 eval "$as_ac_Header=\$ac_header_preproc"
16716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16721 cat >>confdefs.h
<<_ACEOF
16722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16730 for ac_header
in unistd.h
16732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16734 echo "$as_me:$LINENO: checking for $ac_header" >&5
16735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16742 # Is the header compilable?
16743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16745 cat >conftest.
$ac_ext <<_ACEOF
16748 cat confdefs.h
>>conftest.
$ac_ext
16749 cat >>conftest.
$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 $ac_includes_default
16752 #include <$ac_header>
16754 rm -f conftest.
$ac_objext
16755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16756 (eval $ac_compile) 2>conftest.er1
16758 grep -v '^ *+' conftest.er1
>conftest.err
16760 cat conftest.err
>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } &&
16763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; } &&
16769 { ac_try
='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_header_compiler
=yes
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 ac_header_compiler
=no
16782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16784 echo "${ECHO_T}$ac_header_compiler" >&6
16786 # Is the header present?
16787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16789 cat >conftest.
$ac_ext <<_ACEOF
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 #include <$ac_header>
16797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16800 grep -v '^ *+' conftest.er1
>conftest.err
16802 cat conftest.err
>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } >/dev
/null
; then
16805 if test -s conftest.err
; then
16806 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16807 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16814 if test -z "$ac_cpp_err"; then
16815 ac_header_preproc
=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 ac_header_preproc
=no
16822 rm -f conftest.err conftest.
$ac_ext
16823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16824 echo "${ECHO_T}$ac_header_preproc" >&6
16826 # So? What about this header?
16827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16833 ac_header_preproc
=yes
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16850 ## ----------------------------------------- ##
16851 ## Report this to wx-dev@lists.wxwidgets.org ##
16852 ## ----------------------------------------- ##
16855 sed "s/^/$as_me: WARNING: /" >&2
16858 echo "$as_me:$LINENO: checking for $ac_header" >&5
16859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 eval "$as_ac_Header=\$ac_header_preproc"
16865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16870 cat >>confdefs.h
<<_ACEOF
16871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16879 for ac_header
in wchar.h
16881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16883 echo "$as_me:$LINENO: checking for $ac_header" >&5
16884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16891 # Is the header compilable?
16892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16894 cat >conftest.
$ac_ext <<_ACEOF
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16901 #include <$ac_header>
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try
='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_header_compiler
=yes
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.
$ac_ext >&5
16929 ac_header_compiler
=no
16931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16933 echo "${ECHO_T}$ac_header_compiler" >&6
16935 # Is the header present?
16936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <$ac_header>
16946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } >/dev
/null
; then
16954 if test -s conftest.err
; then
16955 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16956 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16963 if test -z "$ac_cpp_err"; then
16964 ac_header_preproc
=yes
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.
$ac_ext >&5
16969 ac_header_preproc
=no
16971 rm -f conftest.err conftest.
$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16973 echo "${ECHO_T}$ac_header_preproc" >&6
16975 # So? What about this header?
16976 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16982 ac_header_preproc
=yes
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16999 ## ----------------------------------------- ##
17000 ## Report this to wx-dev@lists.wxwidgets.org ##
17001 ## ----------------------------------------- ##
17004 sed "s/^/$as_me: WARNING: /" >&2
17007 echo "$as_me:$LINENO: checking for $ac_header" >&5
17008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 eval "$as_ac_Header=\$ac_header_preproc"
17014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17019 cat >>confdefs.h
<<_ACEOF
17020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17028 if test "$ac_cv_header_wchar_h" != "yes"; then
17030 for ac_header
in wcstr.h
17032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17034 echo "$as_me:$LINENO: checking for $ac_header" >&5
17035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17042 # Is the header compilable?
17043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17045 cat >conftest.
$ac_ext <<_ACEOF
17048 cat confdefs.h
>>conftest.
$ac_ext
17049 cat >>conftest.
$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 $ac_includes_default
17052 #include <$ac_header>
17054 rm -f conftest.
$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try
='test -s conftest.$ac_objext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_header_compiler
=yes
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 ac_header_compiler
=no
17082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17084 echo "${ECHO_T}$ac_header_compiler" >&6
17086 # Is the header present?
17087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17089 cat >conftest.
$ac_ext <<_ACEOF
17092 cat confdefs.h
>>conftest.
$ac_ext
17093 cat >>conftest.
$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <$ac_header>
17097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17100 grep -v '^ *+' conftest.er1
>conftest.err
17102 cat conftest.err
>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } >/dev
/null
; then
17105 if test -s conftest.err
; then
17106 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17107 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17114 if test -z "$ac_cpp_err"; then
17115 ac_header_preproc
=yes
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.
$ac_ext >&5
17120 ac_header_preproc
=no
17122 rm -f conftest.err conftest.
$ac_ext
17123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17124 echo "${ECHO_T}$ac_header_preproc" >&6
17126 # So? What about this header?
17127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17133 ac_header_preproc
=yes
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17150 ## ----------------------------------------- ##
17151 ## Report this to wx-dev@lists.wxwidgets.org ##
17152 ## ----------------------------------------- ##
17155 sed "s/^/$as_me: WARNING: /" >&2
17158 echo "$as_me:$LINENO: checking for $ac_header" >&5
17159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 eval "$as_ac_Header=\$ac_header_preproc"
17165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17170 cat >>confdefs.h
<<_ACEOF
17171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17181 for ac_header
in fnmatch.h
17183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17185 echo "$as_me:$LINENO: checking for $ac_header" >&5
17186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17193 # Is the header compilable?
17194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17196 cat >conftest.
$ac_ext <<_ACEOF
17199 cat confdefs.h
>>conftest.
$ac_ext
17200 cat >>conftest.
$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 $ac_includes_default
17203 #include <$ac_header>
17205 rm -f conftest.
$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try
='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17226 ac_header_compiler
=yes
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17231 ac_header_compiler
=no
17233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17235 echo "${ECHO_T}$ac_header_compiler" >&6
17237 # Is the header present?
17238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <$ac_header>
17248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17251 grep -v '^ *+' conftest.er1
>conftest.err
17253 cat conftest.err
>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } >/dev
/null
; then
17256 if test -s conftest.err
; then
17257 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17258 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17265 if test -z "$ac_cpp_err"; then
17266 ac_header_preproc
=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 ac_header_preproc
=no
17273 rm -f conftest.err conftest.
$ac_ext
17274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17275 echo "${ECHO_T}$ac_header_preproc" >&6
17277 # So? What about this header?
17278 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17284 ac_header_preproc
=yes
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17301 ## ----------------------------------------- ##
17302 ## Report this to wx-dev@lists.wxwidgets.org ##
17303 ## ----------------------------------------- ##
17306 sed "s/^/$as_me: WARNING: /" >&2
17309 echo "$as_me:$LINENO: checking for $ac_header" >&5
17310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 eval "$as_ac_Header=\$ac_header_preproc"
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17321 cat >>confdefs.h
<<_ACEOF
17322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17331 for ac_header
in langinfo.h
17333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17335 echo "$as_me:$LINENO: checking for $ac_header" >&5
17336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17343 # Is the header compilable?
17344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17346 cat >conftest.
$ac_ext <<_ACEOF
17349 cat confdefs.h
>>conftest.
$ac_ext
17350 cat >>conftest.
$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17353 #include <$ac_header>
17355 rm -f conftest.
$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17359 grep -v '^ *+' conftest.er1
>conftest.err
17361 cat conftest.err
>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try
='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17376 ac_header_compiler
=yes
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17381 ac_header_compiler
=no
17383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17385 echo "${ECHO_T}$ac_header_compiler" >&6
17387 # Is the header present?
17388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17390 cat >conftest.
$ac_ext <<_ACEOF
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 #include <$ac_header>
17398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } >/dev
/null
; then
17406 if test -s conftest.err
; then
17407 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17408 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17415 if test -z "$ac_cpp_err"; then
17416 ac_header_preproc
=yes
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.
$ac_ext >&5
17421 ac_header_preproc
=no
17423 rm -f conftest.err conftest.
$ac_ext
17424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17425 echo "${ECHO_T}$ac_header_preproc" >&6
17427 # So? What about this header?
17428 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17434 ac_header_preproc
=yes
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17451 ## ----------------------------------------- ##
17452 ## Report this to wx-dev@lists.wxwidgets.org ##
17453 ## ----------------------------------------- ##
17456 sed "s/^/$as_me: WARNING: /" >&2
17459 echo "$as_me:$LINENO: checking for $ac_header" >&5
17460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17462 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 eval "$as_ac_Header=\$ac_header_preproc"
17466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17471 cat >>confdefs.h
<<_ACEOF
17472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17481 *-pc-os2_emx | *-pc-os2-emx )
17482 if test $ac_cv_header_langinfo_h = "yes" \
17483 -a \
( "$wx_cv_gccversion" = "EMX2" \
17484 -o "$wx_cv_gccversion" = "EMX3" \
17485 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17486 LIBS
="$LIBS -lintl"
17491 if test "$USE_UNIX" = 1 ; then
17493 for ac_header
in sys
/select.h
17495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17497 echo "$as_me:$LINENO: checking for $ac_header" >&5
17498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17505 # Is the header compilable?
17506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17507 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17515 #include <$ac_header>
17517 rm -f conftest.
$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_header_compiler
=yes
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 ac_header_compiler
=no
17545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17547 echo "${ECHO_T}$ac_header_compiler" >&6
17549 # Is the header present?
17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17552 cat >conftest.
$ac_ext <<_ACEOF
17555 cat confdefs.h
>>conftest.
$ac_ext
17556 cat >>conftest.
$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 #include <$ac_header>
17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } >/dev
/null
; then
17568 if test -s conftest.err
; then
17569 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17570 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17577 if test -z "$ac_cpp_err"; then
17578 ac_header_preproc
=yes
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 ac_header_preproc
=no
17585 rm -f conftest.err conftest.
$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17587 echo "${ECHO_T}$ac_header_preproc" >&6
17589 # So? What about this header?
17590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17596 ac_header_preproc
=yes
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17613 ## ----------------------------------------- ##
17614 ## Report this to wx-dev@lists.wxwidgets.org ##
17615 ## ----------------------------------------- ##
17618 sed "s/^/$as_me: WARNING: /" >&2
17621 echo "$as_me:$LINENO: checking for $ac_header" >&5
17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 eval "$as_ac_Header=\$ac_header_preproc"
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17633 cat >>confdefs.h
<<_ACEOF
17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17644 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17645 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17646 if test "${ac_cv_c_const+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17659 /* FIXME: Include the comments suggested by Paul. */
17660 #ifndef __cplusplus
17661 /* Ultrix mips cc rejects this. */
17662 typedef int charset[2];
17664 /* SunOS 4.1.1 cc rejects this. */
17665 char const *const *ccp;
17667 /* NEC SVR4.0.2 mips cc rejects this. */
17668 struct point {int x, y;};
17669 static struct point const zero = {0,0};
17670 /* AIX XL C 1.02.0.0 rejects this.
17671 It does not let you subtract one const X* pointer from another in
17672 an arm of an if-expression whose if-part is not a constant
17674 const char *g = "string";
17675 ccp = &g + (g ? g-g : 0);
17676 /* HPUX 7.0 cc rejects these. */
17679 ccp = (char const *const *) p;
17680 { /* SCO 3.2v4 cc rejects this. */
17682 char const *s = 0 ? (char *) 0 : (char const *) 0;
17686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17687 int x[] = {25, 17};
17688 const int *foo = &x[0];
17691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17692 typedef const int *iptr;
17696 { /* AIX XL C 1.02.0.0 rejects this saying
17697 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17698 struct s { int j; const int *ap[3]; };
17699 struct s *b; b->j = 5;
17701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17702 const int foo = 10;
17710 rm -f conftest.
$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17714 grep -v '^ *+' conftest.er1
>conftest.err
17716 cat conftest.err
>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try
='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.
$ac_ext >&5
17738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17740 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17741 echo "${ECHO_T}$ac_cv_c_const" >&6
17742 if test $ac_cv_c_const = no
; then
17744 cat >>confdefs.h
<<\_ACEOF
17750 echo "$as_me:$LINENO: checking for inline" >&5
17751 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17752 if test "${ac_cv_c_inline+set}" = set; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 for ac_kw
in inline __inline__ __inline
; do
17757 cat >conftest.
$ac_ext <<_ACEOF
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 #ifndef __cplusplus
17765 static $ac_kw foo_t static_foo () {return 0; }
17766 $ac_kw foo_t foo () {return 0; }
17770 rm -f conftest.
$ac_objext
17771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17772 (eval $ac_compile) 2>conftest.er1
17774 grep -v '^ *+' conftest.er1
>conftest.err
17776 cat conftest.err
>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } &&
17779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try
='test -s conftest.$ac_objext'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 ac_cv_c_inline
=$ac_kw; break
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.
$ac_ext >&5
17797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17801 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17802 echo "${ECHO_T}$ac_cv_c_inline" >&6
17805 case $ac_cv_c_inline in
17808 case $ac_cv_c_inline in
17810 *) ac_val
=$ac_cv_c_inline;;
17812 cat >>confdefs.h
<<_ACEOF
17813 #ifndef __cplusplus
17814 #define inline $ac_val
17821 echo "$as_me:$LINENO: checking for char" >&5
17822 echo $ECHO_N "checking for char... $ECHO_C" >&6
17823 if test "${ac_cv_type_char+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 cat >conftest.
$ac_ext <<_ACEOF
17829 cat confdefs.h
>>conftest.
$ac_ext
17830 cat >>conftest.
$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17844 rm -f conftest.
$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17848 grep -v '^ *+' conftest.er1
>conftest.err
17850 cat conftest.err
>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try
='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_cv_type_char
=yes
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.
$ac_ext >&5
17872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17874 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17875 echo "${ECHO_T}$ac_cv_type_char" >&6
17877 echo "$as_me:$LINENO: checking size of char" >&5
17878 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17879 if test "${ac_cv_sizeof_char+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 if test "$ac_cv_type_char" = yes; then
17883 # The cast to unsigned long works around a bug in the HP C Compiler
17884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17886 # This bug is HP SR number 8606223364.
17887 if test "$cross_compiling" = yes; then
17888 # Depending upon the size, compute the lo and hi bounds.
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))) >= 0)];
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" || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17929 cat >conftest.
$ac_ext <<_ACEOF
17932 cat confdefs.h
>>conftest.
$ac_ext
17933 cat >>conftest.
$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17939 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17946 rm -f conftest.
$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17950 grep -v '^ *+' conftest.er1
>conftest.err
17952 cat conftest.err
>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try
='test -s conftest.$ac_objext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17967 ac_hi
=$ac_mid; break
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.
$ac_ext >&5
17972 ac_lo
=`expr $ac_mid + 1`
17973 if test $ac_lo -le $ac_mid; then
17977 ac_mid
=`expr 2 '*' $ac_mid + 1`
17979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.
$ac_ext >&5
17985 cat >conftest.
$ac_ext <<_ACEOF
17988 cat confdefs.h
>>conftest.
$ac_ext
17989 cat >>conftest.
$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991 $ac_includes_default
17995 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18002 rm -f conftest.
$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; } &&
18017 { ac_try
='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18025 cat >conftest.
$ac_ext <<_ACEOF
18028 cat confdefs.h
>>conftest.
$ac_ext
18029 cat >>conftest.
$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18035 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18042 rm -f conftest.
$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try
='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 ac_lo
=$ac_mid; break
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.
$ac_ext >&5
18068 ac_hi
=`expr '(' $ac_mid ')' - 1`
18069 if test $ac_mid -le $ac_hi; then
18073 ac_mid
=`expr 2 '*' $ac_mid`
18075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.
$ac_ext >&5
18083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18086 # Binary search between lo and hi bounds.
18087 while test "x$ac_lo" != "x$ac_hi"; do
18088 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18099 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18106 rm -f conftest.
$ac_objext
18107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18108 (eval $ac_compile) 2>conftest.er1
18110 grep -v '^ *+' conftest.er1
>conftest.err
18112 cat conftest.err
>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; } &&
18121 { ac_try
='test -s conftest.$ac_objext'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; }; then
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.
$ac_ext >&5
18132 ac_lo
=`expr '(' $ac_mid ')' + 1`
18134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18137 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18138 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18139 See \`config.log' for more details." >&5
18140 echo "$as_me: error: cannot compute sizeof (char), 77
18141 See \`config.log' for more details." >&2;}
18142 { (exit 1); exit 1; }; } ;;
18145 if test "$cross_compiling" = yes; then
18146 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18147 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18148 { (exit 1); exit 1; }; }
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18157 long longval () { return (long) (sizeof (char)); }
18158 unsigned long ulongval () { return (long) (sizeof (char)); }
18160 #include <stdlib.h>
18165 FILE *f = fopen ("conftest.val", "w");
18168 if (((long) (sizeof (char))) < 0)
18170 long i = longval ();
18171 if (i != ((long) (sizeof (char))))
18173 fprintf (f, "%ld\n", i);
18177 unsigned long i = ulongval ();
18178 if (i != ((long) (sizeof (char))))
18180 fprintf (f, "%lu\n", i);
18182 exit (ferror (f) || fclose (f) != 0);
18188 rm -f conftest
$ac_exeext
18189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18190 (eval $ac_link) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; }; then
18199 ac_cv_sizeof_char
=`cat conftest.val`
18201 echo "$as_me: program exited with status $ac_status" >&5
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.
$ac_ext >&5
18205 ( exit $ac_status )
18206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18207 See \`config.log' for more details." >&5
18208 echo "$as_me: error: cannot compute sizeof (char), 77
18209 See \`config.log' for more details." >&2;}
18210 { (exit 1); exit 1; }; }
18212 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18217 ac_cv_sizeof_char
=0
18220 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18221 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18222 cat >>confdefs.h
<<_ACEOF
18223 #define SIZEOF_CHAR $ac_cv_sizeof_char
18227 echo "$as_me:$LINENO: checking for short" >&5
18228 echo $ECHO_N "checking for short... $ECHO_C" >&6
18229 if test "${ac_cv_type_short+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 cat >conftest.
$ac_ext <<_ACEOF
18235 cat confdefs.h
>>conftest.
$ac_ext
18236 cat >>conftest.
$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18244 if (sizeof (short))
18250 rm -f conftest.
$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18254 grep -v '^ *+' conftest.er1
>conftest.err
18256 cat conftest.err
>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; } &&
18265 { ac_try
='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_type_short
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_cv_type_short
=no
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18281 echo "${ECHO_T}$ac_cv_type_short" >&6
18283 echo "$as_me:$LINENO: checking size of short" >&5
18284 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18285 if test "${ac_cv_sizeof_short+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 if test "$ac_cv_type_short" = yes; then
18289 # The cast to unsigned long works around a bug in the HP C Compiler
18290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18292 # This bug is HP SR number 8606223364.
18293 if test "$cross_compiling" = yes; then
18294 # Depending upon the size, compute the lo and hi bounds.
18295 cat >conftest.
$ac_ext <<_ACEOF
18298 cat confdefs.h
>>conftest.
$ac_ext
18299 cat >>conftest.
$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18312 rm -f conftest.
$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try
='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18335 cat >conftest.
$ac_ext <<_ACEOF
18338 cat confdefs.h
>>conftest.
$ac_ext
18339 cat >>conftest.
$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18341 $ac_includes_default
18345 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18352 rm -f conftest.
$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1
>conftest.err
18358 cat conftest.err
>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try
='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_hi
=$ac_mid; break
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18378 ac_lo
=`expr $ac_mid + 1`
18379 if test $ac_lo -le $ac_mid; then
18383 ac_mid
=`expr 2 '*' $ac_mid + 1`
18385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18391 cat >conftest.
$ac_ext <<_ACEOF
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 $ac_includes_default
18401 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18408 rm -f conftest.
$ac_objext
18409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18410 (eval $ac_compile) 2>conftest.er1
18412 grep -v '^ *+' conftest.er1
>conftest.err
18414 cat conftest.err
>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } &&
18423 { ac_try
='test -s conftest.$ac_objext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18431 cat >conftest.
$ac_ext <<_ACEOF
18434 cat confdefs.h
>>conftest.
$ac_ext
18435 cat >>conftest.
$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 $ac_includes_default
18441 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18448 rm -f conftest.
$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18452 grep -v '^ *+' conftest.er1
>conftest.err
18454 cat conftest.err
>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try
='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_lo
=$ac_mid; break
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 ac_hi
=`expr '(' $ac_mid ')' - 1`
18475 if test $ac_mid -le $ac_hi; then
18479 ac_mid
=`expr 2 '*' $ac_mid`
18481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.
$ac_ext >&5
18489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18492 # Binary search between lo and hi bounds.
18493 while test "x$ac_lo" != "x$ac_hi"; do
18494 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18495 cat >conftest.
$ac_ext <<_ACEOF
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18505 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 ac_lo
=`expr '(' $ac_mid ')' + 1`
18540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18543 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18544 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18545 See \`config.log' for more details." >&5
18546 echo "$as_me: error: cannot compute sizeof (short), 77
18547 See \`config.log' for more details." >&2;}
18548 { (exit 1); exit 1; }; } ;;
18551 if test "$cross_compiling" = yes; then
18552 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18553 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18554 { (exit 1); exit 1; }; }
18556 cat >conftest.
$ac_ext <<_ACEOF
18559 cat confdefs.h
>>conftest.
$ac_ext
18560 cat >>conftest.
$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 long longval () { return (long) (sizeof (short)); }
18564 unsigned long ulongval () { return (long) (sizeof (short)); }
18566 #include <stdlib.h>
18571 FILE *f = fopen ("conftest.val", "w");
18574 if (((long) (sizeof (short))) < 0)
18576 long i = longval ();
18577 if (i != ((long) (sizeof (short))))
18579 fprintf (f, "%ld\n", i);
18583 unsigned long i = ulongval ();
18584 if (i != ((long) (sizeof (short))))
18586 fprintf (f, "%lu\n", i);
18588 exit (ferror (f) || fclose (f) != 0);
18594 rm -f conftest
$ac_exeext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18596 (eval $ac_link) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_sizeof_short
=`cat conftest.val`
18607 echo "$as_me: program exited with status $ac_status" >&5
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 ( exit $ac_status )
18612 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18613 See \`config.log' for more details." >&5
18614 echo "$as_me: error: cannot compute sizeof (short), 77
18615 See \`config.log' for more details." >&2;}
18616 { (exit 1); exit 1; }; }
18618 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18623 ac_cv_sizeof_short
=0
18626 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18627 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18628 cat >>confdefs.h
<<_ACEOF
18629 #define SIZEOF_SHORT $ac_cv_sizeof_short
18633 echo "$as_me:$LINENO: checking for void *" >&5
18634 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18635 if test "${ac_cv_type_void_p+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18638 cat >conftest.
$ac_ext <<_ACEOF
18641 cat confdefs.h
>>conftest.
$ac_ext
18642 cat >>conftest.
$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18650 if (sizeof (void *))
18656 rm -f conftest.
$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658 (eval $ac_compile) 2>conftest.er1
18660 grep -v '^ *+' conftest.er1
>conftest.err
18662 cat conftest.err
>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try
='test -s conftest.$ac_objext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 ac_cv_type_void_p
=yes
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.
$ac_ext >&5
18682 ac_cv_type_void_p
=no
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18686 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18687 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18689 echo "$as_me:$LINENO: checking size of void *" >&5
18690 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18691 if test "${ac_cv_sizeof_void_p+set}" = set; then
18692 echo $ECHO_N "(cached) $ECHO_C" >&6
18694 if test "$ac_cv_type_void_p" = yes; then
18695 # The cast to unsigned long works around a bug in the HP C Compiler
18696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18698 # This bug is HP SR number 8606223364.
18699 if test "$cross_compiling" = yes; then
18700 # Depending upon the size, compute the lo and hi bounds.
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 $ac_includes_default
18711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18718 rm -f conftest.
$ac_objext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720 (eval $ac_compile) 2>conftest.er1
18722 grep -v '^ *+' conftest.er1
>conftest.err
18724 cat conftest.err
>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try
='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18758 rm -f conftest.
$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try
='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_hi
=$ac_mid; break
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18784 ac_lo
=`expr $ac_mid + 1`
18785 if test $ac_lo -le $ac_mid; then
18789 ac_mid
=`expr 2 '*' $ac_mid + 1`
18791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.
$ac_ext >&5
18797 cat >conftest.
$ac_ext <<_ACEOF
18800 cat confdefs.h
>>conftest.
$ac_ext
18801 cat >>conftest.
$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18803 $ac_includes_default
18807 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18814 rm -f conftest.
$ac_objext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18816 (eval $ac_compile) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1
>conftest.err
18820 cat conftest.err
>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; } &&
18829 { ac_try
='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 $ac_includes_default
18847 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18854 rm -f conftest.
$ac_objext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18856 (eval $ac_compile) 2>conftest.er1
18858 grep -v '^ *+' conftest.er1
>conftest.err
18860 cat conftest.err
>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } &&
18863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try
='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 ac_lo
=$ac_mid; break
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.
$ac_ext >&5
18880 ac_hi
=`expr '(' $ac_mid ')' - 1`
18881 if test $ac_mid -le $ac_hi; then
18885 ac_mid
=`expr 2 '*' $ac_mid`
18887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.
$ac_ext >&5
18895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18898 # Binary search between lo and hi bounds.
18899 while test "x$ac_lo" != "x$ac_hi"; do
18900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18901 cat >conftest.
$ac_ext <<_ACEOF
18904 cat confdefs.h
>>conftest.
$ac_ext
18905 cat >>conftest.
$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18911 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18918 rm -f conftest.
$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18922 grep -v '^ *+' conftest.er1
>conftest.err
18924 cat conftest.err
>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; } &&
18933 { ac_try
='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.
$ac_ext >&5
18944 ac_lo
=`expr '(' $ac_mid ')' + 1`
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18949 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18951 See \`config.log' for more details." >&5
18952 echo "$as_me: error: cannot compute sizeof (void *), 77
18953 See \`config.log' for more details." >&2;}
18954 { (exit 1); exit 1; }; } ;;
18957 if test "$cross_compiling" = yes; then
18958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18960 { (exit 1); exit 1; }; }
18962 cat >conftest.
$ac_ext <<_ACEOF
18965 cat confdefs.h
>>conftest.
$ac_ext
18966 cat >>conftest.
$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 $ac_includes_default
18969 long longval () { return (long) (sizeof (void *)); }
18970 unsigned long ulongval () { return (long) (sizeof (void *)); }
18972 #include <stdlib.h>
18977 FILE *f = fopen ("conftest.val", "w");
18980 if (((long) (sizeof (void *))) < 0)
18982 long i = longval ();
18983 if (i != ((long) (sizeof (void *))))
18985 fprintf (f, "%ld\n", i);
18989 unsigned long i = ulongval ();
18990 if (i != ((long) (sizeof (void *))))
18992 fprintf (f, "%lu\n", i);
18994 exit (ferror (f) || fclose (f) != 0);
19000 rm -f conftest
$ac_exeext
19001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19002 (eval $ac_link) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_cv_sizeof_void_p
=`cat conftest.val`
19013 echo "$as_me: program exited with status $ac_status" >&5
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.
$ac_ext >&5
19017 ( exit $ac_status )
19018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19019 See \`config.log' for more details." >&5
19020 echo "$as_me: error: cannot compute sizeof (void *), 77
19021 See \`config.log' for more details." >&2;}
19022 { (exit 1); exit 1; }; }
19024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19029 ac_cv_sizeof_void_p
=0
19032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19033 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19034 cat >>confdefs.h
<<_ACEOF
19035 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19039 echo "$as_me:$LINENO: checking for int" >&5
19040 echo $ECHO_N "checking for int... $ECHO_C" >&6
19041 if test "${ac_cv_type_int+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 cat >conftest.
$ac_ext <<_ACEOF
19047 cat confdefs.h
>>conftest.
$ac_ext
19048 cat >>conftest.
$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19050 $ac_includes_default
19062 rm -f conftest.
$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19066 grep -v '^ *+' conftest.er1
>conftest.err
19068 cat conftest.err
>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try
='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19092 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19093 echo "${ECHO_T}$ac_cv_type_int" >&6
19095 echo "$as_me:$LINENO: checking size of int" >&5
19096 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19097 if test "${ac_cv_sizeof_int+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19100 if test "$ac_cv_type_int" = yes; then
19101 # The cast to unsigned long works around a bug in the HP C Compiler
19102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19104 # This bug is HP SR number 8606223364.
19105 if test "$cross_compiling" = yes; then
19106 # Depending upon the size, compute the lo and hi bounds.
19107 cat >conftest.
$ac_ext <<_ACEOF
19110 cat confdefs.h
>>conftest.
$ac_ext
19111 cat >>conftest.
$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 $ac_includes_default
19117 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19124 rm -f conftest.
$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try
='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19157 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19164 rm -f conftest.
$ac_objext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19166 (eval $ac_compile) 2>conftest.er1
19168 grep -v '^ *+' conftest.er1
>conftest.err
19170 cat conftest.err
>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try
='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 ac_hi
=$ac_mid; break
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.
$ac_ext >&5
19190 ac_lo
=`expr $ac_mid + 1`
19191 if test $ac_lo -le $ac_mid; then
19195 ac_mid
=`expr 2 '*' $ac_mid + 1`
19197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 cat >conftest.
$ac_ext <<_ACEOF
19206 cat confdefs.h
>>conftest.
$ac_ext
19207 cat >>conftest.
$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 $ac_includes_default
19213 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19220 rm -f conftest.
$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19224 grep -v '^ *+' conftest.er1
>conftest.err
19226 cat conftest.err
>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; } &&
19235 { ac_try
='test -s conftest.$ac_objext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19243 cat >conftest.
$ac_ext <<_ACEOF
19246 cat confdefs.h
>>conftest.
$ac_ext
19247 cat >>conftest.
$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 $ac_includes_default
19253 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19260 rm -f conftest.
$ac_objext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19262 (eval $ac_compile) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try
='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 ac_lo
=$ac_mid; break
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19286 ac_hi
=`expr '(' $ac_mid ')' - 1`
19287 if test $ac_mid -le $ac_hi; then
19291 ac_mid
=`expr 2 '*' $ac_mid`
19293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.
$ac_ext >&5
19301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19304 # Binary search between lo and hi bounds.
19305 while test "x$ac_lo" != "x$ac_hi"; do
19306 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19317 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try
='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ac_lo
=`expr '(' $ac_mid ')' + 1`
19352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19356 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19357 See \`config.log' for more details." >&5
19358 echo "$as_me: error: cannot compute sizeof (int), 77
19359 See \`config.log' for more details." >&2;}
19360 { (exit 1); exit 1; }; } ;;
19363 if test "$cross_compiling" = yes; then
19364 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19365 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19366 { (exit 1); exit 1; }; }
19368 cat >conftest.
$ac_ext <<_ACEOF
19371 cat confdefs.h
>>conftest.
$ac_ext
19372 cat >>conftest.
$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 $ac_includes_default
19375 long longval () { return (long) (sizeof (int)); }
19376 unsigned long ulongval () { return (long) (sizeof (int)); }
19378 #include <stdlib.h>
19383 FILE *f = fopen ("conftest.val", "w");
19386 if (((long) (sizeof (int))) < 0)
19388 long i = longval ();
19389 if (i != ((long) (sizeof (int))))
19391 fprintf (f, "%ld\n", i);
19395 unsigned long i = ulongval ();
19396 if (i != ((long) (sizeof (int))))
19398 fprintf (f, "%lu\n", i);
19400 exit (ferror (f) || fclose (f) != 0);
19406 rm -f conftest
$ac_exeext
19407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19408 (eval $ac_link) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_cv_sizeof_int
=`cat conftest.val`
19419 echo "$as_me: program exited with status $ac_status" >&5
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 ( exit $ac_status )
19424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19425 See \`config.log' for more details." >&5
19426 echo "$as_me: error: cannot compute sizeof (int), 77
19427 See \`config.log' for more details." >&2;}
19428 { (exit 1); exit 1; }; }
19430 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19439 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19440 cat >>confdefs.h
<<_ACEOF
19441 #define SIZEOF_INT $ac_cv_sizeof_int
19445 echo "$as_me:$LINENO: checking for long" >&5
19446 echo $ECHO_N "checking for long... $ECHO_C" >&6
19447 if test "${ac_cv_type_long+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 cat >conftest.
$ac_ext <<_ACEOF
19453 cat confdefs.h
>>conftest.
$ac_ext
19454 cat >>conftest.
$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 $ac_includes_default
19468 rm -f conftest.
$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>conftest.er1
19472 grep -v '^ *+' conftest.er1
>conftest.err
19474 cat conftest.err
>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } &&
19477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; } &&
19483 { ac_try
='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_type_long
=yes
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19498 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19499 echo "${ECHO_T}$ac_cv_type_long" >&6
19501 echo "$as_me:$LINENO: checking size of long" >&5
19502 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19503 if test "${ac_cv_sizeof_long+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 if test "$ac_cv_type_long" = yes; then
19507 # The cast to unsigned long works around a bug in the HP C Compiler
19508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19510 # This bug is HP SR number 8606223364.
19511 if test "$cross_compiling" = yes; then
19512 # Depending upon the size, compute the lo and hi bounds.
19513 cat >conftest.
$ac_ext <<_ACEOF
19516 cat confdefs.h
>>conftest.
$ac_ext
19517 cat >>conftest.
$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19523 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19530 rm -f conftest.
$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532 (eval $ac_compile) 2>conftest.er1
19534 grep -v '^ *+' conftest.er1
>conftest.err
19536 cat conftest.err
>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try
='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19553 cat >conftest.
$ac_ext <<_ACEOF
19556 cat confdefs.h
>>conftest.
$ac_ext
19557 cat >>conftest.
$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 $ac_includes_default
19563 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19570 rm -f conftest.
$ac_objext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19572 (eval $ac_compile) 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; } &&
19585 { ac_try
='test -s conftest.$ac_objext'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; }; then
19591 ac_hi
=$ac_mid; break
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.
$ac_ext >&5
19596 ac_lo
=`expr $ac_mid + 1`
19597 if test $ac_lo -le $ac_mid; then
19601 ac_mid
=`expr 2 '*' $ac_mid + 1`
19603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.
$ac_ext >&5
19609 cat >conftest.
$ac_ext <<_ACEOF
19612 cat confdefs.h
>>conftest.
$ac_ext
19613 cat >>conftest.
$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19619 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19626 rm -f conftest.
$ac_objext
19627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19628 (eval $ac_compile) 2>conftest.er1
19630 grep -v '^ *+' conftest.er1
>conftest.err
19632 cat conftest.err
>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } &&
19635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19641 { ac_try
='test -s conftest.$ac_objext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19649 cat >conftest.
$ac_ext <<_ACEOF
19652 cat confdefs.h
>>conftest.
$ac_ext
19653 cat >>conftest.
$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 $ac_includes_default
19659 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19666 rm -f conftest.
$ac_objext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19668 (eval $ac_compile) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1
>conftest.err
19672 cat conftest.err
>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try
='test -s conftest.$ac_objext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 ac_lo
=$ac_mid; break
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.
$ac_ext >&5
19692 ac_hi
=`expr '(' $ac_mid ')' - 1`
19693 if test $ac_mid -le $ac_hi; then
19697 ac_mid
=`expr 2 '*' $ac_mid`
19699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.
$ac_ext >&5
19707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19710 # Binary search between lo and hi bounds.
19711 while test "x$ac_lo" != "x$ac_hi"; do
19712 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19723 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19730 rm -f conftest.
$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19734 grep -v '^ *+' conftest.er1
>conftest.err
19736 cat conftest.err
>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; } &&
19745 { ac_try
='test -s conftest.$ac_objext'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.
$ac_ext >&5
19756 ac_lo
=`expr '(' $ac_mid ')' + 1`
19758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19762 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19763 See \`config.log' for more details." >&5
19764 echo "$as_me: error: cannot compute sizeof (long), 77
19765 See \`config.log' for more details." >&2;}
19766 { (exit 1); exit 1; }; } ;;
19769 if test "$cross_compiling" = yes; then
19770 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19771 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19772 { (exit 1); exit 1; }; }
19774 cat >conftest.
$ac_ext <<_ACEOF
19777 cat confdefs.h
>>conftest.
$ac_ext
19778 cat >>conftest.
$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 long longval () { return (long) (sizeof (long)); }
19782 unsigned long ulongval () { return (long) (sizeof (long)); }
19784 #include <stdlib.h>
19789 FILE *f = fopen ("conftest.val", "w");
19792 if (((long) (sizeof (long))) < 0)
19794 long i = longval ();
19795 if (i != ((long) (sizeof (long))))
19797 fprintf (f, "%ld\n", i);
19801 unsigned long i = ulongval ();
19802 if (i != ((long) (sizeof (long))))
19804 fprintf (f, "%lu\n", i);
19806 exit (ferror (f) || fclose (f) != 0);
19812 rm -f conftest
$ac_exeext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19814 (eval $ac_link) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_sizeof_long
=`cat conftest.val`
19825 echo "$as_me: program exited with status $ac_status" >&5
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.
$ac_ext >&5
19829 ( exit $ac_status )
19830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19831 See \`config.log' for more details." >&5
19832 echo "$as_me: error: cannot compute sizeof (long), 77
19833 See \`config.log' for more details." >&2;}
19834 { (exit 1); exit 1; }; }
19836 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19841 ac_cv_sizeof_long
=0
19844 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19845 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19846 cat >>confdefs.h
<<_ACEOF
19847 #define SIZEOF_LONG $ac_cv_sizeof_long
19851 echo "$as_me:$LINENO: checking for size_t" >&5
19852 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19853 if test "${ac_cv_type_size_t+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 cat >conftest.
$ac_ext <<_ACEOF
19859 cat confdefs.h
>>conftest.
$ac_ext
19860 cat >>conftest.
$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19868 if (sizeof (size_t))
19874 rm -f conftest.
$ac_objext
19875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19876 (eval $ac_compile) 2>conftest.er1
19878 grep -v '^ *+' conftest.er1
>conftest.err
19880 cat conftest.err
>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } &&
19883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_type_size_t
=yes
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 ac_cv_type_size_t
=no
19902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19904 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19905 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19907 echo "$as_me:$LINENO: checking size of size_t" >&5
19908 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19909 if test "${ac_cv_sizeof_size_t+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19912 if test "$ac_cv_type_size_t" = yes; then
19913 # The cast to unsigned long works around a bug in the HP C Compiler
19914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19916 # This bug is HP SR number 8606223364.
19917 if test "$cross_compiling" = yes; then
19918 # Depending upon the size, compute the lo and hi bounds.
19919 cat >conftest.
$ac_ext <<_ACEOF
19922 cat confdefs.h
>>conftest.
$ac_ext
19923 cat >>conftest.
$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19929 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19936 rm -f conftest.
$ac_objext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 (eval $ac_compile) 2>conftest.er1
19940 grep -v '^ *+' conftest.er1
>conftest.err
19942 cat conftest.err
>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try
='test -z "$ac_cxx_werror_flag" || 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" || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try
='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_hi
=$ac_mid; break
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.
$ac_ext >&5
20002 ac_lo
=`expr $ac_mid + 1`
20003 if test $ac_lo -le $ac_mid; then
20007 ac_mid
=`expr 2 '*' $ac_mid + 1`
20009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.
$ac_ext >&5
20015 cat >conftest.
$ac_ext <<_ACEOF
20018 cat confdefs.h
>>conftest.
$ac_ext
20019 cat >>conftest.
$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20021 $ac_includes_default
20025 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20032 rm -f conftest.
$ac_objext
20033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20034 (eval $ac_compile) 2>conftest.er1
20036 grep -v '^ *+' conftest.er1
>conftest.err
20038 cat conftest.err
>&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } &&
20041 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try
='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20055 cat >conftest.
$ac_ext <<_ACEOF
20058 cat confdefs.h
>>conftest.
$ac_ext
20059 cat >>conftest.
$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20065 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20072 rm -f conftest.
$ac_objext
20073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20074 (eval $ac_compile) 2>conftest.er1
20076 grep -v '^ *+' conftest.er1
>conftest.err
20078 cat conftest.err
>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } &&
20081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_lo
=$ac_mid; break
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_hi
=`expr '(' $ac_mid ')' - 1`
20099 if test $ac_mid -le $ac_hi; then
20103 ac_mid
=`expr 2 '*' $ac_mid`
20105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20108 echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.
$ac_ext >&5
20113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20116 # Binary search between lo and hi bounds.
20117 while test "x$ac_lo" != "x$ac_hi"; do
20118 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20136 rm -f conftest.
$ac_objext
20137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20138 (eval $ac_compile) 2>conftest.er1
20140 grep -v '^ *+' conftest.er1
>conftest.err
20142 cat conftest.err
>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; } &&
20151 { ac_try
='test -s conftest.$ac_objext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.
$ac_ext >&5
20162 ac_lo
=`expr '(' $ac_mid ')' + 1`
20164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20167 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20168 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20169 See \`config.log' for more details." >&5
20170 echo "$as_me: error: cannot compute sizeof (size_t), 77
20171 See \`config.log' for more details." >&2;}
20172 { (exit 1); exit 1; }; } ;;
20175 if test "$cross_compiling" = yes; then
20176 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20177 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20178 { (exit 1); exit 1; }; }
20180 cat >conftest.
$ac_ext <<_ACEOF
20183 cat confdefs.h
>>conftest.
$ac_ext
20184 cat >>conftest.
$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 long longval () { return (long) (sizeof (size_t)); }
20188 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20190 #include <stdlib.h>
20195 FILE *f = fopen ("conftest.val", "w");
20198 if (((long) (sizeof (size_t))) < 0)
20200 long i = longval ();
20201 if (i != ((long) (sizeof (size_t))))
20203 fprintf (f, "%ld\n", i);
20207 unsigned long i = ulongval ();
20208 if (i != ((long) (sizeof (size_t))))
20210 fprintf (f, "%lu\n", i);
20212 exit (ferror (f) || fclose (f) != 0);
20218 rm -f conftest
$ac_exeext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20220 (eval $ac_link) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; }; then
20229 ac_cv_sizeof_size_t
=`cat conftest.val`
20231 echo "$as_me: program exited with status $ac_status" >&5
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.
$ac_ext >&5
20235 ( exit $ac_status )
20236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20237 See \`config.log' for more details." >&5
20238 echo "$as_me: error: cannot compute sizeof (size_t), 77
20239 See \`config.log' for more details." >&2;}
20240 { (exit 1); exit 1; }; }
20242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20247 ac_cv_sizeof_size_t
=0
20250 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20251 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20252 cat >>confdefs.h
<<_ACEOF
20253 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20260 echo "$as_me:$LINENO: checking for long long" >&5
20261 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20262 if test "${ac_cv_type_long_long+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 cat >conftest.
$ac_ext <<_ACEOF
20268 cat confdefs.h
>>conftest.
$ac_ext
20269 cat >>conftest.
$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 $ac_includes_default
20275 if ((long long *) 0)
20277 if (sizeof (long long))
20283 rm -f conftest.
$ac_objext
20284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20285 (eval $ac_compile) 2>conftest.er1
20287 grep -v '^ *+' conftest.er1
>conftest.err
20289 cat conftest.err
>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } &&
20292 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; } &&
20298 { ac_try
='test -s conftest.$ac_objext'
20299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 (eval $ac_try) 2>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20304 ac_cv_type_long_long
=yes
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.
$ac_ext >&5
20309 ac_cv_type_long_long
=no
20311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20313 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20314 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20316 echo "$as_me:$LINENO: checking size of long long" >&5
20317 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20318 if test "${ac_cv_sizeof_long_long+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20321 if test "$ac_cv_type_long_long" = yes; then
20322 # The cast to unsigned long works around a bug in the HP C Compiler
20323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20325 # This bug is HP SR number 8606223364.
20326 if test "$cross_compiling" = yes; then
20327 # Depending upon the size, compute the lo and hi bounds.
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20338 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20345 rm -f conftest.
$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20349 grep -v '^ *+' conftest.er1
>conftest.err
20351 cat conftest.err
>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; } &&
20360 { ac_try
='test -s conftest.$ac_objext'
20361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20362 (eval $ac_try) 2>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20368 cat >conftest.
$ac_ext <<_ACEOF
20371 cat confdefs.h
>>conftest.
$ac_ext
20372 cat >>conftest.
$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 $ac_includes_default
20378 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20385 rm -f conftest.
$ac_objext
20386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20387 (eval $ac_compile) 2>conftest.er1
20389 grep -v '^ *+' conftest.er1
>conftest.err
20391 cat conftest.err
>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } &&
20394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; } &&
20400 { ac_try
='test -s conftest.$ac_objext'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; }; then
20406 ac_hi
=$ac_mid; break
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.
$ac_ext >&5
20411 ac_lo
=`expr $ac_mid + 1`
20412 if test $ac_lo -le $ac_mid; then
20416 ac_mid
=`expr 2 '*' $ac_mid + 1`
20418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.
$ac_ext >&5
20424 cat >conftest.
$ac_ext <<_ACEOF
20427 cat confdefs.h
>>conftest.
$ac_ext
20428 cat >>conftest.
$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20434 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20441 rm -f conftest.
$ac_objext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20443 (eval $ac_compile) 2>conftest.er1
20445 grep -v '^ *+' conftest.er1
>conftest.err
20447 cat conftest.err
>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try
='test -s conftest.$ac_objext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20464 cat >conftest.
$ac_ext <<_ACEOF
20467 cat confdefs.h
>>conftest.
$ac_ext
20468 cat >>conftest.
$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 $ac_includes_default
20474 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20481 rm -f conftest.
$ac_objext
20482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20483 (eval $ac_compile) 2>conftest.er1
20485 grep -v '^ *+' conftest.er1
>conftest.err
20487 cat conftest.err
>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } &&
20490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try
='test -s conftest.$ac_objext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 ac_lo
=$ac_mid; break
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.
$ac_ext >&5
20507 ac_hi
=`expr '(' $ac_mid ')' - 1`
20508 if test $ac_mid -le $ac_hi; then
20512 ac_mid
=`expr 2 '*' $ac_mid`
20514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.
$ac_ext >&5
20522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20525 # Binary search between lo and hi bounds.
20526 while test "x$ac_lo" != "x$ac_hi"; do
20527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20528 cat >conftest.
$ac_ext <<_ACEOF
20531 cat confdefs.h
>>conftest.
$ac_ext
20532 cat >>conftest.
$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20545 rm -f conftest.
$ac_objext
20546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20547 (eval $ac_compile) 2>conftest.er1
20549 grep -v '^ *+' conftest.er1
>conftest.err
20551 cat conftest.err
>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try
='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.
$ac_ext >&5
20571 ac_lo
=`expr '(' $ac_mid ')' + 1`
20573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20576 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20577 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20578 See \`config.log' for more details." >&5
20579 echo "$as_me: error: cannot compute sizeof (long long), 77
20580 See \`config.log' for more details." >&2;}
20581 { (exit 1); exit 1; }; } ;;
20584 if test "$cross_compiling" = yes; then
20585 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20586 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20587 { (exit 1); exit 1; }; }
20589 cat >conftest.
$ac_ext <<_ACEOF
20592 cat confdefs.h
>>conftest.
$ac_ext
20593 cat >>conftest.
$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 $ac_includes_default
20596 long longval () { return (long) (sizeof (long long)); }
20597 unsigned long ulongval () { return (long) (sizeof (long long)); }
20599 #include <stdlib.h>
20604 FILE *f = fopen ("conftest.val", "w");
20607 if (((long) (sizeof (long long))) < 0)
20609 long i = longval ();
20610 if (i != ((long) (sizeof (long long))))
20612 fprintf (f, "%ld\n", i);
20616 unsigned long i = ulongval ();
20617 if (i != ((long) (sizeof (long long))))
20619 fprintf (f, "%lu\n", i);
20621 exit (ferror (f) || fclose (f) != 0);
20627 rm -f conftest
$ac_exeext
20628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20629 (eval $ac_link) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 ac_cv_sizeof_long_long
=`cat conftest.val`
20640 echo "$as_me: program exited with status $ac_status" >&5
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.
$ac_ext >&5
20644 ( exit $ac_status )
20645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20646 See \`config.log' for more details." >&5
20647 echo "$as_me: error: cannot compute sizeof (long long), 77
20648 See \`config.log' for more details." >&2;}
20649 { (exit 1); exit 1; }; }
20651 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20656 ac_cv_sizeof_long_long
=0
20659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20661 cat >>confdefs.h
<<_ACEOF
20662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20668 echo "$as_me:$LINENO: checking for long long" >&5
20669 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20670 if test "${ac_cv_type_long_long+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 cat >conftest.
$ac_ext <<_ACEOF
20676 cat confdefs.h
>>conftest.
$ac_ext
20677 cat >>conftest.
$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 $ac_includes_default
20683 if ((long long *) 0)
20685 if (sizeof (long long))
20691 rm -f conftest.
$ac_objext
20692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20693 (eval $ac_compile) 2>conftest.er1
20695 grep -v '^ *+' conftest.er1
>conftest.err
20697 cat conftest.err
>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } &&
20700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; } &&
20706 { ac_try
='test -s conftest.$ac_objext'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; }; then
20712 ac_cv_type_long_long
=yes
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.
$ac_ext >&5
20717 ac_cv_type_long_long
=no
20719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20721 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20722 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20724 echo "$as_me:$LINENO: checking size of long long" >&5
20725 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20726 if test "${ac_cv_sizeof_long_long+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20729 if test "$ac_cv_type_long_long" = yes; then
20730 # The cast to unsigned long works around a bug in the HP C Compiler
20731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20733 # This bug is HP SR number 8606223364.
20734 if test "$cross_compiling" = yes; then
20735 # Depending upon the size, compute the lo and hi bounds.
20736 cat >conftest.
$ac_ext <<_ACEOF
20739 cat confdefs.h
>>conftest.
$ac_ext
20740 cat >>conftest.
$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20753 rm -f conftest.
$ac_objext
20754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20755 (eval $ac_compile) 2>conftest.er1
20757 grep -v '^ *+' conftest.er1
>conftest.err
20759 cat conftest.err
>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } &&
20762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; } &&
20768 { ac_try
='test -s conftest.$ac_objext'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; }; then
20776 cat >conftest.
$ac_ext <<_ACEOF
20779 cat confdefs.h
>>conftest.
$ac_ext
20780 cat >>conftest.
$ac_ext <<_ACEOF
20781 /* end confdefs.h. */
20782 $ac_includes_default
20786 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20793 rm -f conftest.
$ac_objext
20794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20795 (eval $ac_compile) 2>conftest.er1
20797 grep -v '^ *+' conftest.er1
>conftest.err
20799 cat conftest.err
>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; } &&
20808 { ac_try
='test -s conftest.$ac_objext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 ac_hi
=$ac_mid; break
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.
$ac_ext >&5
20819 ac_lo
=`expr $ac_mid + 1`
20820 if test $ac_lo -le $ac_mid; then
20824 ac_mid
=`expr 2 '*' $ac_mid + 1`
20826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.
$ac_ext >&5
20832 cat >conftest.
$ac_ext <<_ACEOF
20835 cat confdefs.h
>>conftest.
$ac_ext
20836 cat >>conftest.
$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 $ac_includes_default
20842 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20849 rm -f conftest.
$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851 (eval $ac_compile) 2>conftest.er1
20853 grep -v '^ *+' conftest.er1
>conftest.err
20855 cat conftest.err
>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try
='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20872 cat >conftest.
$ac_ext <<_ACEOF
20875 cat confdefs.h
>>conftest.
$ac_ext
20876 cat >>conftest.
$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20878 $ac_includes_default
20882 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20889 rm -f conftest.
$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>conftest.er1
20893 grep -v '^ *+' conftest.er1
>conftest.err
20895 cat conftest.err
>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } &&
20898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; } &&
20904 { ac_try
='test -s conftest.$ac_objext'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20910 ac_lo
=$ac_mid; break
20912 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.
$ac_ext >&5
20915 ac_hi
=`expr '(' $ac_mid ')' - 1`
20916 if test $ac_mid -le $ac_hi; then
20920 ac_mid
=`expr 2 '*' $ac_mid`
20922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20933 # Binary search between lo and hi bounds.
20934 while test "x$ac_lo" != "x$ac_hi"; do
20935 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20946 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20953 rm -f conftest.
$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20957 grep -v '^ *+' conftest.er1
>conftest.err
20959 cat conftest.err
>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; } &&
20968 { ac_try
='test -s conftest.$ac_objext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.
$ac_ext >&5
20979 ac_lo
=`expr '(' $ac_mid ')' + 1`
20981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20984 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20985 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20986 See \`config.log' for more details." >&5
20987 echo "$as_me: error: cannot compute sizeof (long long), 77
20988 See \`config.log' for more details." >&2;}
20989 { (exit 1); exit 1; }; } ;;
20992 if test "$cross_compiling" = yes; then
20993 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20994 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20995 { (exit 1); exit 1; }; }
20997 cat >conftest.
$ac_ext <<_ACEOF
21000 cat confdefs.h
>>conftest.
$ac_ext
21001 cat >>conftest.
$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 long longval () { return (long) (sizeof (long long)); }
21005 unsigned long ulongval () { return (long) (sizeof (long long)); }
21007 #include <stdlib.h>
21012 FILE *f = fopen ("conftest.val", "w");
21015 if (((long) (sizeof (long long))) < 0)
21017 long i = longval ();
21018 if (i != ((long) (sizeof (long long))))
21020 fprintf (f, "%ld\n", i);
21024 unsigned long i = ulongval ();
21025 if (i != ((long) (sizeof (long long))))
21027 fprintf (f, "%lu\n", i);
21029 exit (ferror (f) || fclose (f) != 0);
21035 rm -f conftest
$ac_exeext
21036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21037 (eval $ac_link) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 ac_cv_sizeof_long_long
=`cat conftest.val`
21048 echo "$as_me: program exited with status $ac_status" >&5
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.
$ac_ext >&5
21052 ( exit $ac_status )
21053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21054 See \`config.log' for more details." >&5
21055 echo "$as_me: error: cannot compute sizeof (long long), 77
21056 See \`config.log' for more details." >&2;}
21057 { (exit 1); exit 1; }; }
21059 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21064 ac_cv_sizeof_long_long
=0
21067 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21068 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21069 cat >>confdefs.h
<<_ACEOF
21070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21074 if test "$ac_cv_sizeof_long_long" != "0"; then
21075 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21079 echo "$as_me:$LINENO: checking for long long" >&5
21080 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21081 if test "${ac_cv_type_long_long+set}" = set; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 cat >conftest.
$ac_ext <<_ACEOF
21087 cat confdefs.h
>>conftest.
$ac_ext
21088 cat >>conftest.
$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21094 if ((long long *) 0)
21096 if (sizeof (long long))
21102 rm -f conftest.
$ac_objext
21103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21104 (eval $ac_compile) 2>conftest.er1
21106 grep -v '^ *+' conftest.er1
>conftest.err
21108 cat conftest.err
>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } &&
21111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21113 (eval $ac_try) 2>&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; } &&
21117 { ac_try
='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_type_long_long
=yes
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.
$ac_ext >&5
21128 ac_cv_type_long_long
=no
21130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21132 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21133 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21135 echo "$as_me:$LINENO: checking size of long long" >&5
21136 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21137 if test "${ac_cv_sizeof_long_long+set}" = set; then
21138 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 if test "$ac_cv_type_long_long" = yes; then
21141 # The cast to unsigned long works around a bug in the HP C Compiler
21142 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21143 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21144 # This bug is HP SR number 8606223364.
21145 if test "$cross_compiling" = yes; then
21146 # Depending upon the size, compute the lo and hi bounds.
21147 cat >conftest.
$ac_ext <<_ACEOF
21150 cat confdefs.h
>>conftest.
$ac_ext
21151 cat >>conftest.
$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 $ac_includes_default
21157 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21164 rm -f conftest.
$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21168 grep -v '^ *+' conftest.er1
>conftest.err
21170 cat conftest.err
>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; } &&
21179 { ac_try
='test -s conftest.$ac_objext'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; }; then
21187 cat >conftest.
$ac_ext <<_ACEOF
21190 cat confdefs.h
>>conftest.
$ac_ext
21191 cat >>conftest.
$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21204 rm -f conftest.
$ac_objext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21206 (eval $ac_compile) 2>conftest.er1
21208 grep -v '^ *+' conftest.er1
>conftest.err
21210 cat conftest.err
>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } &&
21213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; } &&
21219 { ac_try
='test -s conftest.$ac_objext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 ac_hi
=$ac_mid; break
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.
$ac_ext >&5
21230 ac_lo
=`expr $ac_mid + 1`
21231 if test $ac_lo -le $ac_mid; then
21235 ac_mid
=`expr 2 '*' $ac_mid + 1`
21237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.
$ac_ext >&5
21243 cat >conftest.
$ac_ext <<_ACEOF
21246 cat confdefs.h
>>conftest.
$ac_ext
21247 cat >>conftest.
$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 $ac_includes_default
21253 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21260 rm -f conftest.
$ac_objext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21262 (eval $ac_compile) 2>conftest.er1
21264 grep -v '^ *+' conftest.er1
>conftest.err
21266 cat conftest.err
>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; } &&
21275 { ac_try
='test -s conftest.$ac_objext'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; }; then
21283 cat >conftest.
$ac_ext <<_ACEOF
21286 cat confdefs.h
>>conftest.
$ac_ext
21287 cat >>conftest.
$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 $ac_includes_default
21293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21300 rm -f conftest.
$ac_objext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21302 (eval $ac_compile) 2>conftest.er1
21304 grep -v '^ *+' conftest.er1
>conftest.err
21306 cat conftest.err
>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_lo
=$ac_mid; break
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_hi
=`expr '(' $ac_mid ')' - 1`
21327 if test $ac_mid -le $ac_hi; then
21331 ac_mid
=`expr 2 '*' $ac_mid`
21333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21344 # Binary search between lo and hi bounds.
21345 while test "x$ac_lo" != "x$ac_hi"; do
21346 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21347 cat >conftest.
$ac_ext <<_ACEOF
21350 cat confdefs.h
>>conftest.
$ac_ext
21351 cat >>conftest.
$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21357 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21364 rm -f conftest.
$ac_objext
21365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21366 (eval $ac_compile) 2>conftest.er1
21368 grep -v '^ *+' conftest.er1
>conftest.err
21370 cat conftest.err
>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } &&
21373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; } &&
21379 { ac_try
='test -s conftest.$ac_objext'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; }; then
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21390 ac_lo
=`expr '(' $ac_mid ')' + 1`
21392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21395 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21396 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21397 See \`config.log' for more details." >&5
21398 echo "$as_me: error: cannot compute sizeof (long long), 77
21399 See \`config.log' for more details." >&2;}
21400 { (exit 1); exit 1; }; } ;;
21403 if test "$cross_compiling" = yes; then
21404 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21405 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21406 { (exit 1); exit 1; }; }
21408 cat >conftest.
$ac_ext <<_ACEOF
21411 cat confdefs.h
>>conftest.
$ac_ext
21412 cat >>conftest.
$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 long longval () { return (long) (sizeof (long long)); }
21416 unsigned long ulongval () { return (long) (sizeof (long long)); }
21418 #include <stdlib.h>
21423 FILE *f = fopen ("conftest.val", "w");
21426 if (((long) (sizeof (long long))) < 0)
21428 long i = longval ();
21429 if (i != ((long) (sizeof (long long))))
21431 fprintf (f, "%ld\n", i);
21435 unsigned long i = ulongval ();
21436 if (i != ((long) (sizeof (long long))))
21438 fprintf (f, "%lu\n", i);
21440 exit (ferror (f) || fclose (f) != 0);
21446 rm -f conftest
$ac_exeext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21448 (eval $ac_link) 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_sizeof_long_long
=`cat conftest.val`
21459 echo "$as_me: program exited with status $ac_status" >&5
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.
$ac_ext >&5
21463 ( exit $ac_status )
21464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21465 See \`config.log' for more details." >&5
21466 echo "$as_me: error: cannot compute sizeof (long long), 77
21467 See \`config.log' for more details." >&2;}
21468 { (exit 1); exit 1; }; }
21470 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21475 ac_cv_sizeof_long_long
=0
21478 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21479 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21480 cat >>confdefs.h
<<_ACEOF
21481 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21487 echo "$as_me:$LINENO: checking for wchar_t" >&5
21488 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21489 if test "${ac_cv_type_wchar_t+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 cat >conftest.
$ac_ext <<_ACEOF
21495 cat confdefs.h
>>conftest.
$ac_ext
21496 cat >>conftest.
$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21499 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21500 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21501 # error "fake wchar_t"
21503 #ifdef HAVE_WCHAR_H
21505 # include <stddef.h>
21507 # include <wchar.h>
21509 #ifdef HAVE_STDLIB_H
21510 # include <stdlib.h>
21521 if (sizeof (wchar_t))
21527 rm -f conftest.
$ac_objext
21528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21529 (eval $ac_compile) 2>conftest.er1
21531 grep -v '^ *+' conftest.er1
>conftest.err
21533 cat conftest.err
>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; } &&
21542 { ac_try
='test -s conftest.$ac_objext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_cv_type_wchar_t
=yes
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.
$ac_ext >&5
21553 ac_cv_type_wchar_t
=no
21555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21557 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21558 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21560 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21561 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21562 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 if test "$ac_cv_type_wchar_t" = yes; then
21566 # The cast to unsigned long works around a bug in the HP C Compiler
21567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21569 # This bug is HP SR number 8606223364.
21570 if test "$cross_compiling" = yes; then
21571 # Depending upon the size, compute the lo and hi bounds.
21572 cat >conftest.
$ac_ext <<_ACEOF
21575 cat confdefs.h
>>conftest.
$ac_ext
21576 cat >>conftest.
$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21581 # error "fake wchar_t"
21583 #ifdef HAVE_WCHAR_H
21585 # include <stddef.h>
21587 # include <wchar.h>
21589 #ifdef HAVE_STDLIB_H
21590 # include <stdlib.h>
21599 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21606 rm -f conftest.
$ac_objext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21608 (eval $ac_compile) 2>conftest.er1
21610 grep -v '^ *+' conftest.er1
>conftest.err
21612 cat conftest.err
>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; } &&
21621 { ac_try
='test -s conftest.$ac_objext'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; }; then
21629 cat >conftest.
$ac_ext <<_ACEOF
21632 cat confdefs.h
>>conftest.
$ac_ext
21633 cat >>conftest.
$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21638 # error "fake wchar_t"
21640 #ifdef HAVE_WCHAR_H
21642 # include <stddef.h>
21644 # include <wchar.h>
21646 #ifdef HAVE_STDLIB_H
21647 # include <stdlib.h>
21656 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21663 rm -f conftest.
$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>conftest.er1
21667 grep -v '^ *+' conftest.er1
>conftest.err
21669 cat conftest.err
>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; } &&
21678 { ac_try
='test -s conftest.$ac_objext'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; }; then
21684 ac_hi
=$ac_mid; break
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21689 ac_lo
=`expr $ac_mid + 1`
21690 if test $ac_lo -le $ac_mid; then
21694 ac_mid
=`expr 2 '*' $ac_mid + 1`
21696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21699 echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.
$ac_ext >&5
21702 cat >conftest.
$ac_ext <<_ACEOF
21705 cat confdefs.h
>>conftest.
$ac_ext
21706 cat >>conftest.
$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21711 # error "fake wchar_t"
21713 #ifdef HAVE_WCHAR_H
21715 # include <stddef.h>
21717 # include <wchar.h>
21719 #ifdef HAVE_STDLIB_H
21720 # include <stdlib.h>
21729 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21736 rm -f conftest.
$ac_objext
21737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21738 (eval $ac_compile) 2>conftest.er1
21740 grep -v '^ *+' conftest.er1
>conftest.err
21742 cat conftest.err
>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try
='test -s conftest.$ac_objext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21759 cat >conftest.
$ac_ext <<_ACEOF
21762 cat confdefs.h
>>conftest.
$ac_ext
21763 cat >>conftest.
$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21768 # error "fake wchar_t"
21770 #ifdef HAVE_WCHAR_H
21772 # include <stddef.h>
21774 # include <wchar.h>
21776 #ifdef HAVE_STDLIB_H
21777 # include <stdlib.h>
21786 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21793 rm -f conftest.
$ac_objext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21795 (eval $ac_compile) 2>conftest.er1
21797 grep -v '^ *+' conftest.er1
>conftest.err
21799 cat conftest.err
>&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; } &&
21808 { ac_try
='test -s conftest.$ac_objext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_lo
=$ac_mid; break
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.
$ac_ext >&5
21819 ac_hi
=`expr '(' $ac_mid ')' - 1`
21820 if test $ac_mid -le $ac_hi; then
21824 ac_mid
=`expr 2 '*' $ac_mid`
21826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.
$ac_ext >&5
21834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21837 # Binary search between lo and hi bounds.
21838 while test "x$ac_lo" != "x$ac_hi"; do
21839 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21840 cat >conftest.
$ac_ext <<_ACEOF
21843 cat confdefs.h
>>conftest.
$ac_ext
21844 cat >>conftest.
$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21847 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21848 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21849 # error "fake wchar_t"
21851 #ifdef HAVE_WCHAR_H
21853 # include <stddef.h>
21855 # include <wchar.h>
21857 #ifdef HAVE_STDLIB_H
21858 # include <stdlib.h>
21867 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21874 rm -f conftest.
$ac_objext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21876 (eval $ac_compile) 2>conftest.er1
21878 grep -v '^ *+' conftest.er1
>conftest.err
21880 cat conftest.err
>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } &&
21883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try
='test -s conftest.$ac_objext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.
$ac_ext >&5
21900 ac_lo
=`expr '(' $ac_mid ')' + 1`
21902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21905 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21906 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21907 See \`config.log' for more details." >&5
21908 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21909 See \`config.log' for more details." >&2;}
21910 { (exit 1); exit 1; }; } ;;
21913 if test "$cross_compiling" = yes; then
21914 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21915 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21916 { (exit 1); exit 1; }; }
21918 cat >conftest.
$ac_ext <<_ACEOF
21921 cat confdefs.h
>>conftest.
$ac_ext
21922 cat >>conftest.
$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21925 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21927 # error "fake wchar_t"
21929 #ifdef HAVE_WCHAR_H
21931 # include <stddef.h>
21933 # include <wchar.h>
21935 #ifdef HAVE_STDLIB_H
21936 # include <stdlib.h>
21942 long longval () { return (long) (sizeof (wchar_t)); }
21943 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21945 #include <stdlib.h>
21950 FILE *f = fopen ("conftest.val", "w");
21953 if (((long) (sizeof (wchar_t))) < 0)
21955 long i = longval ();
21956 if (i != ((long) (sizeof (wchar_t))))
21958 fprintf (f, "%ld\n", i);
21962 unsigned long i = ulongval ();
21963 if (i != ((long) (sizeof (wchar_t))))
21965 fprintf (f, "%lu\n", i);
21967 exit (ferror (f) || fclose (f) != 0);
21973 rm -f conftest
$ac_exeext
21974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21975 (eval $ac_link) 2>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21986 echo "$as_me: program exited with status $ac_status" >&5
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.
$ac_ext >&5
21990 ( exit $ac_status )
21991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21992 See \`config.log' for more details." >&5
21993 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21994 See \`config.log' for more details." >&2;}
21995 { (exit 1); exit 1; }; }
21997 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22002 ac_cv_sizeof_wchar_t
=0
22005 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22006 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22007 cat >>confdefs.h
<<_ACEOF
22008 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22012 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22018 echo "$as_me:$LINENO: checking for va_copy" >&5
22019 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22020 if test "${wx_cv_func_va_copy+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 cat >conftest.
$ac_ext <<_ACEOF
22026 #include <stdarg.h>
22027 void foo(char *f, ...)
22041 rm -f conftest.
$ac_objext conftest
$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>conftest.er1
22045 grep -v '^ *+' conftest.er1
>conftest.err
22047 cat conftest.err
>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try
='test -s conftest$ac_exeext'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; }; then
22062 wx_cv_func_va_copy
=yes
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22067 wx_cv_func_va_copy
=no
22070 rm -f conftest.err conftest.
$ac_objext \
22071 conftest
$ac_exeext conftest.
$ac_ext
22075 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22076 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22078 if test $wx_cv_func_va_copy = "yes"; then
22079 cat >>confdefs.h
<<\_ACEOF
22080 #define HAVE_VA_COPY 1
22084 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22085 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22086 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 if test "$cross_compiling" = yes; then
22091 wx_cv_type_va_list_lvalue
=yes
22094 cat >conftest.
$ac_ext <<_ACEOF
22096 #include <stdarg.h>
22097 int foo(char *f, ...)
22102 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22110 return foo("hi", 17);
22113 rm -f conftest
$ac_exeext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22115 (eval $ac_link) 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 wx_cv_type_va_list_lvalue
=yes
22126 echo "$as_me: program exited with status $ac_status" >&5
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.
$ac_ext >&5
22130 ( exit $ac_status )
22131 wx_cv_type_va_list_lvalue
=no
22133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22138 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22139 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22141 if test $wx_cv_type_va_list_lvalue != "yes"; then
22142 cat >>confdefs.h
<<\_ACEOF
22143 #define VA_LIST_IS_ARRAY 1
22149 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22150 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22151 if test "${wx_cv_have_variadic_macros+set}" = set; then
22152 echo $ECHO_N "(cached) $ECHO_C" >&6
22155 cat >conftest.
$ac_ext <<_ACEOF
22158 cat confdefs.h
>>conftest.
$ac_ext
22159 cat >>conftest.
$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22163 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22169 test("%s %d %p", "test", 1, 0);
22176 rm -f conftest.
$ac_objext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22178 (eval $ac_compile) 2>conftest.er1
22180 grep -v '^ *+' conftest.er1
>conftest.err
22182 cat conftest.err
>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
22185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try
='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 wx_cv_have_variadic_macros
=yes
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.
$ac_ext >&5
22202 wx_cv_have_variadic_macros
=no
22205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22209 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22210 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22212 if test $wx_cv_have_variadic_macros = "yes"; then
22213 cat >>confdefs.h
<<\_ACEOF
22214 #define HAVE_VARIADIC_MACROS 1
22219 # Check whether --enable-largefile or --disable-largefile was given.
22220 if test "${enable_largefile+set}" = set; then
22221 enableval
="$enable_largefile"
22224 if test "$enable_largefile" != no
; then
22227 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22228 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22229 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 cat >conftest.
$ac_ext <<_ACEOF
22236 cat confdefs.h
>>conftest.
$ac_ext
22237 cat >>conftest.
$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 #define _FILE_OFFSET_BITS 64
22240 #include <sys/types.h>
22245 unsigned int field: sizeof(off_t) == 8;
22252 rm -f conftest.
$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22256 grep -v '^ *+' conftest.er1
>conftest.err
22258 cat conftest.err
>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try
='test -s conftest.$ac_objext'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 ac_cv_sys_file_offset_bits
=64
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.
$ac_ext >&5
22278 ac_cv_sys_file_offset_bits
=no
22280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22284 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22285 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22287 if test "$ac_cv_sys_file_offset_bits" != no
; then
22289 cat >>confdefs.h
<<_ACEOF
22290 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22295 if test "x$wx_largefile" != "xyes"; then
22297 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22298 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22299 if test "${ac_cv_sys_large_files+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
22303 cat >conftest.
$ac_ext <<_ACEOF
22306 cat confdefs.h
>>conftest.
$ac_ext
22307 cat >>conftest.
$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309 #define _LARGE_FILES 1
22310 #include <sys/types.h>
22315 unsigned int field: sizeof(off_t) == 8;
22322 rm -f conftest.
$ac_objext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22324 (eval $ac_compile) 2>conftest.er1
22326 grep -v '^ *+' conftest.er1
>conftest.err
22328 cat conftest.err
>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } &&
22331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try
='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sys_large_files
=1
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.
$ac_ext >&5
22348 ac_cv_sys_large_files
=no
22350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22354 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22355 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22357 if test "$ac_cv_sys_large_files" != no
; then
22359 cat >>confdefs.h
<<_ACEOF
22360 #define _LARGE_FILES $ac_cv_sys_large_files
22367 echo "$as_me:$LINENO: checking if large file support is available" >&5
22368 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22369 if test "x$wx_largefile" = "xyes"; then
22370 cat >>confdefs.h
<<\_ACEOF
22371 #define HAVE_LARGEFILE_SUPPORT 1
22375 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22376 echo "${ECHO_T}$wx_largefile" >&6
22380 if test "x$wx_largefile" = "xyes"; then
22381 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22382 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22384 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22385 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22386 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22387 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22388 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 cat >conftest.
$ac_ext <<_ACEOF
22394 cat confdefs.h
>>conftest.
$ac_ext
22395 cat >>conftest.
$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22402 #ifndef __STDC_EXT__
22410 rm -f conftest.
$ac_objext
22411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22412 (eval $ac_compile) 2>conftest.er1
22414 grep -v '^ *+' conftest.er1
>conftest.err
22416 cat conftest.err
>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } &&
22419 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try
='test -s conftest.$ac_objext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 wx_cv_STDC_EXT_required
=no
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.
$ac_ext >&5
22436 wx_cv_STDC_EXT_required
=yes
22439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22443 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22444 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22445 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22446 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22450 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22452 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22453 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22454 if test "${ac_cv_sys_largefile_source+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22458 ac_cv_sys_largefile_source
=no
22459 cat >conftest.
$ac_ext <<_ACEOF
22462 cat confdefs.h
>>conftest.
$ac_ext
22463 cat >>conftest.
$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22474 rm -f conftest.
$ac_objext
22475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22476 (eval $ac_compile) 2>conftest.er1
22478 grep -v '^ *+' conftest.er1
>conftest.err
22480 cat conftest.err
>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; } &&
22489 { ac_try
='test -s conftest.$ac_objext'
22490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22491 (eval $ac_try) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22497 echo "$as_me: failed program was:" >&5
22498 sed 's/^/| /' conftest.
$ac_ext >&5
22501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22502 cat >conftest.
$ac_ext <<_ACEOF
22505 cat confdefs.h
>>conftest.
$ac_ext
22506 cat >>conftest.
$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 #define _LARGEFILE_SOURCE 1
22518 rm -f conftest.
$ac_objext
22519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22520 (eval $ac_compile) 2>conftest.er1
22522 grep -v '^ *+' conftest.er1
>conftest.err
22524 cat conftest.err
>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } &&
22527 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
22539 ac_cv_sys_largefile_source
=1; break
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
22549 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22550 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22551 if test "$ac_cv_sys_largefile_source" != no
; then
22553 cat >>confdefs.h
<<_ACEOF
22554 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22560 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22561 # in glibc 2.1.3, but that breaks too many other things.
22562 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22563 echo "$as_me:$LINENO: checking for fseeko" >&5
22564 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22565 if test "${ac_cv_func_fseeko+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 cat >conftest.
$ac_ext <<_ACEOF
22571 cat confdefs.h
>>conftest.
$ac_ext
22572 cat >>conftest.
$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22578 return fseeko && fseeko (stdin, 0, 0);
22583 rm -f conftest.
$ac_objext conftest
$ac_exeext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22585 (eval $ac_link) 2>conftest.er1
22587 grep -v '^ *+' conftest.er1
>conftest.err
22589 cat conftest.err
>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } &&
22592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; } &&
22598 { ac_try
='test -s conftest$ac_exeext'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; }; then
22604 ac_cv_func_fseeko
=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.
$ac_ext >&5
22609 ac_cv_func_fseeko
=no
22611 rm -f conftest.err conftest.
$ac_objext \
22612 conftest
$ac_exeext conftest.
$ac_ext
22614 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22615 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22616 if test $ac_cv_func_fseeko = yes; then
22618 cat >>confdefs.h
<<\_ACEOF
22619 #define HAVE_FSEEKO 1
22624 if test "$ac_cv_sys_largefile_source" != no
; then
22625 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22629 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22630 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22631 if test "${ac_cv_c_bigendian+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 ac_cv_c_bigendian
=unknown
22635 # See if sys/param.h defines the BYTE_ORDER macro.
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 #include <sys/types.h>
22643 #include <sys/param.h>
22648 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22649 bogus endian macros
22655 rm -f conftest.
$ac_objext
22656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22657 (eval $ac_compile) 2>conftest.er1
22659 grep -v '^ *+' conftest.er1
>conftest.err
22661 cat conftest.err
>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } &&
22664 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; } &&
22670 { ac_try
='test -s conftest.$ac_objext'
22671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22672 (eval $ac_try) 2>&5
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); }; }; then
22676 # It does; now see whether it defined to BIG_ENDIAN or not.
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683 #include <sys/types.h>
22684 #include <sys/param.h>
22689 #if BYTE_ORDER != BIG_ENDIAN
22696 rm -f conftest.
$ac_objext
22697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22698 (eval $ac_compile) 2>conftest.er1
22700 grep -v '^ *+' conftest.er1
>conftest.err
22702 cat conftest.err
>&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } &&
22705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22717 ac_cv_c_bigendian
=yes
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.
$ac_ext >&5
22722 ac_cv_c_bigendian
=no
22724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.
$ac_ext >&5
22730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22731 if test $ac_cv_c_bigendian = unknown
; then
22732 if test "$cross_compiling" = yes; then
22733 ac_cv_c_bigendian
=unknown
22735 cat >conftest.
$ac_ext <<_ACEOF
22738 cat confdefs.h
>>conftest.
$ac_ext
22739 cat >>conftest.
$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22742 /* Are we little or big endian? From Harbison&Steele. */
22746 char c[sizeof (long)];
22749 exit (u.c[sizeof (long) - 1] == 1);
22752 rm -f conftest
$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 ac_cv_c_bigendian
=no
22765 echo "$as_me: program exited with status $ac_status" >&5
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.
$ac_ext >&5
22769 ( exit $ac_status )
22770 ac_cv_c_bigendian
=yes
22772 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22776 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22777 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22778 if test $ac_cv_c_bigendian = unknown
; then
22779 { 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
22780 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;}
22782 if test $ac_cv_c_bigendian = yes; then
22783 cat >>confdefs.h
<<\_ACEOF
22784 #define WORDS_BIGENDIAN 1
22794 ac_cpp
='$CXXCPP $CPPFLAGS'
22795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22801 for ac_header
in iostream
22803 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22805 echo "$as_me:$LINENO: checking for $ac_header" >&5
22806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22808 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22813 # Is the header compilable?
22814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22816 cat >conftest.
$ac_ext <<_ACEOF
22819 cat confdefs.h
>>conftest.
$ac_ext
22820 cat >>conftest.
$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 $ac_includes_default
22823 #include <$ac_header>
22825 rm -f conftest.
$ac_objext
22826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22827 (eval $ac_compile) 2>conftest.er1
22829 grep -v '^ *+' conftest.er1
>conftest.err
22831 cat conftest.err
>&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } &&
22834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try
='test -s conftest.$ac_objext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 ac_header_compiler
=yes
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.
$ac_ext >&5
22851 ac_header_compiler
=no
22853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22855 echo "${ECHO_T}$ac_header_compiler" >&6
22857 # Is the header present?
22858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22860 cat >conftest.
$ac_ext <<_ACEOF
22863 cat confdefs.h
>>conftest.
$ac_ext
22864 cat >>conftest.
$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 #include <$ac_header>
22868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22871 grep -v '^ *+' conftest.er1
>conftest.err
22873 cat conftest.err
>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } >/dev
/null
; then
22876 if test -s conftest.err
; then
22877 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22878 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22885 if test -z "$ac_cpp_err"; then
22886 ac_header_preproc
=yes
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.
$ac_ext >&5
22891 ac_header_preproc
=no
22893 rm -f conftest.err conftest.
$ac_ext
22894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22895 echo "${ECHO_T}$ac_header_preproc" >&6
22897 # So? What about this header?
22898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22904 ac_header_preproc
=yes
22907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22921 ## ----------------------------------------- ##
22922 ## Report this to wx-dev@lists.wxwidgets.org ##
22923 ## ----------------------------------------- ##
22926 sed "s/^/$as_me: WARNING: /" >&2
22929 echo "$as_me:$LINENO: checking for $ac_header" >&5
22930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22932 echo $ECHO_N "(cached) $ECHO_C" >&6
22934 eval "$as_ac_Header=\$ac_header_preproc"
22936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22941 cat >>confdefs.h
<<_ACEOF
22942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22950 if test "$ac_cv_header_iostream" = "yes" ; then
22953 cat >>confdefs.h
<<\_ACEOF
22954 #define wxUSE_IOSTREAMH 1
22960 ac_cpp
='$CXXCPP $CPPFLAGS'
22961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22968 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22969 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22970 if test "${wx_cv_cpp_bool+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 ac_cpp
='$CXXCPP $CPPFLAGS'
22978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22983 cat >conftest.
$ac_ext <<_ACEOF
22986 cat confdefs.h
>>conftest.
$ac_ext
22987 cat >>conftest.
$ac_ext <<_ACEOF
22988 /* end confdefs.h. */
23003 rm -f conftest.
$ac_objext
23004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23005 (eval $ac_compile) 2>conftest.er1
23007 grep -v '^ *+' conftest.er1
>conftest.err
23009 cat conftest.err
>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; } &&
23018 { ac_try
='test -s conftest.$ac_objext'
23019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23020 (eval $ac_try) 2>&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); }; }; then
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.
$ac_ext >&5
23036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23039 ac_cpp
='$CXXCPP $CPPFLAGS'
23040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23046 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23047 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23049 if test "$wx_cv_cpp_bool" = "yes"; then
23050 cat >>confdefs.h
<<\_ACEOF
23051 #define HAVE_BOOL 1
23058 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23059 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23060 if test "${wx_cv_explicit+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23067 ac_cpp
='$CXXCPP $CPPFLAGS'
23068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23073 cat >conftest.
$ac_ext <<_ACEOF
23076 cat confdefs.h
>>conftest.
$ac_ext
23077 cat >>conftest.
$ac_ext <<_ACEOF
23078 /* end confdefs.h. */
23080 class Foo { public: explicit Foo(int) {} };
23092 rm -f conftest.
$ac_objext
23093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23094 (eval $ac_compile) 2>conftest.er1
23096 grep -v '^ *+' conftest.er1
>conftest.err
23098 cat conftest.err
>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } &&
23101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103 (eval $ac_try) 2>&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); }; } &&
23107 { ac_try
='test -s conftest.$ac_objext'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; }; then
23114 cat >conftest.
$ac_ext <<_ACEOF
23117 cat confdefs.h
>>conftest.
$ac_ext
23118 cat >>conftest.
$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23121 class Foo { public: explicit Foo(int) {} };
23122 static void TakeFoo(const Foo& foo) { }
23135 rm -f conftest.
$ac_objext
23136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23137 (eval $ac_compile) 2>conftest.er1
23139 grep -v '^ *+' conftest.er1
>conftest.err
23141 cat conftest.err
>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; } &&
23150 { ac_try
='test -s conftest.$ac_objext'
23151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152 (eval $ac_try) 2>&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); }; }; then
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.
$ac_ext >&5
23164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.
$ac_ext >&5
23173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23176 ac_cpp
='$CXXCPP $CPPFLAGS'
23177 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23183 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23184 echo "${ECHO_T}$wx_cv_explicit" >&6
23186 if test "$wx_cv_explicit" = "yes"; then
23187 cat >>confdefs.h
<<\_ACEOF
23188 #define HAVE_EXPLICIT 1
23194 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23195 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23196 if test "${ac_cv_cxx_const_cast+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 ac_cpp
='$CXXCPP $CPPFLAGS'
23203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23207 cat >conftest.
$ac_ext <<_ACEOF
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23217 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23222 rm -f conftest.
$ac_objext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23224 (eval $ac_compile) 2>conftest.er1
23226 grep -v '^ *+' conftest.er1
>conftest.err
23228 cat conftest.err
>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; } &&
23237 { ac_try
='test -s conftest.$ac_objext'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; }; then
23243 ac_cv_cxx_const_cast
=yes
23245 echo "$as_me: failed program was:" >&5
23246 sed 's/^/| /' conftest.
$ac_ext >&5
23248 ac_cv_cxx_const_cast
=no
23250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23252 ac_cpp
='$CXXCPP $CPPFLAGS'
23253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23259 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23260 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23261 if test "$ac_cv_cxx_const_cast" = yes; then
23263 cat >>confdefs.h
<<\_ACEOF
23264 #define HAVE_CONST_CAST
23269 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23270 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23271 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23277 ac_cpp
='$CXXCPP $CPPFLAGS'
23278 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23282 cat >conftest.
$ac_ext <<_ACEOF
23285 cat confdefs.h
>>conftest.
$ac_ext
23286 cat >>conftest.
$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288 #include <typeinfo>
23289 class Base { public : Base () {} virtual void f () = 0;};
23290 class Derived : public Base { public : Derived () {} virtual void f () {} };
23291 class Unrelated { public : Unrelated () {} };
23292 int g (Unrelated&) { return 0; }
23297 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23302 rm -f conftest.
$ac_objext
23303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23304 (eval $ac_compile) 2>conftest.er1
23306 grep -v '^ *+' conftest.er1
>conftest.err
23308 cat conftest.err
>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; } &&
23317 { ac_try
='test -s conftest.$ac_objext'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 ac_cv_cxx_reinterpret_cast
=yes
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.
$ac_ext >&5
23328 ac_cv_cxx_reinterpret_cast
=no
23330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23332 ac_cpp
='$CXXCPP $CPPFLAGS'
23333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23339 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23340 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23341 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23343 cat >>confdefs.h
<<\_ACEOF
23344 #define HAVE_REINTERPRET_CAST
23349 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23350 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23351 if test "${ac_cv_cxx_static_cast+set}" = set; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 ac_cpp
='$CXXCPP $CPPFLAGS'
23358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368 #include <typeinfo>
23369 class Base { public : Base () {} virtual void f () = 0; };
23370 class Derived : public Base { public : Derived () {} virtual void f () {} };
23371 int g (Derived&) { return 0; }
23376 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23381 rm -f conftest.
$ac_objext
23382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23383 (eval $ac_compile) 2>conftest.er1
23385 grep -v '^ *+' conftest.er1
>conftest.err
23387 cat conftest.err
>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); } &&
23390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; } &&
23396 { ac_try
='test -s conftest.$ac_objext'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23402 ac_cv_cxx_static_cast
=yes
23404 echo "$as_me: failed program was:" >&5
23405 sed 's/^/| /' conftest.
$ac_ext >&5
23407 ac_cv_cxx_static_cast
=no
23409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
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
23418 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23419 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23420 if test "$ac_cv_cxx_static_cast" = yes; then
23422 cat >>confdefs.h
<<\_ACEOF
23423 #define HAVE_STATIC_CAST
23429 if test "x$SUNCXX" = xyes
; then
23430 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23433 if test "x$SUNCC" = xyes
; then
23434 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23437 if test "x$SGICC" = "xyes"; then
23438 CFLAGS
="-woff 3970 $CFLAGS"
23440 if test "x$SGICXX" = "xyes"; then
23441 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23444 if test "x$HPCC" = "xyes"; then
23445 CFLAGS
="+W 2011,2450 $CFLAGS"
23447 if test "x$HPCXX" = "xyes"; then
23448 CXXFLAGS
="+W 2340 $CXXFLAGS"
23451 if test "x$COMPAQCXX" = "xyes"; then
23452 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23455 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23456 if test "$wxUSE_UNICODE" = "yes"; then
23457 std_string
="std::wstring"
23458 char_type
="wchar_t"
23460 std_string
="std::string"
23464 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23465 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23466 cat >conftest.
$ac_ext <<_ACEOF
23469 cat confdefs.h
>>conftest.
$ac_ext
23470 cat >>conftest.
$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23481 rm -f conftest.
$ac_objext
23482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23483 (eval $ac_compile) 2>conftest.er1
23485 grep -v '^ *+' conftest.er1
>conftest.err
23487 cat conftest.err
>&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; } &&
23496 { ac_try
='test -s conftest.$ac_objext'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; }; then
23502 echo "$as_me:$LINENO: result: yes" >&5
23503 echo "${ECHO_T}yes" >&6
23504 cat >>confdefs.h
<<\_ACEOF
23505 #define HAVE_STD_WSTRING 1
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.
$ac_ext >&5
23512 echo "$as_me:$LINENO: result: no" >&5
23513 echo "${ECHO_T}no" >&6
23514 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23515 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23523 #ifdef HAVE_WCHAR_H
23525 # include <stddef.h>
23527 # include <wchar.h>
23529 #ifdef HAVE_STDLIB_H
23530 # include <stdlib.h>
23538 std::basic_string<$char_type> foo;
23539 const $char_type* dummy = foo.c_str();
23544 rm -f conftest.
$ac_objext
23545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23546 (eval $ac_compile) 2>conftest.er1
23548 grep -v '^ *+' conftest.er1
>conftest.err
23550 cat conftest.err
>&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); } &&
23553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; } &&
23559 { ac_try
='test -s conftest.$ac_objext'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; }; then
23565 echo "$as_me:$LINENO: result: yes" >&5
23566 echo "${ECHO_T}yes" >&6
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.
$ac_ext >&5
23571 echo "$as_me:$LINENO: result: no" >&5
23572 echo "${ECHO_T}no" >&6
23573 if test "$wxUSE_STL" = "yes"; then
23574 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23575 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23576 { (exit 1); exit 1; }; }
23577 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23578 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23579 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23580 { (exit 1); exit 1; }; }
23582 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23583 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23584 wxUSE_STD_STRING
=no
23589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23595 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23596 echo "$as_me:$LINENO: checking for std::istream" >&5
23597 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23598 if test "${ac_cv_type_std__istream+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 cat >conftest.
$ac_ext <<_ACEOF
23604 cat confdefs.h
>>conftest.
$ac_ext
23605 cat >>conftest.
$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #include <iostream>
23612 if ((std::istream *) 0)
23614 if (sizeof (std::istream))
23620 rm -f conftest.
$ac_objext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23622 (eval $ac_compile) 2>conftest.er1
23624 grep -v '^ *+' conftest.er1
>conftest.err
23626 cat conftest.err
>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try
='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 ac_cv_type_std__istream
=yes
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.
$ac_ext >&5
23646 ac_cv_type_std__istream
=no
23648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23650 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23651 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23652 if test $ac_cv_type_std__istream = yes; then
23654 cat >>confdefs.h
<<_ACEOF
23655 #define HAVE_STD__ISTREAM 1
23660 wxUSE_STD_IOSTREAM
=no
23662 echo "$as_me:$LINENO: checking for std::ostream" >&5
23663 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23664 if test "${ac_cv_type_std__ostream+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 cat >conftest.
$ac_ext <<_ACEOF
23670 cat confdefs.h
>>conftest.
$ac_ext
23671 cat >>conftest.
$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23673 #include <iostream>
23678 if ((std::ostream *) 0)
23680 if (sizeof (std::ostream))
23686 rm -f conftest.
$ac_objext
23687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23688 (eval $ac_compile) 2>conftest.er1
23690 grep -v '^ *+' conftest.er1
>conftest.err
23692 cat conftest.err
>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try
='test -s conftest.$ac_objext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 ac_cv_type_std__ostream
=yes
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.
$ac_ext >&5
23712 ac_cv_type_std__ostream
=no
23714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23716 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23717 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23718 if test $ac_cv_type_std__ostream = yes; then
23720 cat >>confdefs.h
<<_ACEOF
23721 #define HAVE_STD__OSTREAM 1
23726 wxUSE_STD_IOSTREAM
=no
23730 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23731 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23732 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23733 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23734 { (exit 1); exit 1; }; }
23736 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23737 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23742 if test "$wxUSE_STL" = "yes"; then
23743 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23744 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23752 #include <functional>
23753 #include <algorithm>
23759 std::vector<int> moo;
23760 std::list<int> foo;
23761 std::vector<int>::iterator it =
23762 std::find_if(moo.begin(), moo.end(),
23763 std::bind2nd(std::less<int>(), 3));
23768 rm -f conftest.
$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; } &&
23783 { ac_try
='test -s conftest.$ac_objext'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 echo "$as_me:$LINENO: result: yes" >&5
23790 echo "${ECHO_T}yes" >&6
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23795 echo "$as_me:$LINENO: result: no" >&5
23796 echo "${ECHO_T}no" >&6
23797 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23798 echo "$as_me: error: Basic STL functionality missing" >&2;}
23799 { (exit 1); exit 1; }; }
23801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23803 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23804 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23805 cat >conftest.
$ac_ext <<_ACEOF
23808 cat confdefs.h
>>conftest.
$ac_ext
23809 cat >>conftest.
$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23815 std::string foo, bar;
23817 foo.compare(1, 1, bar);
23818 foo.compare(1, 1, bar, 1, 1);
23820 foo.compare(1, 1, "");
23821 foo.compare(1, 1, "", 2);
23826 rm -f conftest.
$ac_objext
23827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23828 (eval $ac_compile) 2>conftest.er1
23830 grep -v '^ *+' conftest.er1
>conftest.err
23832 cat conftest.err
>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try
='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 echo "$as_me:$LINENO: result: yes" >&5
23848 echo "${ECHO_T}yes" >&6
23849 cat >>confdefs.h
<<\_ACEOF
23850 #define HAVE_STD_STRING_COMPARE 1
23854 echo "$as_me: failed program was:" >&5
23855 sed 's/^/| /' conftest.
$ac_ext >&5
23857 echo "$as_me:$LINENO: result: no" >&5
23858 echo "${ECHO_T}no" >&6
23860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23862 if test "${ac_cv_header_hash_map+set}" = set; then
23863 echo "$as_me:$LINENO: checking for hash_map" >&5
23864 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23865 if test "${ac_cv_header_hash_map+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23869 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23871 # Is the header compilable?
23872 echo "$as_me:$LINENO: checking hash_map usability" >&5
23873 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23874 cat >conftest.
$ac_ext <<_ACEOF
23877 cat confdefs.h
>>conftest.
$ac_ext
23878 cat >>conftest.
$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 $ac_includes_default
23881 #include <hash_map>
23883 rm -f conftest.
$ac_objext
23884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23885 (eval $ac_compile) 2>conftest.er1
23887 grep -v '^ *+' conftest.er1
>conftest.err
23889 cat conftest.err
>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); } &&
23892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; } &&
23898 { ac_try
='test -s conftest.$ac_objext'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; }; then
23904 ac_header_compiler
=yes
23906 echo "$as_me: failed program was:" >&5
23907 sed 's/^/| /' conftest.
$ac_ext >&5
23909 ac_header_compiler
=no
23911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23913 echo "${ECHO_T}$ac_header_compiler" >&6
23915 # Is the header present?
23916 echo "$as_me:$LINENO: checking hash_map presence" >&5
23917 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23918 cat >conftest.
$ac_ext <<_ACEOF
23921 cat confdefs.h
>>conftest.
$ac_ext
23922 cat >>conftest.
$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23924 #include <hash_map>
23926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23929 grep -v '^ *+' conftest.er1
>conftest.err
23931 cat conftest.err
>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } >/dev
/null
; then
23934 if test -s conftest.err
; then
23935 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23936 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23943 if test -z "$ac_cpp_err"; then
23944 ac_header_preproc
=yes
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.
$ac_ext >&5
23949 ac_header_preproc
=no
23951 rm -f conftest.err conftest.
$ac_ext
23952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23953 echo "${ECHO_T}$ac_header_preproc" >&6
23955 # So? What about this header?
23956 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23958 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23959 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23960 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23961 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23962 ac_header_preproc
=yes
23965 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23966 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23967 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23968 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23970 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23972 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23973 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23974 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23975 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23976 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23979 ## ----------------------------------------- ##
23980 ## Report this to wx-dev@lists.wxwidgets.org ##
23981 ## ----------------------------------------- ##
23984 sed "s/^/$as_me: WARNING: /" >&2
23987 echo "$as_me:$LINENO: checking for hash_map" >&5
23988 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23989 if test "${ac_cv_header_hash_map+set}" = set; then
23990 echo $ECHO_N "(cached) $ECHO_C" >&6
23992 ac_cv_header_hash_map
=$ac_header_preproc
23994 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23995 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23998 if test $ac_cv_header_hash_map = yes; then
23999 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24000 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24001 cat >conftest.
$ac_ext <<_ACEOF
24004 cat confdefs.h
>>conftest.
$ac_ext
24005 cat >>conftest.
$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24007 #include <hash_map>
24008 #include <hash_set>
24012 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24013 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24018 rm -f conftest.
$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24022 grep -v '^ *+' conftest.er1
>conftest.err
24024 cat conftest.err
>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try
='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 echo "$as_me:$LINENO: result: yes" >&5
24040 echo "${ECHO_T}yes" >&6
24041 cat >>confdefs.h
<<\_ACEOF
24042 #define HAVE_HASH_MAP 1
24045 cat >>confdefs.h
<<\_ACEOF
24046 #define HAVE_STD_HASH_MAP 1
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 echo "$as_me:$LINENO: result: no" >&5
24054 echo "${ECHO_T}no" >&6
24056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24062 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24063 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24064 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24065 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24068 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24069 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24071 # Is the header compilable?
24072 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24073 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24074 cat >conftest.
$ac_ext <<_ACEOF
24077 cat confdefs.h
>>conftest.
$ac_ext
24078 cat >>conftest.
$ac_ext <<_ACEOF
24079 /* end confdefs.h. */
24080 $ac_includes_default
24081 #include <ext/hash_map>
24083 rm -f conftest.
$ac_objext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24085 (eval $ac_compile) 2>conftest.er1
24087 grep -v '^ *+' conftest.er1
>conftest.err
24089 cat conftest.err
>&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } &&
24092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; } &&
24098 { ac_try
='test -s conftest.$ac_objext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 ac_header_compiler
=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.
$ac_ext >&5
24109 ac_header_compiler
=no
24111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24113 echo "${ECHO_T}$ac_header_compiler" >&6
24115 # Is the header present?
24116 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24117 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24118 cat >conftest.
$ac_ext <<_ACEOF
24121 cat confdefs.h
>>conftest.
$ac_ext
24122 cat >>conftest.
$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 #include <ext/hash_map>
24126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24129 grep -v '^ *+' conftest.er1
>conftest.err
24131 cat conftest.err
>&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } >/dev
/null
; then
24134 if test -s conftest.err
; then
24135 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24136 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24143 if test -z "$ac_cpp_err"; then
24144 ac_header_preproc
=yes
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.
$ac_ext >&5
24149 ac_header_preproc
=no
24151 rm -f conftest.err conftest.
$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24153 echo "${ECHO_T}$ac_header_preproc" >&6
24155 # So? What about this header?
24156 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24158 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24159 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24160 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24161 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24162 ac_header_preproc
=yes
24165 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24166 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24167 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24168 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24169 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24170 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24171 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24172 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24173 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24174 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24175 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24176 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24179 ## ----------------------------------------- ##
24180 ## Report this to wx-dev@lists.wxwidgets.org ##
24181 ## ----------------------------------------- ##
24184 sed "s/^/$as_me: WARNING: /" >&2
24187 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24188 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24189 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 ac_cv_header_ext_hash_map
=$ac_header_preproc
24194 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24195 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24198 if test $ac_cv_header_ext_hash_map = yes; then
24199 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24200 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24201 cat >conftest.
$ac_ext <<_ACEOF
24204 cat confdefs.h
>>conftest.
$ac_ext
24205 cat >>conftest.
$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207 #include <ext/hash_map>
24208 #include <ext/hash_set>
24212 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24213 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24218 rm -f conftest.
$ac_objext
24219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24220 (eval $ac_compile) 2>conftest.er1
24222 grep -v '^ *+' conftest.er1
>conftest.err
24224 cat conftest.err
>&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } &&
24227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; } &&
24233 { ac_try
='test -s conftest.$ac_objext'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; }; then
24239 echo "$as_me:$LINENO: result: yes" >&5
24240 echo "${ECHO_T}yes" >&6
24241 cat >>confdefs.h
<<\_ACEOF
24242 #define HAVE_EXT_HASH_MAP 1
24245 cat >>confdefs.h
<<\_ACEOF
24246 #define HAVE_GNU_CXX_HASH_MAP 1
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24253 echo "$as_me:$LINENO: result: no" >&5
24254 echo "${ECHO_T}no" >&6
24256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24265 /usr/local/include \
24267 /usr/Motif-2.1/include \
24268 /usr/Motif-1.2/include \
24269 /usr/include/Motif1.2 \
24272 /usr/openwin/include \
24276 /usr/X11R6/include \
24277 /usr/X11R6.4/include \
24278 /usr/X11R5/include \
24279 /usr/X11R4/include \
24281 /usr/include/X11R6 \
24282 /usr/include/X11R5 \
24283 /usr/include/X11R4 \
24285 /usr/local/X11R6/include \
24286 /usr/local/X11R5/include \
24287 /usr/local/X11R4/include \
24289 /usr/local/include/X11R6 \
24290 /usr/local/include/X11R5 \
24291 /usr/local/include/X11R4 \
24295 /usr/local/X11/include \
24296 /usr/local/include/X11 \
24298 /usr/XFree86/include/X11 \
24301 /usr/openwin/share/include"
24303 echo "$as_me:$LINENO: checking for libraries directory" >&5
24304 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24308 if test "${wx_cv_std_libpath+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24313 for e
in a so sl dylib dll.a
; do
24315 if test -f $libc; then
24318 cat >conftest.
$ac_ext <<_ACEOF
24319 int main() { return 0; }
24321 rm -f conftest.
$ac_objext conftest
$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>conftest.er1
24325 grep -v '^ *+' conftest.er1
>conftest.err
24327 cat conftest.err
>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } &&
24330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; } &&
24336 { ac_try
='test -s conftest$ac_exeext'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; }; then
24342 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.
$ac_ext >&5
24348 rm -f conftest.err conftest.
$ac_objext \
24349 conftest
$ac_exeext conftest.
$ac_ext
24351 if test "x$wx_cv_std_libpath" != "x"; then
24357 if test "x$wx_cv_std_libpath" = "x"; then
24358 wx_cv_std_libpath
="lib"
24367 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24368 wx_cv_std_libpath
="lib/64"
24370 wx_cv_std_libpath
="lib"
24375 if test "$ac_cv_sizeof_void_p" = 8 -a \
24376 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24377 wx_cv_std_libpath
="lib64"
24379 wx_cv_std_libpath
="lib"
24384 wx_cv_std_libpath
="lib";
24388 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24389 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24391 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24393 if test "$build" != "$host" -a "$GCC" = yes; then
24394 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24395 cross_root
=`dirname $cross_root`
24396 cross_root
=`dirname $cross_root`
24398 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24399 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24400 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24402 if test -z "$PKG_CONFIG_PATH"; then
24403 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24404 export PKG_CONFIG_PATH
24407 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24410 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24412 if test -f "$ac_dir/X11/Intrinsic.h"; then
24413 ac_find_includes
=$ac_dir
24418 x_includes
=$ac_find_includes
24420 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24423 for ac_dir
in $SEARCH_LIB;
24425 for ac_extension
in a so sl dylib dll.a
; do
24426 if test -f "$ac_dir/libXt.$ac_extension"; then
24427 ac_find_libraries
=$ac_dir
24433 x_libraries
=$ac_find_libraries
24439 cat >confcache
<<\_ACEOF
24440 # This file is a shell script that caches the results of configure
24441 # tests run on this system so they can be shared between configure
24442 # scripts and configure runs, see configure's option --config-cache.
24443 # It is not useful on other systems. If it contains results you don't
24444 # want to keep, you may remove or edit it.
24446 # config.status only pays attention to the cache file if you give it
24447 # the --recheck option to rerun configure.
24449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24451 # following values.
24455 # The following way of writing the cache mishandles newlines in values,
24456 # but we know of no workaround that is simple, portable, and efficient.
24457 # So, don't put newlines in cache variables' values.
24458 # Ultrix sh set writes to stderr and can't be redirected directly,
24459 # and sets the high bit in the cache file unless we assign to the vars.
24462 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24464 # `set' does not quote correctly, so add quotes (double-quote
24465 # substitution turns \\\\ into \\, and sed turns \\ into \).
24468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24471 # `set' quotes correctly as required by POSIX, so do not add quotes.
24473 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24482 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24484 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24485 if test -w $cache_file; then
24486 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24487 cat confcache
>$cache_file
24489 echo "not updating unwritable cache $cache_file"
24494 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24495 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24496 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24497 if test "${wx_cv_lib_glibc21+set}" = set; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 cat >conftest.
$ac_ext <<_ACEOF
24504 cat confdefs.h
>>conftest.
$ac_ext
24505 cat >>conftest.
$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 #include <features.h>
24512 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24520 rm -f conftest.
$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24524 grep -v '^ *+' conftest.er1
>conftest.err
24526 cat conftest.err
>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; } &&
24535 { ac_try
='test -s conftest.$ac_objext'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24542 wx_cv_lib_glibc21
=yes
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.
$ac_ext >&5
24549 wx_cv_lib_glibc21
=no
24553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24556 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24557 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24558 if test "$wx_cv_lib_glibc21" = "yes"; then
24559 cat >>confdefs.h
<<\_ACEOF
24560 #define wxHAVE_GLIBC2 1
24566 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24567 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24568 cat >>confdefs.h
<<\_ACEOF
24569 #define _GNU_SOURCE 1
24580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24581 echo "$as_me:$LINENO: checking for $ac_func" >&5
24582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24583 if eval "test \"\${$as_ac_var+set}\" = set"; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 cat >conftest.
$ac_ext <<_ACEOF
24589 cat confdefs.h
>>conftest.
$ac_ext
24590 cat >>conftest.
$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24594 #define $ac_func innocuous_$ac_func
24596 /* System header to define __stub macros and hopefully few prototypes,
24597 which can conflict with char $ac_func (); below.
24598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24599 <limits.h> exists even on freestanding compilers. */
24602 # include <limits.h>
24604 # include <assert.h>
24609 /* Override any gcc2 internal prototype to avoid an error. */
24614 /* We use char because int might match the return type of a gcc2
24615 builtin and then its argument prototype would still apply. */
24617 /* The GNU C library defines this for functions which it implements
24618 to always fail with ENOSYS. Some functions are actually named
24619 something starting with __ and the normal name is an alias. */
24620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24623 char (*f) () = $ac_func;
24632 return f != $ac_func;
24637 rm -f conftest.
$ac_objext conftest
$ac_exeext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24641 grep -v '^ *+' conftest.er1
>conftest.err
24643 cat conftest.err
>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try
='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 eval "$as_ac_var=yes"
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.
$ac_ext >&5
24663 eval "$as_ac_var=no"
24665 rm -f conftest.err conftest.
$ac_objext \
24666 conftest
$ac_exeext conftest.
$ac_ext
24668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24670 if test `eval echo '${'$as_ac_var'}'` = yes; then
24671 cat >>confdefs.h
<<_ACEOF
24672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24679 for ac_func
in floor
24681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24682 echo "$as_me:$LINENO: checking for $ac_func" >&5
24683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24684 if eval "test \"\${$as_ac_var+set}\" = set"; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24687 cat >conftest.
$ac_ext <<_ACEOF
24690 cat confdefs.h
>>conftest.
$ac_ext
24691 cat >>conftest.
$ac_ext <<_ACEOF
24692 /* end confdefs.h. */
24693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24695 #define $ac_func innocuous_$ac_func
24697 /* System header to define __stub macros and hopefully few prototypes,
24698 which can conflict with char $ac_func (); below.
24699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24700 <limits.h> exists even on freestanding compilers. */
24703 # include <limits.h>
24705 # include <assert.h>
24710 /* Override any gcc2 internal prototype to avoid an error. */
24715 /* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24718 /* The GNU C library defines this for functions which it implements
24719 to always fail with ENOSYS. Some functions are actually named
24720 something starting with __ and the normal name is an alias. */
24721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24724 char (*f) () = $ac_func;
24733 return f != $ac_func;
24738 rm -f conftest.
$ac_objext conftest
$ac_exeext
24739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24740 (eval $ac_link) 2>conftest.er1
24742 grep -v '^ *+' conftest.er1
>conftest.err
24744 cat conftest.err
>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } &&
24747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; } &&
24753 { ac_try
='test -s conftest$ac_exeext'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24759 eval "$as_ac_var=yes"
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.
$ac_ext >&5
24764 eval "$as_ac_var=no"
24766 rm -f conftest.err conftest.
$ac_objext \
24767 conftest
$ac_exeext conftest.
$ac_ext
24769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24771 if test `eval echo '${'$as_ac_var'}'` = yes; then
24772 cat >>confdefs.h
<<_ACEOF
24773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24779 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24780 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24781 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24782 echo "$as_me:$LINENO: result: yes" >&5
24783 echo "${ECHO_T}yes" >&6
24785 echo "$as_me:$LINENO: result: no" >&5
24786 echo "${ECHO_T}no" >&6
24788 # use different functions to avoid configure caching
24794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24795 echo "$as_me:$LINENO: checking for $ac_func" >&5
24796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24797 if eval "test \"\${$as_ac_var+set}\" = set"; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24800 cat >conftest.
$ac_ext <<_ACEOF
24803 cat confdefs.h
>>conftest.
$ac_ext
24804 cat >>conftest.
$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24808 #define $ac_func innocuous_$ac_func
24810 /* System header to define __stub macros and hopefully few prototypes,
24811 which can conflict with char $ac_func (); below.
24812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24813 <limits.h> exists even on freestanding compilers. */
24816 # include <limits.h>
24818 # include <assert.h>
24823 /* Override any gcc2 internal prototype to avoid an error. */
24828 /* We use char because int might match the return type of a gcc2
24829 builtin and then its argument prototype would still apply. */
24831 /* The GNU C library defines this for functions which it implements
24832 to always fail with ENOSYS. Some functions are actually named
24833 something starting with __ and the normal name is an alias. */
24834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24837 char (*f) () = $ac_func;
24846 return f != $ac_func;
24851 rm -f conftest.
$ac_objext conftest
$ac_exeext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24853 (eval $ac_link) 2>conftest.er1
24855 grep -v '^ *+' conftest.er1
>conftest.err
24857 cat conftest.err
>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try
='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24877 eval "$as_ac_var=no"
24879 rm -f conftest.err conftest.
$ac_objext \
24880 conftest
$ac_exeext conftest.
$ac_ext
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h
<<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24893 for ac_func
in ceil
24895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24896 echo "$as_me:$LINENO: checking for $ac_func" >&5
24897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24898 if eval "test \"\${$as_ac_var+set}\" = set"; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 cat >conftest.
$ac_ext <<_ACEOF
24904 cat confdefs.h
>>conftest.
$ac_ext
24905 cat >>conftest.
$ac_ext <<_ACEOF
24906 /* end confdefs.h. */
24907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24909 #define $ac_func innocuous_$ac_func
24911 /* System header to define __stub macros and hopefully few prototypes,
24912 which can conflict with char $ac_func (); below.
24913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24914 <limits.h> exists even on freestanding compilers. */
24917 # include <limits.h>
24919 # include <assert.h>
24924 /* Override any gcc2 internal prototype to avoid an error. */
24929 /* We use char because int might match the return type of a gcc2
24930 builtin and then its argument prototype would still apply. */
24932 /* The GNU C library defines this for functions which it implements
24933 to always fail with ENOSYS. Some functions are actually named
24934 something starting with __ and the normal name is an alias. */
24935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24938 char (*f) () = $ac_func;
24947 return f != $ac_func;
24952 rm -f conftest.
$ac_objext conftest
$ac_exeext
24953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24954 (eval $ac_link) 2>conftest.er1
24956 grep -v '^ *+' conftest.er1
>conftest.err
24958 cat conftest.err
>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try
='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 eval "$as_ac_var=yes"
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.
$ac_ext >&5
24978 eval "$as_ac_var=no"
24980 rm -f conftest.err conftest.
$ac_objext \
24981 conftest
$ac_exeext conftest.
$ac_ext
24983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24985 if test `eval echo '${'$as_ac_var'}'` = yes; then
24986 cat >>confdefs.h
<<_ACEOF
24987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24993 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24994 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24995 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24996 echo "$as_me:$LINENO: result: yes" >&5
24997 echo "${ECHO_T}yes" >&6
24999 echo "$as_me:$LINENO: result: no" >&5
25000 echo "${ECHO_T}no" >&6
25001 # not sure we should warn the user, crash, etc.
25007 if test "$wxUSE_REGEX" != "no"; then
25008 cat >>confdefs.h
<<\_ACEOF
25009 #define wxUSE_REGEX 1
25013 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25014 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25015 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25016 wxUSE_REGEX
=builtin
25019 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25020 if test "${ac_cv_header_regex_h+set}" = set; then
25021 echo "$as_me:$LINENO: checking for regex.h" >&5
25022 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25023 if test "${ac_cv_header_regex_h+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25027 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25029 # Is the header compilable?
25030 echo "$as_me:$LINENO: checking regex.h usability" >&5
25031 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25032 cat >conftest.
$ac_ext <<_ACEOF
25035 cat confdefs.h
>>conftest.
$ac_ext
25036 cat >>conftest.
$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038 $ac_includes_default
25041 rm -f conftest.
$ac_objext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25043 (eval $ac_compile) 2>conftest.er1
25045 grep -v '^ *+' conftest.er1
>conftest.err
25047 cat conftest.err
>&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } &&
25050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try
='test -s conftest.$ac_objext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_header_compiler
=yes
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.
$ac_ext >&5
25067 ac_header_compiler
=no
25069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25071 echo "${ECHO_T}$ac_header_compiler" >&6
25073 # Is the header present?
25074 echo "$as_me:$LINENO: checking regex.h presence" >&5
25075 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25076 cat >conftest.
$ac_ext <<_ACEOF
25079 cat confdefs.h
>>conftest.
$ac_ext
25080 cat >>conftest.
$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25087 grep -v '^ *+' conftest.er1
>conftest.err
25089 cat conftest.err
>&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } >/dev
/null
; then
25092 if test -s conftest.err
; then
25093 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25094 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25101 if test -z "$ac_cpp_err"; then
25102 ac_header_preproc
=yes
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.
$ac_ext >&5
25107 ac_header_preproc
=no
25109 rm -f conftest.err conftest.
$ac_ext
25110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25111 echo "${ECHO_T}$ac_header_preproc" >&6
25113 # So? What about this header?
25114 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25116 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25117 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25119 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25120 ac_header_preproc
=yes
25123 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25124 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25125 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25126 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25127 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25128 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25129 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25130 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25131 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25132 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25133 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25134 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25137 ## ----------------------------------------- ##
25138 ## Report this to wx-dev@lists.wxwidgets.org ##
25139 ## ----------------------------------------- ##
25142 sed "s/^/$as_me: WARNING: /" >&2
25145 echo "$as_me:$LINENO: checking for regex.h" >&5
25146 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25147 if test "${ac_cv_header_regex_h+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 ac_cv_header_regex_h
=$ac_header_preproc
25152 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25153 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25156 if test $ac_cv_header_regex_h = yes; then
25159 for ac_func
in regcomp re_search
25161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25162 echo "$as_me:$LINENO: checking for $ac_func" >&5
25163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25164 if eval "test \"\${$as_ac_var+set}\" = set"; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 cat >conftest.
$ac_ext <<_ACEOF
25170 cat confdefs.h
>>conftest.
$ac_ext
25171 cat >>conftest.
$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25175 #define $ac_func innocuous_$ac_func
25177 /* System header to define __stub macros and hopefully few prototypes,
25178 which can conflict with char $ac_func (); below.
25179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25180 <limits.h> exists even on freestanding compilers. */
25183 # include <limits.h>
25185 # include <assert.h>
25190 /* Override any gcc2 internal prototype to avoid an error. */
25195 /* We use char because int might match the return type of a gcc2
25196 builtin and then its argument prototype would still apply. */
25198 /* The GNU C library defines this for functions which it implements
25199 to always fail with ENOSYS. Some functions are actually named
25200 something starting with __ and the normal name is an alias. */
25201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25204 char (*f) () = $ac_func;
25213 return f != $ac_func;
25218 rm -f conftest.
$ac_objext conftest
$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229 (eval $ac_try) 2>&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); }; } &&
25233 { ac_try
='test -s conftest$ac_exeext'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; }; then
25239 eval "$as_ac_var=yes"
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.
$ac_ext >&5
25244 eval "$as_ac_var=no"
25246 rm -f conftest.err conftest.
$ac_objext \
25247 conftest
$ac_exeext conftest.
$ac_ext
25249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25251 if test `eval echo '${'$as_ac_var'}'` = yes; then
25252 cat >>confdefs.h
<<_ACEOF
25253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25263 if test "x$ac_cv_func_regcomp" != "xyes"; then
25264 if test "$wxUSE_REGEX" = "sys" ; then
25265 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25266 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25267 { (exit 1); exit 1; }; }
25269 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25270 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25271 wxUSE_REGEX
=builtin
25275 cat >>confdefs.h
<<\_ACEOF
25276 #define WX_NO_REGEX_ADVANCED 1
25285 if test "$wxUSE_ZLIB" != "no" ; then
25286 cat >>confdefs.h
<<\_ACEOF
25287 #define wxUSE_ZLIB 1
25291 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25292 if test "$USE_DARWIN" = 1; then
25293 system_zlib_h_ok
="yes"
25295 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25296 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25297 if test "${ac_cv_header_zlib_h+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 if test "$cross_compiling" = yes; then
25301 unset ac_cv_header_zlib_h
25304 cat >conftest.
$ac_ext <<_ACEOF
25307 cat confdefs.h
>>conftest.
$ac_ext
25308 cat >>conftest.
$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25316 FILE *f=fopen("conftestval", "w");
25319 ZLIB_VERSION[0] == '1' &&
25320 (ZLIB_VERSION[2] > '1' ||
25321 (ZLIB_VERSION[2] == '1' &&
25322 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25327 rm -f conftest
$ac_exeext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25329 (eval $ac_link) 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334 (eval $ac_try) 2>&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); }; }; then
25338 ac_cv_header_zlib_h
=`cat conftestval`
25340 echo "$as_me: program exited with status $ac_status" >&5
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.
$ac_ext >&5
25344 ( exit $ac_status )
25345 ac_cv_header_zlib_h
=no
25347 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25351 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25352 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25353 if test "${ac_cv_header_zlib_h+set}" = set; then
25354 echo "$as_me:$LINENO: checking for zlib.h" >&5
25355 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25356 if test "${ac_cv_header_zlib_h+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25360 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25362 # Is the header compilable?
25363 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25364 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25365 cat >conftest.
$ac_ext <<_ACEOF
25368 cat confdefs.h
>>conftest.
$ac_ext
25369 cat >>conftest.
$ac_ext <<_ACEOF
25370 /* end confdefs.h. */
25371 $ac_includes_default
25374 rm -f conftest.
$ac_objext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25376 (eval $ac_compile) 2>conftest.er1
25378 grep -v '^ *+' conftest.er1
>conftest.err
25380 cat conftest.err
>&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); } &&
25383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; } &&
25389 { ac_try
='test -s conftest.$ac_objext'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; }; then
25395 ac_header_compiler
=yes
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.
$ac_ext >&5
25400 ac_header_compiler
=no
25402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25404 echo "${ECHO_T}$ac_header_compiler" >&6
25406 # Is the header present?
25407 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25408 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25409 cat >conftest.
$ac_ext <<_ACEOF
25412 cat confdefs.h
>>conftest.
$ac_ext
25413 cat >>conftest.
$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25420 grep -v '^ *+' conftest.er1
>conftest.err
25422 cat conftest.err
>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } >/dev
/null
; then
25425 if test -s conftest.err
; then
25426 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25427 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25434 if test -z "$ac_cpp_err"; then
25435 ac_header_preproc
=yes
25437 echo "$as_me: failed program was:" >&5
25438 sed 's/^/| /' conftest.
$ac_ext >&5
25440 ac_header_preproc
=no
25442 rm -f conftest.err conftest.
$ac_ext
25443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25444 echo "${ECHO_T}$ac_header_preproc" >&6
25446 # So? What about this header?
25447 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25449 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25450 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25452 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25453 ac_header_preproc
=yes
25456 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25457 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25458 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25459 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25460 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25461 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25462 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25463 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25464 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25465 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25466 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25467 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25470 ## ----------------------------------------- ##
25471 ## Report this to wx-dev@lists.wxwidgets.org ##
25472 ## ----------------------------------------- ##
25475 sed "s/^/$as_me: WARNING: /" >&2
25478 echo "$as_me:$LINENO: checking for zlib.h" >&5
25479 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25480 if test "${ac_cv_header_zlib_h+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 ac_cv_header_zlib_h
=$ac_header_preproc
25485 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25486 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25492 system_zlib_h_ok
=$ac_cv_header_zlib_h
25495 if test "$system_zlib_h_ok" = "yes"; then
25496 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25497 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25498 if test "${ac_cv_lib_z_deflate+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 ac_check_lib_save_LIBS
=$LIBS
25503 cat >conftest.
$ac_ext <<_ACEOF
25506 cat confdefs.h
>>conftest.
$ac_ext
25507 cat >>conftest.
$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25510 /* Override any gcc2 internal prototype to avoid an error. */
25514 /* We use char because int might match the return type of a gcc2
25515 builtin and then its argument prototype would still apply. */
25525 rm -f conftest.
$ac_objext conftest
$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527 (eval $ac_link) 2>conftest.er1
25529 grep -v '^ *+' conftest.er1
>conftest.err
25531 cat conftest.err
>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; } &&
25540 { ac_try
='test -s conftest$ac_exeext'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; }; then
25546 ac_cv_lib_z_deflate
=yes
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.
$ac_ext >&5
25551 ac_cv_lib_z_deflate
=no
25553 rm -f conftest.err conftest.
$ac_objext \
25554 conftest
$ac_exeext conftest.
$ac_ext
25555 LIBS
=$ac_check_lib_save_LIBS
25557 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25558 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25559 if test $ac_cv_lib_z_deflate = yes; then
25565 if test "x$ZLIB_LINK" = "x" ; then
25566 if test "$wxUSE_ZLIB" = "sys" ; then
25567 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25568 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25569 { (exit 1); exit 1; }; }
25571 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25572 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25583 if test "$wxUSE_LIBPNG" != "no" ; then
25584 cat >>confdefs.h
<<\_ACEOF
25585 #define wxUSE_LIBPNG 1
25589 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25590 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25591 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25595 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25596 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25597 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25598 wxUSE_LIBPNG
=builtin
25601 if test "$wxUSE_MGL" != 1 ; then
25602 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25603 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25604 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25605 if test "${ac_cv_header_png_h+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 if test "$cross_compiling" = yes; then
25609 unset ac_cv_header_png_h
25612 cat >conftest.
$ac_ext <<_ACEOF
25615 cat confdefs.h
>>conftest.
$ac_ext
25616 cat >>conftest.
$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25624 FILE *f=fopen("conftestval", "w");
25627 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25632 rm -f conftest
$ac_exeext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25634 (eval $ac_link) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 ac_cv_header_png_h
=`cat conftestval`
25645 echo "$as_me: program exited with status $ac_status" >&5
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 ( exit $ac_status )
25650 ac_cv_header_png_h
=no
25652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25656 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25657 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25658 if test "${ac_cv_header_png_h+set}" = set; then
25659 echo "$as_me:$LINENO: checking for png.h" >&5
25660 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25661 if test "${ac_cv_header_png_h+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25665 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25667 # Is the header compilable?
25668 echo "$as_me:$LINENO: checking png.h usability" >&5
25669 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25670 cat >conftest.
$ac_ext <<_ACEOF
25673 cat confdefs.h
>>conftest.
$ac_ext
25674 cat >>conftest.
$ac_ext <<_ACEOF
25675 /* end confdefs.h. */
25676 $ac_includes_default
25679 rm -f conftest.
$ac_objext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25681 (eval $ac_compile) 2>conftest.er1
25683 grep -v '^ *+' conftest.er1
>conftest.err
25685 cat conftest.err
>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } &&
25688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try
='test -s conftest.$ac_objext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 ac_header_compiler
=yes
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.
$ac_ext >&5
25705 ac_header_compiler
=no
25707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25709 echo "${ECHO_T}$ac_header_compiler" >&6
25711 # Is the header present?
25712 echo "$as_me:$LINENO: checking png.h presence" >&5
25713 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25714 cat >conftest.
$ac_ext <<_ACEOF
25717 cat confdefs.h
>>conftest.
$ac_ext
25718 cat >>conftest.
$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25725 grep -v '^ *+' conftest.er1
>conftest.err
25727 cat conftest.err
>&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); } >/dev
/null
; then
25730 if test -s conftest.err
; then
25731 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25732 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25739 if test -z "$ac_cpp_err"; then
25740 ac_header_preproc
=yes
25742 echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.
$ac_ext >&5
25745 ac_header_preproc
=no
25747 rm -f conftest.err conftest.
$ac_ext
25748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25749 echo "${ECHO_T}$ac_header_preproc" >&6
25751 # So? What about this header?
25752 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25754 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25755 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25757 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25758 ac_header_preproc
=yes
25761 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25762 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25763 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25764 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25765 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25766 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25767 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25768 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25769 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25770 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25771 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25772 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25775 ## ----------------------------------------- ##
25776 ## Report this to wx-dev@lists.wxwidgets.org ##
25777 ## ----------------------------------------- ##
25780 sed "s/^/$as_me: WARNING: /" >&2
25783 echo "$as_me:$LINENO: checking for png.h" >&5
25784 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25785 if test "${ac_cv_header_png_h+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 ac_cv_header_png_h
=$ac_header_preproc
25790 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25791 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25797 if test "$ac_cv_header_png_h" = "yes"; then
25798 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25799 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25800 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 ac_check_lib_save_LIBS
=$LIBS
25804 LIBS
="-lpng -lz -lm $LIBS"
25805 cat >conftest.
$ac_ext <<_ACEOF
25808 cat confdefs.h
>>conftest.
$ac_ext
25809 cat >>conftest.
$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25812 /* Override any gcc2 internal prototype to avoid an error. */
25816 /* We use char because int might match the return type of a gcc2
25817 builtin and then its argument prototype would still apply. */
25818 char png_check_sig ();
25827 rm -f conftest.
$ac_objext conftest
$ac_exeext
25828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25829 (eval $ac_link) 2>conftest.er1
25831 grep -v '^ *+' conftest.er1
>conftest.err
25833 cat conftest.err
>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; } &&
25842 { ac_try
='test -s conftest$ac_exeext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_lib_png_png_check_sig
=yes
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 ac_cv_lib_png_png_check_sig
=no
25855 rm -f conftest.err conftest.
$ac_objext \
25856 conftest
$ac_exeext conftest.
$ac_ext
25857 LIBS
=$ac_check_lib_save_LIBS
25859 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25860 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25861 if test $ac_cv_lib_png_png_check_sig = yes; then
25862 PNG_LINK
=" -lpng -lz"
25867 if test "x$PNG_LINK" = "x" ; then
25868 if test "$wxUSE_LIBPNG" = "sys" ; then
25869 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25870 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25871 { (exit 1); exit 1; }; }
25873 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25874 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25875 wxUSE_LIBPNG
=builtin
25883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25888 if test "$wxUSE_LIBJPEG" != "no" ; then
25889 cat >>confdefs.h
<<\_ACEOF
25890 #define wxUSE_LIBJPEG 1
25894 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25895 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25896 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25900 if test "$wxUSE_MGL" != 1 ; then
25901 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25902 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25903 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25904 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 cat >conftest.
$ac_ext <<_ACEOF
25910 cat confdefs.h
>>conftest.
$ac_ext
25911 cat >>conftest.
$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25914 #undef HAVE_STDLIB_H
25916 #include <jpeglib.h>
25927 rm -f conftest.
$ac_objext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25929 (eval $ac_compile) 2>conftest.er1
25931 grep -v '^ *+' conftest.er1
>conftest.err
25933 cat conftest.err
>&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } &&
25936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try
='test -s conftest.$ac_objext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 ac_cv_header_jpeglib_h
=yes
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.
$ac_ext >&5
25953 ac_cv_header_jpeglib_h
=no
25956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25960 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25964 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 ac_check_lib_save_LIBS
=$LIBS
25970 LIBS
="-ljpeg $LIBS"
25971 cat >conftest.
$ac_ext <<_ACEOF
25974 cat confdefs.h
>>conftest.
$ac_ext
25975 cat >>conftest.
$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25978 /* Override any gcc2 internal prototype to avoid an error. */
25982 /* We use char because int might match the return type of a gcc2
25983 builtin and then its argument prototype would still apply. */
25984 char jpeg_read_header ();
25988 jpeg_read_header ();
25993 rm -f conftest.
$ac_objext conftest
$ac_exeext
25994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995 (eval $ac_link) 2>conftest.er1
25997 grep -v '^ *+' conftest.er1
>conftest.err
25999 cat conftest.err
>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } &&
26002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; } &&
26008 { ac_try
='test -s conftest$ac_exeext'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; }; then
26014 ac_cv_lib_jpeg_jpeg_read_header
=yes
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.
$ac_ext >&5
26019 ac_cv_lib_jpeg_jpeg_read_header
=no
26021 rm -f conftest.err conftest.
$ac_objext \
26022 conftest
$ac_exeext conftest.
$ac_ext
26023 LIBS
=$ac_check_lib_save_LIBS
26025 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26026 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26027 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26028 JPEG_LINK
=" -ljpeg"
26033 if test "x$JPEG_LINK" = "x" ; then
26034 if test "$wxUSE_LIBJPEG" = "sys" ; then
26035 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26036 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26037 { (exit 1); exit 1; }; }
26039 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26040 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26041 wxUSE_LIBJPEG
=builtin
26052 TIFF_PREREQ_LINKS
=-lm
26053 if test "$wxUSE_LIBTIFF" != "no" ; then
26054 cat >>confdefs.h
<<\_ACEOF
26055 #define wxUSE_LIBTIFF 1
26059 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26060 if test "$wxUSE_LIBJPEG" = "sys"; then
26061 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26063 if test "$wxUSE_ZLIB" = "sys"; then
26064 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26066 if test "${ac_cv_header_tiffio_h+set}" = set; then
26067 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26068 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26069 if test "${ac_cv_header_tiffio_h+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26073 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26075 # Is the header compilable?
26076 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26077 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26078 cat >conftest.
$ac_ext <<_ACEOF
26081 cat confdefs.h
>>conftest.
$ac_ext
26082 cat >>conftest.
$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26084 $ac_includes_default
26085 #include <tiffio.h>
26087 rm -f conftest.
$ac_objext
26088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089 (eval $ac_compile) 2>conftest.er1
26091 grep -v '^ *+' conftest.er1
>conftest.err
26093 cat conftest.err
>&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } &&
26096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098 (eval $ac_try) 2>&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); }; } &&
26102 { ac_try
='test -s conftest.$ac_objext'
26103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104 (eval $ac_try) 2>&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); }; }; then
26108 ac_header_compiler
=yes
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.
$ac_ext >&5
26113 ac_header_compiler
=no
26115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26117 echo "${ECHO_T}$ac_header_compiler" >&6
26119 # Is the header present?
26120 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26121 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26122 cat >conftest.
$ac_ext <<_ACEOF
26125 cat confdefs.h
>>conftest.
$ac_ext
26126 cat >>conftest.
$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128 #include <tiffio.h>
26130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26133 grep -v '^ *+' conftest.er1
>conftest.err
26135 cat conftest.err
>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } >/dev
/null
; then
26138 if test -s conftest.err
; then
26139 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26140 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26147 if test -z "$ac_cpp_err"; then
26148 ac_header_preproc
=yes
26150 echo "$as_me: failed program was:" >&5
26151 sed 's/^/| /' conftest.
$ac_ext >&5
26153 ac_header_preproc
=no
26155 rm -f conftest.err conftest.
$ac_ext
26156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26157 echo "${ECHO_T}$ac_header_preproc" >&6
26159 # So? What about this header?
26160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26162 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26163 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26164 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26165 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26166 ac_header_preproc
=yes
26169 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26170 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26171 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26172 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26173 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26174 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26175 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26176 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26177 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26178 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26179 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26180 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26183 ## ----------------------------------------- ##
26184 ## Report this to wx-dev@lists.wxwidgets.org ##
26185 ## ----------------------------------------- ##
26188 sed "s/^/$as_me: WARNING: /" >&2
26191 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26192 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26193 if test "${ac_cv_header_tiffio_h+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 ac_cv_header_tiffio_h
=$ac_header_preproc
26198 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26199 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26202 if test $ac_cv_header_tiffio_h = yes; then
26204 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26205 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26206 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 ac_check_lib_save_LIBS
=$LIBS
26210 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26211 cat >conftest.
$ac_ext <<_ACEOF
26214 cat confdefs.h
>>conftest.
$ac_ext
26215 cat >>conftest.
$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26218 /* Override any gcc2 internal prototype to avoid an error. */
26222 /* We use char because int might match the return type of a gcc2
26223 builtin and then its argument prototype would still apply. */
26233 rm -f conftest.
$ac_objext conftest
$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>conftest.er1
26237 grep -v '^ *+' conftest.er1
>conftest.err
26239 cat conftest.err
>&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; } &&
26248 { ac_try
='test -s conftest$ac_exeext'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; }; then
26254 ac_cv_lib_tiff_TIFFError
=yes
26256 echo "$as_me: failed program was:" >&5
26257 sed 's/^/| /' conftest.
$ac_ext >&5
26259 ac_cv_lib_tiff_TIFFError
=no
26261 rm -f conftest.err conftest.
$ac_objext \
26262 conftest
$ac_exeext conftest.
$ac_ext
26263 LIBS
=$ac_check_lib_save_LIBS
26265 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26266 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26267 if test $ac_cv_lib_tiff_TIFFError = yes; then
26268 TIFF_LINK
=" -ltiff"
26277 if test "x$TIFF_LINK" = "x" ; then
26278 if test "$wxUSE_LIBTIFF" = "sys" ; then
26279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26280 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26281 { (exit 1); exit 1; }; }
26283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26284 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26285 wxUSE_LIBTIFF
=builtin
26294 if test "$wxUSE_WCHAR_T" != "yes"; then
26295 if test "$wxUSE_EXPAT" != "no"; then
26296 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26297 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26300 if test "$wxUSE_XML" != "no"; then
26301 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26302 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26307 if test "$wxUSE_EXPAT" != "no"; then
26309 cat >>confdefs.h
<<\_ACEOF
26310 #define wxUSE_EXPAT 1
26313 cat >>confdefs.h
<<\_ACEOF
26314 #define wxUSE_XML 1
26318 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26319 if test "${ac_cv_header_expat_h+set}" = set; then
26320 echo "$as_me:$LINENO: checking for expat.h" >&5
26321 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26322 if test "${ac_cv_header_expat_h+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26326 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26328 # Is the header compilable?
26329 echo "$as_me:$LINENO: checking expat.h usability" >&5
26330 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26331 cat >conftest.
$ac_ext <<_ACEOF
26334 cat confdefs.h
>>conftest.
$ac_ext
26335 cat >>conftest.
$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337 $ac_includes_default
26340 rm -f conftest.
$ac_objext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26342 (eval $ac_compile) 2>conftest.er1
26344 grep -v '^ *+' conftest.er1
>conftest.err
26346 cat conftest.err
>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; } &&
26355 { ac_try
='test -s conftest.$ac_objext'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; }; then
26361 ac_header_compiler
=yes
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.
$ac_ext >&5
26366 ac_header_compiler
=no
26368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26370 echo "${ECHO_T}$ac_header_compiler" >&6
26372 # Is the header present?
26373 echo "$as_me:$LINENO: checking expat.h presence" >&5
26374 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26375 cat >conftest.
$ac_ext <<_ACEOF
26378 cat confdefs.h
>>conftest.
$ac_ext
26379 cat >>conftest.
$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26386 grep -v '^ *+' conftest.er1
>conftest.err
26388 cat conftest.err
>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } >/dev
/null
; then
26391 if test -s conftest.err
; then
26392 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26393 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26400 if test -z "$ac_cpp_err"; then
26401 ac_header_preproc
=yes
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.
$ac_ext >&5
26406 ac_header_preproc
=no
26408 rm -f conftest.err conftest.
$ac_ext
26409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26410 echo "${ECHO_T}$ac_header_preproc" >&6
26412 # So? What about this header?
26413 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26415 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26416 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26418 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26419 ac_header_preproc
=yes
26422 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26423 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26424 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26425 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26426 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26427 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26428 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26429 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26430 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26431 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26432 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26433 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26436 ## ----------------------------------------- ##
26437 ## Report this to wx-dev@lists.wxwidgets.org ##
26438 ## ----------------------------------------- ##
26441 sed "s/^/$as_me: WARNING: /" >&2
26444 echo "$as_me:$LINENO: checking for expat.h" >&5
26445 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26446 if test "${ac_cv_header_expat_h+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 ac_cv_header_expat_h
=$ac_header_preproc
26451 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26455 if test $ac_cv_header_expat_h = yes; then
26460 if test "x$found_expat_h" = "x1"; then
26461 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26462 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26463 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 cat >conftest.
$ac_ext <<_ACEOF
26470 cat confdefs.h
>>conftest.
$ac_ext
26471 cat >>conftest.
$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26482 rm -f conftest.
$ac_objext
26483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26484 (eval $ac_compile) 2>conftest.er1
26486 grep -v '^ *+' conftest.er1
>conftest.err
26488 cat conftest.err
>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } &&
26491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; } &&
26497 { ac_try
='test -s conftest.$ac_objext'
26498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499 (eval $ac_try) 2>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); }; }; then
26503 wx_cv_expat_is_not_broken
=yes
26505 echo "$as_me: failed program was:" >&5
26506 sed 's/^/| /' conftest.
$ac_ext >&5
26508 wx_cv_expat_is_not_broken
=no
26511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26515 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26516 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26517 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26518 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26519 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26520 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26521 echo $ECHO_N "(cached) $ECHO_C" >&6
26523 ac_check_lib_save_LIBS
=$LIBS
26524 LIBS
="-lexpat $LIBS"
26525 cat >conftest.
$ac_ext <<_ACEOF
26528 cat confdefs.h
>>conftest.
$ac_ext
26529 cat >>conftest.
$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26532 /* Override any gcc2 internal prototype to avoid an error. */
26536 /* We use char because int might match the return type of a gcc2
26537 builtin and then its argument prototype would still apply. */
26538 char XML_ParserCreate ();
26542 XML_ParserCreate ();
26547 rm -f conftest.
$ac_objext conftest
$ac_exeext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26549 (eval $ac_link) 2>conftest.er1
26551 grep -v '^ *+' conftest.er1
>conftest.err
26553 cat conftest.err
>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } &&
26556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; } &&
26562 { ac_try
='test -s conftest$ac_exeext'
26563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 (eval $ac_try) 2>&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); }; }; then
26568 ac_cv_lib_expat_XML_ParserCreate
=yes
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.
$ac_ext >&5
26573 ac_cv_lib_expat_XML_ParserCreate
=no
26575 rm -f conftest.err conftest.
$ac_objext \
26576 conftest
$ac_exeext conftest.
$ac_ext
26577 LIBS
=$ac_check_lib_save_LIBS
26579 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26580 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26581 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26582 EXPAT_LINK
=" -lexpat"
26587 if test "x$EXPAT_LINK" = "x" ; then
26588 if test "$wxUSE_EXPAT" = "sys" ; then
26589 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26590 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26591 { (exit 1); exit 1; }; }
26593 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26594 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26595 wxUSE_EXPAT
=builtin
26601 if test "$wxUSE_EXPAT" = "builtin" ; then
26604 subdirs
="$subdirs src/expat"
26611 if test "$wxUSE_LIBMSPACK" != "no"; then
26612 if test "${ac_cv_header_mspack_h+set}" = set; then
26613 echo "$as_me:$LINENO: checking for mspack.h" >&5
26614 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26615 if test "${ac_cv_header_mspack_h+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26618 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26619 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26621 # Is the header compilable?
26622 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26623 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26624 cat >conftest.
$ac_ext <<_ACEOF
26627 cat confdefs.h
>>conftest.
$ac_ext
26628 cat >>conftest.
$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26630 $ac_includes_default
26631 #include <mspack.h>
26633 rm -f conftest.
$ac_objext
26634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26635 (eval $ac_compile) 2>conftest.er1
26637 grep -v '^ *+' conftest.er1
>conftest.err
26639 cat conftest.err
>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; } &&
26648 { ac_try
='test -s conftest.$ac_objext'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; }; then
26654 ac_header_compiler
=yes
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.
$ac_ext >&5
26659 ac_header_compiler
=no
26661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26663 echo "${ECHO_T}$ac_header_compiler" >&6
26665 # Is the header present?
26666 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26667 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26668 cat >conftest.
$ac_ext <<_ACEOF
26671 cat confdefs.h
>>conftest.
$ac_ext
26672 cat >>conftest.
$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26674 #include <mspack.h>
26676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26679 grep -v '^ *+' conftest.er1
>conftest.err
26681 cat conftest.err
>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } >/dev
/null
; then
26684 if test -s conftest.err
; then
26685 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26686 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26693 if test -z "$ac_cpp_err"; then
26694 ac_header_preproc
=yes
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.
$ac_ext >&5
26699 ac_header_preproc
=no
26701 rm -f conftest.err conftest.
$ac_ext
26702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26703 echo "${ECHO_T}$ac_header_preproc" >&6
26705 # So? What about this header?
26706 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26708 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26709 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26710 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26711 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26712 ac_header_preproc
=yes
26715 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26716 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26717 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26718 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26720 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26721 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26722 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26723 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26724 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26725 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26726 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26729 ## ----------------------------------------- ##
26730 ## Report this to wx-dev@lists.wxwidgets.org ##
26731 ## ----------------------------------------- ##
26734 sed "s/^/$as_me: WARNING: /" >&2
26737 echo "$as_me:$LINENO: checking for mspack.h" >&5
26738 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26739 if test "${ac_cv_header_mspack_h+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 ac_cv_header_mspack_h
=$ac_header_preproc
26744 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26745 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26748 if test $ac_cv_header_mspack_h = yes; then
26753 if test "x$found_mspack_h" = "x1"; then
26754 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26755 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26756 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 ac_check_lib_save_LIBS
=$LIBS
26760 LIBS
="-lmspack $LIBS"
26761 cat >conftest.
$ac_ext <<_ACEOF
26764 cat confdefs.h
>>conftest.
$ac_ext
26765 cat >>conftest.
$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26768 /* Override any gcc2 internal prototype to avoid an error. */
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26774 char mspack_create_chm_decompressor ();
26778 mspack_create_chm_decompressor ();
26783 rm -f conftest.
$ac_objext conftest
$ac_exeext
26784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26785 (eval $ac_link) 2>conftest.er1
26787 grep -v '^ *+' conftest.er1
>conftest.err
26789 cat conftest.err
>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } &&
26792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; } &&
26798 { ac_try
='test -s conftest$ac_exeext'
26799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26800 (eval $ac_try) 2>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); }; }; then
26804 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.
$ac_ext >&5
26809 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26811 rm -f conftest.err conftest.
$ac_objext \
26812 conftest
$ac_exeext conftest.
$ac_ext
26813 LIBS
=$ac_check_lib_save_LIBS
26815 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26816 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26817 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26818 MSPACK_LINK
=" -lmspack"
26822 if test "x$MSPACK_LINK" = "x" ; then
26827 if test "$wxUSE_LIBMSPACK" != "no"; then
26828 cat >>confdefs.h
<<\_ACEOF
26829 #define wxUSE_LIBMSPACK 1
26843 if test "$USE_WIN32" = 1 ; then
26845 for ac_header
in w32api.h
26847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26849 echo "$as_me:$LINENO: checking for $ac_header" >&5
26850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26857 # Is the header compilable?
26858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26860 cat >conftest.
$ac_ext <<_ACEOF
26863 cat confdefs.h
>>conftest.
$ac_ext
26864 cat >>conftest.
$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866 $ac_includes_default
26867 #include <$ac_header>
26869 rm -f conftest.
$ac_objext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26871 (eval $ac_compile) 2>conftest.er1
26873 grep -v '^ *+' conftest.er1
>conftest.err
26875 cat conftest.err
>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } &&
26878 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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_header_compiler
=yes
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.
$ac_ext >&5
26895 ac_header_compiler
=no
26897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26899 echo "${ECHO_T}$ac_header_compiler" >&6
26901 # Is the header present?
26902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910 #include <$ac_header>
26912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26915 grep -v '^ *+' conftest.er1
>conftest.err
26917 cat conftest.err
>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } >/dev
/null
; then
26920 if test -s conftest.err
; then
26921 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26922 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26929 if test -z "$ac_cpp_err"; then
26930 ac_header_preproc
=yes
26932 echo "$as_me: failed program was:" >&5
26933 sed 's/^/| /' conftest.
$ac_ext >&5
26935 ac_header_preproc
=no
26937 rm -f conftest.err conftest.
$ac_ext
26938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26939 echo "${ECHO_T}$ac_header_preproc" >&6
26941 # So? What about this header?
26942 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26948 ac_header_preproc
=yes
26951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26965 ## ----------------------------------------- ##
26966 ## Report this to wx-dev@lists.wxwidgets.org ##
26967 ## ----------------------------------------- ##
26970 sed "s/^/$as_me: WARNING: /" >&2
26973 echo "$as_me:$LINENO: checking for $ac_header" >&5
26974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26976 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 eval "$as_ac_Header=\$ac_header_preproc"
26980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26985 cat >>confdefs.h
<<_ACEOF
26986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26993 if test "${ac_cv_header_windows_h+set}" = set; then
26994 echo "$as_me:$LINENO: checking for windows.h" >&5
26995 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26996 if test "${ac_cv_header_windows_h+set}" = set; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27000 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27002 # Is the header compilable?
27003 echo "$as_me:$LINENO: checking windows.h usability" >&5
27004 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27005 cat >conftest.
$ac_ext <<_ACEOF
27008 cat confdefs.h
>>conftest.
$ac_ext
27009 cat >>conftest.
$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 $ac_includes_default
27012 #include <windows.h>
27014 rm -f conftest.
$ac_objext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27016 (eval $ac_compile) 2>conftest.er1
27018 grep -v '^ *+' conftest.er1
>conftest.err
27020 cat conftest.err
>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } &&
27023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27025 (eval $ac_try) 2>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); }; } &&
27029 { ac_try
='test -s conftest.$ac_objext'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; }; then
27035 ac_header_compiler
=yes
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.
$ac_ext >&5
27040 ac_header_compiler
=no
27042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27044 echo "${ECHO_T}$ac_header_compiler" >&6
27046 # Is the header present?
27047 echo "$as_me:$LINENO: checking windows.h presence" >&5
27048 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27049 cat >conftest.
$ac_ext <<_ACEOF
27052 cat confdefs.h
>>conftest.
$ac_ext
27053 cat >>conftest.
$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055 #include <windows.h>
27057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27060 grep -v '^ *+' conftest.er1
>conftest.err
27062 cat conftest.err
>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } >/dev
/null
; then
27065 if test -s conftest.err
; then
27066 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27067 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27074 if test -z "$ac_cpp_err"; then
27075 ac_header_preproc
=yes
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.
$ac_ext >&5
27080 ac_header_preproc
=no
27082 rm -f conftest.err conftest.
$ac_ext
27083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27084 echo "${ECHO_T}$ac_header_preproc" >&6
27086 # So? What about this header?
27087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27089 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27090 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27091 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27092 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27093 ac_header_preproc
=yes
27096 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27097 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27098 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27099 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27100 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27101 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27102 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27103 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27104 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27105 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27106 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27107 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27110 ## ----------------------------------------- ##
27111 ## Report this to wx-dev@lists.wxwidgets.org ##
27112 ## ----------------------------------------- ##
27115 sed "s/^/$as_me: WARNING: /" >&2
27118 echo "$as_me:$LINENO: checking for windows.h" >&5
27119 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27120 if test "${ac_cv_header_windows_h+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 ac_cv_header_windows_h
=$ac_header_preproc
27125 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27126 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27129 if test $ac_cv_header_windows_h = yes; then
27133 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27134 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27135 { (exit 1); exit 1; }; }
27141 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27143 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27144 LIBS
="$LIBS -loleacc"
27149 LIBS
="$LIBS -lkernel32 -luser32"
27152 if test "$wxUSE_ODBC" = "sys" ; then
27155 if test "$wxUSE_ODBC" = "yes" ; then
27156 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27157 cat >>confdefs.h
<<\_ACEOF
27158 #define wxUSE_ODBC 1
27163 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27164 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27166 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27168 WIN32INSTALL
=win32install
27170 echo "$as_me:$LINENO: checking for boolean" >&5
27171 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27172 if test "${ac_cv_type_boolean+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 cat >conftest.
$ac_ext <<_ACEOF
27178 cat confdefs.h
>>conftest.
$ac_ext
27179 cat >>conftest.
$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 #include <windows.h>
27188 if (sizeof (boolean))
27194 rm -f conftest.
$ac_objext
27195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27196 (eval $ac_compile) 2>conftest.er1
27198 grep -v '^ *+' conftest.er1
>conftest.err
27200 cat conftest.err
>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } &&
27203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; } &&
27209 { ac_try
='test -s conftest.$ac_objext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 ac_cv_type_boolean
=yes
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.
$ac_ext >&5
27220 ac_cv_type_boolean
=no
27222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27224 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27225 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27226 if test $ac_cv_type_boolean = yes; then
27228 cat >>confdefs.h
<<_ACEOF
27229 #define HAVE_BOOLEAN 1
27237 for ac_header
in pbt.h
27239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27241 echo "$as_me:$LINENO: checking for $ac_header" >&5
27242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27249 # Is the header compilable?
27250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27252 cat >conftest.
$ac_ext <<_ACEOF
27255 cat confdefs.h
>>conftest.
$ac_ext
27256 cat >>conftest.
$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 $ac_includes_default
27259 #include <$ac_header>
27261 rm -f conftest.
$ac_objext
27262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27263 (eval $ac_compile) 2>conftest.er1
27265 grep -v '^ *+' conftest.er1
>conftest.err
27267 cat conftest.err
>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } &&
27270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; } &&
27276 { ac_try
='test -s conftest.$ac_objext'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; }; then
27282 ac_header_compiler
=yes
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.
$ac_ext >&5
27287 ac_header_compiler
=no
27289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27291 echo "${ECHO_T}$ac_header_compiler" >&6
27293 # Is the header present?
27294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27296 cat >conftest.
$ac_ext <<_ACEOF
27299 cat confdefs.h
>>conftest.
$ac_ext
27300 cat >>conftest.
$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302 #include <$ac_header>
27304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27307 grep -v '^ *+' conftest.er1
>conftest.err
27309 cat conftest.err
>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } >/dev
/null
; then
27312 if test -s conftest.err
; then
27313 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27314 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27321 if test -z "$ac_cpp_err"; then
27322 ac_header_preproc
=yes
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.
$ac_ext >&5
27327 ac_header_preproc
=no
27329 rm -f conftest.err conftest.
$ac_ext
27330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27331 echo "${ECHO_T}$ac_header_preproc" >&6
27333 # So? What about this header?
27334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27340 ac_header_preproc
=yes
27343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27357 ## ----------------------------------------- ##
27358 ## Report this to wx-dev@lists.wxwidgets.org ##
27359 ## ----------------------------------------- ##
27362 sed "s/^/$as_me: WARNING: /" >&2
27365 echo "$as_me:$LINENO: checking for $ac_header" >&5
27366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 eval "$as_ac_Header=\$ac_header_preproc"
27372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27377 cat >>confdefs.h
<<_ACEOF
27378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27382 cat >>confdefs.h
<<\_ACEOF
27383 #define NEED_PBT_H 1
27392 if test "$wxUSE_GUI" = "yes"; then
27402 if test "$wxUSE_COCOA" = 1 ; then
27403 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27404 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27405 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27406 wxUSE_PRINTING_ARCHITECTURE
=no
27408 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27409 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27410 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27411 wxUSE_DRAG_AND_DROP
=no
27413 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27414 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27415 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27420 if test "$wxUSE_MSW" = 1 ; then
27426 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27430 if test "$wxUSE_GTK" = 1; then
27432 ac_cpp
='$CPP $CPPFLAGS'
27433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27438 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27439 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27441 gtk_version_cached
=1
27442 if test "${wx_cv_lib_gtk+set}" = set; then
27443 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 gtk_version_cached
=0
27447 echo "$as_me:$LINENO: result: " >&5
27448 echo "${ECHO_T}" >&6
27451 if test "$wxUSE_THREADS" = "yes"; then
27452 GTK_MODULES
=gthread
27456 if test "x$wxGTK_VERSION" != "x1"
27460 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27465 # Check whether --enable-gtktest or --disable-gtktest was given.
27466 if test "${enable_gtktest+set}" = set; then
27467 enableval
="$enable_gtktest"
27473 pkg_config_args
=gtk
+-2.0
27474 for module
in .
$GTK_MODULES
27478 pkg_config_args
="$pkg_config_args gthread-2.0"
27485 # Extract the first word of "pkg-config", so it can be a program name with args.
27486 set dummy pkg
-config; ac_word
=$2
27487 echo "$as_me:$LINENO: checking for $ac_word" >&5
27488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 case $PKG_CONFIG in
27494 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27498 for as_dir
in $PATH
27501 test -z "$as_dir" && as_dir
=.
27502 for ac_exec_ext
in '' $ac_executable_extensions; do
27503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27504 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27511 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27515 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27517 if test -n "$PKG_CONFIG"; then
27518 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27519 echo "${ECHO_T}$PKG_CONFIG" >&6
27521 echo "$as_me:$LINENO: result: no" >&5
27522 echo "${ECHO_T}no" >&6
27526 if test x
$PKG_CONFIG != xno
; then
27527 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27530 echo "*** pkg-config too old; version 0.7 or better required."
27538 min_gtk_version
=2.0.0
27539 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27540 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27542 if test x
$PKG_CONFIG != xno
; then
27543 ## don't try to run the test against uninstalled libtool libs
27544 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27545 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27549 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27556 if test x
"$no_gtk" = x
; then
27557 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27558 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27559 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27561 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27563 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27565 if test "x$enable_gtktest" = "xyes" ; then
27566 ac_save_CFLAGS
="$CFLAGS"
27567 ac_save_LIBS
="$LIBS"
27568 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27569 LIBS
="$GTK_LIBS $LIBS"
27571 if test "$cross_compiling" = yes; then
27572 echo $ac_n "cross compiling; assumed OK... $ac_c"
27574 cat >conftest.
$ac_ext <<_ACEOF
27577 cat confdefs.h
>>conftest.
$ac_ext
27578 cat >>conftest.
$ac_ext <<_ACEOF
27579 /* end confdefs.h. */
27581 #include <gtk/gtk.h>
27583 #include <stdlib.h>
27588 int major, minor, micro;
27591 system ("touch conf.gtktest");
27593 /* HP/UX 9 (%@#!) writes to sscanf strings */
27594 tmp_version = g_strdup("$min_gtk_version");
27595 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27596 printf("%s, bad version string\n", "$min_gtk_version");
27600 if ((gtk_major_version != $gtk_config_major_version) ||
27601 (gtk_minor_version != $gtk_config_minor_version) ||
27602 (gtk_micro_version != $gtk_config_micro_version))
27604 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27605 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27606 gtk_major_version, gtk_minor_version, gtk_micro_version);
27607 printf ("*** was found! If pkg-config was correct, then it is best\n");
27608 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27609 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27610 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27611 printf("*** required on your system.\n");
27612 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27613 printf("*** to point to the correct configuration files\n");
27615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27616 (gtk_minor_version != GTK_MINOR_VERSION) ||
27617 (gtk_micro_version != GTK_MICRO_VERSION))
27619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27621 printf("*** library (version %d.%d.%d)\n",
27622 gtk_major_version, gtk_minor_version, gtk_micro_version);
27626 if ((gtk_major_version > major) ||
27627 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27628 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27634 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27635 gtk_major_version, gtk_minor_version, gtk_micro_version);
27636 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27637 major, minor, micro);
27638 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27640 printf("*** If you have already installed a sufficiently new version, this error\n");
27641 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27642 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27643 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27644 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27645 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27646 printf("*** so that the correct libraries are found at run-time))\n");
27653 rm -f conftest
$ac_exeext
27654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27660 (eval $ac_try) 2>&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); }; }; then
27666 echo "$as_me: program exited with status $ac_status" >&5
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.
$ac_ext >&5
27670 ( exit $ac_status )
27673 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27675 CFLAGS
="$ac_save_CFLAGS"
27676 LIBS
="$ac_save_LIBS"
27679 if test "x$no_gtk" = x
; then
27680 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27681 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27684 echo "$as_me:$LINENO: result: no" >&5
27685 echo "${ECHO_T}no" >&6
27686 if test "$PKG_CONFIG" = "no" ; then
27687 echo "*** A new enough version of pkg-config was not found."
27688 echo "*** See http://pkgconfig.sourceforge.net"
27690 if test -f conf.gtktest
; then
27693 echo "*** Could not run GTK+ test program, checking why..."
27694 ac_save_CFLAGS
="$CFLAGS"
27695 ac_save_LIBS
="$LIBS"
27696 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27697 LIBS
="$LIBS $GTK_LIBS"
27698 cat >conftest.
$ac_ext <<_ACEOF
27701 cat confdefs.h
>>conftest.
$ac_ext
27702 cat >>conftest.
$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27705 #include <gtk/gtk.h>
27711 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27716 rm -f conftest.
$ac_objext conftest
$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1
>conftest.err
27722 cat conftest.err
>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try
='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 echo "*** The test program compiled, but did not run. This usually means"
27738 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27739 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27740 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27741 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27742 echo "*** is required on your system"
27744 echo "*** If you have an old version installed, it is best to remove it, although"
27745 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27747 echo "$as_me: failed program was:" >&5
27748 sed 's/^/| /' conftest.
$ac_ext >&5
27750 echo "*** The test program failed to compile or link. See the file config.log for the"
27751 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27753 rm -f conftest.err conftest.
$ac_objext \
27754 conftest
$ac_exeext conftest.
$ac_ext
27755 CFLAGS
="$ac_save_CFLAGS"
27756 LIBS
="$ac_save_LIBS"
27770 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27771 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27772 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27774 if test "$wxUSE_SHARED" != "yes"; then
27775 GTK_LIBS
="$GTK_LIBS -lX11"
27780 if test -z "$wx_cv_lib_gtk"; then
27781 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27783 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27784 if test "${with_gtk_prefix+set}" = set; then
27785 withval
="$with_gtk_prefix"
27786 gtk_config_prefix
="$withval"
27788 gtk_config_prefix
=""
27791 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27792 if test "${with_gtk_exec_prefix+set}" = set; then
27793 withval
="$with_gtk_exec_prefix"
27794 gtk_config_exec_prefix
="$withval"
27796 gtk_config_exec_prefix
=""
27798 # Check whether --enable-gtktest or --disable-gtktest was given.
27799 if test "${enable_gtktest+set}" = set; then
27800 enableval
="$enable_gtktest"
27806 for module
in .
$GTK_MODULES
27810 gtk_config_args
="$gtk_config_args gthread"
27815 if test x
$gtk_config_exec_prefix != x
; then
27816 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27817 if test x
${GTK_CONFIG+set} != xset
; then
27818 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27821 if test x
$gtk_config_prefix != x
; then
27822 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27823 if test x
${GTK_CONFIG+set} != xset
; then
27824 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27828 # Extract the first word of "gtk-config", so it can be a program name with args.
27829 set dummy gtk
-config; ac_word
=$2
27830 echo "$as_me:$LINENO: checking for $ac_word" >&5
27831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27832 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27835 case $GTK_CONFIG in
27837 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27841 for as_dir
in $PATH
27844 test -z "$as_dir" && as_dir
=.
27845 for ac_exec_ext
in '' $ac_executable_extensions; do
27846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27847 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27858 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27860 if test -n "$GTK_CONFIG"; then
27861 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27862 echo "${ECHO_T}$GTK_CONFIG" >&6
27864 echo "$as_me:$LINENO: result: no" >&5
27865 echo "${ECHO_T}no" >&6
27868 min_gtk_version
=1.2.7
27869 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27870 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27872 if test "$GTK_CONFIG" = "no" ; then
27875 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27876 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27877 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27879 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27881 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27883 if test "x$enable_gtktest" = "xyes" ; then
27884 ac_save_CFLAGS
="$CFLAGS"
27885 ac_save_LIBS
="$LIBS"
27886 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27887 LIBS
="$GTK_LIBS $LIBS"
27889 if test "$cross_compiling" = yes; then
27890 echo $ac_n "cross compiling; assumed OK... $ac_c"
27892 cat >conftest.
$ac_ext <<_ACEOF
27895 cat confdefs.h
>>conftest.
$ac_ext
27896 cat >>conftest.
$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27899 #include <gtk/gtk.h>
27901 #include <stdlib.h>
27906 int major, minor, micro;
27909 system ("touch conf.gtktest");
27911 /* HP/UX 9 (%@#!) writes to sscanf strings */
27912 tmp_version = g_strdup("$min_gtk_version");
27913 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27914 printf("%s, bad version string\n", "$min_gtk_version");
27918 if ((gtk_major_version != $gtk_config_major_version) ||
27919 (gtk_minor_version != $gtk_config_minor_version) ||
27920 (gtk_micro_version != $gtk_config_micro_version))
27922 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27923 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27924 gtk_major_version, gtk_minor_version, gtk_micro_version);
27925 printf ("*** was found! If gtk-config was correct, then it is best\n");
27926 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27927 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27928 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27929 printf("*** required on your system.\n");
27930 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27931 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27932 printf("*** before re-running configure\n");
27934 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27936 (gtk_minor_version != GTK_MINOR_VERSION) ||
27937 (gtk_micro_version != GTK_MICRO_VERSION))
27939 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27941 printf("*** library (version %d.%d.%d)\n",
27942 gtk_major_version, gtk_minor_version, gtk_micro_version);
27944 #endif /* defined (GTK_MAJOR_VERSION) ... */
27947 if ((gtk_major_version > major) ||
27948 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27949 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27955 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27956 gtk_major_version, gtk_minor_version, gtk_micro_version);
27957 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27958 major, minor, micro);
27959 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27961 printf("*** If you have already installed a sufficiently new version, this error\n");
27962 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27963 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27964 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27965 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27966 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27967 printf("*** so that the correct libraries are found at run-time))\n");
27974 rm -f conftest
$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27981 (eval $ac_try) 2>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; }; then
27987 echo "$as_me: program exited with status $ac_status" >&5
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.
$ac_ext >&5
27991 ( exit $ac_status )
27994 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27996 CFLAGS
="$ac_save_CFLAGS"
27997 LIBS
="$ac_save_LIBS"
28000 if test "x$no_gtk" = x
; then
28001 echo "$as_me:$LINENO: result: yes" >&5
28002 echo "${ECHO_T}yes" >&6
28003 wx_cv_lib_gtk
=1.2.7
28005 echo "$as_me:$LINENO: result: no" >&5
28006 echo "${ECHO_T}no" >&6
28007 if test "$GTK_CONFIG" = "no" ; then
28008 echo "*** The gtk-config script installed by GTK could not be found"
28009 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28010 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28011 echo "*** full path to gtk-config."
28013 if test -f conf.gtktest
; then
28016 echo "*** Could not run GTK test program, checking why..."
28017 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28018 LIBS
="$LIBS $GTK_LIBS"
28019 cat >conftest.
$ac_ext <<_ACEOF
28022 cat confdefs.h
>>conftest.
$ac_ext
28023 cat >>conftest.
$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28026 #include <gtk/gtk.h>
28032 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28037 rm -f conftest.
$ac_objext conftest
$ac_exeext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28039 (eval $ac_link) 2>conftest.er1
28041 grep -v '^ *+' conftest.er1
>conftest.err
28043 cat conftest.err
>&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; } &&
28052 { ac_try
='test -s conftest$ac_exeext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 echo "*** The test program compiled, but did not run. This usually means"
28059 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28060 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28061 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28062 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28063 echo "*** is required on your system"
28065 echo "*** If you have an old version installed, it is best to remove it, although"
28066 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28068 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28069 echo "*** came with the system with the command"
28071 echo "*** rpm --erase --nodeps gtk gtk-devel"
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.
$ac_ext >&5
28076 echo "*** The test program failed to compile or link. See the file config.log for the"
28077 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28078 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28079 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28081 rm -f conftest.err conftest.
$ac_objext \
28082 conftest
$ac_exeext conftest.
$ac_ext
28083 CFLAGS
="$ac_save_CFLAGS"
28084 LIBS
="$ac_save_LIBS"
28096 if test -z "$wx_cv_lib_gtk"; then
28098 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28099 if test "${with_gtk_prefix+set}" = set; then
28100 withval
="$with_gtk_prefix"
28101 gtk_config_prefix
="$withval"
28103 gtk_config_prefix
=""
28106 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28107 if test "${with_gtk_exec_prefix+set}" = set; then
28108 withval
="$with_gtk_exec_prefix"
28109 gtk_config_exec_prefix
="$withval"
28111 gtk_config_exec_prefix
=""
28113 # Check whether --enable-gtktest or --disable-gtktest was given.
28114 if test "${enable_gtktest+set}" = set; then
28115 enableval
="$enable_gtktest"
28121 for module
in .
$GTK_MODULES
28125 gtk_config_args
="$gtk_config_args gthread"
28130 if test x
$gtk_config_exec_prefix != x
; then
28131 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28132 if test x
${GTK_CONFIG+set} != xset
; then
28133 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28136 if test x
$gtk_config_prefix != x
; then
28137 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28138 if test x
${GTK_CONFIG+set} != xset
; then
28139 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28143 # Extract the first word of "gtk-config", so it can be a program name with args.
28144 set dummy gtk
-config; ac_word
=$2
28145 echo "$as_me:$LINENO: checking for $ac_word" >&5
28146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28148 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 case $GTK_CONFIG in
28152 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28156 for as_dir
in $PATH
28159 test -z "$as_dir" && as_dir
=.
28160 for ac_exec_ext
in '' $ac_executable_extensions; do
28161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28162 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28169 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28173 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28175 if test -n "$GTK_CONFIG"; then
28176 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28177 echo "${ECHO_T}$GTK_CONFIG" >&6
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28183 min_gtk_version
=1.2.3
28184 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28185 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28187 if test "$GTK_CONFIG" = "no" ; then
28190 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28191 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28192 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28194 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28196 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28198 if test "x$enable_gtktest" = "xyes" ; then
28199 ac_save_CFLAGS
="$CFLAGS"
28200 ac_save_LIBS
="$LIBS"
28201 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28202 LIBS
="$GTK_LIBS $LIBS"
28204 if test "$cross_compiling" = yes; then
28205 echo $ac_n "cross compiling; assumed OK... $ac_c"
28207 cat >conftest.
$ac_ext <<_ACEOF
28210 cat confdefs.h
>>conftest.
$ac_ext
28211 cat >>conftest.
$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28214 #include <gtk/gtk.h>
28216 #include <stdlib.h>
28221 int major, minor, micro;
28224 system ("touch conf.gtktest");
28226 /* HP/UX 9 (%@#!) writes to sscanf strings */
28227 tmp_version = g_strdup("$min_gtk_version");
28228 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28229 printf("%s, bad version string\n", "$min_gtk_version");
28233 if ((gtk_major_version != $gtk_config_major_version) ||
28234 (gtk_minor_version != $gtk_config_minor_version) ||
28235 (gtk_micro_version != $gtk_config_micro_version))
28237 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28238 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28239 gtk_major_version, gtk_minor_version, gtk_micro_version);
28240 printf ("*** was found! If gtk-config was correct, then it is best\n");
28241 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28242 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28243 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28244 printf("*** required on your system.\n");
28245 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28246 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28247 printf("*** before re-running configure\n");
28249 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28251 (gtk_minor_version != GTK_MINOR_VERSION) ||
28252 (gtk_micro_version != GTK_MICRO_VERSION))
28254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28256 printf("*** library (version %d.%d.%d)\n",
28257 gtk_major_version, gtk_minor_version, gtk_micro_version);
28259 #endif /* defined (GTK_MAJOR_VERSION) ... */
28262 if ((gtk_major_version > major) ||
28263 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28264 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28270 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28273 major, minor, micro);
28274 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28276 printf("*** If you have already installed a sufficiently new version, this error\n");
28277 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28278 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28279 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28280 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28281 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28282 printf("*** so that the correct libraries are found at run-time))\n");
28289 rm -f conftest
$ac_exeext
28290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28291 (eval $ac_link) 2>&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28302 echo "$as_me: program exited with status $ac_status" >&5
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.
$ac_ext >&5
28306 ( exit $ac_status )
28309 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28311 CFLAGS
="$ac_save_CFLAGS"
28312 LIBS
="$ac_save_LIBS"
28315 if test "x$no_gtk" = x
; then
28316 echo "$as_me:$LINENO: result: yes" >&5
28317 echo "${ECHO_T}yes" >&6
28318 wx_cv_lib_gtk
=1.2.3
28320 echo "$as_me:$LINENO: result: no" >&5
28321 echo "${ECHO_T}no" >&6
28322 if test "$GTK_CONFIG" = "no" ; then
28323 echo "*** The gtk-config script installed by GTK could not be found"
28324 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28325 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28326 echo "*** full path to gtk-config."
28328 if test -f conf.gtktest
; then
28331 echo "*** Could not run GTK test program, checking why..."
28332 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28333 LIBS
="$LIBS $GTK_LIBS"
28334 cat >conftest.
$ac_ext <<_ACEOF
28337 cat confdefs.h
>>conftest.
$ac_ext
28338 cat >>conftest.
$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28341 #include <gtk/gtk.h>
28347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28352 rm -f conftest.
$ac_objext conftest
$ac_exeext
28353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28354 (eval $ac_link) 2>conftest.er1
28356 grep -v '^ *+' conftest.er1
>conftest.err
28358 cat conftest.err
>&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } &&
28361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; } &&
28367 { ac_try
='test -s conftest$ac_exeext'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; }; then
28373 echo "*** The test program compiled, but did not run. This usually means"
28374 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28375 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28376 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28377 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28378 echo "*** is required on your system"
28380 echo "*** If you have an old version installed, it is best to remove it, although"
28381 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28383 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28384 echo "*** came with the system with the command"
28386 echo "*** rpm --erase --nodeps gtk gtk-devel"
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.
$ac_ext >&5
28391 echo "*** The test program failed to compile or link. See the file config.log for the"
28392 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28393 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28394 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28396 rm -f conftest.err conftest.
$ac_objext \
28397 conftest
$ac_exeext conftest.
$ac_ext
28398 CFLAGS
="$ac_save_CFLAGS"
28399 LIBS
="$ac_save_LIBS"
28414 if test -z "$wx_cv_lib_gtk"; then
28417 wx_cv_cflags_gtk
=$GTK_CFLAGS
28418 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28425 if test "$gtk_version_cached" = 1; then
28426 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28427 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28430 case "$wx_cv_lib_gtk" in
28439 *) { { echo "$as_me:$LINENO: error:
28440 The development files for GTK+ were not found. For GTK+ 2, please
28441 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28442 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28443 and that the version is 1.2.3 or above. Also check that the
28444 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28445 --libs' are in the LD_LIBRARY_PATH or equivalent.
28447 echo "$as_me: error:
28448 The development files for GTK+ were not found. For GTK+ 2, please
28449 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28450 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28451 and that the version is 1.2.3 or above. Also check that the
28452 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28453 --libs' are in the LD_LIBRARY_PATH or equivalent.
28455 { (exit 1); exit 1; }; }
28459 if test "$WXGTK20" = 1; then
28460 save_CFLAGS
="$CFLAGS"
28462 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28463 LIBS
="$LIBS $wx_cv_libs_gtk"
28465 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28466 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28467 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28470 cat >conftest.
$ac_ext <<_ACEOF
28473 cat confdefs.h
>>conftest.
$ac_ext
28474 cat >>conftest.
$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476 #include <gtk/gtk.h>
28481 #ifndef gtk_icon_size_lookup
28482 char *p = (char *) gtk_icon_size_lookup;
28489 rm -f conftest.
$ac_objext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28491 (eval $ac_compile) 2>conftest.er1
28493 grep -v '^ *+' conftest.er1
>conftest.err
28495 cat conftest.err
>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; } &&
28504 { ac_try
='test -s conftest.$ac_objext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.
$ac_ext >&5
28515 ac_cv_have_decl_gtk_icon_size_lookup
=no
28517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28519 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28520 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28521 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28523 cat >>confdefs.h
<<_ACEOF
28524 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28529 cat >>confdefs.h
<<_ACEOF
28530 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28533 cat >>confdefs.h
<<\_ACEOF
28534 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28541 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28542 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28543 cat >conftest.
$ac_ext <<_ACEOF
28546 cat confdefs.h
>>conftest.
$ac_ext
28547 cat >>conftest.
$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28550 #include <gtk/gtk.h>
28556 #if !GTK_CHECK_VERSION(2,6,0)
28564 rm -f conftest.
$ac_objext
28565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28566 (eval $ac_compile) 2>conftest.er1
28568 grep -v '^ *+' conftest.er1
>conftest.err
28570 cat conftest.err
>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try
='test -s conftest.$ac_objext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28586 cat >>confdefs.h
<<\_ACEOF
28587 #define __WXGTK26__ 1
28590 cat >>confdefs.h
<<\_ACEOF
28591 #define __WXGTK24__ 1
28594 echo "$as_me:$LINENO: result: yes" >&5
28595 echo "${ECHO_T}yes" >&6
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.
$ac_ext >&5
28603 echo "$as_me:$LINENO: result: no" >&5
28604 echo "${ECHO_T}no" >&6
28608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28610 if test "$ac_wxgtk26" = 0; then
28611 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28612 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28613 cat >conftest.
$ac_ext <<_ACEOF
28616 cat confdefs.h
>>conftest.
$ac_ext
28617 cat >>conftest.
$ac_ext <<_ACEOF
28618 /* end confdefs.h. */
28620 #include <gtk/gtk.h>
28626 #if !GTK_CHECK_VERSION(2,4,0)
28634 rm -f conftest.
$ac_objext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28636 (eval $ac_compile) 2>conftest.er1
28638 grep -v '^ *+' conftest.er1
>conftest.err
28640 cat conftest.err
>&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28645 (eval $ac_try) 2>&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); }; } &&
28649 { ac_try
='test -s conftest.$ac_objext'
28650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28651 (eval $ac_try) 2>&5
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); }; }; then
28656 cat >>confdefs.h
<<\_ACEOF
28657 #define __WXGTK24__ 1
28660 echo "$as_me:$LINENO: result: yes" >&5
28661 echo "${ECHO_T}yes" >&6
28664 echo "$as_me: failed program was:" >&5
28665 sed 's/^/| /' conftest.
$ac_ext >&5
28668 echo "$as_me:$LINENO: result: no" >&5
28669 echo "${ECHO_T}no" >&6
28672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28675 CFLAGS
="$save_CFLAGS"
28678 if test "$wxUSE_UNICODE" = "yes"; then
28679 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28680 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28686 ac_cpp
='$CXXCPP $CPPFLAGS'
28687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28692 if test "$USE_DARWIN" != 1; then
28694 for ac_func
in poll
28696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28697 echo "$as_me:$LINENO: checking for $ac_func" >&5
28698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28699 if eval "test \"\${$as_ac_var+set}\" = set"; then
28700 echo $ECHO_N "(cached) $ECHO_C" >&6
28702 cat >conftest.
$ac_ext <<_ACEOF
28705 cat confdefs.h
>>conftest.
$ac_ext
28706 cat >>conftest.
$ac_ext <<_ACEOF
28707 /* end confdefs.h. */
28708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28710 #define $ac_func innocuous_$ac_func
28712 /* System header to define __stub macros and hopefully few prototypes,
28713 which can conflict with char $ac_func (); below.
28714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28715 <limits.h> exists even on freestanding compilers. */
28718 # include <limits.h>
28720 # include <assert.h>
28725 /* Override any gcc2 internal prototype to avoid an error. */
28730 /* We use char because int might match the return type of a gcc2
28731 builtin and then its argument prototype would still apply. */
28733 /* The GNU C library defines this for functions which it implements
28734 to always fail with ENOSYS. Some functions are actually named
28735 something starting with __ and the normal name is an alias. */
28736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28739 char (*f) () = $ac_func;
28748 return f != $ac_func;
28753 rm -f conftest.
$ac_objext conftest
$ac_exeext
28754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28755 (eval $ac_link) 2>conftest.er1
28757 grep -v '^ *+' conftest.er1
>conftest.err
28759 cat conftest.err
>&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; } &&
28768 { ac_try
='test -s conftest$ac_exeext'
28769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28770 (eval $ac_try) 2>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); }; }; then
28774 eval "$as_ac_var=yes"
28776 echo "$as_me: failed program was:" >&5
28777 sed 's/^/| /' conftest.
$ac_ext >&5
28779 eval "$as_ac_var=no"
28781 rm -f conftest.err conftest.
$ac_objext \
28782 conftest
$ac_exeext conftest.
$ac_ext
28784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28786 if test `eval echo '${'$as_ac_var'}'` = yes; then
28787 cat >>confdefs.h
<<_ACEOF
28788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28796 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28797 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28799 AFMINSTALL
=afminstall
28803 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28804 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28805 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28806 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 ac_check_lib_save_LIBS
=$LIBS
28810 cat >conftest.
$ac_ext <<_ACEOF
28813 cat confdefs.h
>>conftest.
$ac_ext
28814 cat >>conftest.
$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28817 /* Override any gcc2 internal prototype to avoid an error. */
28821 /* We use char because int might match the return type of a gcc2
28822 builtin and then its argument prototype would still apply. */
28823 char gdk_im_open ();
28832 rm -f conftest.
$ac_objext conftest
$ac_exeext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>conftest.er1
28836 grep -v '^ *+' conftest.er1
>conftest.err
28838 cat conftest.err
>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); } &&
28841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try
='test -s conftest$ac_exeext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 ac_cv_lib_gdk_gdk_im_open
=yes
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.
$ac_ext >&5
28858 ac_cv_lib_gdk_gdk_im_open
=no
28860 rm -f conftest.err conftest.
$ac_objext \
28861 conftest
$ac_exeext conftest.
$ac_ext
28862 LIBS
=$ac_check_lib_save_LIBS
28864 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28865 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28866 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28867 cat >>confdefs.h
<<\_ACEOF
28875 if test "$wxUSE_GPE" = "yes"; then
28876 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28877 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28880 for ac_dir
in $SEARCH_LIB;
28882 for ac_extension
in a so sl dylib dll.a
; do
28883 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28884 ac_find_libraries
=$ac_dir
28890 if test "$ac_find_libraries" != "" ; then
28892 if test "$ac_find_libraries" = "default location"; then
28895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28897 if test $result = 0; then
28900 ac_path_to_link
=" -L$ac_find_libraries"
28904 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28906 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28907 echo "${ECHO_T}found in $ac_find_libraries" >&6
28909 echo "$as_me:$LINENO: result: not found" >&5
28910 echo "${ECHO_T}not found" >&6
28916 if test "$wxUSE_MGL" = 1; then
28917 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28918 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28919 if test "x$MGL_ROOT" = x
; then
28920 echo "$as_me:$LINENO: result: not found" >&5
28921 echo "${ECHO_T}not found" >&6
28922 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28923 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28924 { (exit 1); exit 1; }; }
28926 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28927 echo "${ECHO_T}$MGL_ROOT" >&6
28930 echo "$as_me:$LINENO: checking for libmgl location" >&5
28931 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28934 if test "x$wxUSE_SHARED" = xyes
; then
28935 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28937 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28941 mgl_os_candidates
="dos32/dj2"
28944 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28945 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28946 { (exit 1); exit 1; }; }
28952 for mgl_os_i
in $mgl_os_candidates ; do
28953 if test "x$mgl_os" = x
; then
28954 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28955 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28956 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28961 if test "x$mgl_lib_type" = x
; then
28962 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28963 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28964 mgl_lib_type
=release
28971 if test "x$mgl_os" = x
; then
28972 echo "$as_me:$LINENO: result: not found" >&5
28973 echo "${ECHO_T}not found" >&6
28974 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28975 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28976 { (exit 1); exit 1; }; }
28978 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28979 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28981 wxUSE_UNIVERSAL
="yes"
28983 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28984 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28986 AFMINSTALL
=afminstall
28991 if test "$wxUSE_DFB" = 1; then
28994 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28995 if test -n "$ac_tool_prefix"; then
28996 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28997 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28998 echo "$as_me:$LINENO: checking for $ac_word" >&5
28999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29001 echo $ECHO_N "(cached) $ECHO_C" >&6
29003 case $PKG_CONFIG in
29005 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29009 for as_dir
in $PATH
29012 test -z "$as_dir" && as_dir
=.
29013 for ac_exec_ext
in '' $ac_executable_extensions; do
29014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29015 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29025 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29027 if test -n "$PKG_CONFIG"; then
29028 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29029 echo "${ECHO_T}$PKG_CONFIG" >&6
29031 echo "$as_me:$LINENO: result: no" >&5
29032 echo "${ECHO_T}no" >&6
29036 if test -z "$ac_cv_path_PKG_CONFIG"; then
29037 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29038 # Extract the first word of "pkg-config", so it can be a program name with args.
29039 set dummy pkg
-config; ac_word
=$2
29040 echo "$as_me:$LINENO: checking for $ac_word" >&5
29041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29042 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29043 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 case $ac_pt_PKG_CONFIG in
29047 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29051 for as_dir
in $PATH
29054 test -z "$as_dir" && as_dir
=.
29055 for ac_exec_ext
in '' $ac_executable_extensions; do
29056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29057 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29067 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29069 if test -n "$ac_pt_PKG_CONFIG"; then
29070 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29071 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29073 echo "$as_me:$LINENO: result: no" >&5
29074 echo "${ECHO_T}no" >&6
29077 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29079 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29083 if test -n "$PKG_CONFIG"; then
29084 _pkg_min_version
=0.9.0
29085 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29086 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29087 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29091 echo "$as_me:$LINENO: result: no" >&5
29092 echo "${ECHO_T}no" >&6
29099 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29100 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29102 if test -n "$PKG_CONFIG"; then
29103 if test -n "$DIRECTFB_CFLAGS"; then
29104 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29106 if test -n "$PKG_CONFIG" && \
29107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29108 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; then
29112 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29120 if test -n "$PKG_CONFIG"; then
29121 if test -n "$DIRECTFB_LIBS"; then
29122 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29124 if test -n "$PKG_CONFIG" && \
29125 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29126 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; then
29130 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29141 if test $pkg_failed = yes; then
29143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29144 _pkg_short_errors_supported
=yes
29146 _pkg_short_errors_supported
=no
29148 if test $_pkg_short_errors_supported = yes; then
29149 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29151 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29153 # Put the nasty error message in config.log where it belongs
29154 echo "$DIRECTFB_PKG_ERRORS" >&5
29157 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29158 echo "$as_me: error: DirectFB not found." >&2;}
29159 { (exit 1); exit 1; }; }
29162 elif test $pkg_failed = untried
; then
29164 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29165 echo "$as_me: error: DirectFB not found." >&2;}
29166 { (exit 1); exit 1; }; }
29170 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29171 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29172 echo "$as_me:$LINENO: result: yes" >&5
29173 echo "${ECHO_T}yes" >&6
29175 wxUSE_UNIVERSAL
="yes"
29176 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29177 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29184 if test "$wxUSE_MICROWIN" = 1; then
29185 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29186 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29187 if test "x$MICROWINDOWS" = x
; then
29188 echo "$as_me:$LINENO: result: not found" >&5
29189 echo "${ECHO_T}not found" >&6
29190 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29191 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29192 { (exit 1); exit 1; }; }
29194 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29195 echo "${ECHO_T}$MICROWINDOWS" >&6
29198 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29199 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29200 echo "${ECHO_T}MicroWindows' libraries found." >&6
29202 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29203 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29204 { (exit 1); exit 1; }; }
29207 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29208 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29210 wxUSE_UNIVERSAL
="yes"
29212 AFMINSTALL
=afminstall
29214 GUIDIST
=MICROWIN_DIST
29216 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29219 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29221 if test "x$ac_path_x_has_been_run" != xyes
; then
29222 echo "$as_me:$LINENO: checking for X" >&5
29223 echo $ECHO_N "checking for X... $ECHO_C" >&6
29225 ac_path_x_has_been_run
=yes
29227 # Check whether --with-x or --without-x was given.
29228 if test "${with_x+set}" = set; then
29232 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29233 if test "x$with_x" = xno
; then
29234 # The user explicitly disabled X.
29237 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29238 # Both variables are already set.
29241 if test "${ac_cv_have_x+set}" = set; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 # One or both of the vars are not set, and there is no cached value.
29245 ac_x_includes
=no ac_x_libraries
=no
29246 rm -fr conftest.dir
29247 if mkdir conftest.dir
; then
29249 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29250 cat >Imakefile
<<'_ACEOF'
29252 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29254 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29256 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29257 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29258 for ac_extension
in a so sl
; do
29259 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29260 test -f $ac_im_libdir/libX11.
$ac_extension; then
29261 ac_im_usrlibdir
=$ac_im_libdir; break
29264 # Screen out bogus values from the imake configuration. They are
29265 # bogus both because they are the default anyway, and because
29266 # using them would break gcc on systems where it needs fixed includes.
29267 case $ac_im_incroot in
29269 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29271 case $ac_im_usrlibdir in
29272 /usr
/lib
| /lib
) ;;
29273 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29277 rm -fr conftest.dir
29280 # Standard set of common directories for X headers.
29281 # Check X11 before X11Rn because it is often a symlink to the current release.
29293 /usr/local/X11/include
29294 /usr/local/X11R6/include
29295 /usr/local/X11R5/include
29296 /usr/local/X11R4/include
29298 /usr/local/include/X11
29299 /usr/local/include/X11R6
29300 /usr/local/include/X11R5
29301 /usr/local/include/X11R4
29305 /usr/XFree86/include/X11
29309 /usr/unsupported/include
29310 /usr/athena/include
29311 /usr/local/x11r5/include
29312 /usr/lpp/Xamples/include
29314 /usr/openwin/include
29315 /usr/openwin/share/include'
29317 if test "$ac_x_includes" = no
; then
29318 # Guess where to find include files, by looking for a specified header file.
29319 # First, try using that file with no special directory specified.
29320 cat >conftest.
$ac_ext <<_ACEOF
29323 cat confdefs.h
>>conftest.
$ac_ext
29324 cat >>conftest.
$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29326 #include <X11/Xlib.h>
29328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29331 grep -v '^ *+' conftest.er1
>conftest.err
29333 cat conftest.err
>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } >/dev
/null
; then
29336 if test -s conftest.err
; then
29337 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29338 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29345 if test -z "$ac_cpp_err"; then
29346 # We can compile using X headers with no special include directory.
29349 echo "$as_me: failed program was:" >&5
29350 sed 's/^/| /' conftest.
$ac_ext >&5
29352 for ac_dir
in $ac_x_header_dirs; do
29353 if test -r "$ac_dir/X11/Xlib.h"; then
29354 ac_x_includes
=$ac_dir
29359 rm -f conftest.err conftest.
$ac_ext
29360 fi # $ac_x_includes = no
29362 if test "$ac_x_libraries" = no
; then
29363 # Check for the libraries.
29364 # See if we find them without any special options.
29365 # Don't add to $LIBS permanently.
29368 cat >conftest.
$ac_ext <<_ACEOF
29371 cat confdefs.h
>>conftest.
$ac_ext
29372 cat >>conftest.
$ac_ext <<_ACEOF
29373 /* end confdefs.h. */
29374 #include <X11/Xlib.h>
29383 rm -f conftest.
$ac_objext conftest
$ac_exeext
29384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29385 (eval $ac_link) 2>conftest.er1
29387 grep -v '^ *+' conftest.er1
>conftest.err
29389 cat conftest.err
>&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } &&
29392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; } &&
29398 { ac_try
='test -s conftest$ac_exeext'
29399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29400 (eval $ac_try) 2>&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); }; }; then
29405 # We can link X programs with no special library path.
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.
$ac_ext >&5
29412 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29414 # Don't even attempt the hair of trying to link an X program!
29415 for ac_extension
in a so sl
; do
29416 if test -r $ac_dir/libX11.
$ac_extension; then
29417 ac_x_libraries
=$ac_dir
29423 rm -f conftest.err conftest.
$ac_objext \
29424 conftest
$ac_exeext conftest.
$ac_ext
29425 fi # $ac_x_libraries = no
29427 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29428 # Didn't find X anywhere. Cache the known absence of X.
29429 ac_cv_have_x
="have_x=no"
29431 # Record where we found X for the cache.
29432 ac_cv_have_x
="have_x=yes \
29433 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29438 eval "$ac_cv_have_x"
29441 if test "$have_x" != yes; then
29442 echo "$as_me:$LINENO: result: $have_x" >&5
29443 echo "${ECHO_T}$have_x" >&6
29446 # If each of the values was on the command line, it overrides each guess.
29447 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29448 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29449 # Update the cache value to reflect the command line values.
29450 ac_cv_have_x
="have_x=yes \
29451 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29452 # It might be that x_includes is empty (headers are found in the
29453 # standard search path. Then output the corresponding message
29454 ac_out_x_includes
=$x_includes
29455 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29456 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29457 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29461 if test "$no_x" = yes; then
29462 # Not all programs may use this symbol, but it does not hurt to define it.
29464 cat >>confdefs.h
<<\_ACEOF
29465 #define X_DISPLAY_MISSING 1
29468 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29470 if test -n "$x_includes"; then
29471 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29474 # It would also be nice to do this for all -L options, not just this one.
29475 if test -n "$x_libraries"; then
29476 X_LIBS
="$X_LIBS -L$x_libraries"
29477 # For Solaris; some versions of Sun CC require a space after -R and
29478 # others require no space. Words are not sufficient . . . .
29479 case `(uname -sr) 2>/dev/null` in
29481 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29482 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29483 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29484 cat >conftest.
$ac_ext <<_ACEOF
29487 cat confdefs.h
>>conftest.
$ac_ext
29488 cat >>conftest.
$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29499 rm -f conftest.
$ac_objext conftest
$ac_exeext
29500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29501 (eval $ac_link) 2>conftest.er1
29503 grep -v '^ *+' conftest.er1
>conftest.err
29505 cat conftest.err
>&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } &&
29508 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; } &&
29514 { ac_try
='test -s conftest$ac_exeext'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; }; then
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.
$ac_ext >&5
29527 rm -f conftest.err conftest.
$ac_objext \
29528 conftest
$ac_exeext conftest.
$ac_ext
29529 if test $ac_R_nospace = yes; then
29530 echo "$as_me:$LINENO: result: no" >&5
29531 echo "${ECHO_T}no" >&6
29532 X_LIBS
="$X_LIBS -R$x_libraries"
29534 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29535 cat >conftest.
$ac_ext <<_ACEOF
29538 cat confdefs.h
>>conftest.
$ac_ext
29539 cat >>conftest.
$ac_ext <<_ACEOF
29540 /* end confdefs.h. */
29550 rm -f conftest.
$ac_objext conftest
$ac_exeext
29551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29552 (eval $ac_link) 2>conftest.er1
29554 grep -v '^ *+' conftest.er1
>conftest.err
29556 cat conftest.err
>&5
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); } &&
29559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; } &&
29565 { ac_try
='test -s conftest$ac_exeext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.
$ac_ext >&5
29578 rm -f conftest.err conftest.
$ac_objext \
29579 conftest
$ac_exeext conftest.
$ac_ext
29580 if test $ac_R_space = yes; then
29581 echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6
29583 X_LIBS
="$X_LIBS -R $x_libraries"
29585 echo "$as_me:$LINENO: result: neither works" >&5
29586 echo "${ECHO_T}neither works" >&6
29589 LIBS
=$ac_xsave_LIBS
29593 # Check for system-dependent libraries X programs must link with.
29594 # Do this before checking for the system-independent R6 libraries
29595 # (-lICE), since we may need -lsocket or whatever for X linking.
29597 if test "$ISC" = yes; then
29598 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29600 # Martyn Johnson says this is needed for Ultrix, if the X
29601 # libraries were built with DECnet support. And Karl Berry says
29602 # the Alpha needs dnet_stub (dnet does not exist).
29603 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29604 cat >conftest.
$ac_ext <<_ACEOF
29607 cat confdefs.h
>>conftest.
$ac_ext
29608 cat >>conftest.
$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29611 /* Override any gcc2 internal prototype to avoid an error. */
29615 /* We use char because int might match the return type of a gcc2
29616 builtin and then its argument prototype would still apply. */
29617 char XOpenDisplay ();
29626 rm -f conftest.
$ac_objext conftest
$ac_exeext
29627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29628 (eval $ac_link) 2>conftest.er1
29630 grep -v '^ *+' conftest.er1
>conftest.err
29632 cat conftest.err
>&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } &&
29635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 (eval $ac_try) 2>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); }; } &&
29641 { ac_try
='test -s conftest$ac_exeext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.
$ac_ext >&5
29652 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29653 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29654 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29657 ac_check_lib_save_LIBS
=$LIBS
29658 LIBS
="-ldnet $LIBS"
29659 cat >conftest.
$ac_ext <<_ACEOF
29662 cat confdefs.h
>>conftest.
$ac_ext
29663 cat >>conftest.
$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29666 /* Override any gcc2 internal prototype to avoid an error. */
29670 /* We use char because int might match the return type of a gcc2
29671 builtin and then its argument prototype would still apply. */
29681 rm -f conftest.
$ac_objext conftest
$ac_exeext
29682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29683 (eval $ac_link) 2>conftest.er1
29685 grep -v '^ *+' conftest.er1
>conftest.err
29687 cat conftest.err
>&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } &&
29690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29692 (eval $ac_try) 2>&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; } &&
29696 { ac_try
='test -s conftest$ac_exeext'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; }; then
29702 ac_cv_lib_dnet_dnet_ntoa
=yes
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.
$ac_ext >&5
29707 ac_cv_lib_dnet_dnet_ntoa
=no
29709 rm -f conftest.err conftest.
$ac_objext \
29710 conftest
$ac_exeext conftest.
$ac_ext
29711 LIBS
=$ac_check_lib_save_LIBS
29713 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29714 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29715 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29719 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29721 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29722 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29723 echo $ECHO_N "(cached) $ECHO_C" >&6
29725 ac_check_lib_save_LIBS
=$LIBS
29726 LIBS
="-ldnet_stub $LIBS"
29727 cat >conftest.
$ac_ext <<_ACEOF
29730 cat confdefs.h
>>conftest.
$ac_ext
29731 cat >>conftest.
$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29734 /* Override any gcc2 internal prototype to avoid an error. */
29738 /* We use char because int might match the return type of a gcc2
29739 builtin and then its argument prototype would still apply. */
29749 rm -f conftest.
$ac_objext conftest
$ac_exeext
29750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29751 (eval $ac_link) 2>conftest.er1
29753 grep -v '^ *+' conftest.er1
>conftest.err
29755 cat conftest.err
>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } &&
29758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29760 (eval $ac_try) 2>&5
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); }; } &&
29764 { ac_try
='test -s conftest$ac_exeext'
29765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29766 (eval $ac_try) 2>&5
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); }; }; then
29770 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.
$ac_ext >&5
29775 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29777 rm -f conftest.err conftest.
$ac_objext \
29778 conftest
$ac_exeext conftest.
$ac_ext
29779 LIBS
=$ac_check_lib_save_LIBS
29781 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29782 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29783 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29784 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29789 rm -f conftest.err conftest.
$ac_objext \
29790 conftest
$ac_exeext conftest.
$ac_ext
29791 LIBS
="$ac_xsave_LIBS"
29793 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29794 # to get the SysV transport functions.
29795 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29797 # The nsl library prevents programs from opening the X display
29798 # on Irix 5.2, according to T.E. Dickey.
29799 # The functions gethostbyname, getservbyname, and inet_addr are
29800 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29801 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29802 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29803 if test "${ac_cv_func_gethostbyname+set}" = set; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29806 cat >conftest.
$ac_ext <<_ACEOF
29809 cat confdefs.h
>>conftest.
$ac_ext
29810 cat >>conftest.
$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29814 #define gethostbyname innocuous_gethostbyname
29816 /* System header to define __stub macros and hopefully few prototypes,
29817 which can conflict with char gethostbyname (); below.
29818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29819 <limits.h> exists even on freestanding compilers. */
29822 # include <limits.h>
29824 # include <assert.h>
29827 #undef gethostbyname
29829 /* Override any gcc2 internal prototype to avoid an error. */
29834 /* We use char because int might match the return type of a gcc2
29835 builtin and then its argument prototype would still apply. */
29836 char gethostbyname ();
29837 /* The GNU C library defines this for functions which it implements
29838 to always fail with ENOSYS. Some functions are actually named
29839 something starting with __ and the normal name is an alias. */
29840 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29843 char (*f) () = gethostbyname;
29852 return f != gethostbyname;
29857 rm -f conftest.
$ac_objext conftest
$ac_exeext
29858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29859 (eval $ac_link) 2>conftest.er1
29861 grep -v '^ *+' conftest.er1
>conftest.err
29863 cat conftest.err
>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; } &&
29872 { ac_try
='test -s conftest$ac_exeext'
29873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29874 (eval $ac_try) 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; }; then
29878 ac_cv_func_gethostbyname
=yes
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.
$ac_ext >&5
29883 ac_cv_func_gethostbyname
=no
29885 rm -f conftest.err conftest.
$ac_objext \
29886 conftest
$ac_exeext conftest.
$ac_ext
29888 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29889 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29891 if test $ac_cv_func_gethostbyname = no
; then
29892 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29893 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29894 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 ac_check_lib_save_LIBS
=$LIBS
29899 cat >conftest.
$ac_ext <<_ACEOF
29902 cat confdefs.h
>>conftest.
$ac_ext
29903 cat >>conftest.
$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29906 /* Override any gcc2 internal prototype to avoid an error. */
29910 /* We use char because int might match the return type of a gcc2
29911 builtin and then its argument prototype would still apply. */
29912 char gethostbyname ();
29921 rm -f conftest.
$ac_objext conftest
$ac_exeext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29923 (eval $ac_link) 2>conftest.er1
29925 grep -v '^ *+' conftest.er1
>conftest.err
29927 cat conftest.err
>&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try
='test -s conftest$ac_exeext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 ac_cv_lib_nsl_gethostbyname
=yes
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.
$ac_ext >&5
29947 ac_cv_lib_nsl_gethostbyname
=no
29949 rm -f conftest.err conftest.
$ac_objext \
29950 conftest
$ac_exeext conftest.
$ac_ext
29951 LIBS
=$ac_check_lib_save_LIBS
29953 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29954 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29955 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29959 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29960 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29961 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29962 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29965 ac_check_lib_save_LIBS
=$LIBS
29967 cat >conftest.
$ac_ext <<_ACEOF
29970 cat confdefs.h
>>conftest.
$ac_ext
29971 cat >>conftest.
$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29974 /* Override any gcc2 internal prototype to avoid an error. */
29978 /* We use char because int might match the return type of a gcc2
29979 builtin and then its argument prototype would still apply. */
29980 char gethostbyname ();
29989 rm -f conftest.
$ac_objext conftest
$ac_exeext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29991 (eval $ac_link) 2>conftest.er1
29993 grep -v '^ *+' conftest.er1
>conftest.err
29995 cat conftest.err
>&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try
='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_lib_bsd_gethostbyname
=yes
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.
$ac_ext >&5
30015 ac_cv_lib_bsd_gethostbyname
=no
30017 rm -f conftest.err conftest.
$ac_objext \
30018 conftest
$ac_exeext conftest.
$ac_ext
30019 LIBS
=$ac_check_lib_save_LIBS
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30022 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30023 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30030 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30031 # socket/setsockopt and other routines are undefined under SCO ODT
30032 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30033 # on later versions), says Simon Leinen: it contains gethostby*
30034 # variants that don't use the name server (or something). -lsocket
30035 # must be given before -lnsl if both are needed. We assume that
30036 # if connect needs -lnsl, so does gethostbyname.
30037 echo "$as_me:$LINENO: checking for connect" >&5
30038 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30039 if test "${ac_cv_func_connect+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30042 cat >conftest.
$ac_ext <<_ACEOF
30045 cat confdefs.h
>>conftest.
$ac_ext
30046 cat >>conftest.
$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30050 #define connect innocuous_connect
30052 /* System header to define __stub macros and hopefully few prototypes,
30053 which can conflict with char connect (); below.
30054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30055 <limits.h> exists even on freestanding compilers. */
30058 # include <limits.h>
30060 # include <assert.h>
30065 /* Override any gcc2 internal prototype to avoid an error. */
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30073 /* The GNU C library defines this for functions which it implements
30074 to always fail with ENOSYS. Some functions are actually named
30075 something starting with __ and the normal name is an alias. */
30076 #if defined (__stub_connect) || defined (__stub___connect)
30079 char (*f) () = connect;
30088 return f != connect;
30093 rm -f conftest.
$ac_objext conftest
$ac_exeext
30094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30095 (eval $ac_link) 2>conftest.er1
30097 grep -v '^ *+' conftest.er1
>conftest.err
30099 cat conftest.err
>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } &&
30102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try
='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 ac_cv_func_connect
=yes
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.
$ac_ext >&5
30119 ac_cv_func_connect
=no
30121 rm -f conftest.err conftest.
$ac_objext \
30122 conftest
$ac_exeext conftest.
$ac_ext
30124 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30125 echo "${ECHO_T}$ac_cv_func_connect" >&6
30127 if test $ac_cv_func_connect = no
; then
30128 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30129 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30130 if test "${ac_cv_lib_socket_connect+set}" = set; then
30131 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 ac_check_lib_save_LIBS
=$LIBS
30134 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30135 cat >conftest.
$ac_ext <<_ACEOF
30138 cat confdefs.h
>>conftest.
$ac_ext
30139 cat >>conftest.
$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30142 /* Override any gcc2 internal prototype to avoid an error. */
30146 /* We use char because int might match the return type of a gcc2
30147 builtin and then its argument prototype would still apply. */
30157 rm -f conftest.
$ac_objext conftest
$ac_exeext
30158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30159 (eval $ac_link) 2>conftest.er1
30161 grep -v '^ *+' conftest.er1
>conftest.err
30163 cat conftest.err
>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; } &&
30172 { ac_try
='test -s conftest$ac_exeext'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; }; then
30178 ac_cv_lib_socket_connect
=yes
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.
$ac_ext >&5
30183 ac_cv_lib_socket_connect
=no
30185 rm -f conftest.err conftest.
$ac_objext \
30186 conftest
$ac_exeext conftest.
$ac_ext
30187 LIBS
=$ac_check_lib_save_LIBS
30189 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30190 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30191 if test $ac_cv_lib_socket_connect = yes; then
30192 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30197 # Guillermo Gomez says -lposix is necessary on A/UX.
30198 echo "$as_me:$LINENO: checking for remove" >&5
30199 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30200 if test "${ac_cv_func_remove+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30203 cat >conftest.
$ac_ext <<_ACEOF
30206 cat confdefs.h
>>conftest.
$ac_ext
30207 cat >>conftest.
$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30211 #define remove innocuous_remove
30213 /* System header to define __stub macros and hopefully few prototypes,
30214 which can conflict with char remove (); below.
30215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30216 <limits.h> exists even on freestanding compilers. */
30219 # include <limits.h>
30221 # include <assert.h>
30226 /* Override any gcc2 internal prototype to avoid an error. */
30231 /* We use char because int might match the return type of a gcc2
30232 builtin and then its argument prototype would still apply. */
30234 /* The GNU C library defines this for functions which it implements
30235 to always fail with ENOSYS. Some functions are actually named
30236 something starting with __ and the normal name is an alias. */
30237 #if defined (__stub_remove) || defined (__stub___remove)
30240 char (*f) () = remove;
30249 return f != remove;
30254 rm -f conftest.
$ac_objext conftest
$ac_exeext
30255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30256 (eval $ac_link) 2>conftest.er1
30258 grep -v '^ *+' conftest.er1
>conftest.err
30260 cat conftest.err
>&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); } &&
30263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; } &&
30269 { ac_try
='test -s conftest$ac_exeext'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 ac_cv_func_remove
=yes
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.
$ac_ext >&5
30280 ac_cv_func_remove
=no
30282 rm -f conftest.err conftest.
$ac_objext \
30283 conftest
$ac_exeext conftest.
$ac_ext
30285 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30286 echo "${ECHO_T}$ac_cv_func_remove" >&6
30288 if test $ac_cv_func_remove = no
; then
30289 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30290 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30291 if test "${ac_cv_lib_posix_remove+set}" = set; then
30292 echo $ECHO_N "(cached) $ECHO_C" >&6
30294 ac_check_lib_save_LIBS
=$LIBS
30295 LIBS
="-lposix $LIBS"
30296 cat >conftest.
$ac_ext <<_ACEOF
30299 cat confdefs.h
>>conftest.
$ac_ext
30300 cat >>conftest.
$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30303 /* Override any gcc2 internal prototype to avoid an error. */
30307 /* We use char because int might match the return type of a gcc2
30308 builtin and then its argument prototype would still apply. */
30318 rm -f conftest.
$ac_objext conftest
$ac_exeext
30319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30320 (eval $ac_link) 2>conftest.er1
30322 grep -v '^ *+' conftest.er1
>conftest.err
30324 cat conftest.err
>&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30329 (eval $ac_try) 2>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; } &&
30333 { ac_try
='test -s conftest$ac_exeext'
30334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30335 (eval $ac_try) 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; }; then
30339 ac_cv_lib_posix_remove
=yes
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.
$ac_ext >&5
30344 ac_cv_lib_posix_remove
=no
30346 rm -f conftest.err conftest.
$ac_objext \
30347 conftest
$ac_exeext conftest.
$ac_ext
30348 LIBS
=$ac_check_lib_save_LIBS
30350 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30351 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30352 if test $ac_cv_lib_posix_remove = yes; then
30353 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30358 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30359 echo "$as_me:$LINENO: checking for shmat" >&5
30360 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30361 if test "${ac_cv_func_shmat+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 cat >conftest.
$ac_ext <<_ACEOF
30367 cat confdefs.h
>>conftest.
$ac_ext
30368 cat >>conftest.
$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30372 #define shmat innocuous_shmat
30374 /* System header to define __stub macros and hopefully few prototypes,
30375 which can conflict with char shmat (); below.
30376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30377 <limits.h> exists even on freestanding compilers. */
30380 # include <limits.h>
30382 # include <assert.h>
30387 /* Override any gcc2 internal prototype to avoid an error. */
30392 /* We use char because int might match the return type of a gcc2
30393 builtin and then its argument prototype would still apply. */
30395 /* The GNU C library defines this for functions which it implements
30396 to always fail with ENOSYS. Some functions are actually named
30397 something starting with __ and the normal name is an alias. */
30398 #if defined (__stub_shmat) || defined (__stub___shmat)
30401 char (*f) () = shmat;
30415 rm -f conftest.
$ac_objext conftest
$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30419 grep -v '^ *+' conftest.er1
>conftest.err
30421 cat conftest.err
>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30436 ac_cv_func_shmat
=yes
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.
$ac_ext >&5
30441 ac_cv_func_shmat
=no
30443 rm -f conftest.err conftest.
$ac_objext \
30444 conftest
$ac_exeext conftest.
$ac_ext
30446 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30447 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30449 if test $ac_cv_func_shmat = no
; then
30450 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30451 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30452 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 ac_check_lib_save_LIBS
=$LIBS
30457 cat >conftest.
$ac_ext <<_ACEOF
30460 cat confdefs.h
>>conftest.
$ac_ext
30461 cat >>conftest.
$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30464 /* Override any gcc2 internal prototype to avoid an error. */
30468 /* We use char because int might match the return type of a gcc2
30469 builtin and then its argument prototype would still apply. */
30479 rm -f conftest.
$ac_objext conftest
$ac_exeext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30481 (eval $ac_link) 2>conftest.er1
30483 grep -v '^ *+' conftest.er1
>conftest.err
30485 cat conftest.err
>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; } &&
30494 { ac_try
='test -s conftest$ac_exeext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500 ac_cv_lib_ipc_shmat
=yes
30502 echo "$as_me: failed program was:" >&5
30503 sed 's/^/| /' conftest.
$ac_ext >&5
30505 ac_cv_lib_ipc_shmat
=no
30507 rm -f conftest.err conftest.
$ac_objext \
30508 conftest
$ac_exeext conftest.
$ac_ext
30509 LIBS
=$ac_check_lib_save_LIBS
30511 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30512 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30513 if test $ac_cv_lib_ipc_shmat = yes; then
30514 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30520 # Check for libraries that X11R6 Xt/Xaw programs need.
30521 ac_save_LDFLAGS
=$LDFLAGS
30522 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30523 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30524 # check for ICE first), but we must link in the order -lSM -lICE or
30525 # we get undefined symbols. So assume we have SM if we have ICE.
30526 # These have to be linked with before -lX11, unlike the other
30527 # libraries we check for below, so use a different variable.
30528 # John Interrante, Karl Berry
30529 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30530 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30531 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 ac_check_lib_save_LIBS
=$LIBS
30535 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30536 cat >conftest.
$ac_ext <<_ACEOF
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30543 /* Override any gcc2 internal prototype to avoid an error. */
30547 /* We use char because int might match the return type of a gcc2
30548 builtin and then its argument prototype would still apply. */
30549 char IceConnectionNumber ();
30553 IceConnectionNumber ();
30558 rm -f conftest.
$ac_objext conftest
$ac_exeext
30559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30560 (eval $ac_link) 2>conftest.er1
30562 grep -v '^ *+' conftest.er1
>conftest.err
30564 cat conftest.err
>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } &&
30567 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; } &&
30573 { ac_try
='test -s conftest$ac_exeext'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; }; then
30579 ac_cv_lib_ICE_IceConnectionNumber
=yes
30581 echo "$as_me: failed program was:" >&5
30582 sed 's/^/| /' conftest.
$ac_ext >&5
30584 ac_cv_lib_ICE_IceConnectionNumber
=no
30586 rm -f conftest.err conftest.
$ac_objext \
30587 conftest
$ac_exeext conftest.
$ac_ext
30588 LIBS
=$ac_check_lib_save_LIBS
30590 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30591 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30592 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30593 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30596 LDFLAGS
=$ac_save_LDFLAGS
30601 if test "$no_x" = "yes"; then
30602 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30603 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30604 { (exit 1); exit 1; }; }
30607 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30608 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30609 AFMINSTALL
=afminstall
30610 COMPILED_X_PROGRAM
=0
30614 if test "$wxUSE_X11" = 1; then
30615 if test "$wxUSE_NANOX" = "yes"; then
30616 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30617 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30618 if test "x$MICROWIN" = x
; then
30619 echo "$as_me:$LINENO: result: not found" >&5
30620 echo "${ECHO_T}not found" >&6
30621 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30622 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30623 { (exit 1); exit 1; }; }
30625 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30626 echo "${ECHO_T}$MICROWIN" >&6
30627 cat >>confdefs.h
<<\_ACEOF
30628 #define wxUSE_NANOX 1
30634 if test "$wxUSE_UNICODE" = "yes"; then
30637 echo "$as_me:$LINENO: checking for PANGOX" >&5
30638 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30640 if test -n "$PKG_CONFIG"; then
30641 if test -n "$PANGOX_CFLAGS"; then
30642 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30644 if test -n "$PKG_CONFIG" && \
30645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30646 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; then
30650 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30658 if test -n "$PKG_CONFIG"; then
30659 if test -n "$PANGOX_LIBS"; then
30660 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30662 if test -n "$PKG_CONFIG" && \
30663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30664 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; then
30668 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30679 if test $pkg_failed = yes; then
30681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30682 _pkg_short_errors_supported
=yes
30684 _pkg_short_errors_supported
=no
30686 if test $_pkg_short_errors_supported = yes; then
30687 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30689 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30691 # Put the nasty error message in config.log where it belongs
30692 echo "$PANGOX_PKG_ERRORS" >&5
30695 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30696 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30697 { (exit 1); exit 1; }; }
30700 elif test $pkg_failed = untried
; then
30702 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30703 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30704 { (exit 1); exit 1; }; }
30708 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30709 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30710 echo "$as_me:$LINENO: result: yes" >&5
30711 echo "${ECHO_T}yes" >&6
30713 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30714 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30719 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30720 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30722 if test -n "$PKG_CONFIG"; then
30723 if test -n "$PANGOFT2_CFLAGS"; then
30724 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30726 if test -n "$PKG_CONFIG" && \
30727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30728 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; then
30732 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30740 if test -n "$PKG_CONFIG"; then
30741 if test -n "$PANGOFT2_LIBS"; then
30742 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30744 if test -n "$PKG_CONFIG" && \
30745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30746 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; then
30750 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30761 if test $pkg_failed = yes; then
30763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30764 _pkg_short_errors_supported
=yes
30766 _pkg_short_errors_supported
=no
30768 if test $_pkg_short_errors_supported = yes; then
30769 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30771 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30773 # Put the nasty error message in config.log where it belongs
30774 echo "$PANGOFT2_PKG_ERRORS" >&5
30777 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30778 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30779 wxUSE_PRINTING_ARCHITECTURE
="no"
30782 elif test $pkg_failed = untried
; then
30784 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30785 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30786 wxUSE_PRINTING_ARCHITECTURE
="no"
30790 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30791 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30792 echo "$as_me:$LINENO: result: yes" >&5
30793 echo "${ECHO_T}yes" >&6
30795 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30796 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30801 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30802 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30804 if test -n "$PKG_CONFIG"; then
30805 if test -n "$PANGOXFT_CFLAGS"; then
30806 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30808 if test -n "$PKG_CONFIG" && \
30809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30810 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; then
30814 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30822 if test -n "$PKG_CONFIG"; then
30823 if test -n "$PANGOXFT_LIBS"; then
30824 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30826 if test -n "$PKG_CONFIG" && \
30827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30828 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; then
30832 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30843 if test $pkg_failed = yes; then
30845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30846 _pkg_short_errors_supported
=yes
30848 _pkg_short_errors_supported
=no
30850 if test $_pkg_short_errors_supported = yes; then
30851 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30853 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30855 # Put the nasty error message in config.log where it belongs
30856 echo "$PANGOXFT_PKG_ERRORS" >&5
30859 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30860 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30863 elif test $pkg_failed = untried
; then
30865 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30866 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30870 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30871 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30872 echo "$as_me:$LINENO: result: yes" >&5
30873 echo "${ECHO_T}yes" >&6
30875 cat >>confdefs.h
<<\_ACEOF
30876 #define HAVE_PANGO_XFT 1
30879 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30880 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30883 save_CXXFLAGS
="$CXXFLAGS"
30885 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30886 LIBS
="$LIBS $PANGOX_LIBS"
30888 for ac_func
in pango_font_family_is_monospace
30890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30891 echo "$as_me:$LINENO: checking for $ac_func" >&5
30892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30893 if eval "test \"\${$as_ac_var+set}\" = set"; then
30894 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 cat >conftest.
$ac_ext <<_ACEOF
30899 cat confdefs.h
>>conftest.
$ac_ext
30900 cat >>conftest.
$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30904 #define $ac_func innocuous_$ac_func
30906 /* System header to define __stub macros and hopefully few prototypes,
30907 which can conflict with char $ac_func (); below.
30908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30909 <limits.h> exists even on freestanding compilers. */
30912 # include <limits.h>
30914 # include <assert.h>
30919 /* Override any gcc2 internal prototype to avoid an error. */
30924 /* We use char because int might match the return type of a gcc2
30925 builtin and then its argument prototype would still apply. */
30927 /* The GNU C library defines this for functions which it implements
30928 to always fail with ENOSYS. Some functions are actually named
30929 something starting with __ and the normal name is an alias. */
30930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30933 char (*f) () = $ac_func;
30942 return f != $ac_func;
30947 rm -f conftest.
$ac_objext conftest
$ac_exeext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30949 (eval $ac_link) 2>conftest.er1
30951 grep -v '^ *+' conftest.er1
>conftest.err
30953 cat conftest.err
>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } &&
30956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; } &&
30962 { ac_try
='test -s conftest$ac_exeext'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; }; then
30968 eval "$as_ac_var=yes"
30970 echo "$as_me: failed program was:" >&5
30971 sed 's/^/| /' conftest.
$ac_ext >&5
30973 eval "$as_ac_var=no"
30975 rm -f conftest.err conftest.
$ac_objext \
30976 conftest
$ac_exeext conftest.
$ac_ext
30978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30980 if test `eval echo '${'$as_ac_var'}'` = yes; then
30981 cat >>confdefs.h
<<_ACEOF
30982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30988 CXXFLAGS
="$save_CXXFLAGS"
30992 wxUSE_UNIVERSAL
="yes"
30994 if test "$wxUSE_NANOX" = "yes"; then
30995 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30996 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"
30997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30999 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31006 if test "$wxUSE_MOTIF" = 1; then
31007 if test "$wxUSE_UNICODE" = "yes"; then
31008 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31009 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31010 { (exit 1); exit 1; }; }
31013 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31014 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31017 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31019 if test -f "$ac_dir/Xm/Xm.h"; then
31020 ac_find_includes
=$ac_dir
31025 if test "$ac_find_includes" != "" ; then
31026 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31027 echo "${ECHO_T}found in $ac_find_includes" >&6
31029 if test "x$ac_find_includes" = "x/usr/include"; then
31030 ac_path_to_include
=""
31032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31034 if test $result = 0; then
31035 ac_path_to_include
=""
31037 ac_path_to_include
=" -I$ac_find_includes"
31041 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31043 save_CXXFLAGS
=$CXXFLAGS
31044 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31046 cat >conftest.
$ac_ext <<_ACEOF
31049 cat confdefs.h
>>conftest.
$ac_ext
31050 cat >>conftest.
$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31060 version = xmUseVersion;
31066 rm -f conftest.
$ac_objext
31067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31068 (eval $ac_compile) 2>conftest.er1
31070 grep -v '^ *+' conftest.er1
>conftest.err
31072 cat conftest.err
>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } &&
31075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31077 (eval $ac_try) 2>&5
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); }; } &&
31081 { ac_try
='test -s conftest.$ac_objext'
31082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31083 (eval $ac_try) 2>&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); }; }; then
31088 echo "$as_me:$LINENO: result: found in default search path" >&5
31089 echo "${ECHO_T}found in default search path" >&6
31090 COMPILED_X_PROGRAM
=1
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.
$ac_ext >&5
31097 echo "$as_me:$LINENO: result: no" >&5
31098 echo "${ECHO_T}no" >&6
31099 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31100 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31101 { (exit 1); exit 1; }; }
31105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31107 CXXFLAGS
=$save_CXXFLAGS
31111 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31112 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31115 for ac_dir
in $SEARCH_LIB;
31117 for ac_extension
in a so sl dylib dll.a
; do
31118 if test -f "$ac_dir/libXm.$ac_extension"; then
31119 ac_find_libraries
=$ac_dir
31126 if test "x$ac_find_libraries" != "x" ; then
31127 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31128 echo "${ECHO_T}found in $ac_find_libraries" >&6
31131 if test "$ac_find_libraries" = "default location"; then
31134 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31136 if test $result = 0; then
31139 ac_path_to_link
=" -L$ac_find_libraries"
31143 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31145 save_CXXFLAGS
=$CXXFLAGS
31146 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31148 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31150 cat >conftest.
$ac_ext <<_ACEOF
31153 cat confdefs.h
>>conftest.
$ac_ext
31154 cat >>conftest.
$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31164 version = xmUseVersion;
31170 rm -f conftest.
$ac_objext conftest
$ac_exeext
31171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31172 (eval $ac_link) 2>conftest.er1
31174 grep -v '^ *+' conftest.er1
>conftest.err
31176 cat conftest.err
>&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } &&
31179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; } &&
31185 { ac_try
='test -s conftest$ac_exeext'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; }; then
31192 echo "$as_me:$LINENO: result: found in default search path" >&5
31193 echo "${ECHO_T}found in default search path" >&6
31194 COMPILED_X_PROGRAM
=1
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.
$ac_ext >&5
31201 echo "$as_me:$LINENO: result: no" >&5
31202 echo "${ECHO_T}no" >&6
31203 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31204 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31205 { (exit 1); exit 1; }; }
31209 rm -f conftest.err conftest.
$ac_objext \
31210 conftest
$ac_exeext conftest.
$ac_ext
31212 CXXFLAGS
=$save_CXXFLAGS
31216 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31217 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31221 for libp
in "" " -lXp"; do
31222 if test "$libs_found" = "0"; then
31223 for libsm_ice
in "" " -lSM -lICE"; do
31224 if test "$libs_found" = "0"; then
31226 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31227 save_CXXFLAGS
=$CXXFLAGS
31228 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31230 cat >conftest.
$ac_ext <<_ACEOF
31233 cat confdefs.h
>>conftest.
$ac_ext
31234 cat >>conftest.
$ac_ext <<_ACEOF
31235 /* end confdefs.h. */
31238 #include <Xm/List.h>
31244 XmString string = NULL;
31247 XmListAddItem(w, string, position);
31253 rm -f conftest.
$ac_objext conftest
$ac_exeext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31255 (eval $ac_link) 2>conftest.er1
31257 grep -v '^ *+' conftest.er1
>conftest.err
31259 cat conftest.err
>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); } &&
31262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; } &&
31268 { ac_try
='test -s conftest$ac_exeext'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; }; then
31276 libsm_ice_link
="$libsm_ice"
31277 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31278 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31282 echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.
$ac_ext >&5
31288 rm -f conftest.err conftest.
$ac_objext \
31289 conftest
$ac_exeext conftest.
$ac_ext
31292 CXXFLAGS
=$save_CXXFLAGS
31298 if test "$libs_found" = "0"; then
31299 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31300 echo "${ECHO_T}can't find the right libraries" >&6
31301 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31302 echo "$as_me: error: can't link a simple motif program" >&2;}
31303 { (exit 1); exit 1; }; }
31306 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31307 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31308 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 ac_check_lib_save_LIBS
=$LIBS
31313 cat >conftest.
$ac_ext <<_ACEOF
31316 cat confdefs.h
>>conftest.
$ac_ext
31317 cat >>conftest.
$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31320 /* Override any gcc2 internal prototype to avoid an error. */
31324 /* We use char because int might match the return type of a gcc2
31325 builtin and then its argument prototype would still apply. */
31326 char SgCreateList ();
31335 rm -f conftest.
$ac_objext conftest
$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>conftest.er1
31339 grep -v '^ *+' conftest.er1
>conftest.err
31341 cat conftest.err
>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } &&
31344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try
='test -s conftest$ac_exeext'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; }; then
31356 ac_cv_lib_Sgm_SgCreateList
=yes
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.
$ac_ext >&5
31361 ac_cv_lib_Sgm_SgCreateList
=no
31363 rm -f conftest.err conftest.
$ac_objext \
31364 conftest
$ac_exeext conftest.
$ac_ext
31365 LIBS
=$ac_check_lib_save_LIBS
31367 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31368 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31369 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31370 libsgm_link
=" -lSgm"
31374 save_CXXFLAGS
=$CXXFLAGS
31375 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31377 echo "$as_me:$LINENO: checking for Motif 2" >&5
31378 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31379 if test "${wx_cv_lib_motif2+set}" = set; then
31380 echo $ECHO_N "(cached) $ECHO_C" >&6
31382 cat >conftest.
$ac_ext <<_ACEOF
31385 cat confdefs.h
>>conftest.
$ac_ext
31386 cat >>conftest.
$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31395 #if XmVersion < 2000
31403 rm -f conftest.
$ac_objext
31404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31405 (eval $ac_compile) 2>conftest.er1
31407 grep -v '^ *+' conftest.er1
>conftest.err
31409 cat conftest.err
>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); } &&
31412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; } &&
31418 { ac_try
='test -s conftest.$ac_objext'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; }; then
31424 wx_cv_lib_motif2
="yes"
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.
$ac_ext >&5
31429 wx_cv_lib_motif2
="no"
31431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31433 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31434 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31435 if test "$wx_cv_lib_motif2" = "yes"; then
31436 cat >>confdefs.h
<<\_ACEOF
31437 #define __WXMOTIF20__ 1
31441 cat >>confdefs.h
<<\_ACEOF
31442 #define __WXMOTIF20__ 0
31447 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31448 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31449 if test "${wx_cv_lib_lesstif+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31452 cat >conftest.
$ac_ext <<_ACEOF
31455 cat confdefs.h
>>conftest.
$ac_ext
31456 cat >>conftest.
$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31465 #if !defined(LesstifVersion) || LesstifVersion <= 0
31473 rm -f conftest.
$ac_objext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31475 (eval $ac_compile) 2>conftest.er1
31477 grep -v '^ *+' conftest.er1
>conftest.err
31479 cat conftest.err
>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; } &&
31488 { ac_try
='test -s conftest.$ac_objext'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; }; then
31494 wx_cv_lib_lesstif
="yes"
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.
$ac_ext >&5
31499 wx_cv_lib_lesstif
="no"
31501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31504 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31505 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31506 if test "$wx_cv_lib_lesstif" = "yes"; then
31507 cat >>confdefs.h
<<\_ACEOF
31508 #define __WXLESSTIF__ 1
31512 cat >>confdefs.h
<<\_ACEOF
31513 #define __WXLESSTIF__ 0
31518 CXXFLAGS
=$save_CXXFLAGS
31520 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31525 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31526 if test "$wxUSE_LIBXPM" = "sys"; then
31527 echo "$as_me:$LINENO: checking for Xpm library" >&5
31528 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31531 for ac_dir
in $SEARCH_LIB;
31533 for ac_extension
in a so sl dylib dll.a
; do
31534 if test -f "$ac_dir/libXpm.$ac_extension"; then
31535 ac_find_libraries
=$ac_dir
31541 if test "$ac_find_libraries" != "" ; then
31543 if test "$ac_find_libraries" = "default location"; then
31546 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31548 if test $result = 0; then
31551 ac_path_to_link
=" -L$ac_find_libraries"
31555 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31556 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31557 echo "${ECHO_T}found in $ac_find_libraries" >&6
31559 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31560 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31561 if test "${wx_cv_x11_xpm_h+set}" = set; then
31562 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 save_CXXFLAGS
=$CXXFLAGS
31566 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31568 cat >conftest.
$ac_ext <<_ACEOF
31571 cat confdefs.h
>>conftest.
$ac_ext
31572 cat >>conftest.
$ac_ext <<_ACEOF
31573 /* end confdefs.h. */
31575 #include <X11/xpm.h>
31582 version = XpmLibraryVersion();
31588 rm -f conftest.
$ac_objext
31589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31590 (eval $ac_compile) 2>conftest.er1
31592 grep -v '^ *+' conftest.er1
>conftest.err
31594 cat conftest.err
>&5
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); } &&
31597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; } &&
31603 { ac_try
='test -s conftest.$ac_objext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 wx_cv_x11_xpm_h
=yes
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.
$ac_ext >&5
31617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31619 CXXFLAGS
=$save_CXXFLAGS
31623 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31624 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31626 if test $wx_cv_x11_xpm_h = "yes"; then
31627 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31628 cat >>confdefs.h
<<\_ACEOF
31629 #define wxHAVE_LIB_XPM 1
31633 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31634 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31640 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31641 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31642 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 ac_check_lib_save_LIBS
=$LIBS
31646 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31647 cat >conftest.
$ac_ext <<_ACEOF
31650 cat confdefs.h
>>conftest.
$ac_ext
31651 cat >>conftest.
$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31654 /* Override any gcc2 internal prototype to avoid an error. */
31658 /* We use char because int might match the return type of a gcc2
31659 builtin and then its argument prototype would still apply. */
31660 char XShapeQueryExtension ();
31664 XShapeQueryExtension ();
31669 rm -f conftest.
$ac_objext conftest
$ac_exeext
31670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31671 (eval $ac_link) 2>conftest.er1
31673 grep -v '^ *+' conftest.er1
>conftest.err
31675 cat conftest.err
>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } &&
31678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try
='test -s conftest$ac_exeext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.
$ac_ext >&5
31695 ac_cv_lib_Xext_XShapeQueryExtension
=no
31697 rm -f conftest.err conftest.
$ac_objext \
31698 conftest
$ac_exeext conftest.
$ac_ext
31699 LIBS
=$ac_check_lib_save_LIBS
31701 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31702 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31703 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31705 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31711 if test "$wxHAVE_XEXT_LIB" = 1; then
31712 save_CXXFLAGS
="$CXXFLAGS"
31713 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31715 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31716 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31717 cat >conftest.
$ac_ext <<_ACEOF
31720 cat confdefs.h
>>conftest.
$ac_ext
31721 cat >>conftest.
$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31724 #include <X11/Xlib.h>
31725 #include <X11/extensions/shape.h>
31731 int dummy1, dummy2;
31732 XShapeQueryExtension((Display*)NULL,
31733 (int*)NULL, (int*)NULL);
31739 rm -f conftest.
$ac_objext
31740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31741 (eval $ac_compile) 2>conftest.er1
31743 grep -v '^ *+' conftest.er1
>conftest.err
31745 cat conftest.err
>&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } &&
31748 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; } &&
31754 { ac_try
='test -s conftest.$ac_objext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31761 cat >>confdefs.h
<<\_ACEOF
31762 #define HAVE_XSHAPE 1
31765 echo "$as_me:$LINENO: result: found" >&5
31766 echo "${ECHO_T}found" >&6
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.
$ac_ext >&5
31773 echo "$as_me:$LINENO: result: not found" >&5
31774 echo "${ECHO_T}not found" >&6
31777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31778 CXXFLAGS
="$save_CXXFLAGS"
31783 if test "$wxUSE_MAC" = 1; then
31784 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31785 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31786 if test "$GCC" = yes; then
31787 echo "$as_me:$LINENO: result: gcc" >&5
31788 echo "${ECHO_T}gcc" >&6
31789 CPPFLAGS_PASCAL
="-fpascal-strings"
31790 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31791 echo "$as_me:$LINENO: result: xlc" >&5
31792 echo "${ECHO_T}xlc" >&6
31793 CPPFLAGS_PASCAL
="-qmacpstr"
31795 echo "$as_me:$LINENO: result: none" >&5
31796 echo "${ECHO_T}none" >&6
31799 if test "x$wxUSE_UNIX" = "xyes"; then
31800 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31802 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31807 WXBASEPORT
="_carbon"
31810 if test "$wxUSE_COCOA" = 1; then
31815 if test "$wxUSE_PM" = 1; then
31818 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31819 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31820 if test "${wx_cv_spbcdata+set}" = set; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31824 cat >conftest.
$ac_ext <<_ACEOF
31827 cat confdefs.h
>>conftest.
$ac_ext
31828 cat >>conftest.
$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31844 rm -f conftest.
$ac_objext
31845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31846 (eval $ac_compile) 2>conftest.er1
31848 grep -v '^ *+' conftest.er1
>conftest.err
31850 cat conftest.err
>&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } &&
31853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31855 (eval $ac_try) 2>&5
31857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31858 (exit $ac_status); }; } &&
31859 { ac_try
='test -s conftest.$ac_objext'
31860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31861 (eval $ac_try) 2>&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); }; }; then
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.
$ac_ext >&5
31873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31877 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31878 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31880 if test $wx_cv_spbcdata = "yes"; then
31881 cat >>confdefs.h
<<\_ACEOF
31882 #define HAVE_SPBCDATA 1
31888 if test "$TOOLKIT" = "PM" ; then
31891 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31894 if test "$wxUSE_UNIVERSAL" = "yes"; then
31895 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31899 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31900 DISTDIR
="wx\$(TOOLKIT)"
31906 if test "$USE_WIN32" = 1 ; then
31910 GUIDIST
="BASE_DIST"
31915 if test "$wxUSE_GUI" = "yes"; then
31916 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31918 for ac_header
in X
11/Xlib.h
31920 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31922 echo "$as_me:$LINENO: checking for $ac_header" >&5
31923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31930 # Is the header compilable?
31931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31933 cat >conftest.
$ac_ext <<_ACEOF
31936 cat confdefs.h
>>conftest.
$ac_ext
31937 cat >>conftest.
$ac_ext <<_ACEOF
31938 /* end confdefs.h. */
31939 $ac_includes_default
31940 #include <$ac_header>
31942 rm -f conftest.
$ac_objext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31944 (eval $ac_compile) 2>conftest.er1
31946 grep -v '^ *+' conftest.er1
>conftest.err
31948 cat conftest.err
>&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try
='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 ac_header_compiler
=yes
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.
$ac_ext >&5
31968 ac_header_compiler
=no
31970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31972 echo "${ECHO_T}$ac_header_compiler" >&6
31974 # Is the header present?
31975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31977 cat >conftest.
$ac_ext <<_ACEOF
31980 cat confdefs.h
>>conftest.
$ac_ext
31981 cat >>conftest.
$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 #include <$ac_header>
31985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31988 grep -v '^ *+' conftest.er1
>conftest.err
31990 cat conftest.err
>&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); } >/dev
/null
; then
31993 if test -s conftest.err
; then
31994 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31995 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32002 if test -z "$ac_cpp_err"; then
32003 ac_header_preproc
=yes
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.
$ac_ext >&5
32008 ac_header_preproc
=no
32010 rm -f conftest.err conftest.
$ac_ext
32011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32012 echo "${ECHO_T}$ac_header_preproc" >&6
32014 # So? What about this header?
32015 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32021 ac_header_preproc
=yes
32024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32038 ## ----------------------------------------- ##
32039 ## Report this to wx-dev@lists.wxwidgets.org ##
32040 ## ----------------------------------------- ##
32043 sed "s/^/$as_me: WARNING: /" >&2
32046 echo "$as_me:$LINENO: checking for $ac_header" >&5
32047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32049 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 eval "$as_ac_Header=\$ac_header_preproc"
32053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32058 cat >>confdefs.h
<<_ACEOF
32059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32067 for ac_header
in X
11/XKBlib.h
32069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32070 echo "$as_me:$LINENO: checking for $ac_header" >&5
32071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32075 cat >conftest.
$ac_ext <<_ACEOF
32078 cat confdefs.h
>>conftest.
$ac_ext
32079 cat >>conftest.
$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32082 #if HAVE_X11_XLIB_H
32083 #include <X11/Xlib.h>
32087 #include <$ac_header>
32089 rm -f conftest.
$ac_objext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32091 (eval $ac_compile) 2>conftest.er1
32093 grep -v '^ *+' conftest.er1
>conftest.err
32095 cat conftest.err
>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try
='test -s conftest.$ac_objext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 eval "$as_ac_Header=yes"
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.
$ac_ext >&5
32115 eval "$as_ac_Header=no"
32117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32122 cat >>confdefs.h
<<_ACEOF
32123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32138 if test "$TOOLKIT" != "MSW" ; then
32140 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32142 if test "${ac_cv_header_sql_h+set}" = set; then
32143 echo "$as_me:$LINENO: checking for sql.h" >&5
32144 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32145 if test "${ac_cv_header_sql_h+set}" = set; then
32146 echo $ECHO_N "(cached) $ECHO_C" >&6
32148 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32149 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32151 # Is the header compilable?
32152 echo "$as_me:$LINENO: checking sql.h usability" >&5
32153 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32154 cat >conftest.
$ac_ext <<_ACEOF
32157 cat confdefs.h
>>conftest.
$ac_ext
32158 cat >>conftest.
$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32160 $ac_includes_default
32163 rm -f conftest.
$ac_objext
32164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32165 (eval $ac_compile) 2>conftest.er1
32167 grep -v '^ *+' conftest.er1
>conftest.err
32169 cat conftest.err
>&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); } &&
32172 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; } &&
32178 { ac_try
='test -s conftest.$ac_objext'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; }; then
32184 ac_header_compiler
=yes
32186 echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.
$ac_ext >&5
32189 ac_header_compiler
=no
32191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32193 echo "${ECHO_T}$ac_header_compiler" >&6
32195 # Is the header present?
32196 echo "$as_me:$LINENO: checking sql.h presence" >&5
32197 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32198 cat >conftest.
$ac_ext <<_ACEOF
32201 cat confdefs.h
>>conftest.
$ac_ext
32202 cat >>conftest.
$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32209 grep -v '^ *+' conftest.er1
>conftest.err
32211 cat conftest.err
>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } >/dev
/null
; then
32214 if test -s conftest.err
; then
32215 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32216 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32223 if test -z "$ac_cpp_err"; then
32224 ac_header_preproc
=yes
32226 echo "$as_me: failed program was:" >&5
32227 sed 's/^/| /' conftest.
$ac_ext >&5
32229 ac_header_preproc
=no
32231 rm -f conftest.err conftest.
$ac_ext
32232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32233 echo "${ECHO_T}$ac_header_preproc" >&6
32235 # So? What about this header?
32236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32238 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32239 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32240 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32241 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32242 ac_header_preproc
=yes
32245 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32246 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32247 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32248 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32250 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32252 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32253 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32254 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32255 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32256 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32259 ## ----------------------------------------- ##
32260 ## Report this to wx-dev@lists.wxwidgets.org ##
32261 ## ----------------------------------------- ##
32264 sed "s/^/$as_me: WARNING: /" >&2
32267 echo "$as_me:$LINENO: checking for sql.h" >&5
32268 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32269 if test "${ac_cv_header_sql_h+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32272 ac_cv_header_sql_h
=$ac_header_preproc
32274 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32275 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32278 if test $ac_cv_header_sql_h = yes; then
32283 if test "x$found_sql_h" = "x1" ; then
32284 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32285 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32286 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32289 ac_check_lib_save_LIBS
=$LIBS
32290 LIBS
="-liodbc $LIBS"
32291 cat >conftest.
$ac_ext <<_ACEOF
32294 cat confdefs.h
>>conftest.
$ac_ext
32295 cat >>conftest.
$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32298 /* Override any gcc2 internal prototype to avoid an error. */
32302 /* We use char because int might match the return type of a gcc2
32303 builtin and then its argument prototype would still apply. */
32304 char SQLAllocEnv ();
32313 rm -f conftest.
$ac_objext conftest
$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32317 grep -v '^ *+' conftest.er1
>conftest.err
32319 cat conftest.err
>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; } &&
32328 { ac_try
='test -s conftest$ac_exeext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.
$ac_ext >&5
32339 ac_cv_lib_iodbc_SQLAllocEnv
=no
32341 rm -f conftest.err conftest.
$ac_objext \
32342 conftest
$ac_exeext conftest.
$ac_ext
32343 LIBS
=$ac_check_lib_save_LIBS
32345 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32346 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32347 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32348 ODBC_LINK
=" -liodbc"
32351 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32352 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32353 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 ac_check_lib_save_LIBS
=$LIBS
32357 LIBS
="-lunixodbc $LIBS"
32358 cat >conftest.
$ac_ext <<_ACEOF
32361 cat confdefs.h
>>conftest.
$ac_ext
32362 cat >>conftest.
$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32365 /* Override any gcc2 internal prototype to avoid an error. */
32369 /* We use char because int might match the return type of a gcc2
32370 builtin and then its argument prototype would still apply. */
32371 char SQLAllocEnv ();
32380 rm -f conftest.
$ac_objext conftest
$ac_exeext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32382 (eval $ac_link) 2>conftest.er1
32384 grep -v '^ *+' conftest.er1
>conftest.err
32386 cat conftest.err
>&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } &&
32389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 (eval $ac_try) 2>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); }; } &&
32395 { ac_try
='test -s conftest$ac_exeext'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; }; then
32401 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.
$ac_ext >&5
32406 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32408 rm -f conftest.err conftest.
$ac_objext \
32409 conftest
$ac_exeext conftest.
$ac_ext
32410 LIBS
=$ac_check_lib_save_LIBS
32412 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32413 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32414 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32415 ODBC_LINK
=" -lunixodbc"
32418 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32419 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32420 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 ac_check_lib_save_LIBS
=$LIBS
32424 LIBS
="-lodbc $LIBS"
32425 cat >conftest.
$ac_ext <<_ACEOF
32428 cat confdefs.h
>>conftest.
$ac_ext
32429 cat >>conftest.
$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32432 /* Override any gcc2 internal prototype to avoid an error. */
32436 /* We use char because int might match the return type of a gcc2
32437 builtin and then its argument prototype would still apply. */
32438 char SQLAllocEnv ();
32447 rm -f conftest.
$ac_objext conftest
$ac_exeext
32448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32449 (eval $ac_link) 2>conftest.er1
32451 grep -v '^ *+' conftest.er1
>conftest.err
32453 cat conftest.err
>&5
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); } &&
32456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32458 (eval $ac_try) 2>&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); }; } &&
32462 { ac_try
='test -s conftest$ac_exeext'
32463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32464 (eval $ac_try) 2>&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); }; }; then
32468 ac_cv_lib_odbc_SQLAllocEnv
=yes
32470 echo "$as_me: failed program was:" >&5
32471 sed 's/^/| /' conftest.
$ac_ext >&5
32473 ac_cv_lib_odbc_SQLAllocEnv
=no
32475 rm -f conftest.err conftest.
$ac_objext \
32476 conftest
$ac_exeext conftest.
$ac_ext
32477 LIBS
=$ac_check_lib_save_LIBS
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32480 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32481 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32482 ODBC_LINK
=" -lodbc"
32492 if test "x$ODBC_LINK" = "x" ; then
32493 if test "$wxUSE_ODBC" = "sys" ; then
32494 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32495 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32496 { (exit 1); exit 1; }; }
32498 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32499 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32507 if test "$wxUSE_ODBC" = "builtin" ; then
32508 cat >>confdefs.h
<<\_ACEOF
32509 #define wxUSE_BUILTIN_IODBC 1
32515 if test "$wxUSE_ODBC" != "no" ; then
32516 cat >>confdefs.h
<<\_ACEOF
32517 #define wxUSE_ODBC 1
32520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32522 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32526 if test "$wxUSE_DISPLAY" = "yes"; then
32527 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32528 echo "$as_me:$LINENO: checking for Xinerama" >&5
32529 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32532 for ac_dir
in $SEARCH_LIB;
32534 for ac_extension
in a so sl dylib dll.a
; do
32535 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32536 ac_find_libraries
=$ac_dir
32542 if test "$ac_find_libraries" != "" ; then
32544 if test "$ac_find_libraries" = "default location"; then
32547 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32549 if test $result = 0; then
32552 ac_path_to_link
=" -L$ac_find_libraries"
32556 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32557 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32559 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32560 echo "$as_me:$LINENO: result: yes" >&5
32561 echo "${ECHO_T}yes" >&6
32563 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32564 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32567 for ac_dir
in $SEARCH_LIB;
32569 for ac_extension
in a so sl dylib dll.a
; do
32570 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32571 ac_find_libraries
=$ac_dir
32577 if test "$ac_find_libraries" != "" ; then
32578 echo "$as_me:$LINENO: result: yes" >&5
32579 echo "${ECHO_T}yes" >&6
32581 for ac_header
in X
11/extensions
/xf86vmode.h
32583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32584 echo "$as_me:$LINENO: checking for $ac_header" >&5
32585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32589 cat >conftest.
$ac_ext <<_ACEOF
32592 cat confdefs.h
>>conftest.
$ac_ext
32593 cat >>conftest.
$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32596 #if HAVE_X11_XLIB_H
32597 #include <X11/Xlib.h>
32601 #include <$ac_header>
32603 rm -f conftest.
$ac_objext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32605 (eval $ac_compile) 2>conftest.er1
32607 grep -v '^ *+' conftest.er1
>conftest.err
32609 cat conftest.err
>&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; } &&
32618 { ac_try
='test -s conftest.$ac_objext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 eval "$as_ac_Header=yes"
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.
$ac_ext >&5
32629 eval "$as_ac_Header=no"
32631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32636 cat >>confdefs.h
<<_ACEOF
32637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32647 echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6
32652 echo "$as_me:$LINENO: result: no" >&5
32653 echo "${ECHO_T}no" >&6
32654 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32655 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32658 elif test "$wxUSE_MSW" = 1; then
32660 for ac_header
in ddraw.h
32662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32663 echo "$as_me:$LINENO: checking for $ac_header" >&5
32664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 cat >conftest.
$ac_ext <<_ACEOF
32671 cat confdefs.h
>>conftest.
$ac_ext
32672 cat >>conftest.
$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 #include <windows.h>
32676 #include <$ac_header>
32678 rm -f conftest.
$ac_objext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32680 (eval $ac_compile) 2>conftest.er1
32682 grep -v '^ *+' conftest.er1
>conftest.err
32684 cat conftest.err
>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; } &&
32693 { ac_try
='test -s conftest.$ac_objext'
32694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32695 (eval $ac_try) 2>&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); }; }; then
32699 eval "$as_ac_Header=yes"
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.
$ac_ext >&5
32704 eval "$as_ac_Header=no"
32706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32711 cat >>confdefs.h
<<_ACEOF
32712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32724 if test "$wxUSE_OPENGL" = "yes"; then
32725 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32726 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32727 elif test "$wxUSE_MSW" = 1; then
32728 OPENGL_LIBS
="-lopengl32 -lglu32"
32733 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32735 if test -f "$ac_dir/GL/gl.h"; then
32736 ac_find_includes
=$ac_dir
32741 if test "$ac_find_includes" != "" ; then
32742 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32743 echo "${ECHO_T}found in $ac_find_includes" >&6
32745 if test "x$ac_find_includes" = "x/usr/include"; then
32746 ac_path_to_include
=""
32748 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32750 if test $result = 0; then
32751 ac_path_to_include
=""
32753 ac_path_to_include
=" -I$ac_find_includes"
32757 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32760 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32761 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32762 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32763 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32767 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32769 # Is the header compilable?
32770 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32771 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32772 cat >conftest.
$ac_ext <<_ACEOF
32775 cat confdefs.h
>>conftest.
$ac_ext
32776 cat >>conftest.
$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32778 $ac_includes_default
32781 rm -f conftest.
$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>conftest.er1
32785 grep -v '^ *+' conftest.er1
>conftest.err
32787 cat conftest.err
>&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } &&
32790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; } &&
32796 { ac_try
='test -s conftest.$ac_objext'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; }; then
32802 ac_header_compiler
=yes
32804 echo "$as_me: failed program was:" >&5
32805 sed 's/^/| /' conftest.
$ac_ext >&5
32807 ac_header_compiler
=no
32809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32811 echo "${ECHO_T}$ac_header_compiler" >&6
32813 # Is the header present?
32814 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32815 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32816 cat >conftest.
$ac_ext <<_ACEOF
32819 cat confdefs.h
>>conftest.
$ac_ext
32820 cat >>conftest.
$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32827 grep -v '^ *+' conftest.er1
>conftest.err
32829 cat conftest.err
>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } >/dev
/null
; then
32832 if test -s conftest.err
; then
32833 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32834 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32841 if test -z "$ac_cpp_err"; then
32842 ac_header_preproc
=yes
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.
$ac_ext >&5
32847 ac_header_preproc
=no
32849 rm -f conftest.err conftest.
$ac_ext
32850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32851 echo "${ECHO_T}$ac_header_preproc" >&6
32853 # So? What about this header?
32854 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32856 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32857 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32858 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32859 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32860 ac_header_preproc
=yes
32863 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32864 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32865 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32866 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32867 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32868 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32869 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32870 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32871 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32872 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32873 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32874 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32877 ## ----------------------------------------- ##
32878 ## Report this to wx-dev@lists.wxwidgets.org ##
32879 ## ----------------------------------------- ##
32882 sed "s/^/$as_me: WARNING: /" >&2
32885 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32886 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32887 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 ac_cv_header_GL_gl_h
=$ac_header_preproc
32892 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32893 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32896 if test $ac_cv_header_GL_gl_h = yes; then
32900 echo "$as_me:$LINENO: checking for -lGL" >&5
32901 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32904 for ac_dir
in $SEARCH_LIB;
32906 for ac_extension
in a so sl dylib dll.a
; do
32907 if test -f "$ac_dir/libGL.$ac_extension"; then
32908 ac_find_libraries
=$ac_dir
32914 if test "$ac_find_libraries" != "" ; then
32915 echo "$as_me:$LINENO: result: yes" >&5
32916 echo "${ECHO_T}yes" >&6
32919 if test "$ac_find_libraries" = "default location"; then
32922 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32924 if test $result = 0; then
32927 ac_path_to_link
=" -L$ac_find_libraries"
32931 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32932 LDFLAGS_GL
="$ac_path_to_link"
32935 echo "$as_me:$LINENO: checking for -lGLU" >&5
32936 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32939 for ac_dir
in $SEARCH_LIB;
32941 for ac_extension
in a so sl dylib dll.a
; do
32942 if test -f "$ac_dir/libGLU.$ac_extension"; then
32943 ac_find_libraries
=$ac_dir
32949 if test "$ac_find_libraries" != "" ; then
32951 if test "$ac_find_libraries" = "default location"; then
32954 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32956 if test $result = 0; then
32959 ac_path_to_link
=" -L$ac_find_libraries"
32963 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32964 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32965 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32969 OPENGL_LIBS
="-lGL -lGLU"
32970 echo "$as_me:$LINENO: result: yes" >&5
32971 echo "${ECHO_T}yes" >&6
32973 echo "$as_me:$LINENO: result: no" >&5
32974 echo "${ECHO_T}no" >&6
32977 echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6
32981 if test "$found_gl" != 1; then
32982 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32983 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32986 for ac_dir
in $SEARCH_LIB;
32988 for ac_extension
in a so sl dylib dll.a
; do
32989 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32990 ac_find_libraries
=$ac_dir
32996 if test "$ac_find_libraries" != "" ; then
32998 if test "$ac_find_libraries" = "default location"; then
33001 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33003 if test $result = 0; then
33006 ac_path_to_link
=" -L$ac_find_libraries"
33010 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33011 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33012 echo "$as_me:$LINENO: result: yes" >&5
33013 echo "${ECHO_T}yes" >&6
33015 echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6
33024 if test "x$OPENGL_LIBS" = "x"; then
33025 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33026 echo "$as_me: error: OpenGL libraries not available" >&2;}
33027 { (exit 1); exit 1; }; }
33031 if test "$wxUSE_OPENGL" = "yes"; then
33033 cat >>confdefs.h
<<\_ACEOF
33034 #define wxUSE_OPENGL 1
33037 cat >>confdefs.h
<<\_ACEOF
33038 #define wxUSE_GLCANVAS 1
33041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33046 if test -n "$TOOLKIT" ; then
33047 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33052 if test "$wxUSE_SHARED" = "yes"; then
33056 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33057 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33062 if test "$wxUSE_SHARED" = "yes"; then
33065 found_versioning
=no
33068 if test $found_versioning = no
; then
33069 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33070 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33071 if test "${wx_cv_version_script+set}" = set; then
33072 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 echo "VER_1 { *; };" >conftest.sym
33076 echo "int main() { return 0; }" >conftest.cpp
33079 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33080 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } ; then
33086 if test -s conftest.stderr
; then
33087 wx_cv_version_script
=no
33089 wx_cv_version_script
=yes
33092 wx_cv_version_script
=no
33095 if test $wx_cv_version_script = yes
33097 echo "struct B { virtual ~B() { } }; \
33098 struct D : public B { }; \
33099 void F() { D d; }" > conftest.cpp
33102 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33103 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33110 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33111 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; }
33119 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33120 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33122 (eval $ac_try) 2>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); }; }
33127 wx_cv_version_script
=yes
33129 wx_cv_version_script
=no
33134 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33135 rm -f conftest1.output conftest2.output conftest3.output
33138 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33139 echo "${ECHO_T}$wx_cv_version_script" >&6
33140 if test $wx_cv_version_script = yes ; then
33141 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33147 *-*-linux* | *-*-gnu* )
33148 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33149 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33153 if test "$GCC" = yes ; then
33154 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33156 saveLdflags
="$LDFLAGS"
33157 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33158 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33159 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33160 cat >conftest.
$ac_ext <<_ACEOF
33163 cat confdefs.h
>>conftest.
$ac_ext
33164 cat >>conftest.
$ac_ext <<_ACEOF
33165 /* end confdefs.h. */
33175 rm -f conftest.
$ac_objext conftest
$ac_exeext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33177 (eval $ac_link) 2>conftest.er1
33179 grep -v '^ *+' conftest.er1
>conftest.err
33181 cat conftest.err
>&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); } &&
33184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try
='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33197 echo "$as_me:$LINENO: result: yes" >&5
33198 echo "${ECHO_T}yes" >&6
33199 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33200 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.
$ac_ext >&5
33207 echo "$as_me:$LINENO: result: no" >&5
33208 echo "${ECHO_T}no" >&6
33209 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33210 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33211 LDFLAGS
="$saveLdflags -Wl,-R,/"
33212 cat >conftest.
$ac_ext <<_ACEOF
33215 cat confdefs.h
>>conftest.
$ac_ext
33216 cat >>conftest.
$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33227 rm -f conftest.
$ac_objext conftest
$ac_exeext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33229 (eval $ac_link) 2>conftest.er1
33231 grep -v '^ *+' conftest.er1
>conftest.err
33233 cat conftest.err
>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try
='test -s conftest$ac_exeext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33249 echo "$as_me:$LINENO: result: yes" >&5
33250 echo "${ECHO_T}yes" >&6
33251 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33252 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.
$ac_ext >&5
33259 echo "$as_me:$LINENO: result: no" >&5
33260 echo "${ECHO_T}no" >&6
33263 rm -f conftest.err conftest.
$ac_objext \
33264 conftest
$ac_exeext conftest.
$ac_ext
33267 rm -f conftest.err conftest.
$ac_objext \
33268 conftest
$ac_exeext conftest.
$ac_ext
33269 LDFLAGS
="$saveLdflags"
33271 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33272 WXCONFIG_RPATH
="-R\$libdir"
33277 install_name_tool
=`which install_name_tool`
33278 if test "$install_name_tool" -a -x "$install_name_tool"; then
33279 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33280 cat <<EOF >change-install-names
33282 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33283 inst_cmd="install_name_tool "
33284 for i in \${libnames} ; do
33285 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33289 chmod +x change
-install-names
33293 *-*-cygwin* | *-*-mingw32* )
33294 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33298 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33299 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33304 if test $wxUSE_RPATH = "no"; then
33305 SAMPLES_RPATH_FLAG
=''
33306 SAMPLES_RPATH_POSTLINK
=''
33314 config_linkage_component
="-static"
33321 lib_unicode_suffix
=
33323 if test "$wxUSE_UNICODE" = "yes"; then
33324 lib_unicode_suffix
=u
33325 WX_CHARTYPE
="unicode"
33330 WX_DEBUGTYPE
="release"
33332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33334 WX_DEBUGTYPE
="debug"
33338 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33339 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33346 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33348 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33350 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33352 if test "$cross_compiling" = "yes"; then
33353 HOST_SUFFIX
="-$host_alias"
33354 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33355 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33358 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33359 if test "${TOOLKIT_DIR}" = "os2"; then
33360 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33362 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33367 if test "$wxUSE_COCOA" = 1; then
33371 ac_cpp
='$CPP $CPPFLAGS'
33372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33378 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33379 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33380 cat >conftest.
$ac_ext <<_ACEOF
33383 cat confdefs.h
>>conftest.
$ac_ext
33384 cat >>conftest.
$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33386 #include <AppKit/NSEvent.h>
33387 #include <CoreFoundation/CoreFoundation.h>
33397 rm -f conftest.
$ac_objext
33398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33399 (eval $ac_compile) 2>conftest.er1
33401 grep -v '^ *+' conftest.er1
>conftest.err
33403 cat conftest.err
>&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } &&
33406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408 (eval $ac_try) 2>&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; } &&
33412 { ac_try
='test -s conftest.$ac_objext'
33413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33414 (eval $ac_try) 2>&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); }; }; then
33418 echo "$as_me:$LINENO: result: no" >&5
33419 echo "${ECHO_T}no" >&6
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.
$ac_ext >&5
33424 echo "$as_me:$LINENO: result: yes" >&5
33425 echo "${ECHO_T}yes" >&6
33426 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33427 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33428 cat >conftest.
$ac_ext <<_ACEOF
33431 cat confdefs.h
>>conftest.
$ac_ext
33432 cat >>conftest.
$ac_ext <<_ACEOF
33433 /* end confdefs.h. */
33434 #define __Point__ 1
33435 #include <AppKit/NSEvent.h>
33436 #include <CoreFoundation/CoreFoundation.h>
33446 rm -f conftest.
$ac_objext
33447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33448 (eval $ac_compile) 2>conftest.er1
33450 grep -v '^ *+' conftest.er1
>conftest.err
33452 cat conftest.err
>&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } &&
33455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; } &&
33461 { ac_try
='test -s conftest.$ac_objext'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; }; then
33467 echo "$as_me:$LINENO: result: yes" >&5
33468 echo "${ECHO_T}yes" >&6
33469 cat >>confdefs.h
<<\_ACEOF
33470 #define __Point__ 1
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 { { echo "$as_me:$LINENO: error: no
33479 See \`config.log' for more details." >&5
33480 echo "$as_me: error: no
33481 See \`config.log' for more details." >&2;}
33482 { (exit 1); exit 1; }; }
33485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33490 ac_cpp
='$CXXCPP $CPPFLAGS'
33491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33497 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33498 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33499 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33501 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33503 # Extract the first word of "Rez", so it can be a program name with args.
33504 set dummy Rez
; ac_word
=$2
33505 echo "$as_me:$LINENO: checking for $ac_word" >&5
33506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33507 if test "${ac_cv_prog_REZ+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33510 if test -n "$REZ"; then
33511 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33514 for as_dir
in $PATH
33517 test -z "$as_dir" && as_dir
=.
33518 for ac_exec_ext
in '' $ac_executable_extensions; do
33519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33520 ac_cv_prog_REZ
="Rez"
33521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33527 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33530 REZ
=$ac_cv_prog_REZ
33531 if test -n "$REZ"; then
33532 echo "$as_me:$LINENO: result: $REZ" >&5
33533 echo "${ECHO_T}$REZ" >&6
33535 echo "$as_me:$LINENO: result: no" >&5
33536 echo "${ECHO_T}no" >&6
33539 # Extract the first word of "DeRez", so it can be a program name with args.
33540 set dummy DeRez
; ac_word
=$2
33541 echo "$as_me:$LINENO: checking for $ac_word" >&5
33542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33543 if test "${ac_cv_prog_DEREZ+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33546 if test -n "$DEREZ"; then
33547 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33550 for as_dir
in $PATH
33553 test -z "$as_dir" && as_dir
=.
33554 for ac_exec_ext
in '' $ac_executable_extensions; do
33555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33556 ac_cv_prog_DEREZ
="DeRez"
33557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33563 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33566 DEREZ
=$ac_cv_prog_DEREZ
33567 if test -n "$DEREZ"; then
33568 echo "$as_me:$LINENO: result: $DEREZ" >&5
33569 echo "${ECHO_T}$DEREZ" >&6
33571 echo "$as_me:$LINENO: result: no" >&5
33572 echo "${ECHO_T}no" >&6
33575 # Extract the first word of "SetFile", so it can be a program name with args.
33576 set dummy SetFile
; ac_word
=$2
33577 echo "$as_me:$LINENO: checking for $ac_word" >&5
33578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33579 if test "${ac_cv_prog_SETFILE+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 if test -n "$SETFILE"; then
33583 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33586 for as_dir
in $PATH
33589 test -z "$as_dir" && as_dir
=.
33590 for ac_exec_ext
in '' $ac_executable_extensions; do
33591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33592 ac_cv_prog_SETFILE
="SetFile"
33593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33602 SETFILE
=$ac_cv_prog_SETFILE
33603 if test -n "$SETFILE"; then
33604 echo "$as_me:$LINENO: result: $SETFILE" >&5
33605 echo "${ECHO_T}$SETFILE" >&6
33607 echo "$as_me:$LINENO: result: no" >&5
33608 echo "${ECHO_T}no" >&6
33612 MACSETFILE
="\$(SETFILE)"
33614 if test "$wxUSE_MAC" = 1; then
33615 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33617 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33619 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33620 RESCOMP
="echo -n \| $REZ"
33621 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33627 if test "$wxUSE_PM" = 1; then
33629 WXCONFIG_RESFLAGS
="-ep"
33631 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33633 POSTLINK_COMMAND
="@true"
33640 echo "$as_me:$LINENO: checking for mode_t" >&5
33641 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33642 if test "${ac_cv_type_mode_t+set}" = set; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33645 cat >conftest.
$ac_ext <<_ACEOF
33648 cat confdefs.h
>>conftest.
$ac_ext
33649 cat >>conftest.
$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651 $ac_includes_default
33657 if (sizeof (mode_t))
33663 rm -f conftest.
$ac_objext
33664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33665 (eval $ac_compile) 2>conftest.er1
33667 grep -v '^ *+' conftest.er1
>conftest.err
33669 cat conftest.err
>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; } &&
33678 { ac_try
='test -s conftest.$ac_objext'
33679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680 (eval $ac_try) 2>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); }; }; then
33684 ac_cv_type_mode_t
=yes
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.
$ac_ext >&5
33689 ac_cv_type_mode_t
=no
33691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33693 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33694 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33695 if test $ac_cv_type_mode_t = yes; then
33699 cat >>confdefs.h
<<_ACEOF
33705 echo "$as_me:$LINENO: checking for off_t" >&5
33706 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33707 if test "${ac_cv_type_off_t+set}" = set; then
33708 echo $ECHO_N "(cached) $ECHO_C" >&6
33710 cat >conftest.
$ac_ext <<_ACEOF
33713 cat confdefs.h
>>conftest.
$ac_ext
33714 cat >>conftest.
$ac_ext <<_ACEOF
33715 /* end confdefs.h. */
33716 $ac_includes_default
33722 if (sizeof (off_t))
33728 rm -f conftest.
$ac_objext
33729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33730 (eval $ac_compile) 2>conftest.er1
33732 grep -v '^ *+' conftest.er1
>conftest.err
33734 cat conftest.err
>&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; } &&
33743 { ac_try
='test -s conftest.$ac_objext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 ac_cv_type_off_t
=yes
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.
$ac_ext >&5
33754 ac_cv_type_off_t
=no
33756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33758 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33759 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33760 if test $ac_cv_type_off_t = yes; then
33764 cat >>confdefs.h
<<_ACEOF
33770 echo "$as_me:$LINENO: checking for pid_t" >&5
33771 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33772 if test "${ac_cv_type_pid_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 (pid_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" || test ! -s conftest.err'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; } &&
33808 { ac_try
='test -s conftest.$ac_objext'
33809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33810 (eval $ac_try) 2>&5
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); }; }; then
33814 ac_cv_type_pid_t
=yes
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.
$ac_ext >&5
33819 ac_cv_type_pid_t
=no
33821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33823 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33824 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33825 if test $ac_cv_type_pid_t = yes; then
33829 cat >>confdefs.h
<<_ACEOF
33835 echo "$as_me:$LINENO: checking for size_t" >&5
33836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33837 if test "${ac_cv_type_size_t+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 cat >conftest.
$ac_ext <<_ACEOF
33843 cat confdefs.h
>>conftest.
$ac_ext
33844 cat >>conftest.
$ac_ext <<_ACEOF
33845 /* end confdefs.h. */
33846 $ac_includes_default
33852 if (sizeof (size_t))
33858 rm -f conftest.
$ac_objext
33859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33860 (eval $ac_compile) 2>conftest.er1
33862 grep -v '^ *+' conftest.er1
>conftest.err
33864 cat conftest.err
>&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); } &&
33867 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; } &&
33873 { ac_try
='test -s conftest.$ac_objext'
33874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33875 (eval $ac_try) 2>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); }; }; then
33879 ac_cv_type_size_t
=yes
33881 echo "$as_me: failed program was:" >&5
33882 sed 's/^/| /' conftest.
$ac_ext >&5
33884 ac_cv_type_size_t
=no
33886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33888 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33889 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33890 if test $ac_cv_type_size_t = yes; then
33894 cat >>confdefs.h
<<_ACEOF
33895 #define size_t unsigned
33900 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33901 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33902 if test "${ac_cv_type_uid_t+set}" = set; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 cat >conftest.
$ac_ext <<_ACEOF
33908 cat confdefs.h
>>conftest.
$ac_ext
33909 cat >>conftest.
$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911 #include <sys/types.h>
33914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33915 $EGREP "uid_t" >/dev
/null
2>&1; then
33916 ac_cv_type_uid_t
=yes
33918 ac_cv_type_uid_t
=no
33923 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33924 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33925 if test $ac_cv_type_uid_t = no
; then
33927 cat >>confdefs.h
<<\_ACEOF
33932 cat >>confdefs.h
<<\_ACEOF
33939 echo "$as_me:$LINENO: checking for ssize_t" >&5
33940 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33941 if test "${ac_cv_type_ssize_t+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 cat >conftest.
$ac_ext <<_ACEOF
33947 cat confdefs.h
>>conftest.
$ac_ext
33948 cat >>conftest.
$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 $ac_includes_default
33956 if (sizeof (ssize_t))
33962 rm -f conftest.
$ac_objext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33964 (eval $ac_compile) 2>conftest.er1
33966 grep -v '^ *+' conftest.er1
>conftest.err
33968 cat conftest.err
>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; } &&
33977 { ac_try
='test -s conftest.$ac_objext'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; }; then
33983 ac_cv_type_ssize_t
=yes
33985 echo "$as_me: failed program was:" >&5
33986 sed 's/^/| /' conftest.
$ac_ext >&5
33988 ac_cv_type_ssize_t
=no
33990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33992 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33993 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33994 if test $ac_cv_type_ssize_t = yes; then
33996 cat >>confdefs.h
<<_ACEOF
33997 #define HAVE_SSIZE_T 1
34004 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34005 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34006 if test "${wx_cv_size_t_is_uint+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 cat >conftest.
$ac_ext <<_ACEOF
34013 cat confdefs.h
>>conftest.
$ac_ext
34014 cat >>conftest.
$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 #include <stddef.h>
34023 struct Foo { void foo(size_t); void foo(unsigned int); };
34031 rm -f conftest.
$ac_objext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34033 (eval $ac_compile) 2>conftest.er1
34035 grep -v '^ *+' conftest.er1
>conftest.err
34037 cat conftest.err
>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34042 (eval $ac_try) 2>&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); }; } &&
34046 { ac_try
='test -s conftest.$ac_objext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 wx_cv_size_t_is_uint
=no
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.
$ac_ext >&5
34057 wx_cv_size_t_is_uint
=yes
34060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34064 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34065 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34067 if test "$wx_cv_size_t_is_uint" = "yes"; then
34068 cat >>confdefs.h
<<\_ACEOF
34069 #define wxSIZE_T_IS_UINT 1
34073 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34074 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34075 if test "${wx_cv_size_t_is_ulong+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 #include <stddef.h>
34091 struct Foo { void foo(size_t); void foo(unsigned long); };
34099 rm -f conftest.
$ac_objext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34101 (eval $ac_compile) 2>conftest.er1
34103 grep -v '^ *+' conftest.er1
>conftest.err
34105 cat conftest.err
>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try
='test -s conftest.$ac_objext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 wx_cv_size_t_is_ulong
=no
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.
$ac_ext >&5
34125 wx_cv_size_t_is_ulong
=yes
34128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34131 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34132 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34134 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34135 cat >>confdefs.h
<<\_ACEOF
34136 #define wxSIZE_T_IS_ULONG 1
34143 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34144 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34145 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34149 cat >conftest.
$ac_ext <<_ACEOF
34152 cat confdefs.h
>>conftest.
$ac_ext
34153 cat >>conftest.
$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34168 rm -f conftest.
$ac_objext
34169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34170 (eval $ac_compile) 2>conftest.er1
34172 grep -v '^ *+' conftest.er1
>conftest.err
34174 cat conftest.err
>&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } &&
34177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; } &&
34183 { ac_try
='test -s conftest.$ac_objext'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; }; then
34190 wx_cv_struct_pw_gecos
=yes
34193 echo "$as_me: failed program was:" >&5
34194 sed 's/^/| /' conftest.
$ac_ext >&5
34197 wx_cv_struct_pw_gecos
=no
34201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34205 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34206 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34208 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34209 cat >>confdefs.h
<<\_ACEOF
34210 #define HAVE_PW_GECOS 1
34216 if test "$wxUSE_WCHAR_T" = "yes"; then
34217 cat >>confdefs.h
<<\_ACEOF
34218 #define wxUSE_WCHAR_T 1
34225 for ac_func
in wcslen
34227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34228 echo "$as_me:$LINENO: checking for $ac_func" >&5
34229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34230 if eval "test \"\${$as_ac_var+set}\" = set"; then
34231 echo $ECHO_N "(cached) $ECHO_C" >&6
34233 cat >conftest.
$ac_ext <<_ACEOF
34236 cat confdefs.h
>>conftest.
$ac_ext
34237 cat >>conftest.
$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34241 #define $ac_func innocuous_$ac_func
34243 /* System header to define __stub macros and hopefully few prototypes,
34244 which can conflict with char $ac_func (); below.
34245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34246 <limits.h> exists even on freestanding compilers. */
34249 # include <limits.h>
34251 # include <assert.h>
34256 /* Override any gcc2 internal prototype to avoid an error. */
34261 /* We use char because int might match the return type of a gcc2
34262 builtin and then its argument prototype would still apply. */
34264 /* The GNU C library defines this for functions which it implements
34265 to always fail with ENOSYS. Some functions are actually named
34266 something starting with __ and the normal name is an alias. */
34267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34270 char (*f) () = $ac_func;
34279 return f != $ac_func;
34284 rm -f conftest.
$ac_objext conftest
$ac_exeext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34286 (eval $ac_link) 2>conftest.er1
34288 grep -v '^ *+' conftest.er1
>conftest.err
34290 cat conftest.err
>&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295 (eval $ac_try) 2>&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); }; } &&
34299 { ac_try
='test -s conftest$ac_exeext'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; }; then
34305 eval "$as_ac_var=yes"
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.
$ac_ext >&5
34310 eval "$as_ac_var=no"
34312 rm -f conftest.err conftest.
$ac_objext \
34313 conftest
$ac_exeext conftest.
$ac_ext
34315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34317 if test `eval echo '${'$as_ac_var'}'` = yes; then
34318 cat >>confdefs.h
<<_ACEOF
34319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34326 if test "$WCSLEN_FOUND" = 0; then
34327 if test "$TOOLKIT" = "MSW"; then
34328 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34329 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34330 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 ac_check_lib_save_LIBS
=$LIBS
34334 LIBS
="-lmsvcrt $LIBS"
34335 cat >conftest.
$ac_ext <<_ACEOF
34338 cat confdefs.h
>>conftest.
$ac_ext
34339 cat >>conftest.
$ac_ext <<_ACEOF
34340 /* end confdefs.h. */
34342 /* Override any gcc2 internal prototype to avoid an error. */
34346 /* We use char because int might match the return type of a gcc2
34347 builtin and then its argument prototype would still apply. */
34357 rm -f conftest.
$ac_objext conftest
$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>conftest.er1
34361 grep -v '^ *+' conftest.er1
>conftest.err
34363 cat conftest.err
>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; } &&
34372 { ac_try
='test -s conftest$ac_exeext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 ac_cv_lib_msvcrt_wcslen
=yes
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 ac_cv_lib_msvcrt_wcslen
=no
34385 rm -f conftest.err conftest.
$ac_objext \
34386 conftest
$ac_exeext conftest.
$ac_ext
34387 LIBS
=$ac_check_lib_save_LIBS
34389 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34390 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34391 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34396 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34397 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34398 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34399 echo $ECHO_N "(cached) $ECHO_C" >&6
34401 ac_check_lib_save_LIBS
=$LIBS
34403 cat >conftest.
$ac_ext <<_ACEOF
34406 cat confdefs.h
>>conftest.
$ac_ext
34407 cat >>conftest.
$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34410 /* Override any gcc2 internal prototype to avoid an error. */
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34425 rm -f conftest.
$ac_objext conftest
$ac_exeext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34427 (eval $ac_link) 2>conftest.er1
34429 grep -v '^ *+' conftest.er1
>conftest.err
34431 cat conftest.err
>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } &&
34434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try
='test -s conftest$ac_exeext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 ac_cv_lib_w_wcslen
=yes
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.
$ac_ext >&5
34451 ac_cv_lib_w_wcslen
=no
34453 rm -f conftest.err conftest.
$ac_objext \
34454 conftest
$ac_exeext conftest.
$ac_ext
34455 LIBS
=$ac_check_lib_save_LIBS
34457 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34458 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34459 if test $ac_cv_lib_w_wcslen = yes; then
34469 if test "$WCSLEN_FOUND" = 1; then
34470 cat >>confdefs.h
<<\_ACEOF
34471 #define HAVE_WCSLEN 1
34476 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34477 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34480 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34481 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34482 if test "${ac_cv_type_mbstate_t+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 cat >conftest.
$ac_ext <<_ACEOF
34488 cat confdefs.h
>>conftest.
$ac_ext
34489 cat >>conftest.
$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34496 if ((mbstate_t *) 0)
34498 if (sizeof (mbstate_t))
34504 rm -f conftest.
$ac_objext
34505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34506 (eval $ac_compile) 2>conftest.er1
34508 grep -v '^ *+' conftest.er1
>conftest.err
34510 cat conftest.err
>&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); } &&
34513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34515 (eval $ac_try) 2>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); }; } &&
34519 { ac_try
='test -s conftest.$ac_objext'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; }; then
34525 ac_cv_type_mbstate_t
=yes
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.
$ac_ext >&5
34530 ac_cv_type_mbstate_t
=no
34532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34534 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34535 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34536 if test $ac_cv_type_mbstate_t = yes; then
34538 cat >>confdefs.h
<<_ACEOF
34539 #define HAVE_MBSTATE_T 1
34543 for ac_func
in wcsrtombs
34545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34548 if eval "test \"\${$as_ac_var+set}\" = set"; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34551 cat >conftest.
$ac_ext <<_ACEOF
34554 cat confdefs.h
>>conftest.
$ac_ext
34555 cat >>conftest.
$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34559 #define $ac_func innocuous_$ac_func
34561 /* System header to define __stub macros and hopefully few prototypes,
34562 which can conflict with char $ac_func (); below.
34563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34564 <limits.h> exists even on freestanding compilers. */
34567 # include <limits.h>
34569 # include <assert.h>
34574 /* Override any gcc2 internal prototype to avoid an error. */
34579 /* We use char because int might match the return type of a gcc2
34580 builtin and then its argument prototype would still apply. */
34582 /* The GNU C library defines this for functions which it implements
34583 to always fail with ENOSYS. Some functions are actually named
34584 something starting with __ and the normal name is an alias. */
34585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34588 char (*f) () = $ac_func;
34597 return f != $ac_func;
34602 rm -f conftest.
$ac_objext conftest
$ac_exeext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34604 (eval $ac_link) 2>conftest.er1
34606 grep -v '^ *+' conftest.er1
>conftest.err
34608 cat conftest.err
>&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try
='test -s conftest$ac_exeext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 eval "$as_ac_var=yes"
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.
$ac_ext >&5
34628 eval "$as_ac_var=no"
34630 rm -f conftest.err conftest.
$ac_objext \
34631 conftest
$ac_exeext conftest.
$ac_ext
34633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34635 if test `eval echo '${'$as_ac_var'}'` = yes; then
34636 cat >>confdefs.h
<<_ACEOF
34637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34646 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34647 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34652 for ac_func
in snprintf vsnprintf
34654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34655 echo "$as_me:$LINENO: checking for $ac_func" >&5
34656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34657 if eval "test \"\${$as_ac_var+set}\" = set"; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 cat >conftest.
$ac_ext <<_ACEOF
34663 cat confdefs.h
>>conftest.
$ac_ext
34664 cat >>conftest.
$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34668 #define $ac_func innocuous_$ac_func
34670 /* System header to define __stub macros and hopefully few prototypes,
34671 which can conflict with char $ac_func (); below.
34672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34673 <limits.h> exists even on freestanding compilers. */
34676 # include <limits.h>
34678 # include <assert.h>
34683 /* Override any gcc2 internal prototype to avoid an error. */
34688 /* We use char because int might match the return type of a gcc2
34689 builtin and then its argument prototype would still apply. */
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34697 char (*f) () = $ac_func;
34706 return f != $ac_func;
34711 rm -f conftest.
$ac_objext conftest
$ac_exeext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34713 (eval $ac_link) 2>conftest.er1
34715 grep -v '^ *+' conftest.er1
>conftest.err
34717 cat conftest.err
>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722 (eval $ac_try) 2>&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; } &&
34726 { ac_try
='test -s conftest$ac_exeext'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; }; then
34732 eval "$as_ac_var=yes"
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.
$ac_ext >&5
34737 eval "$as_ac_var=no"
34739 rm -f conftest.err conftest.
$ac_objext \
34740 conftest
$ac_exeext conftest.
$ac_ext
34742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34744 if test `eval echo '${'$as_ac_var'}'` = yes; then
34745 cat >>confdefs.h
<<_ACEOF
34746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34753 if test "$ac_cv_func_vsnprintf" = "yes"; then
34754 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34755 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34756 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 cat >conftest.
$ac_ext <<_ACEOF
34763 cat confdefs.h
>>conftest.
$ac_ext
34764 cat >>conftest.
$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34768 #include <stdarg.h>
34770 #if __MSL__ >= 0x6000
34772 using namespace std;
34782 vsnprintf(buf, 10u, "%s", ap);
34788 rm -f conftest.
$ac_objext
34789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34790 (eval $ac_compile) 2>conftest.er1
34792 grep -v '^ *+' conftest.er1
>conftest.err
34794 cat conftest.err
>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } &&
34797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34799 (eval $ac_try) 2>&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; } &&
34803 { ac_try
='test -s conftest.$ac_objext'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; }; then
34809 wx_cv_func_vsnprintf_decl
=yes
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.
$ac_ext >&5
34814 wx_cv_func_vsnprintf_decl
=no
34817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34821 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34822 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34824 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34825 cat >>confdefs.h
<<\_ACEOF
34826 #define HAVE_VSNPRINTF_DECL 1
34830 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34831 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34832 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34836 cat >conftest.
$ac_ext <<_ACEOF
34839 cat confdefs.h
>>conftest.
$ac_ext
34840 cat >>conftest.
$ac_ext <<_ACEOF
34841 /* end confdefs.h. */
34844 #include <stdarg.h>
34846 #if __MSL__ >= 0x6000
34848 using namespace std;
34858 const char *fmt = "%s";
34859 vsnprintf(buf, 10u, fmt, ap);
34865 rm -f conftest.
$ac_objext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34867 (eval $ac_compile) 2>conftest.er1
34869 grep -v '^ *+' conftest.er1
>conftest.err
34871 cat conftest.err
>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try
='test -s conftest.$ac_objext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 wx_cv_func_broken_vsnprintf_decl
=no
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.
$ac_ext >&5
34891 wx_cv_func_broken_vsnprintf_decl
=yes
34894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34898 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34899 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34901 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34902 cat >>confdefs.h
<<\_ACEOF
34903 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34910 if test "$ac_cv_func_snprintf" = "yes"; then
34911 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34912 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34913 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34914 echo $ECHO_N "(cached) $ECHO_C" >&6
34917 cat >conftest.
$ac_ext <<_ACEOF
34920 cat confdefs.h
>>conftest.
$ac_ext
34921 cat >>conftest.
$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34925 #include <stdarg.h>
34927 #if __MSL__ >= 0x6000
34929 using namespace std;
34938 snprintf(buf, 10u, "%s", "wx");
34944 rm -f conftest.
$ac_objext
34945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34946 (eval $ac_compile) 2>conftest.er1
34948 grep -v '^ *+' conftest.er1
>conftest.err
34950 cat conftest.err
>&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } &&
34953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try
='test -s conftest.$ac_objext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 wx_cv_func_snprintf_decl
=yes
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.
$ac_ext >&5
34970 wx_cv_func_snprintf_decl
=no
34973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34977 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34978 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34980 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34981 cat >>confdefs.h
<<\_ACEOF
34982 #define HAVE_SNPRINTF_DECL 1
34986 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34987 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34988 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 cat >conftest.
$ac_ext <<_ACEOF
34995 cat confdefs.h
>>conftest.
$ac_ext
34996 cat >>conftest.
$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
35000 #include <stdarg.h>
35002 #if __MSL__ >= 0x6000
35004 using namespace std;
35013 const char *fmt = "%s";
35014 snprintf(buf, 10u, fmt, "wx");
35020 rm -f conftest.
$ac_objext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35022 (eval $ac_compile) 2>conftest.er1
35024 grep -v '^ *+' conftest.er1
>conftest.err
35026 cat conftest.err
>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try
='test -s conftest.$ac_objext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35041 wx_cv_func_broken_snprintf_decl
=no
35043 echo "$as_me: failed program was:" >&5
35044 sed 's/^/| /' conftest.
$ac_ext >&5
35046 wx_cv_func_broken_snprintf_decl
=yes
35049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35053 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35054 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35056 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35057 cat >>confdefs.h
<<\_ACEOF
35058 #define HAVE_BROKEN_SNPRINTF_DECL 1
35064 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35066 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35067 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35068 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35072 if test "$cross_compiling" = yes; then
35074 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35075 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35076 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35077 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35078 wx_cv_func_snprintf_pos_params
=no
35082 cat >conftest.
$ac_ext <<_ACEOF
35085 cat confdefs.h
>>conftest.
$ac_ext
35086 cat >>conftest.
$ac_ext <<_ACEOF
35087 /* end confdefs.h. */
35094 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35095 if (strcmp ("2 3 1", buffer) == 0)
35101 rm -f conftest
$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 wx_cv_func_snprintf_pos_params
=no
35114 echo "$as_me: program exited with status $ac_status" >&5
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.
$ac_ext >&5
35118 ( exit $ac_status )
35119 wx_cv_func_snprintf_pos_params
=yes
35121 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35126 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35127 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35129 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35130 cat >>confdefs.h
<<\_ACEOF
35131 #define HAVE_UNIX98_PRINTF 1
35138 if test "$wxUSE_UNICODE" = yes; then
35141 for ac_func
in swprintf
35143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35144 echo "$as_me:$LINENO: checking for $ac_func" >&5
35145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35146 if eval "test \"\${$as_ac_var+set}\" = set"; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 cat >conftest.
$ac_ext <<_ACEOF
35152 cat confdefs.h
>>conftest.
$ac_ext
35153 cat >>conftest.
$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35157 #define $ac_func innocuous_$ac_func
35159 /* System header to define __stub macros and hopefully few prototypes,
35160 which can conflict with char $ac_func (); below.
35161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35162 <limits.h> exists even on freestanding compilers. */
35165 # include <limits.h>
35167 # include <assert.h>
35172 /* Override any gcc2 internal prototype to avoid an error. */
35177 /* We use char because int might match the return type of a gcc2
35178 builtin and then its argument prototype would still apply. */
35180 /* The GNU C library defines this for functions which it implements
35181 to always fail with ENOSYS. Some functions are actually named
35182 something starting with __ and the normal name is an alias. */
35183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35186 char (*f) () = $ac_func;
35195 return f != $ac_func;
35200 rm -f conftest.
$ac_objext conftest
$ac_exeext
35201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35202 (eval $ac_link) 2>conftest.er1
35204 grep -v '^ *+' conftest.er1
>conftest.err
35206 cat conftest.err
>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } &&
35209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; } &&
35215 { ac_try
='test -s conftest$ac_exeext'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; }; then
35221 eval "$as_ac_var=yes"
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.
$ac_ext >&5
35226 eval "$as_ac_var=no"
35228 rm -f conftest.err conftest.
$ac_objext \
35229 conftest
$ac_exeext conftest.
$ac_ext
35231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35233 if test `eval echo '${'$as_ac_var'}'` = yes; then
35234 cat >>confdefs.h
<<_ACEOF
35235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35242 if test "$ac_cv_func_swprintf" = "yes"; then
35243 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35244 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35245 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35257 #include <stdarg.h>
35265 const wchar_t *fmt = L"test";
35266 swprintf(buf, 10u, fmt);
35272 rm -f conftest.
$ac_objext
35273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35274 (eval $ac_compile) 2>conftest.er1
35276 grep -v '^ *+' conftest.er1
>conftest.err
35278 cat conftest.err
>&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } &&
35281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; } &&
35287 { ac_try
='test -s conftest.$ac_objext'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; }; then
35293 wx_cv_func_broken_swprintf_decl
=no
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.
$ac_ext >&5
35298 wx_cv_func_broken_swprintf_decl
=yes
35301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35305 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35306 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35308 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35309 cat >>confdefs.h
<<\_ACEOF
35310 #define HAVE_BROKEN_SWPRINTF_DECL 1
35322 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35325 echo "$as_me:$LINENO: checking for $ac_func" >&5
35326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35327 if eval "test \"\${$as_ac_var+set}\" = set"; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 cat >conftest.
$ac_ext <<_ACEOF
35333 cat confdefs.h
>>conftest.
$ac_ext
35334 cat >>conftest.
$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35338 #define $ac_func innocuous_$ac_func
35340 /* System header to define __stub macros and hopefully few prototypes,
35341 which can conflict with char $ac_func (); below.
35342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35343 <limits.h> exists even on freestanding compilers. */
35346 # include <limits.h>
35348 # include <assert.h>
35353 /* Override any gcc2 internal prototype to avoid an error. */
35358 /* We use char because int might match the return type of a gcc2
35359 builtin and then its argument prototype would still apply. */
35361 /* The GNU C library defines this for functions which it implements
35362 to always fail with ENOSYS. Some functions are actually named
35363 something starting with __ and the normal name is an alias. */
35364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35367 char (*f) () = $ac_func;
35376 return f != $ac_func;
35381 rm -f conftest.
$ac_objext conftest
$ac_exeext
35382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35383 (eval $ac_link) 2>conftest.er1
35385 grep -v '^ *+' conftest.er1
>conftest.err
35387 cat conftest.err
>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } &&
35390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; } &&
35396 { ac_try
='test -s conftest$ac_exeext'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; }; then
35402 eval "$as_ac_var=yes"
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.
$ac_ext >&5
35407 eval "$as_ac_var=no"
35409 rm -f conftest.err conftest.
$ac_objext \
35410 conftest
$ac_exeext conftest.
$ac_ext
35412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35414 if test `eval echo '${'$as_ac_var'}'` = yes; then
35415 cat >>confdefs.h
<<_ACEOF
35416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35423 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35424 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35425 cat >conftest.
$ac_ext <<_ACEOF
35428 cat confdefs.h
>>conftest.
$ac_ext
35429 cat >>conftest.
$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35440 rm -f conftest.
$ac_objext
35441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35442 (eval $ac_compile) 2>conftest.er1
35444 grep -v '^ *+' conftest.er1
>conftest.err
35446 cat conftest.err
>&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } &&
35449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451 (eval $ac_try) 2>&5
35453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454 (exit $ac_status); }; } &&
35455 { ac_try
='test -s conftest.$ac_objext'
35456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457 (eval $ac_try) 2>&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; }; then
35461 echo "$as_me:$LINENO: result: yes" >&5
35462 echo "${ECHO_T}yes" >&6
35463 cat >>confdefs.h
<<\_ACEOF
35464 #define HAVE__VSNWPRINTF 1
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.
$ac_ext >&5
35471 echo "$as_me:$LINENO: result: no" >&5
35472 echo "${ECHO_T}no" >&6
35474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35477 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35479 for ac_func
in fnmatch
35481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35482 echo "$as_me:$LINENO: checking for $ac_func" >&5
35483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35484 if eval "test \"\${$as_ac_var+set}\" = set"; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.
$ac_ext <<_ACEOF
35490 cat confdefs.h
>>conftest.
$ac_ext
35491 cat >>conftest.
$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35495 #define $ac_func innocuous_$ac_func
35497 /* System header to define __stub macros and hopefully few prototypes,
35498 which can conflict with char $ac_func (); below.
35499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35500 <limits.h> exists even on freestanding compilers. */
35503 # include <limits.h>
35505 # include <assert.h>
35510 /* Override any gcc2 internal prototype to avoid an error. */
35515 /* We use char because int might match the return type of a gcc2
35516 builtin and then its argument prototype would still apply. */
35518 /* The GNU C library defines this for functions which it implements
35519 to always fail with ENOSYS. Some functions are actually named
35520 something starting with __ and the normal name is an alias. */
35521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35524 char (*f) () = $ac_func;
35533 return f != $ac_func;
35538 rm -f conftest.
$ac_objext conftest
$ac_exeext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35540 (eval $ac_link) 2>conftest.er1
35542 grep -v '^ *+' conftest.er1
>conftest.err
35544 cat conftest.err
>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35553 { ac_try
='test -s conftest$ac_exeext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 eval "$as_ac_var=yes"
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.
$ac_ext >&5
35564 eval "$as_ac_var=no"
35566 rm -f conftest.err conftest.
$ac_objext \
35567 conftest
$ac_exeext conftest.
$ac_ext
35569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35571 if test `eval echo '${'$as_ac_var'}'` = yes; then
35572 cat >>confdefs.h
<<_ACEOF
35573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35581 if test "$wxUSE_FILE" = "yes"; then
35583 for ac_func
in fsync
35585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35586 echo "$as_me:$LINENO: checking for $ac_func" >&5
35587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35588 if eval "test \"\${$as_ac_var+set}\" = set"; then
35589 echo $ECHO_N "(cached) $ECHO_C" >&6
35591 cat >conftest.
$ac_ext <<_ACEOF
35594 cat confdefs.h
>>conftest.
$ac_ext
35595 cat >>conftest.
$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35599 #define $ac_func innocuous_$ac_func
35601 /* System header to define __stub macros and hopefully few prototypes,
35602 which can conflict with char $ac_func (); below.
35603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35604 <limits.h> exists even on freestanding compilers. */
35607 # include <limits.h>
35609 # include <assert.h>
35614 /* Override any gcc2 internal prototype to avoid an error. */
35619 /* We use char because int might match the return type of a gcc2
35620 builtin and then its argument prototype would still apply. */
35622 /* The GNU C library defines this for functions which it implements
35623 to always fail with ENOSYS. Some functions are actually named
35624 something starting with __ and the normal name is an alias. */
35625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35628 char (*f) () = $ac_func;
35637 return f != $ac_func;
35642 rm -f conftest.
$ac_objext conftest
$ac_exeext
35643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35644 (eval $ac_link) 2>conftest.er1
35646 grep -v '^ *+' conftest.er1
>conftest.err
35648 cat conftest.err
>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } &&
35651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; } &&
35657 { ac_try
='test -s conftest$ac_exeext'
35658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35659 (eval $ac_try) 2>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); }; }; then
35663 eval "$as_ac_var=yes"
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.
$ac_ext >&5
35668 eval "$as_ac_var=no"
35670 rm -f conftest.err conftest.
$ac_objext \
35671 conftest
$ac_exeext conftest.
$ac_ext
35673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35675 if test `eval echo '${'$as_ac_var'}'` = yes; then
35676 cat >>confdefs.h
<<_ACEOF
35677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35686 for ac_func
in round
35688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35689 echo "$as_me:$LINENO: checking for $ac_func" >&5
35690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35691 if eval "test \"\${$as_ac_var+set}\" = set"; then
35692 echo $ECHO_N "(cached) $ECHO_C" >&6
35694 cat >conftest.
$ac_ext <<_ACEOF
35697 cat confdefs.h
>>conftest.
$ac_ext
35698 cat >>conftest.
$ac_ext <<_ACEOF
35699 /* end confdefs.h. */
35700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35702 #define $ac_func innocuous_$ac_func
35704 /* System header to define __stub macros and hopefully few prototypes,
35705 which can conflict with char $ac_func (); below.
35706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35707 <limits.h> exists even on freestanding compilers. */
35710 # include <limits.h>
35712 # include <assert.h>
35717 /* Override any gcc2 internal prototype to avoid an error. */
35722 /* We use char because int might match the return type of a gcc2
35723 builtin and then its argument prototype would still apply. */
35725 /* The GNU C library defines this for functions which it implements
35726 to always fail with ENOSYS. Some functions are actually named
35727 something starting with __ and the normal name is an alias. */
35728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35731 char (*f) () = $ac_func;
35740 return f != $ac_func;
35745 rm -f conftest.
$ac_objext conftest
$ac_exeext
35746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35747 (eval $ac_link) 2>conftest.er1
35749 grep -v '^ *+' conftest.er1
>conftest.err
35751 cat conftest.err
>&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); } &&
35754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try
='test -s conftest$ac_exeext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 eval "$as_ac_var=yes"
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.
$ac_ext >&5
35771 eval "$as_ac_var=no"
35773 rm -f conftest.err conftest.
$ac_objext \
35774 conftest
$ac_exeext conftest.
$ac_ext
35776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35778 if test `eval echo '${'$as_ac_var'}'` = yes; then
35779 cat >>confdefs.h
<<_ACEOF
35780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35786 if test "$ac_cv_func_round" = yes; then
35787 echo "$as_me:$LINENO: checking whether round is declared" >&5
35788 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35789 if test "${ac_cv_have_decl_round+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35792 cat >conftest.
$ac_ext <<_ACEOF
35795 cat confdefs.h
>>conftest.
$ac_ext
35796 cat >>conftest.
$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35804 char *p = (char *) round;
35811 rm -f conftest.
$ac_objext
35812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35813 (eval $ac_compile) 2>conftest.er1
35815 grep -v '^ *+' conftest.er1
>conftest.err
35817 cat conftest.err
>&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); } &&
35820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35822 (eval $ac_try) 2>&5
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); }; } &&
35826 { ac_try
='test -s conftest.$ac_objext'
35827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35828 (eval $ac_try) 2>&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); }; }; then
35832 ac_cv_have_decl_round
=yes
35834 echo "$as_me: failed program was:" >&5
35835 sed 's/^/| /' conftest.
$ac_ext >&5
35837 ac_cv_have_decl_round
=no
35839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35841 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35842 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35843 if test $ac_cv_have_decl_round = yes; then
35845 cat >>confdefs.h
<<_ACEOF
35846 #define HAVE_DECL_ROUND 1
35851 cat >>confdefs.h
<<_ACEOF
35852 #define HAVE_DECL_ROUND 0
35862 if test "$TOOLKIT" != "MSW"; then
35868 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35869 if test "${with_libiconv_prefix+set}" = set; then
35870 withval
="$with_libiconv_prefix"
35872 for dir
in `echo "$withval" | tr : ' '`; do
35873 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35874 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35879 echo "$as_me:$LINENO: checking for iconv" >&5
35880 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35881 if test "${am_cv_func_iconv+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 am_cv_func_iconv
="no, consider installing GNU libiconv"
35887 cat >conftest.
$ac_ext <<_ACEOF
35890 cat confdefs.h
>>conftest.
$ac_ext
35891 cat >>conftest.
$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 #include <stdlib.h>
35898 iconv_t cd = iconv_open("","");
35899 iconv(cd,NULL,NULL,NULL,NULL);
35905 rm -f conftest.
$ac_objext conftest
$ac_exeext
35906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35907 (eval $ac_link) 2>conftest.er1
35909 grep -v '^ *+' conftest.er1
>conftest.err
35911 cat conftest.err
>&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
35914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; } &&
35920 { ac_try
='test -s conftest$ac_exeext'
35921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35922 (eval $ac_try) 2>&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); }; }; then
35926 am_cv_func_iconv
=yes
35928 echo "$as_me: failed program was:" >&5
35929 sed 's/^/| /' conftest.
$ac_ext >&5
35932 rm -f conftest.err conftest.
$ac_objext \
35933 conftest
$ac_exeext conftest.
$ac_ext
35934 if test "$am_cv_func_iconv" != yes; then
35935 am_save_LIBS
="$LIBS"
35936 LIBS
="$LIBS -liconv"
35937 cat >conftest.
$ac_ext <<_ACEOF
35940 cat confdefs.h
>>conftest.
$ac_ext
35941 cat >>conftest.
$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943 #include <stdlib.h>
35948 iconv_t cd = iconv_open("","");
35949 iconv(cd,NULL,NULL,NULL,NULL);
35955 rm -f conftest.
$ac_objext conftest
$ac_exeext
35956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35957 (eval $ac_link) 2>conftest.er1
35959 grep -v '^ *+' conftest.er1
>conftest.err
35961 cat conftest.err
>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } &&
35970 { ac_try
='test -s conftest$ac_exeext'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; }; then
35976 am_cv_lib_iconv
=yes
35977 am_cv_func_iconv
=yes
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.
$ac_ext >&5
35983 rm -f conftest.err conftest.
$ac_objext \
35984 conftest
$ac_exeext conftest.
$ac_ext
35985 LIBS
="$am_save_LIBS"
35989 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35990 echo "${ECHO_T}$am_cv_func_iconv" >&6
35991 if test "$am_cv_func_iconv" = yes; then
35993 cat >>confdefs.h
<<\_ACEOF
35994 #define HAVE_ICONV 1
35997 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35998 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35999 if test "${wx_cv_func_iconv_const+set}" = set; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36002 cat >conftest.
$ac_ext <<_ACEOF
36005 cat confdefs.h
>>conftest.
$ac_ext
36006 cat >>conftest.
$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36009 #include <stdlib.h>
36015 #if defined(__STDC__) || defined(__cplusplus)
36016 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36029 rm -f conftest.
$ac_objext
36030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36031 (eval $ac_compile) 2>conftest.er1
36033 grep -v '^ *+' conftest.er1
>conftest.err
36035 cat conftest.err
>&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } &&
36038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36040 (eval $ac_try) 2>&5
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); }; } &&
36044 { ac_try
='test -s conftest.$ac_objext'
36045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36046 (eval $ac_try) 2>&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); }; }; then
36050 wx_cv_func_iconv_const
="no"
36052 echo "$as_me: failed program was:" >&5
36053 sed 's/^/| /' conftest.
$ac_ext >&5
36055 wx_cv_func_iconv_const
="yes"
36058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36061 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36062 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36065 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36066 iconv_const
="const"
36070 cat >>confdefs.h
<<_ACEOF
36071 #define ICONV_CONST $iconv_const
36076 if test "$am_cv_lib_iconv" = yes; then
36081 LIBS
="$LIBICONV $LIBS"
36083 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36085 for ac_func
in sigaction
36087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36090 if eval "test \"\${$as_ac_var+set}\" = set"; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 cat >conftest.
$ac_ext <<_ACEOF
36096 cat confdefs.h
>>conftest.
$ac_ext
36097 cat >>conftest.
$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36109 # include <limits.h>
36111 # include <assert.h>
36116 /* Override any gcc2 internal prototype to avoid an error. */
36121 /* We use char because int might match the return type of a gcc2
36122 builtin and then its argument prototype would still apply. */
36124 /* The GNU C library defines this for functions which it implements
36125 to always fail with ENOSYS. Some functions are actually named
36126 something starting with __ and the normal name is an alias. */
36127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36130 char (*f) () = $ac_func;
36139 return f != $ac_func;
36144 rm -f conftest.
$ac_objext conftest
$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36148 grep -v '^ *+' conftest.er1
>conftest.err
36150 cat conftest.err
>&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36155 (eval $ac_try) 2>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); }; } &&
36159 { ac_try
='test -s conftest$ac_exeext'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; }; then
36165 eval "$as_ac_var=yes"
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.
$ac_ext >&5
36170 eval "$as_ac_var=no"
36172 rm -f conftest.err conftest.
$ac_objext \
36173 conftest
$ac_exeext conftest.
$ac_ext
36175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36177 if test `eval echo '${'$as_ac_var'}'` = yes; then
36178 cat >>confdefs.h
<<_ACEOF
36179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36186 if test "$ac_cv_func_sigaction" = "no"; then
36187 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36188 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36189 wxUSE_ON_FATAL_EXCEPTION
=no
36192 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36193 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36194 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36195 if test "${wx_cv_type_sa_handler+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <signal.h>
36210 extern void testSigHandler(int);
36212 struct sigaction sa;
36213 sa.sa_handler = testSigHandler;
36219 rm -f conftest.
$ac_objext
36220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36221 (eval $ac_compile) 2>conftest.er1
36223 grep -v '^ *+' conftest.er1
>conftest.err
36225 cat conftest.err
>&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); } &&
36228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; } &&
36234 { ac_try
='test -s conftest.$ac_objext'
36235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36236 (eval $ac_try) 2>&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); }; }; then
36241 wx_cv_type_sa_handler
=int
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.
$ac_ext >&5
36248 wx_cv_type_sa_handler
=void
36251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36254 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36255 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36257 cat >>confdefs.h
<<_ACEOF
36258 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36264 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36265 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36266 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36267 if test "${wx_cv_func_backtrace+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 cat >conftest.
$ac_ext <<_ACEOF
36274 cat confdefs.h
>>conftest.
$ac_ext
36275 cat >>conftest.
$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277 #include <execinfo.h>
36285 backtrace(trace, 1);
36286 messages = backtrace_symbols(trace, 1);
36292 rm -f conftest.
$ac_objext
36293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36294 (eval $ac_compile) 2>conftest.er1
36296 grep -v '^ *+' conftest.er1
>conftest.err
36298 cat conftest.err
>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } &&
36301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36303 (eval $ac_try) 2>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); }; } &&
36307 { ac_try
='test -s conftest.$ac_objext'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; }; then
36313 wx_cv_func_backtrace
=yes
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.
$ac_ext >&5
36318 wx_cv_func_backtrace
=no
36321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36325 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36326 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36329 if test "$wx_cv_func_backtrace" = "no"; then
36330 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36331 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36332 wxUSE_STACKWALKER
=no
36334 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36335 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36336 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36340 cat >conftest.
$ac_ext <<_ACEOF
36343 cat confdefs.h
>>conftest.
$ac_ext
36344 cat >>conftest.
$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 #include <cxxabi.h>
36352 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36358 rm -f conftest.
$ac_objext conftest
$ac_exeext
36359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36360 (eval $ac_link) 2>conftest.er1
36362 grep -v '^ *+' conftest.er1
>conftest.err
36364 cat conftest.err
>&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); } &&
36367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36369 (eval $ac_try) 2>&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); }; } &&
36373 { ac_try
='test -s conftest$ac_exeext'
36374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36375 (eval $ac_try) 2>&5
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); }; }; then
36379 wx_cv_func_cxa_demangle
=yes
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.
$ac_ext >&5
36384 wx_cv_func_cxa_demangle
=no
36387 rm -f conftest.err conftest.
$ac_objext \
36388 conftest
$ac_exeext conftest.
$ac_ext
36392 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36393 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36395 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36396 cat >>confdefs.h
<<\_ACEOF
36397 #define HAVE_CXA_DEMANGLE 1
36404 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36405 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36406 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36407 wxUSE_STACKWALKER
=no
36413 for ac_func
in mkstemp mktemp
36415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36416 echo "$as_me:$LINENO: checking for $ac_func" >&5
36417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36418 if eval "test \"\${$as_ac_var+set}\" = set"; then
36419 echo $ECHO_N "(cached) $ECHO_C" >&6
36421 cat >conftest.
$ac_ext <<_ACEOF
36424 cat confdefs.h
>>conftest.
$ac_ext
36425 cat >>conftest.
$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36429 #define $ac_func innocuous_$ac_func
36431 /* System header to define __stub macros and hopefully few prototypes,
36432 which can conflict with char $ac_func (); below.
36433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36434 <limits.h> exists even on freestanding compilers. */
36437 # include <limits.h>
36439 # include <assert.h>
36444 /* Override any gcc2 internal prototype to avoid an error. */
36449 /* We use char because int might match the return type of a gcc2
36450 builtin and then its argument prototype would still apply. */
36452 /* The GNU C library defines this for functions which it implements
36453 to always fail with ENOSYS. Some functions are actually named
36454 something starting with __ and the normal name is an alias. */
36455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36458 char (*f) () = $ac_func;
36467 return f != $ac_func;
36472 rm -f conftest.
$ac_objext conftest
$ac_exeext
36473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36474 (eval $ac_link) 2>conftest.er1
36476 grep -v '^ *+' conftest.er1
>conftest.err
36478 cat conftest.err
>&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); } &&
36481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36483 (eval $ac_try) 2>&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); }; } &&
36487 { ac_try
='test -s conftest$ac_exeext'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; }; then
36493 eval "$as_ac_var=yes"
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.
$ac_ext >&5
36498 eval "$as_ac_var=no"
36500 rm -f conftest.err conftest.
$ac_objext \
36501 conftest
$ac_exeext conftest.
$ac_ext
36503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h
<<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36514 echo "$as_me:$LINENO: checking for statfs" >&5
36515 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36516 if test "${wx_cv_func_statfs+set}" = set; then
36517 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 cat >conftest.
$ac_ext <<_ACEOF
36522 cat confdefs.h
>>conftest.
$ac_ext
36523 cat >>conftest.
$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36526 #if defined(__BSD__)
36527 #include <sys/param.h>
36528 #include <sys/mount.h>
36530 #include <sys/vfs.h>
36548 rm -f conftest.
$ac_objext
36549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36550 (eval $ac_compile) 2>conftest.er1
36552 grep -v '^ *+' conftest.er1
>conftest.err
36554 cat conftest.err
>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); } &&
36557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36559 (eval $ac_try) 2>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); }; } &&
36563 { ac_try
='test -s conftest.$ac_objext'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; }; then
36569 wx_cv_func_statfs
=yes
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.
$ac_ext >&5
36574 wx_cv_func_statfs
=no
36577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36580 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36581 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36583 if test "$wx_cv_func_statfs" = "yes"; then
36584 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36585 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36586 if test "${wx_cv_func_statfs_decl+set}" = set; then
36587 echo $ECHO_N "(cached) $ECHO_C" >&6
36589 cat >conftest.
$ac_ext <<_ACEOF
36592 cat confdefs.h
>>conftest.
$ac_ext
36593 cat >>conftest.
$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36596 #if defined(__BSD__)
36597 #include <sys/param.h>
36598 #include <sys/mount.h>
36600 #include <sys/vfs.h>
36614 rm -f conftest.
$ac_objext
36615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36616 (eval $ac_compile) 2>conftest.er1
36618 grep -v '^ *+' conftest.er1
>conftest.err
36620 cat conftest.err
>&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); } &&
36623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36625 (eval $ac_try) 2>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); }; } &&
36629 { ac_try
='test -s conftest.$ac_objext'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; }; then
36635 wx_cv_func_statfs_decl
=yes
36637 echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.
$ac_ext >&5
36640 wx_cv_func_statfs_decl
=no
36643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36646 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36647 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36649 if test "$wx_cv_func_statfs_decl" = "yes"; then
36650 cat >>confdefs.h
<<\_ACEOF
36651 #define HAVE_STATFS_DECL 1
36656 wx_cv_type_statvfs_t
="struct statfs"
36657 cat >>confdefs.h
<<\_ACEOF
36658 #define HAVE_STATFS 1
36662 echo "$as_me:$LINENO: checking for statvfs" >&5
36663 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36664 if test "${wx_cv_func_statvfs+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36667 cat >conftest.
$ac_ext <<_ACEOF
36670 cat confdefs.h
>>conftest.
$ac_ext
36671 cat >>conftest.
$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36674 #include <stddef.h>
36675 #include <sys/statvfs.h>
36681 statvfs("/", NULL);
36687 rm -f conftest.
$ac_objext
36688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36689 (eval $ac_compile) 2>conftest.er1
36691 grep -v '^ *+' conftest.er1
>conftest.err
36693 cat conftest.err
>&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } &&
36696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; } &&
36702 { ac_try
='test -s conftest.$ac_objext'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; }; then
36708 wx_cv_func_statvfs
=yes
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.
$ac_ext >&5
36713 wx_cv_func_statvfs
=no
36716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36719 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36720 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36722 if test "$wx_cv_func_statvfs" = "yes"; then
36723 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36724 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36725 if test "${wx_cv_type_statvfs_t+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 cat >conftest.
$ac_ext <<_ACEOF
36731 cat confdefs.h
>>conftest.
$ac_ext
36732 cat >>conftest.
$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36735 #include <sys/statvfs.h>
36752 rm -f conftest.
$ac_objext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36754 (eval $ac_compile) 2>conftest.er1
36756 grep -v '^ *+' conftest.er1
>conftest.err
36758 cat conftest.err
>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; } &&
36767 { ac_try
='test -s conftest.$ac_objext'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; }; then
36773 wx_cv_type_statvfs_t
=statvfs_t
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.
$ac_ext >&5
36779 cat >conftest.
$ac_ext <<_ACEOF
36782 cat confdefs.h
>>conftest.
$ac_ext
36783 cat >>conftest.
$ac_ext <<_ACEOF
36784 /* end confdefs.h. */
36786 #include <sys/statvfs.h>
36803 rm -f conftest.
$ac_objext
36804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36805 (eval $ac_compile) 2>conftest.er1
36807 grep -v '^ *+' conftest.er1
>conftest.err
36809 cat conftest.err
>&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } &&
36812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; } &&
36818 { ac_try
='test -s conftest.$ac_objext'
36819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36820 (eval $ac_try) 2>&5
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); }; }; then
36824 wx_cv_type_statvfs_t
="struct statvfs"
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.
$ac_ext >&5
36829 wx_cv_type_statvfs_t
="unknown"
36832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36839 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36840 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36842 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define HAVE_STATVFS 1
36849 wx_cv_type_statvfs_t
="unknown"
36853 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36854 cat >>confdefs.h
<<_ACEOF
36855 #define WX_STATFS_T $wx_cv_type_statvfs_t
36859 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36860 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36863 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36866 for ac_func
in fcntl flock
36868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36869 echo "$as_me:$LINENO: checking for $ac_func" >&5
36870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36871 if eval "test \"\${$as_ac_var+set}\" = set"; then
36872 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 cat >conftest.
$ac_ext <<_ACEOF
36877 cat confdefs.h
>>conftest.
$ac_ext
36878 cat >>conftest.
$ac_ext <<_ACEOF
36879 /* end confdefs.h. */
36880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36882 #define $ac_func innocuous_$ac_func
36884 /* System header to define __stub macros and hopefully few prototypes,
36885 which can conflict with char $ac_func (); below.
36886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36887 <limits.h> exists even on freestanding compilers. */
36890 # include <limits.h>
36892 # include <assert.h>
36897 /* Override any gcc2 internal prototype to avoid an error. */
36902 /* We use char because int might match the return type of a gcc2
36903 builtin and then its argument prototype would still apply. */
36905 /* The GNU C library defines this for functions which it implements
36906 to always fail with ENOSYS. Some functions are actually named
36907 something starting with __ and the normal name is an alias. */
36908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36911 char (*f) () = $ac_func;
36920 return f != $ac_func;
36925 rm -f conftest.
$ac_objext conftest
$ac_exeext
36926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36927 (eval $ac_link) 2>conftest.er1
36929 grep -v '^ *+' conftest.er1
>conftest.err
36931 cat conftest.err
>&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); } &&
36934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; } &&
36940 { ac_try
='test -s conftest$ac_exeext'
36941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36942 (eval $ac_try) 2>&5
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); }; }; then
36946 eval "$as_ac_var=yes"
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.
$ac_ext >&5
36951 eval "$as_ac_var=no"
36953 rm -f conftest.err conftest.
$ac_objext \
36954 conftest
$ac_exeext conftest.
$ac_ext
36956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36958 if test `eval echo '${'$as_ac_var'}'` = yes; then
36959 cat >>confdefs.h
<<_ACEOF
36960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36967 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36968 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36969 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36970 wxUSE_SNGLINST_CHECKER
=no
36975 for ac_func
in timegm
36977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36978 echo "$as_me:$LINENO: checking for $ac_func" >&5
36979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36980 if eval "test \"\${$as_ac_var+set}\" = set"; then
36981 echo $ECHO_N "(cached) $ECHO_C" >&6
36983 cat >conftest.
$ac_ext <<_ACEOF
36986 cat confdefs.h
>>conftest.
$ac_ext
36987 cat >>conftest.
$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36991 #define $ac_func innocuous_$ac_func
36993 /* System header to define __stub macros and hopefully few prototypes,
36994 which can conflict with char $ac_func (); below.
36995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36996 <limits.h> exists even on freestanding compilers. */
36999 # include <limits.h>
37001 # include <assert.h>
37006 /* Override any gcc2 internal prototype to avoid an error. */
37011 /* We use char because int might match the return type of a gcc2
37012 builtin and then its argument prototype would still apply. */
37014 /* The GNU C library defines this for functions which it implements
37015 to always fail with ENOSYS. Some functions are actually named
37016 something starting with __ and the normal name is an alias. */
37017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37020 char (*f) () = $ac_func;
37029 return f != $ac_func;
37034 rm -f conftest.
$ac_objext conftest
$ac_exeext
37035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37036 (eval $ac_link) 2>conftest.er1
37038 grep -v '^ *+' conftest.er1
>conftest.err
37040 cat conftest.err
>&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } &&
37043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; } &&
37049 { ac_try
='test -s conftest$ac_exeext'
37050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051 (eval $ac_try) 2>&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); }; }; then
37055 eval "$as_ac_var=yes"
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.
$ac_ext >&5
37060 eval "$as_ac_var=no"
37062 rm -f conftest.err conftest.
$ac_objext \
37063 conftest
$ac_exeext conftest.
$ac_ext
37065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37067 if test `eval echo '${'$as_ac_var'}'` = yes; then
37068 cat >>confdefs.h
<<_ACEOF
37069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37078 for ac_func
in putenv setenv
37080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37081 echo "$as_me:$LINENO: checking for $ac_func" >&5
37082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37083 if eval "test \"\${$as_ac_var+set}\" = set"; then
37084 echo $ECHO_N "(cached) $ECHO_C" >&6
37086 cat >conftest.
$ac_ext <<_ACEOF
37089 cat confdefs.h
>>conftest.
$ac_ext
37090 cat >>conftest.
$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37094 #define $ac_func innocuous_$ac_func
37096 /* System header to define __stub macros and hopefully few prototypes,
37097 which can conflict with char $ac_func (); below.
37098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37099 <limits.h> exists even on freestanding compilers. */
37102 # include <limits.h>
37104 # include <assert.h>
37109 /* Override any gcc2 internal prototype to avoid an error. */
37114 /* We use char because int might match the return type of a gcc2
37115 builtin and then its argument prototype would still apply. */
37117 /* The GNU C library defines this for functions which it implements
37118 to always fail with ENOSYS. Some functions are actually named
37119 something starting with __ and the normal name is an alias. */
37120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37123 char (*f) () = $ac_func;
37132 return f != $ac_func;
37137 rm -f conftest.
$ac_objext conftest
$ac_exeext
37138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37139 (eval $ac_link) 2>conftest.er1
37141 grep -v '^ *+' conftest.er1
>conftest.err
37143 cat conftest.err
>&5
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); } &&
37146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37148 (eval $ac_try) 2>&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); }; } &&
37152 { ac_try
='test -s conftest$ac_exeext'
37153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37154 (eval $ac_try) 2>&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); }; }; then
37158 eval "$as_ac_var=yes"
37160 echo "$as_me: failed program was:" >&5
37161 sed 's/^/| /' conftest.
$ac_ext >&5
37163 eval "$as_ac_var=no"
37165 rm -f conftest.err conftest.
$ac_objext \
37166 conftest
$ac_exeext conftest.
$ac_ext
37168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37170 if test `eval echo '${'$as_ac_var'}'` = yes; then
37171 cat >>confdefs.h
<<_ACEOF
37172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37179 HAVE_SOME_SLEEP_FUNC
=0
37180 if test "$USE_BEOS" = 1; then
37181 cat >>confdefs.h
<<\_ACEOF
37182 #define HAVE_SLEEP 1
37185 HAVE_SOME_SLEEP_FUNC
=1
37188 if test "$USE_DARWIN" = 1; then
37189 cat >>confdefs.h
<<\_ACEOF
37190 #define HAVE_USLEEP 1
37193 HAVE_SOME_SLEEP_FUNC
=1
37196 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37199 for ac_func
in nanosleep
37201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37202 echo "$as_me:$LINENO: checking for $ac_func" >&5
37203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37204 if eval "test \"\${$as_ac_var+set}\" = set"; then
37205 echo $ECHO_N "(cached) $ECHO_C" >&6
37207 cat >conftest.
$ac_ext <<_ACEOF
37210 cat confdefs.h
>>conftest.
$ac_ext
37211 cat >>conftest.
$ac_ext <<_ACEOF
37212 /* end confdefs.h. */
37213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37215 #define $ac_func innocuous_$ac_func
37217 /* System header to define __stub macros and hopefully few prototypes,
37218 which can conflict with char $ac_func (); below.
37219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37220 <limits.h> exists even on freestanding compilers. */
37223 # include <limits.h>
37225 # include <assert.h>
37230 /* Override any gcc2 internal prototype to avoid an error. */
37235 /* We use char because int might match the return type of a gcc2
37236 builtin and then its argument prototype would still apply. */
37238 /* The GNU C library defines this for functions which it implements
37239 to always fail with ENOSYS. Some functions are actually named
37240 something starting with __ and the normal name is an alias. */
37241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37244 char (*f) () = $ac_func;
37253 return f != $ac_func;
37258 rm -f conftest.
$ac_objext conftest
$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37262 grep -v '^ *+' conftest.er1
>conftest.err
37264 cat conftest.err
>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; } &&
37273 { ac_try
='test -s conftest$ac_exeext'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; }; then
37279 eval "$as_ac_var=yes"
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.
$ac_ext >&5
37284 eval "$as_ac_var=no"
37286 rm -f conftest.err conftest.
$ac_objext \
37287 conftest
$ac_exeext conftest.
$ac_ext
37289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37291 if test `eval echo '${'$as_ac_var'}'` = yes; then
37292 cat >>confdefs.h
<<_ACEOF
37293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37295 cat >>confdefs.h
<<\_ACEOF
37296 #define HAVE_NANOSLEEP 1
37301 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37302 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37303 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 ac_check_lib_save_LIBS
=$LIBS
37307 LIBS
="-lposix4 $LIBS"
37308 cat >conftest.
$ac_ext <<_ACEOF
37311 cat confdefs.h
>>conftest.
$ac_ext
37312 cat >>conftest.
$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37315 /* Override any gcc2 internal prototype to avoid an error. */
37319 /* We use char because int might match the return type of a gcc2
37320 builtin and then its argument prototype would still apply. */
37330 rm -f conftest.
$ac_objext conftest
$ac_exeext
37331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37332 (eval $ac_link) 2>conftest.er1
37334 grep -v '^ *+' conftest.er1
>conftest.err
37336 cat conftest.err
>&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); } &&
37339 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; } &&
37345 { ac_try
='test -s conftest$ac_exeext'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; }; then
37351 ac_cv_lib_posix4_nanosleep
=yes
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.
$ac_ext >&5
37356 ac_cv_lib_posix4_nanosleep
=no
37358 rm -f conftest.err conftest.
$ac_objext \
37359 conftest
$ac_exeext conftest.
$ac_ext
37360 LIBS
=$ac_check_lib_save_LIBS
37362 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37363 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37364 if test $ac_cv_lib_posix4_nanosleep = yes; then
37366 cat >>confdefs.h
<<\_ACEOF
37367 #define HAVE_NANOSLEEP 1
37370 POSIX4_LINK
=" -lposix4"
37375 for ac_func
in usleep
37377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37378 echo "$as_me:$LINENO: checking for $ac_func" >&5
37379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37380 if eval "test \"\${$as_ac_var+set}\" = set"; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37383 cat >conftest.
$ac_ext <<_ACEOF
37386 cat confdefs.h
>>conftest.
$ac_ext
37387 cat >>conftest.
$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37391 #define $ac_func innocuous_$ac_func
37393 /* System header to define __stub macros and hopefully few prototypes,
37394 which can conflict with char $ac_func (); below.
37395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37396 <limits.h> exists even on freestanding compilers. */
37399 # include <limits.h>
37401 # include <assert.h>
37406 /* Override any gcc2 internal prototype to avoid an error. */
37411 /* We use char because int might match the return type of a gcc2
37412 builtin and then its argument prototype would still apply. */
37414 /* The GNU C library defines this for functions which it implements
37415 to always fail with ENOSYS. Some functions are actually named
37416 something starting with __ and the normal name is an alias. */
37417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37420 char (*f) () = $ac_func;
37429 return f != $ac_func;
37434 rm -f conftest.
$ac_objext conftest
$ac_exeext
37435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37436 (eval $ac_link) 2>conftest.er1
37438 grep -v '^ *+' conftest.er1
>conftest.err
37440 cat conftest.err
>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } &&
37443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 (eval $ac_try) 2>&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); }; } &&
37449 { ac_try
='test -s conftest$ac_exeext'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; }; then
37455 eval "$as_ac_var=yes"
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.
$ac_ext >&5
37460 eval "$as_ac_var=no"
37462 rm -f conftest.err conftest.
$ac_objext \
37463 conftest
$ac_exeext conftest.
$ac_ext
37465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37467 if test `eval echo '${'$as_ac_var'}'` = yes; then
37468 cat >>confdefs.h
<<_ACEOF
37469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37471 cat >>confdefs.h
<<\_ACEOF
37472 #define HAVE_USLEEP 1
37476 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37477 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37495 for ac_func
in uname gethostname
37497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37500 if eval "test \"\${$as_ac_var+set}\" = set"; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.
$ac_ext <<_ACEOF
37506 cat confdefs.h
>>conftest.
$ac_ext
37507 cat >>conftest.
$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37519 # include <limits.h>
37521 # include <assert.h>
37526 /* Override any gcc2 internal prototype to avoid an error. */
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37540 char (*f) () = $ac_func;
37549 return f != $ac_func;
37554 rm -f conftest.
$ac_objext conftest
$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37558 grep -v '^ *+' conftest.er1
>conftest.err
37560 cat conftest.err
>&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; } &&
37569 { ac_try
='test -s conftest$ac_exeext'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; }; then
37575 eval "$as_ac_var=yes"
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.
$ac_ext >&5
37580 eval "$as_ac_var=no"
37582 rm -f conftest.err conftest.
$ac_objext \
37583 conftest
$ac_exeext conftest.
$ac_ext
37585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37587 if test `eval echo '${'$as_ac_var'}'` = yes; then
37588 cat >>confdefs.h
<<_ACEOF
37589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37597 for wx_func
in strtok_r
37599 echo "$as_me:$LINENO: checking for $wx_func" >&5
37600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37601 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 cat >conftest.
$ac_ext <<_ACEOF
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37614 $ac_includes_default
37630 rm -f conftest.
$ac_objext conftest
$ac_exeext
37631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37632 (eval $ac_link) 2>conftest.er1
37634 grep -v '^ *+' conftest.er1
>conftest.err
37636 cat conftest.err
>&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); } &&
37639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641 (eval $ac_try) 2>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); }; } &&
37645 { ac_try
='test -s conftest$ac_exeext'
37646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647 (eval $ac_try) 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; }; then
37651 eval wx_cv_func_
$wx_func=yes
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.
$ac_ext >&5
37656 eval wx_cv_func_
$wx_func=no
37658 rm -f conftest.err conftest.
$ac_objext \
37659 conftest
$ac_exeext conftest.
$ac_ext
37662 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37663 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37665 if eval test \
$wx_cv_func_$wx_func = yes
37667 cat >>confdefs.h
<<_ACEOF
37668 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37681 for ac_func
in inet_addr
37683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37684 echo "$as_me:$LINENO: checking for $ac_func" >&5
37685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37686 if eval "test \"\${$as_ac_var+set}\" = set"; then
37687 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 cat >conftest.
$ac_ext <<_ACEOF
37692 cat confdefs.h
>>conftest.
$ac_ext
37693 cat >>conftest.
$ac_ext <<_ACEOF
37694 /* end confdefs.h. */
37695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37697 #define $ac_func innocuous_$ac_func
37699 /* System header to define __stub macros and hopefully few prototypes,
37700 which can conflict with char $ac_func (); below.
37701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37702 <limits.h> exists even on freestanding compilers. */
37705 # include <limits.h>
37707 # include <assert.h>
37712 /* Override any gcc2 internal prototype to avoid an error. */
37717 /* We use char because int might match the return type of a gcc2
37718 builtin and then its argument prototype would still apply. */
37720 /* The GNU C library defines this for functions which it implements
37721 to always fail with ENOSYS. Some functions are actually named
37722 something starting with __ and the normal name is an alias. */
37723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37726 char (*f) () = $ac_func;
37735 return f != $ac_func;
37740 rm -f conftest.
$ac_objext conftest
$ac_exeext
37741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37742 (eval $ac_link) 2>conftest.er1
37744 grep -v '^ *+' conftest.er1
>conftest.err
37746 cat conftest.err
>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } &&
37749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; } &&
37755 { ac_try
='test -s conftest$ac_exeext'
37756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37757 (eval $ac_try) 2>&5
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); }; }; then
37761 eval "$as_ac_var=yes"
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.
$ac_ext >&5
37766 eval "$as_ac_var=no"
37768 rm -f conftest.err conftest.
$ac_objext \
37769 conftest
$ac_exeext conftest.
$ac_ext
37771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37773 if test `eval echo '${'$as_ac_var'}'` = yes; then
37774 cat >>confdefs.h
<<_ACEOF
37775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37777 cat >>confdefs.h
<<\_ACEOF
37778 #define HAVE_INET_ADDR 1
37783 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37784 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37785 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37788 ac_check_lib_save_LIBS
=$LIBS
37790 cat >conftest.
$ac_ext <<_ACEOF
37793 cat confdefs.h
>>conftest.
$ac_ext
37794 cat >>conftest.
$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37797 /* Override any gcc2 internal prototype to avoid an error. */
37801 /* We use char because int might match the return type of a gcc2
37802 builtin and then its argument prototype would still apply. */
37812 rm -f conftest.
$ac_objext conftest
$ac_exeext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37814 (eval $ac_link) 2>conftest.er1
37816 grep -v '^ *+' conftest.er1
>conftest.err
37818 cat conftest.err
>&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; } &&
37827 { ac_try
='test -s conftest$ac_exeext'
37828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37829 (eval $ac_try) 2>&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); }; }; then
37833 ac_cv_lib_nsl_inet_addr
=yes
37835 echo "$as_me: failed program was:" >&5
37836 sed 's/^/| /' conftest.
$ac_ext >&5
37838 ac_cv_lib_nsl_inet_addr
=no
37840 rm -f conftest.err conftest.
$ac_objext \
37841 conftest
$ac_exeext conftest.
$ac_ext
37842 LIBS
=$ac_check_lib_save_LIBS
37844 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37845 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37846 if test $ac_cv_lib_nsl_inet_addr = yes; then
37850 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37851 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37852 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37853 echo $ECHO_N "(cached) $ECHO_C" >&6
37855 ac_check_lib_save_LIBS
=$LIBS
37856 LIBS
="-lresolv $LIBS"
37857 cat >conftest.
$ac_ext <<_ACEOF
37860 cat confdefs.h
>>conftest.
$ac_ext
37861 cat >>conftest.
$ac_ext <<_ACEOF
37862 /* end confdefs.h. */
37864 /* Override any gcc2 internal prototype to avoid an error. */
37868 /* We use char because int might match the return type of a gcc2
37869 builtin and then its argument prototype would still apply. */
37879 rm -f conftest.
$ac_objext conftest
$ac_exeext
37880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37881 (eval $ac_link) 2>conftest.er1
37883 grep -v '^ *+' conftest.er1
>conftest.err
37885 cat conftest.err
>&5
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); } &&
37888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37890 (eval $ac_try) 2>&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); }; } &&
37894 { ac_try
='test -s conftest$ac_exeext'
37895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37896 (eval $ac_try) 2>&5
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); }; }; then
37900 ac_cv_lib_resolv_inet_addr
=yes
37902 echo "$as_me: failed program was:" >&5
37903 sed 's/^/| /' conftest.
$ac_ext >&5
37905 ac_cv_lib_resolv_inet_addr
=no
37907 rm -f conftest.err conftest.
$ac_objext \
37908 conftest
$ac_exeext conftest.
$ac_ext
37909 LIBS
=$ac_check_lib_save_LIBS
37911 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37912 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37913 if test $ac_cv_lib_resolv_inet_addr = yes; then
37917 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37918 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37919 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37920 echo $ECHO_N "(cached) $ECHO_C" >&6
37922 ac_check_lib_save_LIBS
=$LIBS
37923 LIBS
="-lsocket $LIBS"
37924 cat >conftest.
$ac_ext <<_ACEOF
37927 cat confdefs.h
>>conftest.
$ac_ext
37928 cat >>conftest.
$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37931 /* Override any gcc2 internal prototype to avoid an error. */
37935 /* We use char because int might match the return type of a gcc2
37936 builtin and then its argument prototype would still apply. */
37946 rm -f conftest.
$ac_objext conftest
$ac_exeext
37947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37948 (eval $ac_link) 2>conftest.er1
37950 grep -v '^ *+' conftest.er1
>conftest.err
37952 cat conftest.err
>&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); } &&
37955 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; } &&
37961 { ac_try
='test -s conftest$ac_exeext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 ac_cv_lib_socket_inet_addr
=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.
$ac_ext >&5
37972 ac_cv_lib_socket_inet_addr
=no
37974 rm -f conftest.err conftest.
$ac_objext \
37975 conftest
$ac_exeext conftest.
$ac_ext
37976 LIBS
=$ac_check_lib_save_LIBS
37978 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37979 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37980 if test $ac_cv_lib_socket_inet_addr = yes; then
38000 for ac_func
in inet_aton
38002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define $ac_func innocuous_$ac_func
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char $ac_func (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38024 # include <limits.h>
38026 # include <assert.h>
38031 /* Override any gcc2 internal prototype to avoid an error. */
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38045 char (*f) () = $ac_func;
38054 return f != $ac_func;
38059 rm -f conftest.
$ac_objext conftest
$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38063 grep -v '^ *+' conftest.er1
>conftest.err
38065 cat conftest.err
>&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try
='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 eval "$as_ac_var=yes"
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.
$ac_ext >&5
38085 eval "$as_ac_var=no"
38087 rm -f conftest.err conftest.
$ac_objext \
38088 conftest
$ac_exeext conftest.
$ac_ext
38090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38092 if test `eval echo '${'$as_ac_var'}'` = yes; then
38093 cat >>confdefs.h
<<_ACEOF
38094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38096 cat >>confdefs.h
<<\_ACEOF
38097 #define HAVE_INET_ATON 1
38102 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38103 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38104 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38105 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38106 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 ac_check_lib_save_LIBS
=$LIBS
38109 LIBS
="-l$INET_LINK $LIBS"
38110 cat >conftest.
$ac_ext <<_ACEOF
38113 cat confdefs.h
>>conftest.
$ac_ext
38114 cat >>conftest.
$ac_ext <<_ACEOF
38115 /* end confdefs.h. */
38117 /* Override any gcc2 internal prototype to avoid an error. */
38121 /* We use char because int might match the return type of a gcc2
38122 builtin and then its argument prototype would still apply. */
38132 rm -f conftest.
$ac_objext conftest
$ac_exeext
38133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38134 (eval $ac_link) 2>conftest.er1
38136 grep -v '^ *+' conftest.er1
>conftest.err
38138 cat conftest.err
>&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } &&
38141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143 (eval $ac_try) 2>&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); }; } &&
38147 { ac_try
='test -s conftest$ac_exeext'
38148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149 (eval $ac_try) 2>&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); }; }; then
38153 eval "$as_ac_Lib=yes"
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.
$ac_ext >&5
38158 eval "$as_ac_Lib=no"
38160 rm -f conftest.err conftest.
$ac_objext \
38161 conftest
$ac_exeext conftest.
$ac_ext
38162 LIBS
=$ac_check_lib_save_LIBS
38164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38165 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38166 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38167 cat >>confdefs.h
<<\_ACEOF
38168 #define HAVE_INET_ATON 1
38178 if test "x$INET_LINK" != "x"; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define HAVE_INET_ADDR 1
38183 INET_LINK
=" -l$INET_LINK"
38191 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38192 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38193 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 ac_check_lib_save_LIBS
=$LIBS
38198 cat >conftest.
$ac_ext <<_ACEOF
38201 cat confdefs.h
>>conftest.
$ac_ext
38202 cat >>conftest.
$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38205 /* Override any gcc2 internal prototype to avoid an error. */
38209 /* We use char because int might match the return type of a gcc2
38210 builtin and then its argument prototype would still apply. */
38220 rm -f conftest.
$ac_objext conftest
$ac_exeext
38221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38222 (eval $ac_link) 2>conftest.er1
38224 grep -v '^ *+' conftest.er1
>conftest.err
38226 cat conftest.err
>&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } &&
38229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; } &&
38235 { ac_try
='test -s conftest$ac_exeext'
38236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38237 (eval $ac_try) 2>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; }; then
38241 ac_cv_lib_esd_esd_close
=yes
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.
$ac_ext >&5
38246 ac_cv_lib_esd_esd_close
=no
38248 rm -f conftest.err conftest.
$ac_objext \
38249 conftest
$ac_exeext conftest.
$ac_ext
38250 LIBS
=$ac_check_lib_save_LIBS
38252 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38253 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38254 if test $ac_cv_lib_esd_esd_close = yes; then
38257 for ac_header
in esd.h
38259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38261 echo "$as_me:$LINENO: checking for $ac_header" >&5
38262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38269 # Is the header compilable?
38270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38272 cat >conftest.
$ac_ext <<_ACEOF
38275 cat confdefs.h
>>conftest.
$ac_ext
38276 cat >>conftest.
$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278 $ac_includes_default
38279 #include <$ac_header>
38281 rm -f conftest.
$ac_objext
38282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38283 (eval $ac_compile) 2>conftest.er1
38285 grep -v '^ *+' conftest.er1
>conftest.err
38287 cat conftest.err
>&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292 (eval $ac_try) 2>&5
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); }; } &&
38296 { ac_try
='test -s conftest.$ac_objext'
38297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38298 (eval $ac_try) 2>&5
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); }; }; then
38302 ac_header_compiler
=yes
38304 echo "$as_me: failed program was:" >&5
38305 sed 's/^/| /' conftest.
$ac_ext >&5
38307 ac_header_compiler
=no
38309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38311 echo "${ECHO_T}$ac_header_compiler" >&6
38313 # Is the header present?
38314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38316 cat >conftest.
$ac_ext <<_ACEOF
38319 cat confdefs.h
>>conftest.
$ac_ext
38320 cat >>conftest.
$ac_ext <<_ACEOF
38321 /* end confdefs.h. */
38322 #include <$ac_header>
38324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38327 grep -v '^ *+' conftest.er1
>conftest.err
38329 cat conftest.err
>&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } >/dev
/null
; then
38332 if test -s conftest.err
; then
38333 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38334 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38341 if test -z "$ac_cpp_err"; then
38342 ac_header_preproc
=yes
38344 echo "$as_me: failed program was:" >&5
38345 sed 's/^/| /' conftest.
$ac_ext >&5
38347 ac_header_preproc
=no
38349 rm -f conftest.err conftest.
$ac_ext
38350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38351 echo "${ECHO_T}$ac_header_preproc" >&6
38353 # So? What about this header?
38354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38360 ac_header_preproc
=yes
38363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38377 ## ----------------------------------------- ##
38378 ## Report this to wx-dev@lists.wxwidgets.org ##
38379 ## ----------------------------------------- ##
38382 sed "s/^/$as_me: WARNING: /" >&2
38385 echo "$as_me:$LINENO: checking for $ac_header" >&5
38386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 eval "$as_ac_Header=\$ac_header_preproc"
38392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38397 cat >>confdefs.h
<<_ACEOF
38398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38401 EXTRALIBS_ESD
="-lesd"
38412 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38413 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38414 cat >conftest.
$ac_ext <<_ACEOF
38417 cat confdefs.h
>>conftest.
$ac_ext
38418 cat >>conftest.
$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38421 #include <linux/cdrom.h>
38424 #include <sys/cdio.h>
38430 struct cdrom_tocentry entry, old_entry;
38435 rm -f conftest.
$ac_objext
38436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38437 (eval $ac_compile) 2>conftest.er1
38439 grep -v '^ *+' conftest.er1
>conftest.err
38441 cat conftest.err
>&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); } &&
38444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try
='test -s conftest.$ac_objext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 echo "$as_me:$LINENO: result: yes" >&5
38457 echo "${ECHO_T}yes" >&6
38458 cat >>confdefs.h
<<\_ACEOF
38459 #define HAVE_KNOWN_CDROM_INTERFACE 1
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.
$ac_ext >&5
38466 echo "$as_me:$LINENO: result: no" >&5
38467 echo "${ECHO_T}no" >&6
38469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38472 cat >confcache
<<\_ACEOF
38473 # This file is a shell script that caches the results of configure
38474 # tests run on this system so they can be shared between configure
38475 # scripts and configure runs, see configure's option --config-cache.
38476 # It is not useful on other systems. If it contains results you don't
38477 # want to keep, you may remove or edit it.
38479 # config.status only pays attention to the cache file if you give it
38480 # the --recheck option to rerun configure.
38482 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38484 # following values.
38488 # The following way of writing the cache mishandles newlines in values,
38489 # but we know of no workaround that is simple, portable, and efficient.
38490 # So, don't put newlines in cache variables' values.
38491 # Ultrix sh set writes to stderr and can't be redirected directly,
38492 # and sets the high bit in the cache file unless we assign to the vars.
38495 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38497 # `set' does not quote correctly, so add quotes (double-quote
38498 # substitution turns \\\\ into \\, and sed turns \\ into \).
38501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38504 # `set' quotes correctly as required by POSIX, so do not add quotes.
38506 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38515 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38517 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38518 if test -w $cache_file; then
38519 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38520 cat confcache
>$cache_file
38522 echo "not updating unwritable cache $cache_file"
38528 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38534 if test "$wxUSE_THREADS" = "yes" ; then
38535 if test "$USE_BEOS" = 1; then
38536 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38537 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38542 if test "$wxUSE_THREADS" = "yes" ; then
38545 THREAD_OPTS
="-pthread"
38547 *-*-solaris2* | *-*-sunos4* )
38548 if test "x$GCC" = "xyes"; then
38549 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38551 THREAD_OPTS
="-mt $THREAD_OPTS"
38555 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38557 *-*-darwin* | *-*-cygwin* )
38561 THREAD_OPTS
="pthreads"
38564 if test "x$GCC" = "xyes"; then
38565 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38573 if test "x$GCC" = "xyes"; then
38579 if test "x$GCC" != "xyes"; then
38580 THREAD_OPTS
="-Ethread"
38585 THREAD_OPTS
="$THREAD_OPTS pthread none"
38588 for flag
in $THREAD_OPTS; do
38591 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38592 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38596 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38597 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38598 THREADS_CXXFLAGS
="$flag"
38602 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38603 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38604 THREADS_LINK
="-l$flag"
38609 save_CXXFLAGS
="$CXXFLAGS"
38610 LIBS
="$THREADS_LINK $LIBS"
38611 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38613 cat >conftest.
$ac_ext <<_ACEOF
38616 cat confdefs.h
>>conftest.
$ac_ext
38617 cat >>conftest.
$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619 #include <pthread.h>
38623 pthread_create(0,0,0,0);
38628 rm -f conftest.
$ac_objext conftest
$ac_exeext
38629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38630 (eval $ac_link) 2>conftest.er1
38632 grep -v '^ *+' conftest.er1
>conftest.err
38634 cat conftest.err
>&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); } &&
38637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; } &&
38643 { ac_try
='test -s conftest$ac_exeext'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; }; then
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.
$ac_ext >&5
38655 rm -f conftest.err conftest.
$ac_objext \
38656 conftest
$ac_exeext conftest.
$ac_ext
38659 CXXFLAGS
="$save_CXXFLAGS"
38661 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38662 echo "${ECHO_T}$THREADS_OK" >&6
38663 if test "x$THREADS_OK" = "xyes"; then
38668 THREADS_CXXFLAGS
=""
38671 if test "x$THREADS_OK" != "xyes"; then
38673 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38674 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38676 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38677 LIBS
="$THREADS_LINK $LIBS"
38679 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38680 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38684 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38685 flag
="-D_THREAD_SAFE"
38688 flag
="-D_THREAD_SAFE"
38691 flag
="-D_REENTRANT"
38692 if test "x$GCC" != "xyes"; then
38693 flag
="$flag -D_RWSTD_MULTI_THREAD"
38696 *solaris
* | alpha
*-osf*)
38697 flag
="-D_REENTRANT"
38700 echo "$as_me:$LINENO: result: ${flag}" >&5
38701 echo "${ECHO_T}${flag}" >&6
38702 if test "x$flag" != xno
; then
38703 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38706 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38710 if test "$wxUSE_THREADS" = "yes" ; then
38712 for ac_func
in thr_setconcurrency
38714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38715 echo "$as_me:$LINENO: checking for $ac_func" >&5
38716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38717 if eval "test \"\${$as_ac_var+set}\" = set"; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 cat >conftest.
$ac_ext <<_ACEOF
38723 cat confdefs.h
>>conftest.
$ac_ext
38724 cat >>conftest.
$ac_ext <<_ACEOF
38725 /* end confdefs.h. */
38726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38728 #define $ac_func innocuous_$ac_func
38730 /* System header to define __stub macros and hopefully few prototypes,
38731 which can conflict with char $ac_func (); below.
38732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38733 <limits.h> exists even on freestanding compilers. */
38736 # include <limits.h>
38738 # include <assert.h>
38743 /* Override any gcc2 internal prototype to avoid an error. */
38748 /* We use char because int might match the return type of a gcc2
38749 builtin and then its argument prototype would still apply. */
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38757 char (*f) () = $ac_func;
38766 return f != $ac_func;
38771 rm -f conftest.
$ac_objext conftest
$ac_exeext
38772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38773 (eval $ac_link) 2>conftest.er1
38775 grep -v '^ *+' conftest.er1
>conftest.err
38777 cat conftest.err
>&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } &&
38780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782 (eval $ac_try) 2>&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); }; } &&
38786 { ac_try
='test -s conftest$ac_exeext'
38787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38788 (eval $ac_try) 2>&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; }; then
38792 eval "$as_ac_var=yes"
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.
$ac_ext >&5
38797 eval "$as_ac_var=no"
38799 rm -f conftest.err conftest.
$ac_objext \
38800 conftest
$ac_exeext conftest.
$ac_ext
38802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38804 if test `eval echo '${'$as_ac_var'}'` = yes; then
38805 cat >>confdefs.h
<<_ACEOF
38806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38813 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38814 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38815 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 cat >conftest.
$ac_ext <<_ACEOF
38822 cat confdefs.h
>>conftest.
$ac_ext
38823 cat >>conftest.
$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38825 #include <pthread.h>
38826 void ThreadCleanupFunc(void *p);
38833 pthread_cleanup_push(ThreadCleanupFunc, p);
38834 pthread_cleanup_pop(0);
38840 rm -f conftest.
$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; } &&
38855 { ac_try
='test -s conftest.$ac_objext'
38856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38857 (eval $ac_try) 2>&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); }; }; then
38862 wx_cv_func_pthread_cleanup
=yes
38865 echo "$as_me: failed program was:" >&5
38866 sed 's/^/| /' conftest.
$ac_ext >&5
38869 wx_cv_func_pthread_cleanup
=no
38873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38876 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38877 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38878 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38879 cat >>confdefs.h
<<\_ACEOF
38880 #define wxHAVE_PTHREAD_CLEANUP 1
38886 for ac_header
in sched.h
38888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38890 echo "$as_me:$LINENO: checking for $ac_header" >&5
38891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38898 # Is the header compilable?
38899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38901 cat >conftest.
$ac_ext <<_ACEOF
38904 cat confdefs.h
>>conftest.
$ac_ext
38905 cat >>conftest.
$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907 $ac_includes_default
38908 #include <$ac_header>
38910 rm -f conftest.
$ac_objext
38911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38912 (eval $ac_compile) 2>conftest.er1
38914 grep -v '^ *+' conftest.er1
>conftest.err
38916 cat conftest.err
>&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); } &&
38919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921 (eval $ac_try) 2>&5
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); }; } &&
38925 { ac_try
='test -s conftest.$ac_objext'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; }; then
38931 ac_header_compiler
=yes
38933 echo "$as_me: failed program was:" >&5
38934 sed 's/^/| /' conftest.
$ac_ext >&5
38936 ac_header_compiler
=no
38938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38940 echo "${ECHO_T}$ac_header_compiler" >&6
38942 # Is the header present?
38943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38945 cat >conftest.
$ac_ext <<_ACEOF
38948 cat confdefs.h
>>conftest.
$ac_ext
38949 cat >>conftest.
$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 #include <$ac_header>
38953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38956 grep -v '^ *+' conftest.er1
>conftest.err
38958 cat conftest.err
>&5
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); } >/dev
/null
; then
38961 if test -s conftest.err
; then
38962 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38963 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38970 if test -z "$ac_cpp_err"; then
38971 ac_header_preproc
=yes
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.
$ac_ext >&5
38976 ac_header_preproc
=no
38978 rm -f conftest.err conftest.
$ac_ext
38979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38980 echo "${ECHO_T}$ac_header_preproc" >&6
38982 # So? What about this header?
38983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38989 ac_header_preproc
=yes
38992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39006 ## ----------------------------------------- ##
39007 ## Report this to wx-dev@lists.wxwidgets.org ##
39008 ## ----------------------------------------- ##
39011 sed "s/^/$as_me: WARNING: /" >&2
39014 echo "$as_me:$LINENO: checking for $ac_header" >&5
39015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39017 echo $ECHO_N "(cached) $ECHO_C" >&6
39019 eval "$as_ac_Header=\$ac_header_preproc"
39021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39026 cat >>confdefs.h
<<_ACEOF
39027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39034 if test "$ac_cv_header_sched_h" = "yes"; then
39035 echo "$as_me:$LINENO: checking for sched_yield" >&5
39036 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39037 if test "${ac_cv_func_sched_yield+set}" = set; then
39038 echo $ECHO_N "(cached) $ECHO_C" >&6
39040 cat >conftest.
$ac_ext <<_ACEOF
39043 cat confdefs.h
>>conftest.
$ac_ext
39044 cat >>conftest.
$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39048 #define sched_yield innocuous_sched_yield
39050 /* System header to define __stub macros and hopefully few prototypes,
39051 which can conflict with char sched_yield (); below.
39052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39053 <limits.h> exists even on freestanding compilers. */
39056 # include <limits.h>
39058 # include <assert.h>
39063 /* Override any gcc2 internal prototype to avoid an error. */
39068 /* We use char because int might match the return type of a gcc2
39069 builtin and then its argument prototype would still apply. */
39070 char sched_yield ();
39071 /* The GNU C library defines this for functions which it implements
39072 to always fail with ENOSYS. Some functions are actually named
39073 something starting with __ and the normal name is an alias. */
39074 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39077 char (*f) () = sched_yield;
39086 return f != sched_yield;
39091 rm -f conftest.
$ac_objext conftest
$ac_exeext
39092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39093 (eval $ac_link) 2>conftest.er1
39095 grep -v '^ *+' conftest.er1
>conftest.err
39097 cat conftest.err
>&5
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); } &&
39100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; } &&
39106 { ac_try
='test -s conftest$ac_exeext'
39107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108 (eval $ac_try) 2>&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); }; }; then
39112 ac_cv_func_sched_yield
=yes
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.
$ac_ext >&5
39117 ac_cv_func_sched_yield
=no
39119 rm -f conftest.err conftest.
$ac_objext \
39120 conftest
$ac_exeext conftest.
$ac_ext
39122 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39123 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39124 if test $ac_cv_func_sched_yield = yes; then
39125 cat >>confdefs.h
<<\_ACEOF
39126 #define HAVE_SCHED_YIELD 1
39131 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39132 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39133 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 ac_check_lib_save_LIBS
=$LIBS
39137 LIBS
="-lposix4 $LIBS"
39138 cat >conftest.
$ac_ext <<_ACEOF
39141 cat confdefs.h
>>conftest.
$ac_ext
39142 cat >>conftest.
$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39145 /* Override any gcc2 internal prototype to avoid an error. */
39149 /* We use char because int might match the return type of a gcc2
39150 builtin and then its argument prototype would still apply. */
39151 char sched_yield ();
39160 rm -f conftest.
$ac_objext conftest
$ac_exeext
39161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39162 (eval $ac_link) 2>conftest.er1
39164 grep -v '^ *+' conftest.er1
>conftest.err
39166 cat conftest.err
>&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); } &&
39169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; } &&
39175 { ac_try
='test -s conftest$ac_exeext'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; }; then
39181 ac_cv_lib_posix4_sched_yield
=yes
39183 echo "$as_me: failed program was:" >&5
39184 sed 's/^/| /' conftest.
$ac_ext >&5
39186 ac_cv_lib_posix4_sched_yield
=no
39188 rm -f conftest.err conftest.
$ac_objext \
39189 conftest
$ac_exeext conftest.
$ac_ext
39190 LIBS
=$ac_check_lib_save_LIBS
39192 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39193 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39194 if test $ac_cv_lib_posix4_sched_yield = yes; then
39195 cat >>confdefs.h
<<\_ACEOF
39196 #define HAVE_SCHED_YIELD 1
39198 POSIX4_LINK
=" -lposix4"
39200 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39201 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39212 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39213 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39214 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39215 echo $ECHO_N "(cached) $ECHO_C" >&6
39217 cat >conftest.
$ac_ext <<_ACEOF
39220 cat confdefs.h
>>conftest.
$ac_ext
39221 cat >>conftest.
$ac_ext <<_ACEOF
39222 /* end confdefs.h. */
39223 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39225 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39227 /* System header to define __stub macros and hopefully few prototypes,
39228 which can conflict with char pthread_attr_getschedpolicy (); below.
39229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39230 <limits.h> exists even on freestanding compilers. */
39233 # include <limits.h>
39235 # include <assert.h>
39238 #undef pthread_attr_getschedpolicy
39240 /* Override any gcc2 internal prototype to avoid an error. */
39245 /* We use char because int might match the return type of a gcc2
39246 builtin and then its argument prototype would still apply. */
39247 char pthread_attr_getschedpolicy ();
39248 /* The GNU C library defines this for functions which it implements
39249 to always fail with ENOSYS. Some functions are actually named
39250 something starting with __ and the normal name is an alias. */
39251 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39254 char (*f) () = pthread_attr_getschedpolicy;
39263 return f != pthread_attr_getschedpolicy;
39268 rm -f conftest.
$ac_objext conftest
$ac_exeext
39269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39270 (eval $ac_link) 2>conftest.er1
39272 grep -v '^ *+' conftest.er1
>conftest.err
39274 cat conftest.err
>&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } &&
39277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; } &&
39283 { ac_try
='test -s conftest$ac_exeext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 ac_cv_func_pthread_attr_getschedpolicy
=yes
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.
$ac_ext >&5
39294 ac_cv_func_pthread_attr_getschedpolicy
=no
39296 rm -f conftest.err conftest.
$ac_objext \
39297 conftest
$ac_exeext conftest.
$ac_ext
39299 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39300 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39301 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39302 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39303 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39304 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39305 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 cat >conftest.
$ac_ext <<_ACEOF
39310 cat confdefs.h
>>conftest.
$ac_ext
39311 cat >>conftest.
$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39315 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39317 /* System header to define __stub macros and hopefully few prototypes,
39318 which can conflict with char pthread_attr_setschedparam (); below.
39319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39320 <limits.h> exists even on freestanding compilers. */
39323 # include <limits.h>
39325 # include <assert.h>
39328 #undef pthread_attr_setschedparam
39330 /* Override any gcc2 internal prototype to avoid an error. */
39335 /* We use char because int might match the return type of a gcc2
39336 builtin and then its argument prototype would still apply. */
39337 char pthread_attr_setschedparam ();
39338 /* The GNU C library defines this for functions which it implements
39339 to always fail with ENOSYS. Some functions are actually named
39340 something starting with __ and the normal name is an alias. */
39341 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39344 char (*f) () = pthread_attr_setschedparam;
39353 return f != pthread_attr_setschedparam;
39358 rm -f conftest.
$ac_objext conftest
$ac_exeext
39359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39360 (eval $ac_link) 2>conftest.er1
39362 grep -v '^ *+' conftest.er1
>conftest.err
39364 cat conftest.err
>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } &&
39367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39373 { ac_try
='test -s conftest$ac_exeext'
39374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39375 (eval $ac_try) 2>&5
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); }; }; then
39379 ac_cv_func_pthread_attr_setschedparam
=yes
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.
$ac_ext >&5
39384 ac_cv_func_pthread_attr_setschedparam
=no
39386 rm -f conftest.err conftest.
$ac_objext \
39387 conftest
$ac_exeext conftest.
$ac_ext
39389 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39390 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39391 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39392 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39393 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39394 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39395 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 cat >conftest.
$ac_ext <<_ACEOF
39400 cat confdefs.h
>>conftest.
$ac_ext
39401 cat >>conftest.
$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39405 #define sched_get_priority_max innocuous_sched_get_priority_max
39407 /* System header to define __stub macros and hopefully few prototypes,
39408 which can conflict with char sched_get_priority_max (); below.
39409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39410 <limits.h> exists even on freestanding compilers. */
39413 # include <limits.h>
39415 # include <assert.h>
39418 #undef sched_get_priority_max
39420 /* Override any gcc2 internal prototype to avoid an error. */
39425 /* We use char because int might match the return type of a gcc2
39426 builtin and then its argument prototype would still apply. */
39427 char sched_get_priority_max ();
39428 /* The GNU C library defines this for functions which it implements
39429 to always fail with ENOSYS. Some functions are actually named
39430 something starting with __ and the normal name is an alias. */
39431 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39434 char (*f) () = sched_get_priority_max;
39443 return f != sched_get_priority_max;
39448 rm -f conftest.
$ac_objext conftest
$ac_exeext
39449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39450 (eval $ac_link) 2>conftest.er1
39452 grep -v '^ *+' conftest.er1
>conftest.err
39454 cat conftest.err
>&5
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); } &&
39457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39459 (eval $ac_try) 2>&5
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); }; } &&
39463 { ac_try
='test -s conftest$ac_exeext'
39464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39465 (eval $ac_try) 2>&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); }; }; then
39469 ac_cv_func_sched_get_priority_max
=yes
39471 echo "$as_me: failed program was:" >&5
39472 sed 's/^/| /' conftest.
$ac_ext >&5
39474 ac_cv_func_sched_get_priority_max
=no
39476 rm -f conftest.err conftest.
$ac_objext \
39477 conftest
$ac_exeext conftest.
$ac_ext
39479 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39480 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39481 if test $ac_cv_func_sched_get_priority_max = yes; then
39484 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39485 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39486 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39487 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 ac_check_lib_save_LIBS
=$LIBS
39490 LIBS
="-lposix4 $LIBS"
39491 cat >conftest.
$ac_ext <<_ACEOF
39494 cat confdefs.h
>>conftest.
$ac_ext
39495 cat >>conftest.
$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39498 /* Override any gcc2 internal prototype to avoid an error. */
39502 /* We use char because int might match the return type of a gcc2
39503 builtin and then its argument prototype would still apply. */
39504 char sched_get_priority_max ();
39508 sched_get_priority_max ();
39513 rm -f conftest.
$ac_objext conftest
$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39517 grep -v '^ *+' conftest.er1
>conftest.err
39519 cat conftest.err
>&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try
='test -s conftest$ac_exeext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39534 ac_cv_lib_posix4_sched_get_priority_max
=yes
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.
$ac_ext >&5
39539 ac_cv_lib_posix4_sched_get_priority_max
=no
39541 rm -f conftest.err conftest.
$ac_objext \
39542 conftest
$ac_exeext conftest.
$ac_ext
39543 LIBS
=$ac_check_lib_save_LIBS
39545 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39546 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39547 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39550 POSIX4_LINK
=" -lposix4"
39564 if test "$HAVE_PRIOR_FUNCS" = 1; then
39565 cat >>confdefs.h
<<\_ACEOF
39566 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39570 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39571 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39574 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39575 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39576 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 cat >conftest.
$ac_ext <<_ACEOF
39582 cat confdefs.h
>>conftest.
$ac_ext
39583 cat >>conftest.
$ac_ext <<_ACEOF
39584 /* end confdefs.h. */
39585 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39587 #define pthread_cancel innocuous_pthread_cancel
39589 /* System header to define __stub macros and hopefully few prototypes,
39590 which can conflict with char pthread_cancel (); below.
39591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39592 <limits.h> exists even on freestanding compilers. */
39595 # include <limits.h>
39597 # include <assert.h>
39600 #undef pthread_cancel
39602 /* Override any gcc2 internal prototype to avoid an error. */
39607 /* We use char because int might match the return type of a gcc2
39608 builtin and then its argument prototype would still apply. */
39609 char pthread_cancel ();
39610 /* The GNU C library defines this for functions which it implements
39611 to always fail with ENOSYS. Some functions are actually named
39612 something starting with __ and the normal name is an alias. */
39613 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39616 char (*f) () = pthread_cancel;
39625 return f != pthread_cancel;
39630 rm -f conftest.
$ac_objext conftest
$ac_exeext
39631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39632 (eval $ac_link) 2>conftest.er1
39634 grep -v '^ *+' conftest.er1
>conftest.err
39636 cat conftest.err
>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } &&
39639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; } &&
39645 { ac_try
='test -s conftest$ac_exeext'
39646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39647 (eval $ac_try) 2>&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); }; }; then
39651 ac_cv_func_pthread_cancel
=yes
39653 echo "$as_me: failed program was:" >&5
39654 sed 's/^/| /' conftest.
$ac_ext >&5
39656 ac_cv_func_pthread_cancel
=no
39658 rm -f conftest.err conftest.
$ac_objext \
39659 conftest
$ac_exeext conftest.
$ac_ext
39661 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39662 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39663 if test $ac_cv_func_pthread_cancel = yes; then
39664 cat >>confdefs.h
<<\_ACEOF
39665 #define HAVE_PTHREAD_CANCEL 1
39669 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39670 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39674 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39675 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39676 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 cat >conftest.
$ac_ext <<_ACEOF
39682 cat confdefs.h
>>conftest.
$ac_ext
39683 cat >>conftest.
$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39687 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39689 /* System header to define __stub macros and hopefully few prototypes,
39690 which can conflict with char pthread_attr_setstacksize (); below.
39691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39692 <limits.h> exists even on freestanding compilers. */
39695 # include <limits.h>
39697 # include <assert.h>
39700 #undef pthread_attr_setstacksize
39702 /* Override any gcc2 internal prototype to avoid an error. */
39707 /* We use char because int might match the return type of a gcc2
39708 builtin and then its argument prototype would still apply. */
39709 char pthread_attr_setstacksize ();
39710 /* The GNU C library defines this for functions which it implements
39711 to always fail with ENOSYS. Some functions are actually named
39712 something starting with __ and the normal name is an alias. */
39713 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39716 char (*f) () = pthread_attr_setstacksize;
39725 return f != pthread_attr_setstacksize;
39730 rm -f conftest.
$ac_objext conftest
$ac_exeext
39731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39732 (eval $ac_link) 2>conftest.er1
39734 grep -v '^ *+' conftest.er1
>conftest.err
39736 cat conftest.err
>&5
39737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738 (exit $ac_status); } &&
39739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39741 (eval $ac_try) 2>&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); }; } &&
39745 { ac_try
='test -s conftest$ac_exeext'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; }; then
39751 ac_cv_func_pthread_attr_setstacksize
=yes
39753 echo "$as_me: failed program was:" >&5
39754 sed 's/^/| /' conftest.
$ac_ext >&5
39756 ac_cv_func_pthread_attr_setstacksize
=no
39758 rm -f conftest.err conftest.
$ac_objext \
39759 conftest
$ac_exeext conftest.
$ac_ext
39761 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39762 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39763 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39764 cat >>confdefs.h
<<\_ACEOF
39765 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39772 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39773 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39774 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39778 cat >conftest.
$ac_ext <<_ACEOF
39781 cat confdefs.h
>>conftest.
$ac_ext
39782 cat >>conftest.
$ac_ext <<_ACEOF
39783 /* end confdefs.h. */
39784 #include <pthread.h>
39789 pthread_mutexattr_t attr;
39790 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39796 rm -f conftest.
$ac_objext
39797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39798 (eval $ac_compile) 2>conftest.er1
39800 grep -v '^ *+' conftest.er1
>conftest.err
39802 cat conftest.err
>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } &&
39805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; } &&
39811 { ac_try
='test -s conftest.$ac_objext'
39812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813 (eval $ac_try) 2>&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); }; }; then
39817 wx_cv_type_pthread_mutexattr_t
=yes
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.
$ac_ext >&5
39822 wx_cv_type_pthread_mutexattr_t
=no
39825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39828 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39829 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39831 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39832 cat >>confdefs.h
<<\_ACEOF
39833 #define HAVE_PTHREAD_MUTEXATTR_T 1
39837 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39838 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39839 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39843 cat >conftest.
$ac_ext <<_ACEOF
39846 cat confdefs.h
>>conftest.
$ac_ext
39847 cat >>conftest.
$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849 #include <pthread.h>
39854 pthread_mutexattr_t attr;
39855 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39861 rm -f conftest.
$ac_objext
39862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39863 (eval $ac_compile) 2>conftest.er1
39865 grep -v '^ *+' conftest.er1
>conftest.err
39867 cat conftest.err
>&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } &&
39870 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39872 (eval $ac_try) 2>&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); }; } &&
39876 { ac_try
='test -s conftest.$ac_objext'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; }; then
39882 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.
$ac_ext >&5
39887 wx_cv_func_pthread_mutexattr_settype_decl
=no
39890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39893 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39894 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39895 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39896 cat >>confdefs.h
<<\_ACEOF
39897 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39902 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39903 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39904 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39905 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 cat >conftest.
$ac_ext <<_ACEOF
39911 cat confdefs.h
>>conftest.
$ac_ext
39912 cat >>conftest.
$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39914 #include <pthread.h>
39919 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39925 rm -f conftest.
$ac_objext
39926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39927 (eval $ac_compile) 2>conftest.er1
39929 grep -v '^ *+' conftest.er1
>conftest.err
39931 cat conftest.err
>&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } &&
39934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936 (eval $ac_try) 2>&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); }; } &&
39940 { ac_try
='test -s conftest.$ac_objext'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; }; then
39947 wx_cv_type_pthread_rec_mutex_init
=yes
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.
$ac_ext >&5
39954 wx_cv_type_pthread_rec_mutex_init
=no
39958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39961 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39962 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39963 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39964 cat >>confdefs.h
<<\_ACEOF
39965 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39969 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39970 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39976 if test "$wxUSE_THREADS" = "yes" ; then
39979 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39980 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39981 if test "${wx_cv_cflags_mthread+set}" = set; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 CXXFLAGS_OLD
="$CXXFLAGS"
39986 CXXFLAGS
="-mthreads $CXXFLAGS"
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
40002 rm -f conftest.
$ac_objext
40003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40004 (eval $ac_compile) 2>conftest.er1
40006 grep -v '^ *+' conftest.er1
>conftest.err
40008 cat conftest.err
>&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); } &&
40011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try
='test -s conftest.$ac_objext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 wx_cv_cflags_mthread
=yes
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.
$ac_ext >&5
40028 wx_cv_cflags_mthread
=no
40031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40035 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40036 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40038 if test "$wx_cv_cflags_mthread" = "yes"; then
40039 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40040 LDFLAGS
="$LDFLAGS -mthreads"
40042 CXXFLAGS
="$CXXFLAGS_OLD"
40046 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40047 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40048 LDFLAGS
="$LDFLAGS -Zmt"
40054 echo "$as_me:$LINENO: checking for localtime_r" >&5
40055 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40056 if test "${ac_cv_func_localtime_r+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40059 cat >conftest.
$ac_ext <<_ACEOF
40062 cat confdefs.h
>>conftest.
$ac_ext
40063 cat >>conftest.
$ac_ext <<_ACEOF
40064 /* end confdefs.h. */
40065 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40067 #define localtime_r innocuous_localtime_r
40069 /* System header to define __stub macros and hopefully few prototypes,
40070 which can conflict with char localtime_r (); below.
40071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40072 <limits.h> exists even on freestanding compilers. */
40075 # include <limits.h>
40077 # include <assert.h>
40082 /* Override any gcc2 internal prototype to avoid an error. */
40087 /* We use char because int might match the return type of a gcc2
40088 builtin and then its argument prototype would still apply. */
40089 char localtime_r ();
40090 /* The GNU C library defines this for functions which it implements
40091 to always fail with ENOSYS. Some functions are actually named
40092 something starting with __ and the normal name is an alias. */
40093 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40096 char (*f) () = localtime_r;
40105 return f != localtime_r;
40110 rm -f conftest.
$ac_objext conftest
$ac_exeext
40111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40112 (eval $ac_link) 2>conftest.er1
40114 grep -v '^ *+' conftest.er1
>conftest.err
40116 cat conftest.err
>&5
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); } &&
40119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40121 (eval $ac_try) 2>&5
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); }; } &&
40125 { ac_try
='test -s conftest$ac_exeext'
40126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40127 (eval $ac_try) 2>&5
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); }; }; then
40131 ac_cv_func_localtime_r
=yes
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.
$ac_ext >&5
40136 ac_cv_func_localtime_r
=no
40138 rm -f conftest.err conftest.
$ac_objext \
40139 conftest
$ac_exeext conftest.
$ac_ext
40141 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40142 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40143 if test $ac_cv_func_localtime_r = yes; then
40144 cat >>confdefs.h
<<\_ACEOF
40145 #define HAVE_LOCALTIME_R 1
40150 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40151 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40152 if test "${ac_cv_func_gmtime_r+set}" = set; then
40153 echo $ECHO_N "(cached) $ECHO_C" >&6
40155 cat >conftest.
$ac_ext <<_ACEOF
40158 cat confdefs.h
>>conftest.
$ac_ext
40159 cat >>conftest.
$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40163 #define gmtime_r innocuous_gmtime_r
40165 /* System header to define __stub macros and hopefully few prototypes,
40166 which can conflict with char gmtime_r (); below.
40167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40168 <limits.h> exists even on freestanding compilers. */
40171 # include <limits.h>
40173 # include <assert.h>
40178 /* Override any gcc2 internal prototype to avoid an error. */
40183 /* We use char because int might match the return type of a gcc2
40184 builtin and then its argument prototype would still apply. */
40186 /* The GNU C library defines this for functions which it implements
40187 to always fail with ENOSYS. Some functions are actually named
40188 something starting with __ and the normal name is an alias. */
40189 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40192 char (*f) () = gmtime_r;
40201 return f != gmtime_r;
40206 rm -f conftest.
$ac_objext conftest
$ac_exeext
40207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40208 (eval $ac_link) 2>conftest.er1
40210 grep -v '^ *+' conftest.er1
>conftest.err
40212 cat conftest.err
>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); } &&
40215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; } &&
40221 { ac_try
='test -s conftest$ac_exeext'
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; }; then
40227 ac_cv_func_gmtime_r
=yes
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.
$ac_ext >&5
40232 ac_cv_func_gmtime_r
=no
40234 rm -f conftest.err conftest.
$ac_objext \
40235 conftest
$ac_exeext conftest.
$ac_ext
40237 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40238 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40239 if test $ac_cv_func_gmtime_r = yes; then
40240 cat >>confdefs.h
<<\_ACEOF
40241 #define HAVE_GMTIME_R 1
40246 echo "$as_me:$LINENO: checking for readdir_r" >&5
40247 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40248 if test "${ac_cv_func_readdir_r+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 cat >conftest.
$ac_ext <<_ACEOF
40254 cat confdefs.h
>>conftest.
$ac_ext
40255 cat >>conftest.
$ac_ext <<_ACEOF
40256 /* end confdefs.h. */
40257 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40259 #define readdir_r innocuous_readdir_r
40261 /* System header to define __stub macros and hopefully few prototypes,
40262 which can conflict with char readdir_r (); below.
40263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40264 <limits.h> exists even on freestanding compilers. */
40267 # include <limits.h>
40269 # include <assert.h>
40274 /* Override any gcc2 internal prototype to avoid an error. */
40279 /* We use char because int might match the return type of a gcc2
40280 builtin and then its argument prototype would still apply. */
40282 /* The GNU C library defines this for functions which it implements
40283 to always fail with ENOSYS. Some functions are actually named
40284 something starting with __ and the normal name is an alias. */
40285 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40288 char (*f) () = readdir_r;
40297 return f != readdir_r;
40302 rm -f conftest.
$ac_objext conftest
$ac_exeext
40303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40304 (eval $ac_link) 2>conftest.er1
40306 grep -v '^ *+' conftest.er1
>conftest.err
40308 cat conftest.err
>&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); } &&
40311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40313 (eval $ac_try) 2>&5
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); }; } &&
40317 { ac_try
='test -s conftest$ac_exeext'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; }; then
40323 ac_cv_func_readdir_r
=yes
40325 echo "$as_me: failed program was:" >&5
40326 sed 's/^/| /' conftest.
$ac_ext >&5
40328 ac_cv_func_readdir_r
=no
40330 rm -f conftest.err conftest.
$ac_objext \
40331 conftest
$ac_exeext conftest.
$ac_ext
40333 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40334 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40335 if test $ac_cv_func_readdir_r = yes; then
40336 cat >>confdefs.h
<<\_ACEOF
40337 #define HAVE_READDIR_R 1
40346 ac_cpp
='$CPP $CPPFLAGS'
40347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40351 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40352 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40354 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40355 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 ################################################################
40361 ac_cv_func_which_gethostbyname_r
=unknown
40364 # ONE ARGUMENT (sanity check)
40367 # This should fail, as there is no variant of gethostbyname_r() that takes
40368 # a single argument. If it actually compiles, then we can assume that
40369 # netdb.h is not declaring the function, and the compiler is thereby
40370 # assuming an implicit prototype. In which case, we're out of luck.
40372 cat >conftest.
$ac_ext <<_ACEOF
40375 cat confdefs.h
>>conftest.
$ac_ext
40376 cat >>conftest.
$ac_ext <<_ACEOF
40377 /* end confdefs.h. */
40383 char *name = "www.gnu.org";
40384 (void)gethostbyname_r(name) /* ; */
40390 rm -f conftest.
$ac_objext
40391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40392 (eval $ac_compile) 2>conftest.er1
40394 grep -v '^ *+' conftest.er1
>conftest.err
40396 cat conftest.err
>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } &&
40399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try
='test -s conftest.$ac_objext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 ac_cv_func_which_gethostbyname_r
=no
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.
$ac_ext >&5
40417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40424 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40426 cat >conftest.
$ac_ext <<_ACEOF
40429 cat confdefs.h
>>conftest.
$ac_ext
40430 cat >>conftest.
$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40437 char *name = "www.gnu.org";
40438 struct hostent ret, *retp;
40442 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40448 rm -f conftest.
$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 2>conftest.er1
40452 grep -v '^ *+' conftest.er1
>conftest.err
40454 cat conftest.err
>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try
='test -s conftest.$ac_objext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40469 ac_cv_func_which_gethostbyname_r
=six
40471 echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.
$ac_ext >&5
40475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40484 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40486 cat >conftest.
$ac_ext <<_ACEOF
40489 cat confdefs.h
>>conftest.
$ac_ext
40490 cat >>conftest.
$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40497 char *name = "www.gnu.org";
40498 struct hostent ret;
40502 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40508 rm -f conftest.
$ac_objext
40509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40510 (eval $ac_compile) 2>conftest.er1
40512 grep -v '^ *+' conftest.er1
>conftest.err
40514 cat conftest.err
>&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); } &&
40517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40519 (eval $ac_try) 2>&5
40521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40522 (exit $ac_status); }; } &&
40523 { ac_try
='test -s conftest.$ac_objext'
40524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40525 (eval $ac_try) 2>&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); }; }; then
40529 ac_cv_func_which_gethostbyname_r
=five
40531 echo "$as_me: failed program was:" >&5
40532 sed 's/^/| /' conftest.
$ac_ext >&5
40535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40541 # (e.g. AIX, HP-UX, Tru64)
40544 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40546 cat >conftest.
$ac_ext <<_ACEOF
40549 cat confdefs.h
>>conftest.
$ac_ext
40550 cat >>conftest.
$ac_ext <<_ACEOF
40551 /* end confdefs.h. */
40557 char *name = "www.gnu.org";
40558 struct hostent ret;
40559 struct hostent_data data;
40560 (void)gethostbyname_r(name, &ret, &data) /* ; */
40566 rm -f conftest.
$ac_objext
40567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40568 (eval $ac_compile) 2>conftest.er1
40570 grep -v '^ *+' conftest.er1
>conftest.err
40572 cat conftest.err
>&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } &&
40575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; } &&
40581 { ac_try
='test -s conftest.$ac_objext'
40582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40583 (eval $ac_try) 2>&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); }; }; then
40587 ac_cv_func_which_gethostbyname_r
=three
40589 echo "$as_me: failed program was:" >&5
40590 sed 's/^/| /' conftest.
$ac_ext >&5
40593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40597 ################################################################
40602 case "$ac_cv_func_which_gethostbyname_r" in
40604 echo "$as_me:$LINENO: result: three" >&5
40605 echo "${ECHO_T}three" >&6
40606 cat >>confdefs.h
<<\_ACEOF
40607 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40613 echo "$as_me:$LINENO: result: five" >&5
40614 echo "${ECHO_T}five" >&6
40615 cat >>confdefs.h
<<\_ACEOF
40616 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40622 echo "$as_me:$LINENO: result: six" >&5
40623 echo "${ECHO_T}six" >&6
40624 cat >>confdefs.h
<<\_ACEOF
40625 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40631 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40632 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40636 echo "$as_me:$LINENO: result: can't tell" >&5
40637 echo "${ECHO_T}can't tell" >&6
40641 { { echo "$as_me:$LINENO: error: internal error" >&5
40642 echo "$as_me: error: internal error" >&2;}
40643 { (exit 1); exit 1; }; }
40648 ac_cpp
='$CXXCPP $CPPFLAGS'
40649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40655 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40656 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40657 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40658 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40659 if test "${ac_cv_func_gethostbyname+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40662 cat >conftest.
$ac_ext <<_ACEOF
40665 cat confdefs.h
>>conftest.
$ac_ext
40666 cat >>conftest.
$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40668 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40670 #define gethostbyname innocuous_gethostbyname
40672 /* System header to define __stub macros and hopefully few prototypes,
40673 which can conflict with char gethostbyname (); below.
40674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40675 <limits.h> exists even on freestanding compilers. */
40678 # include <limits.h>
40680 # include <assert.h>
40683 #undef gethostbyname
40685 /* Override any gcc2 internal prototype to avoid an error. */
40690 /* We use char because int might match the return type of a gcc2
40691 builtin and then its argument prototype would still apply. */
40692 char gethostbyname ();
40693 /* The GNU C library defines this for functions which it implements
40694 to always fail with ENOSYS. Some functions are actually named
40695 something starting with __ and the normal name is an alias. */
40696 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40699 char (*f) () = gethostbyname;
40708 return f != gethostbyname;
40713 rm -f conftest.
$ac_objext conftest
$ac_exeext
40714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40715 (eval $ac_link) 2>conftest.er1
40717 grep -v '^ *+' conftest.er1
>conftest.err
40719 cat conftest.err
>&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); } &&
40722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40724 (eval $ac_try) 2>&5
40726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40727 (exit $ac_status); }; } &&
40728 { ac_try
='test -s conftest$ac_exeext'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; }; then
40734 ac_cv_func_gethostbyname
=yes
40736 echo "$as_me: failed program was:" >&5
40737 sed 's/^/| /' conftest.
$ac_ext >&5
40739 ac_cv_func_gethostbyname
=no
40741 rm -f conftest.err conftest.
$ac_objext \
40742 conftest
$ac_exeext conftest.
$ac_ext
40744 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40745 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40746 if test $ac_cv_func_gethostbyname = yes; then
40747 cat >>confdefs.h
<<\_ACEOF
40748 #define HAVE_GETHOSTBYNAME 1
40754 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40755 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40756 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40760 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40761 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40762 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40765 cat >conftest.
$ac_ext <<_ACEOF
40768 cat confdefs.h
>>conftest.
$ac_ext
40769 cat >>conftest.
$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40773 #define getservbyname_r innocuous_getservbyname_r
40775 /* System header to define __stub macros and hopefully few prototypes,
40776 which can conflict with char getservbyname_r (); below.
40777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40778 <limits.h> exists even on freestanding compilers. */
40781 # include <limits.h>
40783 # include <assert.h>
40786 #undef getservbyname_r
40788 /* Override any gcc2 internal prototype to avoid an error. */
40793 /* We use char because int might match the return type of a gcc2
40794 builtin and then its argument prototype would still apply. */
40795 char getservbyname_r ();
40796 /* The GNU C library defines this for functions which it implements
40797 to always fail with ENOSYS. Some functions are actually named
40798 something starting with __ and the normal name is an alias. */
40799 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40802 char (*f) () = getservbyname_r;
40811 return f != getservbyname_r;
40816 rm -f conftest.
$ac_objext conftest
$ac_exeext
40817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40818 (eval $ac_link) 2>conftest.er1
40820 grep -v '^ *+' conftest.er1
>conftest.err
40822 cat conftest.err
>&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } &&
40825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; } &&
40831 { ac_try
='test -s conftest$ac_exeext'
40832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40833 (eval $ac_try) 2>&5
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); }; }; then
40837 ac_cv_func_getservbyname_r
=yes
40839 echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.
$ac_ext >&5
40842 ac_cv_func_getservbyname_r
=no
40844 rm -f conftest.err conftest.
$ac_objext \
40845 conftest
$ac_exeext conftest.
$ac_ext
40847 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40848 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40849 if test $ac_cv_func_getservbyname_r = yes; then
40851 cat >conftest.
$ac_ext <<_ACEOF
40854 cat confdefs.h
>>conftest.
$ac_ext
40855 cat >>conftest.
$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40858 # include <netdb.h>
40867 struct servent *se;
40868 struct servent_data data;
40869 (void) getservbyname_r(name, proto, se, &data);
40876 rm -f conftest.
$ac_objext
40877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40878 (eval $ac_compile) 2>conftest.er1
40880 grep -v '^ *+' conftest.er1
>conftest.err
40882 cat conftest.err
>&5
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); } &&
40885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try
='test -s conftest.$ac_objext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 ac_cv_func_which_getservbyname_r
=four
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.
$ac_ext >&5
40903 cat >conftest.
$ac_ext <<_ACEOF
40906 cat confdefs.h
>>conftest.
$ac_ext
40907 cat >>conftest.
$ac_ext <<_ACEOF
40908 /* end confdefs.h. */
40910 # include <netdb.h>
40918 struct servent *se, *res;
40921 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40927 rm -f conftest.
$ac_objext
40928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40929 (eval $ac_compile) 2>conftest.er1
40931 grep -v '^ *+' conftest.er1
>conftest.err
40933 cat conftest.err
>&5
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); } &&
40936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try
='test -s conftest.$ac_objext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 ac_cv_func_which_getservbyname_r
=six
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.
$ac_ext >&5
40954 cat >conftest.
$ac_ext <<_ACEOF
40957 cat confdefs.h
>>conftest.
$ac_ext
40958 cat >>conftest.
$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40961 # include <netdb.h>
40969 struct servent *se;
40972 (void) getservbyname_r(name, proto, se, buffer, buflen)
40978 rm -f conftest.
$ac_objext
40979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40980 (eval $ac_compile) 2>conftest.er1
40982 grep -v '^ *+' conftest.er1
>conftest.err
40984 cat conftest.err
>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); } &&
40987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; } &&
40993 { ac_try
='test -s conftest.$ac_objext'
40994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40995 (eval $ac_try) 2>&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); }; }; then
40999 ac_cv_func_which_getservbyname_r
=five
41001 echo "$as_me: failed program was:" >&5
41002 sed 's/^/| /' conftest.
$ac_ext >&5
41004 ac_cv_func_which_getservbyname_r
=no
41006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41019 ac_cv_func_which_getservbyname_r
=no
41023 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41024 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41026 if test $ac_cv_func_which_getservbyname_r = six
; then
41027 cat >>confdefs.h
<<\_ACEOF
41028 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41031 elif test $ac_cv_func_which_getservbyname_r = five
; then
41032 cat >>confdefs.h
<<\_ACEOF
41033 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41036 elif test $ac_cv_func_which_getservbyname_r = four
; then
41037 cat >>confdefs.h
<<\_ACEOF
41038 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41045 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41046 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41048 for ac_func
in getservbyname
41050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41051 echo "$as_me:$LINENO: checking for $ac_func" >&5
41052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41053 if eval "test \"\${$as_ac_var+set}\" = set"; then
41054 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 cat >conftest.
$ac_ext <<_ACEOF
41059 cat confdefs.h
>>conftest.
$ac_ext
41060 cat >>conftest.
$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41064 #define $ac_func innocuous_$ac_func
41066 /* System header to define __stub macros and hopefully few prototypes,
41067 which can conflict with char $ac_func (); below.
41068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41069 <limits.h> exists even on freestanding compilers. */
41072 # include <limits.h>
41074 # include <assert.h>
41079 /* Override any gcc2 internal prototype to avoid an error. */
41084 /* We use char because int might match the return type of a gcc2
41085 builtin and then its argument prototype would still apply. */
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41093 char (*f) () = $ac_func;
41102 return f != $ac_func;
41107 rm -f conftest.
$ac_objext conftest
$ac_exeext
41108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41109 (eval $ac_link) 2>conftest.er1
41111 grep -v '^ *+' conftest.er1
>conftest.err
41113 cat conftest.err
>&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } &&
41116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41118 (eval $ac_try) 2>&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); }; } &&
41122 { ac_try
='test -s conftest$ac_exeext'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; }; then
41128 eval "$as_ac_var=yes"
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.
$ac_ext >&5
41133 eval "$as_ac_var=no"
41135 rm -f conftest.err conftest.
$ac_objext \
41136 conftest
$ac_exeext conftest.
$ac_ext
41138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41140 if test `eval echo '${'$as_ac_var'}'` = yes; then
41141 cat >>confdefs.h
<<_ACEOF
41142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41144 cat >>confdefs.h
<<\_ACEOF
41145 #define HAVE_GETSERVBYNAME 1
41153 if test "$wxUSE_THREADS" = "yes"; then
41154 cat >>confdefs.h
<<\_ACEOF
41155 #define wxUSE_THREADS 1
41159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41161 if test "$wx_cv_func_strtok_r" = "yes"; then
41162 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41163 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41164 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41165 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41166 echo "$as_me:$LINENO: result: yes" >&5
41167 echo "${ECHO_T}yes" >&6
41169 echo "$as_me:$LINENO: result: no" >&5
41170 echo "${ECHO_T}no" >&6
41175 if test "$WXGTK20" = 1 ; then
41176 cat >>confdefs.h
<<_ACEOF
41177 #define __WXGTK20__ $WXGTK20
41183 if test "$WXGTK12" = 1 ; then
41184 cat >>confdefs.h
<<_ACEOF
41185 #define __WXGTK12__ $WXGTK12
41190 if test "$WXGTK127" = 1 ; then
41191 cat >>confdefs.h
<<_ACEOF
41192 #define __WXGTK127__ $WXGTK127
41197 if test "$WXGPE" = 1 ; then
41198 cat >>confdefs.h
<<_ACEOF
41199 #define __WXGPE__ $WXGPE
41205 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41210 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41211 wxUSE_DEBUG_INFO
=yes
41212 if test "$GCC" = yes; then
41213 DEBUG_CFLAGS
="-ggdb"
41217 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41218 cat >>confdefs.h
<<\_ACEOF
41222 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41224 if test "$wxUSE_GTK" = 1 ; then
41225 if test "x$wxGTK_VERSION" = "x1" ; then
41226 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41231 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41232 cat >>confdefs.h
<<\_ACEOF
41233 #define wxUSE_MEMORY_TRACING 1
41236 cat >>confdefs.h
<<\_ACEOF
41237 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41240 cat >>confdefs.h
<<\_ACEOF
41241 #define wxUSE_DEBUG_NEW_ALWAYS 1
41244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41247 if test "$wxUSE_DMALLOC" = "yes" ; then
41248 DMALLOC_LIBS
="-ldmallocthcxx"
41252 if test "$wxUSE_PROFILE" = "yes" ; then
41253 PROFILE_FLAGS
=" -pg"
41256 if test "$GCC" = "yes" ; then
41257 if test "$wxUSE_NO_RTTI" = "yes" ; then
41258 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41260 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41261 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41263 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41264 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41269 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41272 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41278 if test "$wxUSE_OPTIMISE" = "no" ; then
41279 if test "$GCC" = yes ; then
41280 OPTIMISE_CFLAGS
="-O0"
41283 if test "$GCC" = yes ; then
41285 *-pc-os2_emx | *-pc-os2-emx )
41286 OPTIMISE_CFLAGS
="-O2"
41289 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41293 OPTIMISE_CFLAGS
="-O"
41298 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41299 cat >>confdefs.h
<<\_ACEOF
41300 #define WXWIN_COMPATIBILITY_2_4 1
41304 WXWIN_COMPATIBILITY_2_6
="yes"
41307 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41308 cat >>confdefs.h
<<\_ACEOF
41309 #define WXWIN_COMPATIBILITY_2_6 1
41315 if test "$wxUSE_GUI" = "yes"; then
41316 cat >>confdefs.h
<<\_ACEOF
41317 #define wxUSE_GUI 1
41324 if test "$wxUSE_UNIX" = "yes"; then
41325 cat >>confdefs.h
<<\_ACEOF
41326 #define wxUSE_UNIX 1
41332 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41336 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41337 if test "$USE_DARWIN" = 1; then
41339 elif test "$USE_DOS" = 1; then
41343 for ac_func
in dlopen
41345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41346 echo "$as_me:$LINENO: checking for $ac_func" >&5
41347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41348 if eval "test \"\${$as_ac_var+set}\" = set"; then
41349 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 cat >conftest.
$ac_ext <<_ACEOF
41354 cat confdefs.h
>>conftest.
$ac_ext
41355 cat >>conftest.
$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41359 #define $ac_func innocuous_$ac_func
41361 /* System header to define __stub macros and hopefully few prototypes,
41362 which can conflict with char $ac_func (); below.
41363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41364 <limits.h> exists even on freestanding compilers. */
41367 # include <limits.h>
41369 # include <assert.h>
41374 /* Override any gcc2 internal prototype to avoid an error. */
41379 /* We use char because int might match the return type of a gcc2
41380 builtin and then its argument prototype would still apply. */
41382 /* The GNU C library defines this for functions which it implements
41383 to always fail with ENOSYS. Some functions are actually named
41384 something starting with __ and the normal name is an alias. */
41385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41388 char (*f) () = $ac_func;
41397 return f != $ac_func;
41402 rm -f conftest.
$ac_objext conftest
$ac_exeext
41403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41404 (eval $ac_link) 2>conftest.er1
41406 grep -v '^ *+' conftest.er1
>conftest.err
41408 cat conftest.err
>&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } &&
41411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41413 (eval $ac_try) 2>&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); }; } &&
41417 { ac_try
='test -s conftest$ac_exeext'
41418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41419 (eval $ac_try) 2>&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); }; }; then
41423 eval "$as_ac_var=yes"
41425 echo "$as_me: failed program was:" >&5
41426 sed 's/^/| /' conftest.
$ac_ext >&5
41428 eval "$as_ac_var=no"
41430 rm -f conftest.err conftest.
$ac_objext \
41431 conftest
$ac_exeext conftest.
$ac_ext
41433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41435 if test `eval echo '${'$as_ac_var'}'` = yes; then
41436 cat >>confdefs.h
<<_ACEOF
41437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41440 cat >>confdefs.h
<<\_ACEOF
41441 #define HAVE_DLOPEN 1
41448 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41449 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41450 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41453 ac_check_lib_save_LIBS
=$LIBS
41455 cat >conftest.
$ac_ext <<_ACEOF
41458 cat confdefs.h
>>conftest.
$ac_ext
41459 cat >>conftest.
$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41462 /* Override any gcc2 internal prototype to avoid an error. */
41466 /* We use char because int might match the return type of a gcc2
41467 builtin and then its argument prototype would still apply. */
41477 rm -f conftest.
$ac_objext conftest
$ac_exeext
41478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41479 (eval $ac_link) 2>conftest.er1
41481 grep -v '^ *+' conftest.er1
>conftest.err
41483 cat conftest.err
>&5
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); } &&
41486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41488 (eval $ac_try) 2>&5
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); }; } &&
41492 { ac_try
='test -s conftest$ac_exeext'
41493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41494 (eval $ac_try) 2>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); }; }; then
41498 ac_cv_lib_dl_dlopen
=yes
41500 echo "$as_me: failed program was:" >&5
41501 sed 's/^/| /' conftest.
$ac_ext >&5
41503 ac_cv_lib_dl_dlopen
=no
41505 rm -f conftest.err conftest.
$ac_objext \
41506 conftest
$ac_exeext conftest.
$ac_ext
41507 LIBS
=$ac_check_lib_save_LIBS
41509 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41510 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41511 if test $ac_cv_lib_dl_dlopen = yes; then
41513 cat >>confdefs.h
<<\_ACEOF
41514 #define HAVE_DLOPEN 1
41518 DL_LINK
=" -ldl$DL_LINK"
41523 for ac_func
in shl_load
41525 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41526 echo "$as_me:$LINENO: checking for $ac_func" >&5
41527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41528 if eval "test \"\${$as_ac_var+set}\" = set"; then
41529 echo $ECHO_N "(cached) $ECHO_C" >&6
41531 cat >conftest.
$ac_ext <<_ACEOF
41534 cat confdefs.h
>>conftest.
$ac_ext
41535 cat >>conftest.
$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41539 #define $ac_func innocuous_$ac_func
41541 /* System header to define __stub macros and hopefully few prototypes,
41542 which can conflict with char $ac_func (); below.
41543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41544 <limits.h> exists even on freestanding compilers. */
41547 # include <limits.h>
41549 # include <assert.h>
41554 /* Override any gcc2 internal prototype to avoid an error. */
41559 /* We use char because int might match the return type of a gcc2
41560 builtin and then its argument prototype would still apply. */
41562 /* The GNU C library defines this for functions which it implements
41563 to always fail with ENOSYS. Some functions are actually named
41564 something starting with __ and the normal name is an alias. */
41565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41568 char (*f) () = $ac_func;
41577 return f != $ac_func;
41582 rm -f conftest.
$ac_objext conftest
$ac_exeext
41583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41584 (eval $ac_link) 2>conftest.er1
41586 grep -v '^ *+' conftest.er1
>conftest.err
41588 cat conftest.err
>&5
41589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41590 (exit $ac_status); } &&
41591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41593 (eval $ac_try) 2>&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); }; } &&
41597 { ac_try
='test -s conftest$ac_exeext'
41598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41599 (eval $ac_try) 2>&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); }; }; then
41603 eval "$as_ac_var=yes"
41605 echo "$as_me: failed program was:" >&5
41606 sed 's/^/| /' conftest.
$ac_ext >&5
41608 eval "$as_ac_var=no"
41610 rm -f conftest.err conftest.
$ac_objext \
41611 conftest
$ac_exeext conftest.
$ac_ext
41613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41615 if test `eval echo '${'$as_ac_var'}'` = yes; then
41616 cat >>confdefs.h
<<_ACEOF
41617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41620 cat >>confdefs.h
<<\_ACEOF
41621 #define HAVE_SHL_LOAD 1
41628 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41629 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41630 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41631 echo $ECHO_N "(cached) $ECHO_C" >&6
41633 ac_check_lib_save_LIBS
=$LIBS
41634 LIBS
="-lshl_load $LIBS"
41635 cat >conftest.
$ac_ext <<_ACEOF
41638 cat confdefs.h
>>conftest.
$ac_ext
41639 cat >>conftest.
$ac_ext <<_ACEOF
41640 /* end confdefs.h. */
41642 /* Override any gcc2 internal prototype to avoid an error. */
41646 /* We use char because int might match the return type of a gcc2
41647 builtin and then its argument prototype would still apply. */
41657 rm -f conftest.
$ac_objext conftest
$ac_exeext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41659 (eval $ac_link) 2>conftest.er1
41661 grep -v '^ *+' conftest.er1
>conftest.err
41663 cat conftest.err
>&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; } &&
41672 { ac_try
='test -s conftest$ac_exeext'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }; then
41678 ac_cv_lib_shl_load_dld
=yes
41680 echo "$as_me: failed program was:" >&5
41681 sed 's/^/| /' conftest.
$ac_ext >&5
41683 ac_cv_lib_shl_load_dld
=no
41685 rm -f conftest.err conftest.
$ac_objext \
41686 conftest
$ac_exeext conftest.
$ac_ext
41687 LIBS
=$ac_check_lib_save_LIBS
41689 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41690 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41691 if test $ac_cv_lib_shl_load_dld = yes; then
41694 DL_LINK
=" -ldld$DL_LINK"
41710 if test "$HAVE_DL_FUNCS" = 1; then
41712 for ac_func
in dlerror
41714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41717 if eval "test \"\${$as_ac_var+set}\" = set"; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 cat >conftest.
$ac_ext <<_ACEOF
41723 cat confdefs.h
>>conftest.
$ac_ext
41724 cat >>conftest.
$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41728 #define $ac_func innocuous_$ac_func
41730 /* System header to define __stub macros and hopefully few prototypes,
41731 which can conflict with char $ac_func (); below.
41732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733 <limits.h> exists even on freestanding compilers. */
41736 # include <limits.h>
41738 # include <assert.h>
41743 /* Override any gcc2 internal prototype to avoid an error. */
41748 /* We use char because int might match the return type of a gcc2
41749 builtin and then its argument prototype would still apply. */
41751 /* The GNU C library defines this for functions which it implements
41752 to always fail with ENOSYS. Some functions are actually named
41753 something starting with __ and the normal name is an alias. */
41754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41757 char (*f) () = $ac_func;
41766 return f != $ac_func;
41771 rm -f conftest.
$ac_objext conftest
$ac_exeext
41772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41773 (eval $ac_link) 2>conftest.er1
41775 grep -v '^ *+' conftest.er1
>conftest.err
41777 cat conftest.err
>&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } &&
41780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; } &&
41786 { ac_try
='test -s conftest$ac_exeext'
41787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41788 (eval $ac_try) 2>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; }; then
41792 eval "$as_ac_var=yes"
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.
$ac_ext >&5
41797 eval "$as_ac_var=no"
41799 rm -f conftest.err conftest.
$ac_objext \
41800 conftest
$ac_exeext conftest.
$ac_ext
41802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41804 if test `eval echo '${'$as_ac_var'}'` = yes; then
41805 cat >>confdefs.h
<<_ACEOF
41806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41808 cat >>confdefs.h
<<\_ACEOF
41809 #define HAVE_DLERROR 1
41814 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41815 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41816 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41817 echo $ECHO_N "(cached) $ECHO_C" >&6
41819 ac_check_lib_save_LIBS
=$LIBS
41821 cat >conftest.
$ac_ext <<_ACEOF
41824 cat confdefs.h
>>conftest.
$ac_ext
41825 cat >>conftest.
$ac_ext <<_ACEOF
41826 /* end confdefs.h. */
41828 /* Override any gcc2 internal prototype to avoid an error. */
41832 /* We use char because int might match the return type of a gcc2
41833 builtin and then its argument prototype would still apply. */
41843 rm -f conftest.
$ac_objext conftest
$ac_exeext
41844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41845 (eval $ac_link) 2>conftest.er1
41847 grep -v '^ *+' conftest.er1
>conftest.err
41849 cat conftest.err
>&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } &&
41852 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41854 (eval $ac_try) 2>&5
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); }; } &&
41858 { ac_try
='test -s conftest$ac_exeext'
41859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41860 (eval $ac_try) 2>&5
41862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41863 (exit $ac_status); }; }; then
41864 ac_cv_lib_dl_dlerror
=yes
41866 echo "$as_me: failed program was:" >&5
41867 sed 's/^/| /' conftest.
$ac_ext >&5
41869 ac_cv_lib_dl_dlerror
=no
41871 rm -f conftest.err conftest.
$ac_objext \
41872 conftest
$ac_exeext conftest.
$ac_ext
41873 LIBS
=$ac_check_lib_save_LIBS
41875 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41876 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41877 if test $ac_cv_lib_dl_dlerror = yes; then
41878 cat >>confdefs.h
<<\_ACEOF
41879 #define HAVE_DLERROR 1
41892 if test "$HAVE_DL_FUNCS" = 0; then
41893 if test "$HAVE_SHL_FUNCS" = 0; then
41894 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41895 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41896 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41897 wxUSE_DYNAMIC_LOADER
=no
41898 wxUSE_DYNLIB_CLASS
=no
41900 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41901 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41908 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41909 cat >>confdefs.h
<<\_ACEOF
41910 #define wxUSE_DYNAMIC_LOADER 1
41914 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41915 cat >>confdefs.h
<<\_ACEOF
41916 #define wxUSE_DYNLIB_CLASS 1
41923 if test "$wxUSE_PLUGINS" = "yes" ; then
41924 if test "$wxUSE_SHARED" = "no" ; then
41925 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41926 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41929 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41930 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41931 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41934 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41935 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41936 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41939 if test "$wxUSE_PLUGINS" = "yes" ; then
41940 cat >>confdefs.h
<<\_ACEOF
41941 #define wxUSE_PLUGINS 1
41948 if test "$wxUSE_STL" = "yes"; then
41949 cat >>confdefs.h
<<\_ACEOF
41950 #define wxUSE_STL 1
41955 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41956 cat >>confdefs.h
<<\_ACEOF
41957 #define wxUSE_APPLE_IEEE 1
41962 if test "$wxUSE_TIMER" = "yes"; then
41963 cat >>confdefs.h
<<\_ACEOF
41964 #define wxUSE_TIMER 1
41969 if test "$USE_UNIX" = "1" ; then
41970 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41971 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41972 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41976 cat >conftest.
$ac_ext <<_ACEOF
41979 cat confdefs.h
>>conftest.
$ac_ext
41980 cat >>conftest.
$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41983 #include <sys/ioctl.h>
41984 #include <sys/soundcard.h>
41990 ioctl(0, SNDCTL_DSP_SPEED, 0);
41996 rm -f conftest.
$ac_objext conftest
$ac_exeext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41998 (eval $ac_link) 2>conftest.er1
42000 grep -v '^ *+' conftest.er1
>conftest.err
42002 cat conftest.err
>&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try
='test -s conftest$ac_exeext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42017 ac_cv_header_sys_soundcard
=yes
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.
$ac_ext >&5
42024 LIBS
="$saveLibs -lossaudio"
42025 cat >conftest.
$ac_ext <<_ACEOF
42028 cat confdefs.h
>>conftest.
$ac_ext
42029 cat >>conftest.
$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42032 #include <sys/ioctl.h>
42033 #include <sys/soundcard.h>
42039 ioctl(0, SNDCTL_DSP_SPEED, 0);
42045 rm -f conftest.
$ac_objext conftest
$ac_exeext
42046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42047 (eval $ac_link) 2>conftest.er1
42049 grep -v '^ *+' conftest.er1
>conftest.err
42051 cat conftest.err
>&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } &&
42054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42056 (eval $ac_try) 2>&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); }; } &&
42060 { ac_try
='test -s conftest$ac_exeext'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; }; then
42066 ac_cv_header_sys_soundcard
=yes
42068 echo "$as_me: failed program was:" >&5
42069 sed 's/^/| /' conftest.
$ac_ext >&5
42073 ac_cv_header_sys_soundcard
=no
42077 rm -f conftest.err conftest.
$ac_objext \
42078 conftest
$ac_exeext conftest.
$ac_ext
42082 rm -f conftest.err conftest.
$ac_objext \
42083 conftest
$ac_exeext conftest.
$ac_ext
42086 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42087 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42089 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42090 cat >>confdefs.h
<<\_ACEOF
42091 #define HAVE_SYS_SOUNDCARD_H 1
42095 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42099 if test "$wxUSE_SOUND" = "yes"; then
42100 if test "$USE_UNIX" = "1" ; then
42101 if test "$wxUSE_LIBSDL" != "no"; then
42103 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42104 if test "${with_sdl_prefix+set}" = set; then
42105 withval
="$with_sdl_prefix"
42106 sdl_prefix
="$withval"
42111 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42112 if test "${with_sdl_exec_prefix+set}" = set; then
42113 withval
="$with_sdl_exec_prefix"
42114 sdl_exec_prefix
="$withval"
42118 # Check whether --enable-sdltest or --disable-sdltest was given.
42119 if test "${enable_sdltest+set}" = set; then
42120 enableval
="$enable_sdltest"
42126 if test x
$sdl_exec_prefix != x
; then
42127 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42128 if test x
${SDL_CONFIG+set} != xset
; then
42129 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42132 if test x
$sdl_prefix != x
; then
42133 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42134 if test x
${SDL_CONFIG+set} != xset
; then
42135 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42139 if test "x$prefix" != xNONE
; then
42140 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42142 # Extract the first word of "sdl-config", so it can be a program name with args.
42143 set dummy sdl
-config; ac_word
=$2
42144 echo "$as_me:$LINENO: checking for $ac_word" >&5
42145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42146 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42149 case $SDL_CONFIG in
42151 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42155 for as_dir
in $PATH
42158 test -z "$as_dir" && as_dir
=.
42159 for ac_exec_ext
in '' $ac_executable_extensions; do
42160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42161 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42168 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42172 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42174 if test -n "$SDL_CONFIG"; then
42175 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42176 echo "${ECHO_T}$SDL_CONFIG" >&6
42178 echo "$as_me:$LINENO: result: no" >&5
42179 echo "${ECHO_T}no" >&6
42182 min_sdl_version
=1.2.0
42183 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42184 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42186 if test "$SDL_CONFIG" = "no" ; then
42189 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42190 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42192 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42194 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42196 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42198 if test "x$enable_sdltest" = "xyes" ; then
42199 ac_save_CFLAGS
="$CFLAGS"
42200 ac_save_CXXFLAGS
="$CXXFLAGS"
42201 ac_save_LIBS
="$LIBS"
42202 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42203 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42204 LIBS
="$LIBS $SDL_LIBS"
42206 if test "$cross_compiling" = yes; then
42207 echo $ac_n "cross compiling; assumed OK... $ac_c"
42209 cat >conftest.
$ac_ext <<_ACEOF
42212 cat confdefs.h
>>conftest.
$ac_ext
42213 cat >>conftest.
$ac_ext <<_ACEOF
42214 /* end confdefs.h. */
42217 #include <stdlib.h>
42218 #include <string.h>
42222 my_strdup (char *str)
42228 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42229 strcpy (new_str, str);
42237 int main (int argc, char *argv[])
42239 int major, minor, micro;
42242 /* This hangs on some systems (?)
42243 system ("touch conf.sdltest");
42245 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42247 /* HP/UX 9 (%@#!) writes to sscanf strings */
42248 tmp_version = my_strdup("$min_sdl_version");
42249 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42250 printf("%s, bad version string\n", "$min_sdl_version");
42254 if (($sdl_major_version > major) ||
42255 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42256 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42262 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42263 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42264 printf("*** best to upgrade to the required version.\n");
42265 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42266 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42267 printf("*** config.cache before re-running configure\n");
42274 rm -f conftest
$ac_exeext
42275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42276 (eval $ac_link) 2>&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; }; then
42287 echo "$as_me: program exited with status $ac_status" >&5
42288 echo "$as_me: failed program was:" >&5
42289 sed 's/^/| /' conftest.
$ac_ext >&5
42291 ( exit $ac_status )
42294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42296 CFLAGS
="$ac_save_CFLAGS"
42297 CXXFLAGS
="$ac_save_CXXFLAGS"
42298 LIBS
="$ac_save_LIBS"
42301 if test "x$no_sdl" = x
; then
42302 echo "$as_me:$LINENO: result: yes" >&5
42303 echo "${ECHO_T}yes" >&6
42305 EXTRALIBS_SDL
="$SDL_LIBS"
42306 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42307 cat >>confdefs.h
<<\_ACEOF
42308 #define wxUSE_LIBSDL 1
42313 echo "$as_me:$LINENO: result: no" >&5
42314 echo "${ECHO_T}no" >&6
42315 if test "$SDL_CONFIG" = "no" ; then
42316 echo "*** The sdl-config script installed by SDL could not be found"
42317 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42318 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42319 echo "*** full path to sdl-config."
42321 if test -f conf.sdltest
; then
42324 echo "*** Could not run SDL test program, checking why..."
42325 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42326 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42327 LIBS
="$LIBS $SDL_LIBS"
42328 cat >conftest.
$ac_ext <<_ACEOF
42331 cat confdefs.h
>>conftest.
$ac_ext
42332 cat >>conftest.
$ac_ext <<_ACEOF
42333 /* end confdefs.h. */
42338 int main(int argc, char *argv[])
42341 #define main K_and_R_C_main
42351 rm -f conftest.
$ac_objext conftest
$ac_exeext
42352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42353 (eval $ac_link) 2>conftest.er1
42355 grep -v '^ *+' conftest.er1
>conftest.err
42357 cat conftest.err
>&5
42358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42359 (exit $ac_status); } &&
42360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42362 (eval $ac_try) 2>&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); }; } &&
42366 { ac_try
='test -s conftest$ac_exeext'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; }; then
42372 echo "*** The test program compiled, but did not run. This usually means"
42373 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42374 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42375 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42376 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42377 echo "*** is required on your system"
42379 echo "*** If you have an old version installed, it is best to remove it, although"
42380 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42382 echo "$as_me: failed program was:" >&5
42383 sed 's/^/| /' conftest.
$ac_ext >&5
42385 echo "*** The test program failed to compile or link. See the file config.log for the"
42386 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42387 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42388 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42390 rm -f conftest.err conftest.
$ac_objext \
42391 conftest
$ac_exeext conftest.
$ac_ext
42392 CFLAGS
="$ac_save_CFLAGS"
42393 CXXFLAGS
="$ac_save_CXXFLAGS"
42394 LIBS
="$ac_save_LIBS"
42405 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42411 cat >>confdefs.h
<<\_ACEOF
42412 #define wxUSE_SOUND 1
42415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42418 if test "$WXGTK20" = 1; then
42419 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42420 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42424 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42425 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42427 if test -n "$PKG_CONFIG"; then
42428 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42429 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42431 if test -n "$PKG_CONFIG" && \
42432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42433 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); }; then
42437 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42445 if test -n "$PKG_CONFIG"; then
42446 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42447 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42449 if test -n "$PKG_CONFIG" && \
42450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42451 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; then
42455 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42466 if test $pkg_failed = yes; then
42468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42469 _pkg_short_errors_supported
=yes
42471 _pkg_short_errors_supported
=no
42473 if test $_pkg_short_errors_supported = yes; then
42474 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42476 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42478 # Put the nasty error message in config.log where it belongs
42479 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42482 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42483 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42484 wxUSE_LIBGNOMEPRINT
="no"
42487 elif test $pkg_failed = untried
; then
42489 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42490 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42491 wxUSE_LIBGNOMEPRINT
="no"
42495 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42496 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42497 echo "$as_me:$LINENO: result: yes" >&5
42498 echo "${ECHO_T}yes" >&6
42500 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42501 cat >>confdefs.h
<<\_ACEOF
42502 #define wxUSE_LIBGNOMEPRINT 1
42511 if test "$WXGTK20" = 1; then
42512 if test "$wxUSE_MIMETYPE" = "yes" ; then
42513 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42517 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42518 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42520 if test -n "$PKG_CONFIG"; then
42521 if test -n "$GNOMEVFS_CFLAGS"; then
42522 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42524 if test -n "$PKG_CONFIG" && \
42525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42526 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); }; then
42530 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42538 if test -n "$PKG_CONFIG"; then
42539 if test -n "$GNOMEVFS_LIBS"; then
42540 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42542 if test -n "$PKG_CONFIG" && \
42543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42544 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); }; then
42548 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42559 if test $pkg_failed = yes; then
42561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42562 _pkg_short_errors_supported
=yes
42564 _pkg_short_errors_supported
=no
42566 if test $_pkg_short_errors_supported = yes; then
42567 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42569 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42571 # Put the nasty error message in config.log where it belongs
42572 echo "$GNOMEVFS_PKG_ERRORS" >&5
42575 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42576 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42577 wxUSE_LIBGNOMEVFS
="no"
42580 elif test $pkg_failed = untried
; then
42582 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42583 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42584 wxUSE_LIBGNOMEVFS
="no"
42588 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42589 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42590 echo "$as_me:$LINENO: result: yes" >&5
42591 echo "${ECHO_T}yes" >&6
42593 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42594 cat >>confdefs.h
<<\_ACEOF
42595 #define wxUSE_LIBGNOMEVFS 1
42604 if test "$WXGTK20" = 1; then
42605 if test "$wxUSE_LIBHILDON" = "yes" ; then
42608 echo "$as_me:$LINENO: checking for HILDON" >&5
42609 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42611 if test -n "$PKG_CONFIG"; then
42612 if test -n "$HILDON_CFLAGS"; then
42613 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42615 if test -n "$PKG_CONFIG" && \
42616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42617 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; then
42621 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42629 if test -n "$PKG_CONFIG"; then
42630 if test -n "$HILDON_LIBS"; then
42631 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42633 if test -n "$PKG_CONFIG" && \
42634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42635 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; then
42639 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42650 if test $pkg_failed = yes; then
42652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42653 _pkg_short_errors_supported
=yes
42655 _pkg_short_errors_supported
=no
42657 if test $_pkg_short_errors_supported = yes; then
42658 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42660 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42662 # Put the nasty error message in config.log where it belongs
42663 echo "$HILDON_PKG_ERRORS" >&5
42666 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42667 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42668 wxUSE_LIBHILDON
="no"
42671 elif test $pkg_failed = untried
; then
42673 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42674 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42675 wxUSE_LIBHILDON
="no"
42679 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42680 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42681 echo "$as_me:$LINENO: result: yes" >&5
42682 echo "${ECHO_T}yes" >&6
42684 EXTRALIBS_HILDON
="$HILDON_LIBS"
42685 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42686 cat >>confdefs.h
<<\_ACEOF
42687 #define wxUSE_LIBHILDON 1
42695 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42696 cat >>confdefs.h
<<\_ACEOF
42697 #define wxUSE_CMDLINE_PARSER 1
42702 if test "$wxUSE_STOPWATCH" = "yes"; then
42703 cat >>confdefs.h
<<\_ACEOF
42704 #define wxUSE_STOPWATCH 1
42709 if test "$wxUSE_DATETIME" = "yes"; then
42710 cat >>confdefs.h
<<\_ACEOF
42711 #define wxUSE_DATETIME 1
42716 if test "$wxUSE_FILE" = "yes"; then
42717 cat >>confdefs.h
<<\_ACEOF
42718 #define wxUSE_FILE 1
42723 if test "$wxUSE_FFILE" = "yes"; then
42724 cat >>confdefs.h
<<\_ACEOF
42725 #define wxUSE_FFILE 1
42730 if test "$wxUSE_FILESYSTEM" = "yes"; then
42731 cat >>confdefs.h
<<\_ACEOF
42732 #define wxUSE_FILESYSTEM 1
42737 if test "$wxUSE_FS_ZIP" = "yes"; then
42738 cat >>confdefs.h
<<\_ACEOF
42739 #define wxUSE_FS_ZIP 1
42744 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42745 cat >>confdefs.h
<<\_ACEOF
42746 #define wxUSE_ARCHIVE_STREAMS 1
42751 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42752 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42753 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42754 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42755 elif test "$wxUSE_ZLIB" = "no"; then
42756 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42757 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42759 cat >>confdefs.h
<<\_ACEOF
42760 #define wxUSE_ZIPSTREAM 1
42766 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42767 if test "$USE_UNIX" != 1; then
42768 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42769 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42770 wxUSE_ON_FATAL_EXCEPTION
=no
42772 cat >>confdefs.h
<<\_ACEOF
42773 #define wxUSE_ON_FATAL_EXCEPTION 1
42779 if test "$wxUSE_STACKWALKER" = "yes"; then
42780 cat >>confdefs.h
<<\_ACEOF
42781 #define wxUSE_STACKWALKER 1
42786 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42787 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42788 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42789 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42790 wxUSE_DEBUGREPORT
=no
42792 cat >>confdefs.h
<<\_ACEOF
42793 #define wxUSE_DEBUGREPORT 1
42796 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42802 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42803 cat >>confdefs.h
<<\_ACEOF
42804 #define wxUSE_SNGLINST_CHECKER 1
42809 if test "$wxUSE_BUSYINFO" = "yes"; then
42810 cat >>confdefs.h
<<\_ACEOF
42811 #define wxUSE_BUSYINFO 1
42816 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42817 cat >>confdefs.h
<<\_ACEOF
42818 #define wxUSE_STD_IOSTREAM 1
42823 if test "$wxUSE_STD_STRING" = "yes"; then
42824 cat >>confdefs.h
<<\_ACEOF
42825 #define wxUSE_STD_STRING 1
42830 if test "$wxUSE_STDPATHS" = "yes"; then
42831 cat >>confdefs.h
<<\_ACEOF
42832 #define wxUSE_STDPATHS 1
42837 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42838 cat >>confdefs.h
<<\_ACEOF
42839 #define wxUSE_TEXTBUFFER 1
42844 if test "$wxUSE_TEXTFILE" = "yes"; then
42845 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42846 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42847 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42849 cat >>confdefs.h
<<\_ACEOF
42850 #define wxUSE_TEXTFILE 1
42856 if test "$wxUSE_CONFIG" = "yes" ; then
42857 if test "$wxUSE_TEXTFILE" != "yes"; then
42858 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42859 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42861 cat >>confdefs.h
<<\_ACEOF
42862 #define wxUSE_CONFIG 1
42865 cat >>confdefs.h
<<\_ACEOF
42866 #define wxUSE_CONFIG_NATIVE 1
42869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42873 if test "$wxUSE_INTL" = "yes" ; then
42874 if test "$wxUSE_FILE" != "yes"; then
42875 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42876 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42878 cat >>confdefs.h
<<\_ACEOF
42879 #define wxUSE_INTL 1
42882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42883 GUIDIST
="$GUIDIST INTL_DIST"
42887 if test "$wxUSE_LOG" = "yes"; then
42888 cat >>confdefs.h
<<\_ACEOF
42889 #define wxUSE_LOG 1
42893 if test "$wxUSE_LOGGUI" = "yes"; then
42894 cat >>confdefs.h
<<\_ACEOF
42895 #define wxUSE_LOGGUI 1
42900 if test "$wxUSE_LOGWINDOW" = "yes"; then
42901 cat >>confdefs.h
<<\_ACEOF
42902 #define wxUSE_LOGWINDOW 1
42907 if test "$wxUSE_LOGDIALOG" = "yes"; then
42908 cat >>confdefs.h
<<\_ACEOF
42909 #define wxUSE_LOG_DIALOG 1
42914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42917 if test "$wxUSE_LONGLONG" = "yes"; then
42918 cat >>confdefs.h
<<\_ACEOF
42919 #define wxUSE_LONGLONG 1
42924 if test "$wxUSE_GEOMETRY" = "yes"; then
42925 cat >>confdefs.h
<<\_ACEOF
42926 #define wxUSE_GEOMETRY 1
42931 if test "$wxUSE_STREAMS" = "yes" ; then
42932 cat >>confdefs.h
<<\_ACEOF
42933 #define wxUSE_STREAMS 1
42938 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42939 cat >>confdefs.h
<<\_ACEOF
42940 #define wxUSE_PRINTF_POS_PARAMS 1
42947 if test "$wxUSE_DATETIME" = "yes"; then
42949 for ac_func
in strptime
42951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42952 echo "$as_me:$LINENO: checking for $ac_func" >&5
42953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42954 if eval "test \"\${$as_ac_var+set}\" = set"; then
42955 echo $ECHO_N "(cached) $ECHO_C" >&6
42957 cat >conftest.
$ac_ext <<_ACEOF
42960 cat confdefs.h
>>conftest.
$ac_ext
42961 cat >>conftest.
$ac_ext <<_ACEOF
42962 /* end confdefs.h. */
42963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42965 #define $ac_func innocuous_$ac_func
42967 /* System header to define __stub macros and hopefully few prototypes,
42968 which can conflict with char $ac_func (); below.
42969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42970 <limits.h> exists even on freestanding compilers. */
42973 # include <limits.h>
42975 # include <assert.h>
42980 /* Override any gcc2 internal prototype to avoid an error. */
42985 /* We use char because int might match the return type of a gcc2
42986 builtin and then its argument prototype would still apply. */
42988 /* The GNU C library defines this for functions which it implements
42989 to always fail with ENOSYS. Some functions are actually named
42990 something starting with __ and the normal name is an alias. */
42991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42994 char (*f) () = $ac_func;
43003 return f != $ac_func;
43008 rm -f conftest.
$ac_objext conftest
$ac_exeext
43009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43010 (eval $ac_link) 2>conftest.er1
43012 grep -v '^ *+' conftest.er1
>conftest.err
43014 cat conftest.err
>&5
43015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016 (exit $ac_status); } &&
43017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43019 (eval $ac_try) 2>&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); }; } &&
43023 { ac_try
='test -s conftest$ac_exeext'
43024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43025 (eval $ac_try) 2>&5
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; }; then
43029 eval "$as_ac_var=yes"
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.
$ac_ext >&5
43034 eval "$as_ac_var=no"
43036 rm -f conftest.err conftest.
$ac_objext \
43037 conftest
$ac_exeext conftest.
$ac_ext
43039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43041 if test `eval echo '${'$as_ac_var'}'` = yes; then
43042 cat >>confdefs.h
<<_ACEOF
43043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43049 if test "$ac_cv_func_strptime" = "yes"; then
43050 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43051 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43052 if test "${wx_cv_func_strptime_decl+set}" = set; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43056 cat >conftest.
$ac_ext <<_ACEOF
43059 cat confdefs.h
>>conftest.
$ac_ext
43060 cat >>conftest.
$ac_ext <<_ACEOF
43061 /* end confdefs.h. */
43070 strptime("foo", "bar", &t);
43076 rm -f conftest.
$ac_objext
43077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43078 (eval $ac_compile) 2>conftest.er1
43080 grep -v '^ *+' conftest.er1
>conftest.err
43082 cat conftest.err
>&5
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); } &&
43085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087 (eval $ac_try) 2>&5
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try
='test -s conftest.$ac_objext'
43092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43093 (eval $ac_try) 2>&5
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; }; then
43097 wx_cv_func_strptime_decl
=yes
43099 echo "$as_me: failed program was:" >&5
43100 sed 's/^/| /' conftest.
$ac_ext >&5
43102 wx_cv_func_strptime_decl
=no
43105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43109 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43110 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43112 if test "$wx_cv_func_strptime_decl" = "yes"; then
43113 cat >>confdefs.h
<<\_ACEOF
43114 #define HAVE_STRPTIME_DECL 1
43119 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43120 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43121 if test "${wx_cv_var_timezone+set}" = set; then
43122 echo $ECHO_N "(cached) $ECHO_C" >&6
43125 cat >conftest.
$ac_ext <<_ACEOF
43128 cat confdefs.h
>>conftest.
$ac_ext
43129 cat >>conftest.
$ac_ext <<_ACEOF
43130 /* end confdefs.h. */
43145 rm -f conftest.
$ac_objext
43146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43147 (eval $ac_compile) 2>conftest.er1
43149 grep -v '^ *+' conftest.er1
>conftest.err
43151 cat conftest.err
>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); } &&
43154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43156 (eval $ac_try) 2>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; } &&
43160 { ac_try
='test -s conftest.$ac_objext'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; }; then
43167 wx_cv_var_timezone
=timezone
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.
$ac_ext >&5
43174 cat >conftest.
$ac_ext <<_ACEOF
43177 cat confdefs.h
>>conftest.
$ac_ext
43178 cat >>conftest.
$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43194 rm -f conftest.
$ac_objext
43195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43196 (eval $ac_compile) 2>conftest.er1
43198 grep -v '^ *+' conftest.er1
>conftest.err
43200 cat conftest.err
>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } &&
43203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205 (eval $ac_try) 2>&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; } &&
43209 { ac_try
='test -s conftest.$ac_objext'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; }; then
43216 wx_cv_var_timezone
=_timezone
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.
$ac_ext >&5
43223 cat >conftest.
$ac_ext <<_ACEOF
43226 cat confdefs.h
>>conftest.
$ac_ext
43227 cat >>conftest.
$ac_ext <<_ACEOF
43228 /* end confdefs.h. */
43243 rm -f conftest.
$ac_objext
43244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43245 (eval $ac_compile) 2>conftest.er1
43247 grep -v '^ *+' conftest.er1
>conftest.err
43249 cat conftest.err
>&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } &&
43252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43254 (eval $ac_try) 2>&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; } &&
43258 { ac_try
='test -s conftest.$ac_objext'
43259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43260 (eval $ac_try) 2>&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); }; }; then
43265 wx_cv_var_timezone
=__timezone
43268 echo "$as_me: failed program was:" >&5
43269 sed 's/^/| /' conftest.
$ac_ext >&5
43272 if test "$USE_DOS" = 0 ; then
43273 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43274 echo "$as_me: WARNING: no timezone variable" >&2;}
43279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43291 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43292 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43294 if test "x$wx_cv_var_timezone" != x
; then
43295 cat >>confdefs.h
<<_ACEOF
43296 #define WX_TIMEZONE $wx_cv_var_timezone
43302 for ac_func
in localtime
43304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43305 echo "$as_me:$LINENO: checking for $ac_func" >&5
43306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43307 if eval "test \"\${$as_ac_var+set}\" = set"; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43310 cat >conftest.
$ac_ext <<_ACEOF
43313 cat confdefs.h
>>conftest.
$ac_ext
43314 cat >>conftest.
$ac_ext <<_ACEOF
43315 /* end confdefs.h. */
43316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43318 #define $ac_func innocuous_$ac_func
43320 /* System header to define __stub macros and hopefully few prototypes,
43321 which can conflict with char $ac_func (); below.
43322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43323 <limits.h> exists even on freestanding compilers. */
43326 # include <limits.h>
43328 # include <assert.h>
43333 /* Override any gcc2 internal prototype to avoid an error. */
43338 /* We use char because int might match the return type of a gcc2
43339 builtin and then its argument prototype would still apply. */
43341 /* The GNU C library defines this for functions which it implements
43342 to always fail with ENOSYS. Some functions are actually named
43343 something starting with __ and the normal name is an alias. */
43344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43347 char (*f) () = $ac_func;
43356 return f != $ac_func;
43361 rm -f conftest.
$ac_objext conftest
$ac_exeext
43362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43363 (eval $ac_link) 2>conftest.er1
43365 grep -v '^ *+' conftest.er1
>conftest.err
43367 cat conftest.err
>&5
43368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369 (exit $ac_status); } &&
43370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try
='test -s conftest$ac_exeext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 eval "$as_ac_var=yes"
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.
$ac_ext >&5
43387 eval "$as_ac_var=no"
43389 rm -f conftest.err conftest.
$ac_objext \
43390 conftest
$ac_exeext conftest.
$ac_ext
43392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43394 if test `eval echo '${'$as_ac_var'}'` = yes; then
43395 cat >>confdefs.h
<<_ACEOF
43396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43403 if test "$ac_cv_func_localtime" = "yes"; then
43404 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43405 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43406 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43407 echo $ECHO_N "(cached) $ECHO_C" >&6
43410 cat >conftest.
$ac_ext <<_ACEOF
43413 cat confdefs.h
>>conftest.
$ac_ext
43414 cat >>conftest.
$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43430 rm -f conftest.
$ac_objext
43431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43432 (eval $ac_compile) 2>conftest.er1
43434 grep -v '^ *+' conftest.er1
>conftest.err
43436 cat conftest.err
>&5
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); } &&
43439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; } &&
43445 { ac_try
='test -s conftest.$ac_objext'
43446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43447 (eval $ac_try) 2>&5
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); }; }; then
43452 wx_cv_struct_tm_has_gmtoff
=yes
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.
$ac_ext >&5
43458 wx_cv_struct_tm_has_gmtoff
=no
43461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43464 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43465 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43468 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43469 cat >>confdefs.h
<<\_ACEOF
43470 #define WX_GMTOFF_IN_TM 1
43477 for ac_func
in gettimeofday ftime
43479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43480 echo "$as_me:$LINENO: checking for $ac_func" >&5
43481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43482 if eval "test \"\${$as_ac_var+set}\" = set"; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43485 cat >conftest.
$ac_ext <<_ACEOF
43488 cat confdefs.h
>>conftest.
$ac_ext
43489 cat >>conftest.
$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43493 #define $ac_func innocuous_$ac_func
43495 /* System header to define __stub macros and hopefully few prototypes,
43496 which can conflict with char $ac_func (); below.
43497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43498 <limits.h> exists even on freestanding compilers. */
43501 # include <limits.h>
43503 # include <assert.h>
43508 /* Override any gcc2 internal prototype to avoid an error. */
43513 /* We use char because int might match the return type of a gcc2
43514 builtin and then its argument prototype would still apply. */
43516 /* The GNU C library defines this for functions which it implements
43517 to always fail with ENOSYS. Some functions are actually named
43518 something starting with __ and the normal name is an alias. */
43519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43522 char (*f) () = $ac_func;
43531 return f != $ac_func;
43536 rm -f conftest.
$ac_objext conftest
$ac_exeext
43537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43538 (eval $ac_link) 2>conftest.er1
43540 grep -v '^ *+' conftest.er1
>conftest.err
43542 cat conftest.err
>&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); } &&
43545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43547 (eval $ac_try) 2>&5
43549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550 (exit $ac_status); }; } &&
43551 { ac_try
='test -s conftest$ac_exeext'
43552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43553 (eval $ac_try) 2>&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; }; then
43557 eval "$as_ac_var=yes"
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.
$ac_ext >&5
43562 eval "$as_ac_var=no"
43564 rm -f conftest.err conftest.
$ac_objext \
43565 conftest
$ac_exeext conftest.
$ac_ext
43567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43569 if test `eval echo '${'$as_ac_var'}'` = yes; then
43570 cat >>confdefs.h
<<_ACEOF
43571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43578 if test "$ac_cv_func_gettimeofday" = "yes"; then
43579 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43580 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43581 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43582 echo $ECHO_N "(cached) $ECHO_C" >&6
43585 cat >conftest.
$ac_ext <<_ACEOF
43588 cat confdefs.h
>>conftest.
$ac_ext
43589 cat >>conftest.
$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43592 #include <sys/time.h>
43593 #include <unistd.h>
43600 gettimeofday(&tv, NULL);
43606 rm -f conftest.
$ac_objext
43607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43608 (eval $ac_compile) 2>conftest.er1
43610 grep -v '^ *+' conftest.er1
>conftest.err
43612 cat conftest.err
>&5
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); } &&
43615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; } &&
43621 { ac_try
='test -s conftest.$ac_objext'
43622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43623 (eval $ac_try) 2>&5
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); }; }; then
43627 wx_cv_func_gettimeofday_has_2_args
=yes
43629 echo "$as_me: failed program was:" >&5
43630 sed 's/^/| /' conftest.
$ac_ext >&5
43632 cat >conftest.
$ac_ext <<_ACEOF
43635 cat confdefs.h
>>conftest.
$ac_ext
43636 cat >>conftest.
$ac_ext <<_ACEOF
43637 /* end confdefs.h. */
43639 #include <sys/time.h>
43640 #include <unistd.h>
43653 rm -f conftest.
$ac_objext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43655 (eval $ac_compile) 2>conftest.er1
43657 grep -v '^ *+' conftest.er1
>conftest.err
43659 cat conftest.err
>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } &&
43662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; } &&
43668 { ac_try
='test -s conftest.$ac_objext'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; }; then
43674 wx_cv_func_gettimeofday_has_2_args
=no
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.
$ac_ext >&5
43680 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43681 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43682 wx_cv_func_gettimeofday_has_2_args
=unknown
43686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43692 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43693 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43695 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43696 cat >>confdefs.h
<<\_ACEOF
43697 #define WX_GETTIMEOFDAY_NO_TZ 1
43703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43707 if test "$wxUSE_SOCKETS" = "yes"; then
43708 if test "$wxUSE_MGL" = "1"; then
43709 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43710 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43715 if test "$wxUSE_SOCKETS" = "yes"; then
43716 if test "$TOOLKIT" != "MSW"; then
43717 echo "$as_me:$LINENO: checking for socket" >&5
43718 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43719 if test "${ac_cv_func_socket+set}" = set; then
43720 echo $ECHO_N "(cached) $ECHO_C" >&6
43722 cat >conftest.
$ac_ext <<_ACEOF
43725 cat confdefs.h
>>conftest.
$ac_ext
43726 cat >>conftest.
$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43728 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43730 #define socket innocuous_socket
43732 /* System header to define __stub macros and hopefully few prototypes,
43733 which can conflict with char socket (); below.
43734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43735 <limits.h> exists even on freestanding compilers. */
43738 # include <limits.h>
43740 # include <assert.h>
43745 /* Override any gcc2 internal prototype to avoid an error. */
43750 /* We use char because int might match the return type of a gcc2
43751 builtin and then its argument prototype would still apply. */
43753 /* The GNU C library defines this for functions which it implements
43754 to always fail with ENOSYS. Some functions are actually named
43755 something starting with __ and the normal name is an alias. */
43756 #if defined (__stub_socket) || defined (__stub___socket)
43759 char (*f) () = socket;
43768 return f != socket;
43773 rm -f conftest.
$ac_objext conftest
$ac_exeext
43774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43775 (eval $ac_link) 2>conftest.er1
43777 grep -v '^ *+' conftest.er1
>conftest.err
43779 cat conftest.err
>&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } &&
43782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43784 (eval $ac_try) 2>&5
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; } &&
43788 { ac_try
='test -s conftest$ac_exeext'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; }; then
43794 ac_cv_func_socket
=yes
43796 echo "$as_me: failed program was:" >&5
43797 sed 's/^/| /' conftest.
$ac_ext >&5
43799 ac_cv_func_socket
=no
43801 rm -f conftest.err conftest.
$ac_objext \
43802 conftest
$ac_exeext conftest.
$ac_ext
43804 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43805 echo "${ECHO_T}$ac_cv_func_socket" >&6
43806 if test $ac_cv_func_socket = yes; then
43810 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43811 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43812 if test "${ac_cv_lib_socket_socket+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43815 ac_check_lib_save_LIBS
=$LIBS
43816 LIBS
="-lsocket $LIBS"
43817 cat >conftest.
$ac_ext <<_ACEOF
43820 cat confdefs.h
>>conftest.
$ac_ext
43821 cat >>conftest.
$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43824 /* Override any gcc2 internal prototype to avoid an error. */
43828 /* We use char because int might match the return type of a gcc2
43829 builtin and then its argument prototype would still apply. */
43839 rm -f conftest.
$ac_objext conftest
$ac_exeext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43841 (eval $ac_link) 2>conftest.er1
43843 grep -v '^ *+' conftest.er1
>conftest.err
43845 cat conftest.err
>&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_exeext'
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 ac_cv_lib_socket_socket
=yes
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.
$ac_ext >&5
43865 ac_cv_lib_socket_socket
=no
43867 rm -f conftest.err conftest.
$ac_objext \
43868 conftest
$ac_exeext conftest.
$ac_ext
43869 LIBS
=$ac_check_lib_save_LIBS
43871 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43872 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43873 if test $ac_cv_lib_socket_socket = yes; then
43874 if test "$INET_LINK" != " -lsocket"; then
43875 INET_LINK
="$INET_LINK -lsocket"
43879 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43880 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43893 if test "$wxUSE_SOCKETS" = "yes" ; then
43894 if test "$TOOLKIT" != "MSW"; then
43895 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43896 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43897 if test "${wx_cv_type_getsockname3+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43901 cat >conftest.
$ac_ext <<_ACEOF
43904 cat confdefs.h
>>conftest.
$ac_ext
43905 cat >>conftest.
$ac_ext <<_ACEOF
43906 /* end confdefs.h. */
43908 #include <sys/types.h>
43909 #include <sys/socket.h>
43916 getsockname(0, 0, &len);
43922 rm -f conftest.
$ac_objext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43924 (eval $ac_compile) 2>conftest.er1
43926 grep -v '^ *+' conftest.er1
>conftest.err
43928 cat conftest.err
>&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } &&
43931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43933 (eval $ac_try) 2>&5
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); }; } &&
43937 { ac_try
='test -s conftest.$ac_objext'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; }; then
43943 wx_cv_type_getsockname3
=socklen_t
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.
$ac_ext >&5
43949 CXXFLAGS_OLD
="$CXXFLAGS"
43950 if test "$GCC" = yes ; then
43951 CXXFLAGS
="-Werror $CXXFLAGS"
43954 cat >conftest.
$ac_ext <<_ACEOF
43957 cat confdefs.h
>>conftest.
$ac_ext
43958 cat >>conftest.
$ac_ext <<_ACEOF
43959 /* end confdefs.h. */
43961 #include <sys/types.h>
43962 #include <sys/socket.h>
43969 getsockname(0, 0, &len);
43975 rm -f conftest.
$ac_objext
43976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43977 (eval $ac_compile) 2>conftest.er1
43979 grep -v '^ *+' conftest.er1
>conftest.err
43981 cat conftest.err
>&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } &&
43984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43986 (eval $ac_try) 2>&5
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; } &&
43990 { ac_try
='test -s conftest.$ac_objext'
43991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43992 (eval $ac_try) 2>&5
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); }; }; then
43996 wx_cv_type_getsockname3
=size_t
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.
$ac_ext >&5
44001 cat >conftest.
$ac_ext <<_ACEOF
44004 cat confdefs.h
>>conftest.
$ac_ext
44005 cat >>conftest.
$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44008 #include <sys/types.h>
44009 #include <sys/socket.h>
44016 getsockname(0, 0, &len);
44022 rm -f conftest.
$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024 (eval $ac_compile) 2>conftest.er1
44026 grep -v '^ *+' conftest.er1
>conftest.err
44028 cat conftest.err
>&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; } &&
44037 { ac_try
='test -s conftest.$ac_objext'
44038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44039 (eval $ac_try) 2>&5
44041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44042 (exit $ac_status); }; }; then
44043 wx_cv_type_getsockname3
=int
44045 echo "$as_me: failed program was:" >&5
44046 sed 's/^/| /' conftest.
$ac_ext >&5
44048 wx_cv_type_getsockname3
=unknown
44051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44056 CXXFLAGS
="$CXXFLAGS_OLD"
44060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44063 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44064 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44066 if test "$wx_cv_type_getsockname3" = "unknown"; then
44068 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44069 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44071 cat >>confdefs.h
<<_ACEOF
44072 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44076 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44077 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44078 if test "${wx_cv_type_getsockopt5+set}" = set; then
44079 echo $ECHO_N "(cached) $ECHO_C" >&6
44082 cat >conftest.
$ac_ext <<_ACEOF
44085 cat confdefs.h
>>conftest.
$ac_ext
44086 cat >>conftest.
$ac_ext <<_ACEOF
44087 /* end confdefs.h. */
44089 #include <sys/types.h>
44090 #include <sys/socket.h>
44097 getsockopt(0, 0, 0, 0, &len);
44103 rm -f conftest.
$ac_objext
44104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44105 (eval $ac_compile) 2>conftest.er1
44107 grep -v '^ *+' conftest.er1
>conftest.err
44109 cat conftest.err
>&5
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); } &&
44112 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; } &&
44118 { ac_try
='test -s conftest.$ac_objext'
44119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44120 (eval $ac_try) 2>&5
44122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123 (exit $ac_status); }; }; then
44124 wx_cv_type_getsockopt5
=socklen_t
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.
$ac_ext >&5
44130 CXXFLAGS_OLD
="$CXXFLAGS"
44131 if test "$GCC" = yes ; then
44132 CXXFLAGS
="-Werror $CXXFLAGS"
44135 cat >conftest.
$ac_ext <<_ACEOF
44138 cat confdefs.h
>>conftest.
$ac_ext
44139 cat >>conftest.
$ac_ext <<_ACEOF
44140 /* end confdefs.h. */
44142 #include <sys/types.h>
44143 #include <sys/socket.h>
44150 getsockopt(0, 0, 0, 0, &len);
44156 rm -f conftest.
$ac_objext
44157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44158 (eval $ac_compile) 2>conftest.er1
44160 grep -v '^ *+' conftest.er1
>conftest.err
44162 cat conftest.err
>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } &&
44165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44167 (eval $ac_try) 2>&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; } &&
44171 { ac_try
='test -s conftest.$ac_objext'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; }; then
44177 wx_cv_type_getsockopt5
=size_t
44179 echo "$as_me: failed program was:" >&5
44180 sed 's/^/| /' conftest.
$ac_ext >&5
44182 cat >conftest.
$ac_ext <<_ACEOF
44185 cat confdefs.h
>>conftest.
$ac_ext
44186 cat >>conftest.
$ac_ext <<_ACEOF
44187 /* end confdefs.h. */
44189 #include <sys/types.h>
44190 #include <sys/socket.h>
44197 getsockopt(0, 0, 0, 0, &len);
44203 rm -f conftest.
$ac_objext
44204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44205 (eval $ac_compile) 2>conftest.er1
44207 grep -v '^ *+' conftest.er1
>conftest.err
44209 cat conftest.err
>&5
44210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44211 (exit $ac_status); } &&
44212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try
='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 wx_cv_type_getsockopt5
=int
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.
$ac_ext >&5
44229 wx_cv_type_getsockopt5
=unknown
44232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44237 CXXFLAGS
="$CXXFLAGS_OLD"
44241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44244 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44245 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44247 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44249 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44250 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44252 cat >>confdefs.h
<<_ACEOF
44253 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44260 if test "$wxUSE_SOCKETS" = "yes" ; then
44261 cat >>confdefs.h
<<\_ACEOF
44262 #define wxUSE_SOCKETS 1
44265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44268 if test "$wxUSE_PROTOCOL" = "yes"; then
44269 if test "$wxUSE_SOCKETS" != "yes"; then
44270 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44271 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44276 if test "$wxUSE_PROTOCOL" = "yes"; then
44277 cat >>confdefs.h
<<\_ACEOF
44278 #define wxUSE_PROTOCOL 1
44282 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44283 cat >>confdefs.h
<<\_ACEOF
44284 #define wxUSE_PROTOCOL_HTTP 1
44288 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44289 cat >>confdefs.h
<<\_ACEOF
44290 #define wxUSE_PROTOCOL_FTP 1
44294 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44295 cat >>confdefs.h
<<\_ACEOF
44296 #define wxUSE_PROTOCOL_FILE 1
44301 if test "$wxUSE_FS_INET" = "yes"; then
44302 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44303 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44308 if test "$wxUSE_URL" = "yes"; then
44309 if test "$wxUSE_PROTOCOL" != "yes"; then
44310 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44311 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44314 if test "$wxUSE_URL" = "yes"; then
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_URL 1
44322 if test "$wxUSE_VARIANT" = "yes"; then
44323 cat >>confdefs.h
<<\_ACEOF
44324 #define wxUSE_VARIANT 1
44329 if test "$wxUSE_FS_INET" = "yes"; then
44330 cat >>confdefs.h
<<\_ACEOF
44331 #define wxUSE_FS_INET 1
44337 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44340 if test "$TOOLKIT" = "MSW"; then
44343 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44344 if test "$USE_DARWIN" = 1; then
44345 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44346 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44347 cat >conftest.
$ac_ext <<_ACEOF
44350 cat confdefs.h
>>conftest.
$ac_ext
44351 cat >>conftest.
$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 #include <IOKit/hid/IOHIDLib.h>
44357 IOHIDQueueInterface *qi = NULL;
44358 IOHIDCallbackFunction cb = NULL;
44359 qi->setEventCallout(NULL, cb, NULL, NULL);
44364 rm -f conftest.
$ac_objext
44365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44366 (eval $ac_compile) 2>conftest.er1
44368 grep -v '^ *+' conftest.er1
>conftest.err
44370 cat conftest.err
>&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } &&
44373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375 (eval $ac_try) 2>&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; } &&
44379 { ac_try
='test -s conftest.$ac_objext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.
$ac_ext >&5
44392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44393 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44394 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44399 for ac_header
in linux
/joystick.h
44401 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44403 echo "$as_me:$LINENO: checking for $ac_header" >&5
44404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44406 echo $ECHO_N "(cached) $ECHO_C" >&6
44408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44411 # Is the header compilable?
44412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44414 cat >conftest.
$ac_ext <<_ACEOF
44417 cat confdefs.h
>>conftest.
$ac_ext
44418 cat >>conftest.
$ac_ext <<_ACEOF
44419 /* end confdefs.h. */
44420 $ac_includes_default
44421 #include <$ac_header>
44423 rm -f conftest.
$ac_objext
44424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44425 (eval $ac_compile) 2>conftest.er1
44427 grep -v '^ *+' conftest.er1
>conftest.err
44429 cat conftest.err
>&5
44430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44431 (exit $ac_status); } &&
44432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; } &&
44438 { ac_try
='test -s conftest.$ac_objext'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; }; then
44444 ac_header_compiler
=yes
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.
$ac_ext >&5
44449 ac_header_compiler
=no
44451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44453 echo "${ECHO_T}$ac_header_compiler" >&6
44455 # Is the header present?
44456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44458 cat >conftest.
$ac_ext <<_ACEOF
44461 cat confdefs.h
>>conftest.
$ac_ext
44462 cat >>conftest.
$ac_ext <<_ACEOF
44463 /* end confdefs.h. */
44464 #include <$ac_header>
44466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44469 grep -v '^ *+' conftest.er1
>conftest.err
44471 cat conftest.err
>&5
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); } >/dev
/null
; then
44474 if test -s conftest.err
; then
44475 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44476 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44483 if test -z "$ac_cpp_err"; then
44484 ac_header_preproc
=yes
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.
$ac_ext >&5
44489 ac_header_preproc
=no
44491 rm -f conftest.err conftest.
$ac_ext
44492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44493 echo "${ECHO_T}$ac_header_preproc" >&6
44495 # So? What about this header?
44496 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44502 ac_header_preproc
=yes
44505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44509 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44511 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44512 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44519 ## ----------------------------------------- ##
44520 ## Report this to wx-dev@lists.wxwidgets.org ##
44521 ## ----------------------------------------- ##
44524 sed "s/^/$as_me: WARNING: /" >&2
44527 echo "$as_me:$LINENO: checking for $ac_header" >&5
44528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44530 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 eval "$as_ac_Header=\$ac_header_preproc"
44534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44539 cat >>confdefs.h
<<_ACEOF
44540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44549 if test "$wxUSE_JOYSTICK" = "yes"; then
44550 cat >>confdefs.h
<<\_ACEOF
44551 #define wxUSE_JOYSTICK 1
44554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44556 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44557 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44563 if test "$wxUSE_FONTMAP" = "yes" ; then
44564 cat >>confdefs.h
<<\_ACEOF
44565 #define wxUSE_FONTMAP 1
44570 if test "$wxUSE_UNICODE" = "yes" ; then
44571 cat >>confdefs.h
<<\_ACEOF
44572 #define wxUSE_UNICODE 1
44576 if test "$USE_WIN32" != 1; then
44577 wxUSE_UNICODE_MSLU
=no
44580 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44581 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44582 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44583 if test "${ac_cv_lib_unicows_main+set}" = set; then
44584 echo $ECHO_N "(cached) $ECHO_C" >&6
44586 ac_check_lib_save_LIBS
=$LIBS
44587 LIBS
="-lunicows $LIBS"
44588 cat >conftest.
$ac_ext <<_ACEOF
44591 cat confdefs.h
>>conftest.
$ac_ext
44592 cat >>conftest.
$ac_ext <<_ACEOF
44593 /* end confdefs.h. */
44604 rm -f conftest.
$ac_objext conftest
$ac_exeext
44605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606 (eval $ac_link) 2>conftest.er1
44608 grep -v '^ *+' conftest.er1
>conftest.err
44610 cat conftest.err
>&5
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); } &&
44613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try
='test -s conftest$ac_exeext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 ac_cv_lib_unicows_main
=yes
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.
$ac_ext >&5
44630 ac_cv_lib_unicows_main
=no
44632 rm -f conftest.err conftest.
$ac_objext \
44633 conftest
$ac_exeext conftest.
$ac_ext
44634 LIBS
=$ac_check_lib_save_LIBS
44636 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44637 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44638 if test $ac_cv_lib_unicows_main = yes; then
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_UNICODE_MSLU 1
44647 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44648 Applications will only run on Windows NT/2000/XP!" >&5
44649 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44650 Applications will only run on Windows NT/2000/XP!" >&2;}
44651 wxUSE_UNICODE_MSLU
=no
44658 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_EXPERIMENTAL_PRINTF 1
44666 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44667 cat >>confdefs.h
<<\_ACEOF
44668 #define wxUSE_POSTSCRIPT 1
44673 cat >>confdefs.h
<<\_ACEOF
44674 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44678 cat >>confdefs.h
<<\_ACEOF
44679 #define wxUSE_NORMALIZED_PS_FONTS 1
44684 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44685 cat >>confdefs.h
<<\_ACEOF
44686 #define wxUSE_CONSTRAINTS 1
44689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44692 if test "$wxUSE_MDI" = "yes"; then
44693 cat >>confdefs.h
<<\_ACEOF
44694 #define wxUSE_MDI 1
44698 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44699 cat >>confdefs.h
<<\_ACEOF
44700 #define wxUSE_MDI_ARCHITECTURE 1
44703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44707 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44708 cat >>confdefs.h
<<\_ACEOF
44709 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44718 if test "$wxUSE_HELP" = "yes"; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_HELP 1
44723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44725 if test "$wxUSE_MSW" = 1; then
44726 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44727 cat >>confdefs.h
<<\_ACEOF
44728 #define wxUSE_MS_HTML_HELP 1
44734 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44735 if test "$wxUSE_HTML" = "yes"; then
44736 cat >>confdefs.h
<<\_ACEOF
44737 #define wxUSE_WXHTML_HELP 1
44741 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44742 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44743 wxUSE_WXHTML_HELP
=no
44748 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44750 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44751 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44753 cat >>confdefs.h
<<\_ACEOF
44754 #define wxUSE_PRINTING_ARCHITECTURE 1
44758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44761 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44762 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44763 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44764 { (exit 1); exit 1; }; }
44768 if test "$wxUSE_METAFILE" = "yes"; then
44769 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44770 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44771 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44777 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44778 -o "$wxUSE_CLIPBOARD" = "yes" \
44779 -o "$wxUSE_OLE" = "yes" \
44780 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44782 for ac_header
in ole2.h
44784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44786 echo "$as_me:$LINENO: checking for $ac_header" >&5
44787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44789 echo $ECHO_N "(cached) $ECHO_C" >&6
44791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44794 # Is the header compilable?
44795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44797 cat >conftest.
$ac_ext <<_ACEOF
44800 cat confdefs.h
>>conftest.
$ac_ext
44801 cat >>conftest.
$ac_ext <<_ACEOF
44802 /* end confdefs.h. */
44803 $ac_includes_default
44804 #include <$ac_header>
44806 rm -f conftest.
$ac_objext
44807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44808 (eval $ac_compile) 2>conftest.er1
44810 grep -v '^ *+' conftest.er1
>conftest.err
44812 cat conftest.err
>&5
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); } &&
44815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44817 (eval $ac_try) 2>&5
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; } &&
44821 { ac_try
='test -s conftest.$ac_objext'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; }; then
44827 ac_header_compiler
=yes
44829 echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.
$ac_ext >&5
44832 ac_header_compiler
=no
44834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44836 echo "${ECHO_T}$ac_header_compiler" >&6
44838 # Is the header present?
44839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44841 cat >conftest.
$ac_ext <<_ACEOF
44844 cat confdefs.h
>>conftest.
$ac_ext
44845 cat >>conftest.
$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44847 #include <$ac_header>
44849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44852 grep -v '^ *+' conftest.er1
>conftest.err
44854 cat conftest.err
>&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } >/dev
/null
; then
44857 if test -s conftest.err
; then
44858 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44859 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44866 if test -z "$ac_cpp_err"; then
44867 ac_header_preproc
=yes
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.
$ac_ext >&5
44872 ac_header_preproc
=no
44874 rm -f conftest.err conftest.
$ac_ext
44875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44876 echo "${ECHO_T}$ac_header_preproc" >&6
44878 # So? What about this header?
44879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44885 ac_header_preproc
=yes
44888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44902 ## ----------------------------------------- ##
44903 ## Report this to wx-dev@lists.wxwidgets.org ##
44904 ## ----------------------------------------- ##
44907 sed "s/^/$as_me: WARNING: /" >&2
44910 echo "$as_me:$LINENO: checking for $ac_header" >&5
44911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44913 echo $ECHO_N "(cached) $ECHO_C" >&6
44915 eval "$as_ac_Header=\$ac_header_preproc"
44917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44922 cat >>confdefs.h
<<_ACEOF
44923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44931 if test "$ac_cv_header_ole2_h" = "yes" ; then
44932 if test "$GCC" = yes ; then
44933 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44934 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44935 cat >conftest.
$ac_ext <<_ACEOF
44938 cat confdefs.h
>>conftest.
$ac_ext
44939 cat >>conftest.
$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 #include <windows.h>
44951 rm -f conftest.
$ac_objext
44952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44953 (eval $ac_compile) 2>conftest.er1
44955 grep -v '^ *+' conftest.er1
>conftest.err
44957 cat conftest.err
>&5
44958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44959 (exit $ac_status); } &&
44960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962 (eval $ac_try) 2>&5
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; } &&
44966 { ac_try
='test -s conftest.$ac_objext'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; }; then
44972 echo "$as_me:$LINENO: result: no" >&5
44973 echo "${ECHO_T}no" >&6
44975 echo "$as_me: failed program was:" >&5
44976 sed 's/^/| /' conftest.
$ac_ext >&5
44978 echo "$as_me:$LINENO: result: yes" >&5
44979 echo "${ECHO_T}yes" >&6
44980 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44983 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44984 if test "$wxUSE_OLE" = "yes" ; then
44985 cat >>confdefs.h
<<\_ACEOF
44986 #define wxUSE_OLE 1
44989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44993 if test "$wxUSE_DATAOBJ" = "yes" ; then
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_DATAOBJ 1
45000 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45001 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45004 wxUSE_DRAG_AND_DROP
=no
45009 if test "$wxUSE_METAFILE" = "yes"; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_METAFILE 1
45015 cat >>confdefs.h
<<\_ACEOF
45016 #define wxUSE_ENH_METAFILE 1
45022 if test "$wxUSE_IPC" = "yes"; then
45023 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45024 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45025 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45029 if test "$wxUSE_IPC" = "yes"; then
45030 cat >>confdefs.h
<<\_ACEOF
45031 #define wxUSE_IPC 1
45034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45038 if test "$wxUSE_DATAOBJ" = "yes"; then
45039 if test "$wxUSE_MGL" = 1; then
45040 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45041 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45044 cat >>confdefs.h
<<\_ACEOF
45045 #define wxUSE_DATAOBJ 1
45050 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45051 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45053 wxUSE_DRAG_AND_DROP
=no
45056 if test "$wxUSE_CLIPBOARD" = "yes"; then
45057 if test "$wxUSE_MGL" = 1; then
45058 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45059 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45063 if test "$wxUSE_CLIPBOARD" = "yes"; then
45064 cat >>confdefs.h
<<\_ACEOF
45065 #define wxUSE_CLIPBOARD 1
45071 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45072 if test "$wxUSE_GTK" = 1; then
45073 if test "$WXGTK12" != 1; then
45074 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45075 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45076 wxUSE_DRAG_AND_DROP
=no
45080 if test "$wxUSE_MOTIF" = 1; then
45081 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45082 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45083 wxUSE_DRAG_AND_DROP
=no
45086 if test "$wxUSE_X11" = 1; then
45087 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45088 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45089 wxUSE_DRAG_AND_DROP
=no
45092 if test "$wxUSE_MGL" = 1; then
45093 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45094 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45095 wxUSE_DRAG_AND_DROP
=no
45098 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45099 cat >>confdefs.h
<<\_ACEOF
45100 #define wxUSE_DRAG_AND_DROP 1
45107 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45111 if test "$wxUSE_SPLINES" = "yes" ; then
45112 cat >>confdefs.h
<<\_ACEOF
45113 #define wxUSE_SPLINES 1
45118 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_MOUSEWHEEL 1
45127 if test "$wxUSE_CONTROLS" = "yes"; then
45131 if test "$wxUSE_ACCEL" = "yes"; then
45132 cat >>confdefs.h
<<\_ACEOF
45133 #define wxUSE_ACCEL 1
45139 if test "$wxUSE_BUTTON" = "yes"; then
45140 cat >>confdefs.h
<<\_ACEOF
45141 #define wxUSE_BUTTON 1
45147 if test "$wxUSE_BMPBUTTON" = "yes"; then
45148 cat >>confdefs.h
<<\_ACEOF
45149 #define wxUSE_BMPBUTTON 1
45155 if test "$wxUSE_CALCTRL" = "yes"; then
45156 cat >>confdefs.h
<<\_ACEOF
45157 #define wxUSE_CALENDARCTRL 1
45161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45164 if test "$wxUSE_CARET" = "yes"; then
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_CARET 1
45170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45173 if test "$wxUSE_COMBOBOX" = "yes"; then
45174 cat >>confdefs.h
<<\_ACEOF
45175 #define wxUSE_COMBOBOX 1
45181 if test "$wxUSE_COMBOCTRL" = "yes"; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_COMBOCTRL 1
45189 if test "$wxUSE_CHOICE" = "yes"; then
45190 cat >>confdefs.h
<<\_ACEOF
45191 #define wxUSE_CHOICE 1
45197 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45198 cat >>confdefs.h
<<\_ACEOF
45199 #define wxUSE_CHOICEBOOK 1
45205 if test "$wxUSE_CHECKBOX" = "yes"; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_CHECKBOX 1
45213 if test "$wxUSE_CHECKLST" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_CHECKLISTBOX 1
45219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45222 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45223 cat >>confdefs.h
<<\_ACEOF
45224 #define wxUSE_COLOURPICKERCTRL 1
45230 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_DATEPICKCTRL 1
45238 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45239 cat >>confdefs.h
<<\_ACEOF
45240 #define wxUSE_DIRPICKERCTRL 1
45246 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45247 cat >>confdefs.h
<<\_ACEOF
45248 #define wxUSE_FILEPICKERCTRL 1
45254 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_FONTPICKERCTRL 1
45262 if test "$wxUSE_DISPLAY" = "yes"; then
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_DISPLAY 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45270 if test "$wxUSE_GAUGE" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_GAUGE 1
45278 if test "$wxUSE_GRID" = "yes"; then
45279 cat >>confdefs.h
<<\_ACEOF
45280 #define wxUSE_GRID 1
45284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45287 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45288 cat >>confdefs.h
<<\_ACEOF
45289 #define wxUSE_HYPERLINKCTRL 1
45295 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45296 cat >>confdefs.h
<<\_ACEOF
45297 #define wxUSE_BITMAPCOMBOBOX 1
45303 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45304 cat >>confdefs.h
<<\_ACEOF
45305 #define wxUSE_DATAVIEWCTRL 1
45309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45312 if test "$wxUSE_IMAGLIST" = "yes"; then
45313 cat >>confdefs.h
<<\_ACEOF
45314 #define wxUSE_IMAGLIST 1
45319 if test "$wxUSE_LISTBOOK" = "yes"; then
45320 cat >>confdefs.h
<<\_ACEOF
45321 #define wxUSE_LISTBOOK 1
45327 if test "$wxUSE_LISTBOX" = "yes"; then
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_LISTBOX 1
45333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45336 if test "$wxUSE_LISTCTRL" = "yes"; then
45337 if test "$wxUSE_IMAGLIST" = "yes"; then
45338 cat >>confdefs.h
<<\_ACEOF
45339 #define wxUSE_LISTCTRL 1
45343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45345 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45346 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45350 if test "$wxUSE_NOTEBOOK" = "yes"; then
45351 cat >>confdefs.h
<<\_ACEOF
45352 #define wxUSE_NOTEBOOK 1
45356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45359 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45360 cat >>confdefs.h
<<\_ACEOF
45361 #define wxUSE_ODCOMBOBOX 1
45365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45369 if test "$wxUSE_RADIOBOX" = "yes"; then
45370 cat >>confdefs.h
<<\_ACEOF
45371 #define wxUSE_RADIOBOX 1
45377 if test "$wxUSE_RADIOBTN" = "yes"; then
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_RADIOBTN 1
45385 if test "$wxUSE_SASH" = "yes"; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_SASH 1
45390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45393 if test "$wxUSE_SCROLLBAR" = "yes"; then
45394 cat >>confdefs.h
<<\_ACEOF
45395 #define wxUSE_SCROLLBAR 1
45399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45402 if test "$wxUSE_SLIDER" = "yes"; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_SLIDER 1
45410 if test "$wxUSE_SPINBTN" = "yes"; then
45411 cat >>confdefs.h
<<\_ACEOF
45412 #define wxUSE_SPINBTN 1
45418 if test "$wxUSE_SPINCTRL" = "yes"; then
45419 cat >>confdefs.h
<<\_ACEOF
45420 #define wxUSE_SPINCTRL 1
45426 if test "$wxUSE_SPLITTER" = "yes"; then
45427 cat >>confdefs.h
<<\_ACEOF
45428 #define wxUSE_SPLITTER 1
45431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45434 if test "$wxUSE_STATBMP" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_STATBMP 1
45442 if test "$wxUSE_STATBOX" = "yes"; then
45443 cat >>confdefs.h
<<\_ACEOF
45444 #define wxUSE_STATBOX 1
45450 if test "$wxUSE_STATTEXT" = "yes"; then
45451 cat >>confdefs.h
<<\_ACEOF
45452 #define wxUSE_STATTEXT 1
45458 if test "$wxUSE_STATLINE" = "yes"; then
45459 cat >>confdefs.h
<<\_ACEOF
45460 #define wxUSE_STATLINE 1
45466 if test "$wxUSE_STATUSBAR" = "yes"; then
45467 cat >>confdefs.h
<<\_ACEOF
45468 #define wxUSE_NATIVE_STATUSBAR 1
45471 cat >>confdefs.h
<<\_ACEOF
45472 #define wxUSE_STATUSBAR 1
45477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45480 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45481 cat >>confdefs.h
<<\_ACEOF
45482 #define wxUSE_TAB_DIALOG 1
45487 if test "$wxUSE_TEXTCTRL" = "yes"; then
45488 cat >>confdefs.h
<<\_ACEOF
45489 #define wxUSE_TEXTCTRL 1
45493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45496 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45497 if test "$wxUSE_COCOA" = 1 ; then
45498 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45499 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45503 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45504 cat >>confdefs.h
<<\_ACEOF
45505 #define wxUSE_TOGGLEBTN 1
45512 if test "$wxUSE_TOOLBAR" = "yes"; then
45513 cat >>confdefs.h
<<\_ACEOF
45514 #define wxUSE_TOOLBAR 1
45519 if test "$wxUSE_UNIVERSAL" = "yes"; then
45520 wxUSE_TOOLBAR_NATIVE
="no"
45522 wxUSE_TOOLBAR_NATIVE
="yes"
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_TOOLBAR_NATIVE 1
45529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45532 if test "$wxUSE_TOOLTIPS" = "yes"; then
45533 if test "$wxUSE_MOTIF" = 1; then
45534 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45535 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45537 if test "$wxUSE_UNIVERSAL" = "yes"; then
45538 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45539 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45541 cat >>confdefs.h
<<\_ACEOF
45542 #define wxUSE_TOOLTIPS 1
45549 if test "$wxUSE_TREEBOOK" = "yes"; then
45550 cat >>confdefs.h
<<\_ACEOF
45551 #define wxUSE_TREEBOOK 1
45557 if test "$wxUSE_TOOLBOOK" = "yes"; then
45558 cat >>confdefs.h
<<\_ACEOF
45559 #define wxUSE_TOOLBOOK 1
45565 if test "$wxUSE_TREECTRL" = "yes"; then
45566 if test "$wxUSE_IMAGLIST" = "yes"; then
45567 cat >>confdefs.h
<<\_ACEOF
45568 #define wxUSE_TREECTRL 1
45572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45574 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45575 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45579 if test "$wxUSE_POPUPWIN" = "yes"; then
45580 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45581 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45582 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45584 if test "$wxUSE_PM" = 1; then
45585 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45586 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45588 cat >>confdefs.h
<<\_ACEOF
45589 #define wxUSE_POPUPWIN 1
45592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45599 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45600 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45601 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45602 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45604 cat >>confdefs.h
<<\_ACEOF
45605 #define wxUSE_DIALUP_MANAGER 1
45608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45612 if test "$wxUSE_TIPWINDOW" = "yes"; then
45613 if test "$wxUSE_PM" = 1; then
45614 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45615 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45617 cat >>confdefs.h
<<\_ACEOF
45618 #define wxUSE_TIPWINDOW 1
45624 if test "$USES_CONTROLS" = 1; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_CONTROLS 1
45632 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_ACCESSIBILITY 1
45637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45640 if test "$wxUSE_DC_CACHEING" = "yes"; then
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_DC_CACHEING 1
45647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45648 cat >>confdefs.h
<<\_ACEOF
45649 #define wxUSE_DRAGIMAGE 1
45652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45655 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45656 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45657 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45658 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_EXCEPTIONS 1
45664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45669 if test "$wxUSE_HTML" = "yes"; then
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_HTML 1
45675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45676 if test "$wxUSE_MAC" = 1; then
45677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45680 if test "$wxUSE_WEBKIT" = "yes"; then
45681 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45682 old_CPPFLAGS
="$CPPFLAGS"
45683 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45684 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45685 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45686 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45687 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 cat >conftest.
$ac_ext <<_ACEOF
45692 cat confdefs.h
>>conftest.
$ac_ext
45693 cat >>conftest.
$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 #include <Carbon/Carbon.h>
45697 #include <WebKit/HIWebView.h>
45699 rm -f conftest.
$ac_objext
45700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45701 (eval $ac_compile) 2>conftest.er1
45703 grep -v '^ *+' conftest.er1
>conftest.err
45705 cat conftest.err
>&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); } &&
45708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45710 (eval $ac_try) 2>&5
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); }; } &&
45714 { ac_try
='test -s conftest.$ac_objext'
45715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45716 (eval $ac_try) 2>&5
45718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45719 (exit $ac_status); }; }; then
45720 ac_cv_header_WebKit_HIWebView_h
=yes
45722 echo "$as_me: failed program was:" >&5
45723 sed 's/^/| /' conftest.
$ac_ext >&5
45725 ac_cv_header_WebKit_HIWebView_h
=no
45727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45729 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45730 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45731 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_WEBKIT 1
45737 WEBKIT_LINK
="-framework WebKit"
45741 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45742 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45748 CPPFLAGS
="$old_CPPFLAGS"
45749 elif test "$wxUSE_COCOA" = 1; then
45750 cat >>confdefs.h
<<\_ACEOF
45751 #define wxUSE_WEBKIT 1
45760 if test "$wxUSE_XRC" = "yes"; then
45761 if test "$wxUSE_XML" != "yes"; then
45762 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45763 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_XRC 1
45771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45776 if test "$wxUSE_AUI" = "yes"; then
45777 cat >>confdefs.h
<<\_ACEOF
45778 #define wxUSE_AUI 1
45782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45785 if test "$wxUSE_MENUS" = "yes"; then
45786 cat >>confdefs.h
<<\_ACEOF
45787 #define wxUSE_MENUS 1
45790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45793 if test "$wxUSE_METAFILE" = "yes"; then
45794 cat >>confdefs.h
<<\_ACEOF
45795 #define wxUSE_METAFILE 1
45800 if test "$wxUSE_MIMETYPE" = "yes"; then
45801 cat >>confdefs.h
<<\_ACEOF
45802 #define wxUSE_MIMETYPE 1
45807 if test "$wxUSE_MINIFRAME" = "yes"; then
45808 cat >>confdefs.h
<<\_ACEOF
45809 #define wxUSE_MINIFRAME 1
45812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45815 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45816 cat >>confdefs.h
<<\_ACEOF
45817 #define wxUSE_SYSTEM_OPTIONS 1
45820 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45821 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45827 if test "$wxUSE_VALIDATORS" = "yes"; then
45828 cat >>confdefs.h
<<\_ACEOF
45829 #define wxUSE_VALIDATORS 1
45832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45835 if test "$wxUSE_PALETTE" = "yes" ; then
45836 cat >>confdefs.h
<<\_ACEOF
45837 #define wxUSE_PALETTE 1
45842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45843 LIBS
=" -lunicows $LIBS"
45847 if test "$wxUSE_RICHTEXT" = "yes"; then
45848 cat >>confdefs.h
<<\_ACEOF
45849 #define wxUSE_RICHTEXT 1
45853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45857 if test "$wxUSE_IMAGE" = "yes" ; then
45858 cat >>confdefs.h
<<\_ACEOF
45859 #define wxUSE_IMAGE 1
45863 if test "$wxUSE_GIF" = "yes" ; then
45864 cat >>confdefs.h
<<\_ACEOF
45865 #define wxUSE_GIF 1
45870 if test "$wxUSE_PCX" = "yes" ; then
45871 cat >>confdefs.h
<<\_ACEOF
45872 #define wxUSE_PCX 1
45877 if test "$wxUSE_IFF" = "yes" ; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_IFF 1
45884 if test "$wxUSE_PNM" = "yes" ; then
45885 cat >>confdefs.h
<<\_ACEOF
45886 #define wxUSE_PNM 1
45891 if test "$wxUSE_XPM" = "yes" ; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_XPM 1
45898 if test "$wxUSE_ICO_CUR" = "yes" ; then
45899 cat >>confdefs.h
<<\_ACEOF
45900 #define wxUSE_ICO_CUR 1
45907 if test "$wxUSE_CHOICEDLG" = "yes"; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_CHOICEDLG 1
45914 if test "$wxUSE_COLOURDLG" = "yes"; then
45915 cat >>confdefs.h
<<\_ACEOF
45916 #define wxUSE_COLOURDLG 1
45921 if test "$wxUSE_FILEDLG" = "yes"; then
45922 cat >>confdefs.h
<<\_ACEOF
45923 #define wxUSE_FILEDLG 1
45928 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45929 cat >>confdefs.h
<<\_ACEOF
45930 #define wxUSE_FINDREPLDLG 1
45935 if test "$wxUSE_FONTDLG" = "yes"; then
45936 cat >>confdefs.h
<<\_ACEOF
45937 #define wxUSE_FONTDLG 1
45942 if test "$wxUSE_DIRDLG" = "yes"; then
45943 if test "$wxUSE_TREECTRL" != "yes"; then
45944 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45945 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_DIRDLG 1
45954 if test "$wxUSE_MSGDLG" = "yes"; then
45955 cat >>confdefs.h
<<\_ACEOF
45956 #define wxUSE_MSGDLG 1
45961 if test "$wxUSE_NUMBERDLG" = "yes"; then
45962 cat >>confdefs.h
<<\_ACEOF
45963 #define wxUSE_NUMBERDLG 1
45968 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45969 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45970 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45971 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_PROGRESSDLG 1
45980 if test "$wxUSE_SPLASH" = "yes"; then
45981 cat >>confdefs.h
<<\_ACEOF
45982 #define wxUSE_SPLASH 1
45985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45988 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45989 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45990 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45991 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45993 cat >>confdefs.h
<<\_ACEOF
45994 #define wxUSE_STARTUP_TIPS 1
46000 if test "$wxUSE_TEXTDLG" = "yes"; then
46001 cat >>confdefs.h
<<\_ACEOF
46002 #define wxUSE_TEXTDLG 1
46007 if test "$wxUSE_WIZARDDLG" = "yes"; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_WIZARDDLG 1
46012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46018 if test "$wxUSE_MEDIACTRL" = "yes"; then
46021 if test "$wxUSE_GTK" = 1; then
46022 wxUSE_GSTREAMER
="no"
46024 GST_VERSION_MAJOR
=0
46025 GST_VERSION_MINOR
=10
46026 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46028 if test "$wxUSE_GSTREAMER8" = "no"; then
46031 echo "$as_me:$LINENO: checking for GST" >&5
46032 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46034 if test -n "$PKG_CONFIG"; then
46035 if test -n "$GST_CFLAGS"; then
46036 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46038 if test -n "$PKG_CONFIG" && \
46039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46040 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46043 (exit $ac_status); }; then
46044 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46052 if test -n "$PKG_CONFIG"; then
46053 if test -n "$GST_LIBS"; then
46054 pkg_cv_GST_LIBS
="$GST_LIBS"
46056 if test -n "$PKG_CONFIG" && \
46057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46058 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); }; then
46062 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46073 if test $pkg_failed = yes; then
46075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46076 _pkg_short_errors_supported
=yes
46078 _pkg_short_errors_supported
=no
46080 if test $_pkg_short_errors_supported = yes; then
46081 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46083 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46085 # Put the nasty error message in config.log where it belongs
46086 echo "$GST_PKG_ERRORS" >&5
46089 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46090 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46091 GST_VERSION_MINOR
=8
46094 elif test $pkg_failed = untried
; then
46096 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46097 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46098 GST_VERSION_MINOR
=8
46102 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46103 GST_LIBS
=$pkg_cv_GST_LIBS
46104 echo "$as_me:$LINENO: result: yes" >&5
46105 echo "${ECHO_T}yes" >&6
46107 wxUSE_GSTREAMER
="yes"
46108 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46112 GST_VERSION_MINOR
=8
46115 if test $GST_VERSION_MINOR = "8"; then
46116 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46119 echo "$as_me:$LINENO: checking for GST" >&5
46120 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46122 if test -n "$PKG_CONFIG"; then
46123 if test -n "$GST_CFLAGS"; then
46124 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46126 if test -n "$PKG_CONFIG" && \
46127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); }; then
46132 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46140 if test -n "$PKG_CONFIG"; then
46141 if test -n "$GST_LIBS"; then
46142 pkg_cv_GST_LIBS
="$GST_LIBS"
46144 if test -n "$PKG_CONFIG" && \
46145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; then
46150 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46161 if test $pkg_failed = yes; then
46163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46164 _pkg_short_errors_supported
=yes
46166 _pkg_short_errors_supported
=no
46168 if test $_pkg_short_errors_supported = yes; then
46169 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46171 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46173 # Put the nasty error message in config.log where it belongs
46174 echo "$GST_PKG_ERRORS" >&5
46177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46178 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46180 elif test $pkg_failed = untried
; then
46182 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46183 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46186 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46187 GST_LIBS
=$pkg_cv_GST_LIBS
46188 echo "$as_me:$LINENO: result: yes" >&5
46189 echo "${ECHO_T}yes" >&6
46190 wxUSE_GSTREAMER
="yes"
46195 if test "$wxUSE_GSTREAMER" = "yes"; then
46198 if "$GCC" = yes; then
46199 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46200 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46204 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46205 LIBS
="$GST_LIBS $LIBS"
46207 cat >>confdefs.h
<<\_ACEOF
46208 #define wxUSE_GSTREAMER 1
46216 if test $USE_MEDIA = 1; then
46217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_MEDIACTRL 1
46226 if test "$cross_compiling" = "yes"; then
46229 OSINFO
=`uname -s -r -m`
46230 OSINFO
="\"$OSINFO\""
46233 cat >>confdefs.h
<<_ACEOF
46234 #define WXWIN_OS_DESCRIPTION $OSINFO
46239 if test "x$prefix" != "xNONE"; then
46242 wxPREFIX
=$ac_default_prefix
46245 cat >>confdefs.h
<<_ACEOF
46246 #define wxINSTALL_PREFIX "$wxPREFIX"
46252 CORE_BASE_LIBS
="net base"
46253 CORE_GUI_LIBS
="adv core"
46255 if test "$wxUSE_XML" = "yes" ; then
46256 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46258 if test "$wxUSE_ODBC" != "no" ; then
46259 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46260 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46262 if test "$wxUSE_HTML" = "yes" ; then
46263 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46265 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46266 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46268 if test "$wxUSE_XRC" = "yes" ; then
46269 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46271 if test "$wxUSE_AUI" = "yes" ; then
46272 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46275 if test "$wxUSE_GUI" != "yes"; then
46284 ac_cpp
='$CPP $CPPFLAGS'
46285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46291 if test "$wxUSE_MAC" = 1 ; then
46292 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46293 if test "$USE_DARWIN" = 1; then
46294 LDFLAGS
="$LDFLAGS -framework QuickTime"
46296 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46299 if test "$USE_DARWIN" = 1; then
46300 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46302 LDFLAGS
="$LDFLAGS -lCarbonLib"
46305 if test "$wxUSE_COCOA" = 1 ; then
46306 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46307 if test "$wxUSE_MEDIACTRL" = "yes"; then
46308 LDFLAGS
="$LDFLAGS -framework QuickTime"
46311 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46312 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46315 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46317 if test "$wxUSE_GUI" = "yes"; then
46320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46321 dynamic erase event exec font image minimal mobile \
46322 mobile/wxedit mobile/styles propsize render \
46323 rotate shaped vscroll widgets"
46325 if test "$wxUSE_MONOLITHIC" != "yes"; then
46326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46328 if test "$TOOLKIT" = "MSW"; then
46329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46330 if test "$wxUSE_UNIVERSAL" != "yes"; then
46331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46334 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46338 SAMPLES_SUBDIRS
="console"
46342 if test "x$INTELCC" = "xyes" ; then
46343 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46344 elif test "$GCC" = yes ; then
46345 CWARNINGS
="-Wall -Wundef"
46348 if test "x$INTELCXX" = "xyes" ; then
46349 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46350 elif test "$GXX" = yes ; then
46351 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46355 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46356 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46359 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46360 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46361 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46364 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46365 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46366 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46368 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46371 if test "x$MWCC" = "xyes"; then
46373 CC
="$CC -cwd source -I-"
46374 CXX
="$CXX -cwd source -I-"
46379 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46380 EXTRALIBS_XML
="$EXPAT_LINK"
46381 EXTRALIBS_HTML
="$MSPACK_LINK"
46382 EXTRALIBS_ODBC
="$ODBC_LINK"
46383 if test "$wxUSE_GUI" = "yes"; then
46384 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46386 if test "$wxUSE_OPENGL" = "yes"; then
46387 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46390 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46392 WXCONFIG_LIBS
="$LIBS"
46394 if test "$wxUSE_REGEX" = "builtin" ; then
46395 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46397 if test "$wxUSE_EXPAT" = "builtin" ; then
46398 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46400 if test "$wxUSE_ODBC" = "builtin" ; then
46401 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46403 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46404 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46406 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46407 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46409 if test "$wxUSE_LIBPNG" = "builtin" ; then
46410 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46412 if test "$wxUSE_ZLIB" = "builtin" ; then
46413 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46416 for i
in $wxconfig_3rdparty ; do
46417 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46421 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46435 if test $wxUSE_MONOLITHIC = "yes" ; then
46441 if test $wxUSE_PLUGINS = "yes" ; then
46447 if test $wxUSE_ODBC != "no" ; then
46453 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46459 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46489 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46500 TOOLKIT_DESC
="GTK+"
46501 if test "$WXGTK20" = 1; then
46502 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46503 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46504 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46506 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46507 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46509 if test "$wxUSE_LIBHILDON" = "yes"; then
46510 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46513 if test "$TOOLKIT_EXTRA" != ""; then
46514 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46520 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46524 TOOLKIT_DESC
="base only"
46528 if test "$wxUSE_WINE" = "yes"; then
46529 BAKEFILE_FORCE_PLATFORM
=win32
46532 if test "$wxUSE_MAC" = 1 ; then
46533 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46534 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46535 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46537 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46539 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46540 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46541 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46542 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46545 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46546 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46552 if test "x$BAKEFILE_HOST" = "x"; then
46553 if test "x${host}" = "x" ; then
46554 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46555 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46556 { (exit 1); exit 1; }; }
46559 BAKEFILE_HOST
="${host}"
46562 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46564 if test -n "$ac_tool_prefix"; then
46565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46566 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46567 echo "$as_me:$LINENO: checking for $ac_word" >&5
46568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46569 if test "${ac_cv_prog_RANLIB+set}" = set; then
46570 echo $ECHO_N "(cached) $ECHO_C" >&6
46572 if test -n "$RANLIB"; then
46573 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46576 for as_dir
in $PATH
46579 test -z "$as_dir" && as_dir
=.
46580 for ac_exec_ext
in '' $ac_executable_extensions; do
46581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46582 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46591 RANLIB
=$ac_cv_prog_RANLIB
46592 if test -n "$RANLIB"; then
46593 echo "$as_me:$LINENO: result: $RANLIB" >&5
46594 echo "${ECHO_T}$RANLIB" >&6
46596 echo "$as_me:$LINENO: result: no" >&5
46597 echo "${ECHO_T}no" >&6
46601 if test -z "$ac_cv_prog_RANLIB"; then
46602 ac_ct_RANLIB
=$RANLIB
46603 # Extract the first word of "ranlib", so it can be a program name with args.
46604 set dummy ranlib
; ac_word
=$2
46605 echo "$as_me:$LINENO: checking for $ac_word" >&5
46606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 if test -n "$ac_ct_RANLIB"; then
46611 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46614 for as_dir
in $PATH
46617 test -z "$as_dir" && as_dir
=.
46618 for ac_exec_ext
in '' $ac_executable_extensions; do
46619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46620 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46627 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46630 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46631 if test -n "$ac_ct_RANLIB"; then
46632 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46633 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46635 echo "$as_me:$LINENO: result: no" >&5
46636 echo "${ECHO_T}no" >&6
46639 RANLIB
=$ac_ct_RANLIB
46641 RANLIB
="$ac_cv_prog_RANLIB"
46644 # Find a good install program. We prefer a C program (faster),
46645 # so one script is as good as another. But avoid the broken or
46646 # incompatible versions:
46647 # SysV /etc/install, /usr/sbin/install
46648 # SunOS /usr/etc/install
46649 # IRIX /sbin/install
46651 # AmigaOS /C/install, which installs bootblocks on floppy discs
46652 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46653 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46654 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46655 # OS/2's system install, which has a completely different semantic
46656 # ./install, which can be erroneously created by make from ./install.sh.
46657 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46658 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46659 if test -z "$INSTALL"; then
46660 if test "${ac_cv_path_install+set}" = set; then
46661 echo $ECHO_N "(cached) $ECHO_C" >&6
46663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46664 for as_dir
in $PATH
46667 test -z "$as_dir" && as_dir
=.
46668 # Account for people who put trailing slashes in PATH elements.
46670 .
/ | .
// | /cC
/* | \
46671 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46672 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46675 # OSF1 and SCO ODT 3.0 have their own names for install.
46676 # Don't use installbsd from OSF since it installs stuff as root
46678 for ac_prog
in ginstall scoinst
install; do
46679 for ac_exec_ext
in '' $ac_executable_extensions; do
46680 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46681 if test $ac_prog = install &&
46682 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46683 # AIX install. It has an incompatible calling convention.
46685 elif test $ac_prog = install &&
46686 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46687 # program-specific install script used by HP pwplus--don't use.
46690 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46702 if test "${ac_cv_path_install+set}" = set; then
46703 INSTALL
=$ac_cv_path_install
46705 # As a last resort, use the slow shell script. We don't cache a
46706 # path for INSTALL within a source directory, because that will
46707 # break other packages using the cache if that directory is
46708 # removed, or if the path is relative.
46709 INSTALL
=$ac_install_sh
46712 echo "$as_me:$LINENO: result: $INSTALL" >&5
46713 echo "${ECHO_T}$INSTALL" >&6
46715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46716 # It thinks the first close brace ends the variable substitution.
46717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46721 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46723 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46724 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46726 if test "$LN_S" = "ln -s"; then
46727 echo "$as_me:$LINENO: result: yes" >&5
46728 echo "${ECHO_T}yes" >&6
46730 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46731 echo "${ECHO_T}no, using $LN_S" >&6
46735 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46736 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46737 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46738 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46739 echo $ECHO_N "(cached) $ECHO_C" >&6
46741 cat >conftest.
make <<\_ACEOF
46743 @
echo 'ac_maketemp="$(MAKE)"'
46745 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46746 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46747 if test -n "$ac_maketemp"; then
46748 eval ac_cv_prog_make_
${ac_make}_set
=yes
46750 eval ac_cv_prog_make_
${ac_make}_set
=no
46752 rm -f conftest.
make
46754 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46755 echo "$as_me:$LINENO: result: yes" >&5
46756 echo "${ECHO_T}yes" >&6
46759 echo "$as_me:$LINENO: result: no" >&5
46760 echo "${ECHO_T}no" >&6
46761 SET_MAKE
="MAKE=${MAKE-make}"
46766 if test -n "$ac_tool_prefix"; then
46767 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46768 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46769 echo "$as_me:$LINENO: checking for $ac_word" >&5
46770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46771 if test "${ac_cv_prog_AR+set}" = set; then
46772 echo $ECHO_N "(cached) $ECHO_C" >&6
46774 if test -n "$AR"; then
46775 ac_cv_prog_AR
="$AR" # Let the user override the test.
46777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46778 for as_dir
in $PATH
46781 test -z "$as_dir" && as_dir
=.
46782 for ac_exec_ext
in '' $ac_executable_extensions; do
46783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46784 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46794 if test -n "$AR"; then
46795 echo "$as_me:$LINENO: result: $AR" >&5
46796 echo "${ECHO_T}$AR" >&6
46798 echo "$as_me:$LINENO: result: no" >&5
46799 echo "${ECHO_T}no" >&6
46803 if test -z "$ac_cv_prog_AR"; then
46805 # Extract the first word of "ar", so it can be a program name with args.
46806 set dummy
ar; ac_word
=$2
46807 echo "$as_me:$LINENO: checking for $ac_word" >&5
46808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46809 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46810 echo $ECHO_N "(cached) $ECHO_C" >&6
46812 if test -n "$ac_ct_AR"; then
46813 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46816 for as_dir
in $PATH
46819 test -z "$as_dir" && as_dir
=.
46820 for ac_exec_ext
in '' $ac_executable_extensions; do
46821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46822 ac_cv_prog_ac_ct_AR
="ar"
46823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46829 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46832 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46833 if test -n "$ac_ct_AR"; then
46834 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46835 echo "${ECHO_T}$ac_ct_AR" >&6
46837 echo "$as_me:$LINENO: result: no" >&5
46838 echo "${ECHO_T}no" >&6
46843 AR
="$ac_cv_prog_AR"
46846 if test -n "$ac_tool_prefix"; then
46847 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46848 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46849 echo "$as_me:$LINENO: checking for $ac_word" >&5
46850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46851 if test "${ac_cv_prog_STRIP+set}" = set; then
46852 echo $ECHO_N "(cached) $ECHO_C" >&6
46854 if test -n "$STRIP"; then
46855 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46858 for as_dir
in $PATH
46861 test -z "$as_dir" && as_dir
=.
46862 for ac_exec_ext
in '' $ac_executable_extensions; do
46863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46864 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46873 STRIP
=$ac_cv_prog_STRIP
46874 if test -n "$STRIP"; then
46875 echo "$as_me:$LINENO: result: $STRIP" >&5
46876 echo "${ECHO_T}$STRIP" >&6
46878 echo "$as_me:$LINENO: result: no" >&5
46879 echo "${ECHO_T}no" >&6
46883 if test -z "$ac_cv_prog_STRIP"; then
46885 # Extract the first word of "strip", so it can be a program name with args.
46886 set dummy strip
; ac_word
=$2
46887 echo "$as_me:$LINENO: checking for $ac_word" >&5
46888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46889 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46890 echo $ECHO_N "(cached) $ECHO_C" >&6
46892 if test -n "$ac_ct_STRIP"; then
46893 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46896 for as_dir
in $PATH
46899 test -z "$as_dir" && as_dir
=.
46900 for ac_exec_ext
in '' $ac_executable_extensions; do
46901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46902 ac_cv_prog_ac_ct_STRIP
="strip"
46903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46909 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46912 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46913 if test -n "$ac_ct_STRIP"; then
46914 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46915 echo "${ECHO_T}$ac_ct_STRIP" >&6
46917 echo "$as_me:$LINENO: result: no" >&5
46918 echo "${ECHO_T}no" >&6
46923 STRIP
="$ac_cv_prog_STRIP"
46926 if test -n "$ac_tool_prefix"; then
46927 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46928 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46929 echo "$as_me:$LINENO: checking for $ac_word" >&5
46930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46931 if test "${ac_cv_prog_NM+set}" = set; then
46932 echo $ECHO_N "(cached) $ECHO_C" >&6
46934 if test -n "$NM"; then
46935 ac_cv_prog_NM
="$NM" # Let the user override the test.
46937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46938 for as_dir
in $PATH
46941 test -z "$as_dir" && as_dir
=.
46942 for ac_exec_ext
in '' $ac_executable_extensions; do
46943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46944 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46954 if test -n "$NM"; then
46955 echo "$as_me:$LINENO: result: $NM" >&5
46956 echo "${ECHO_T}$NM" >&6
46958 echo "$as_me:$LINENO: result: no" >&5
46959 echo "${ECHO_T}no" >&6
46963 if test -z "$ac_cv_prog_NM"; then
46965 # Extract the first word of "nm", so it can be a program name with args.
46966 set dummy nm
; ac_word
=$2
46967 echo "$as_me:$LINENO: checking for $ac_word" >&5
46968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46969 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46970 echo $ECHO_N "(cached) $ECHO_C" >&6
46972 if test -n "$ac_ct_NM"; then
46973 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46976 for as_dir
in $PATH
46979 test -z "$as_dir" && as_dir
=.
46980 for ac_exec_ext
in '' $ac_executable_extensions; do
46981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46982 ac_cv_prog_ac_ct_NM
="nm"
46983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46989 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46992 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46993 if test -n "$ac_ct_NM"; then
46994 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46995 echo "${ECHO_T}$ac_ct_NM" >&6
46997 echo "$as_me:$LINENO: result: no" >&5
46998 echo "${ECHO_T}no" >&6
47003 NM
="$ac_cv_prog_NM"
47007 case ${BAKEFILE_HOST} in
47009 INSTALL_DIR
="mkdir -p"
47011 *) INSTALL_DIR
="$INSTALL -d"
47017 case ${BAKEFILE_HOST} in
47018 *-*-cygwin* | *-*-mingw32* )
47019 LDFLAGS_GUI
="-mwindows"
47025 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47026 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47027 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47028 echo $ECHO_N "(cached) $ECHO_C" >&6
47031 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47032 egrep -s GNU
> /dev
/null
); then
47033 bakefile_cv_prog_makeisgnu
="yes"
47035 bakefile_cv_prog_makeisgnu
="no"
47039 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47040 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47042 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47059 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47060 case "${BAKEFILE_HOST}" in
47067 *-pc-os2_emx | *-pc-os2-emx )
47077 powerpc
-apple-macos* )
47086 case "$BAKEFILE_FORCE_PLATFORM" in
47107 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47108 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47109 { (exit 1); exit 1; }; }
47124 # Check whether --enable-omf or --disable-omf was given.
47125 if test "${enable_omf+set}" = set; then
47126 enableval
="$enable_omf"
47127 bk_os2_use_omf
="$enableval"
47130 case "${BAKEFILE_HOST}" in
47132 if test "x$GCC" = "xyes"; then
47133 CFLAGS
="$CFLAGS -fno-common"
47134 CXXFLAGS
="$CXXFLAGS -fno-common"
47136 if test "x$XLCC" = "xyes"; then
47137 CFLAGS
="$CFLAGS -qnocommon"
47138 CXXFLAGS
="$CXXFLAGS -qnocommon"
47142 *-pc-os2_emx | *-pc-os2-emx )
47143 if test "x$bk_os2_use_omf" = "xyes" ; then
47146 LDFLAGS
="-Zomf $LDFLAGS"
47147 CFLAGS
="-Zomf $CFLAGS"
47148 CXXFLAGS
="-Zomf $CXXFLAGS"
47156 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47162 SO_SUFFIX_MODULE
="so"
47167 DLLPREFIX_MODULE
=""
47171 case "${BAKEFILE_HOST}" in
47174 SO_SUFFIX_MODULE
="sl"
47178 SO_SUFFIX_MODULE
="a"
47182 SO_SUFFIX_MODULE
="dll"
47183 DLLIMP_SUFFIX
="dll.a"
47190 SO_SUFFIX_MODULE
="dll"
47191 DLLIMP_SUFFIX
="dll.a"
47201 *-pc-os2_emx | *-pc-os2-emx )
47203 SO_SUFFIX_MODULE
="dll"
47204 DLLIMP_SUFFIX
=$OS2_LIBEXT
47208 LIBEXT
=".$OS2_LIBEXT"
47213 SO_SUFFIX_MODULE
="bundle"
47217 if test "x$DLLIMP_SUFFIX" = "x" ; then
47218 DLLIMP_SUFFIX
="$SO_SUFFIX"
47233 if test "x$GCC" = "xyes"; then
47237 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47238 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47241 case "${BAKEFILE_HOST}" in
47243 if test "x$GCC" != "xyes"; then
47244 LDFLAGS
="$LDFLAGS -L/usr/lib"
47246 SHARED_LD_CC
="${CC} -b -o"
47247 SHARED_LD_CXX
="${CXX} -b -o"
47253 if test "x$GCC" != "xyes"; then
47254 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47255 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47256 if test "${bakefile_cv_prog_icc+set}" = set; then
47257 echo $ECHO_N "(cached) $ECHO_C" >&6
47260 cat >conftest.
$ac_ext <<_ACEOF
47263 cat confdefs.h
>>conftest.
$ac_ext
47264 cat >>conftest.
$ac_ext <<_ACEOF
47265 /* end confdefs.h. */
47271 #ifndef __INTEL_COMPILER
47279 rm -f conftest.
$ac_objext
47280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47281 (eval $ac_compile) 2>conftest.er1
47283 grep -v '^ *+' conftest.er1
>conftest.err
47285 cat conftest.err
>&5
47286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47287 (exit $ac_status); } &&
47288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47290 (eval $ac_try) 2>&5
47292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47293 (exit $ac_status); }; } &&
47294 { ac_try
='test -s conftest.$ac_objext'
47295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47296 (eval $ac_try) 2>&5
47298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299 (exit $ac_status); }; }; then
47300 bakefile_cv_prog_icc
=yes
47302 echo "$as_me: failed program was:" >&5
47303 sed 's/^/| /' conftest.
$ac_ext >&5
47305 bakefile_cv_prog_icc
=no
47308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47311 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47312 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47313 if test "$bakefile_cv_prog_icc" = "yes"; then
47320 if test "x$GCC" != xyes
; then
47321 SHARED_LD_CC
="${CC} -G -o"
47322 SHARED_LD_CXX
="${CXX} -G -o"
47330 cat <<EOF >shared-ld-sh
47332 #-----------------------------------------------------------------------------
47333 #-- Name: distrib/mac/shared-ld-sh
47334 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47335 #-- Author: Gilles Depeyrot
47336 #-- Copyright: (c) 2002 Gilles Depeyrot
47337 #-- Licence: any use permitted
47338 #-----------------------------------------------------------------------------
47343 linking_flag="-dynamiclib"
47344 ldargs="-r -keep_private_externs -nostdlib"
47346 while test ${D}# -gt 0; do
47353 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47354 # collect these options and values
47355 args="${D}{args} ${D}1 ${D}2"
47360 # collect these load args
47361 ldargs="${D}{ldargs} ${D}1"
47364 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47365 # collect these options
47366 args="${D}{args} ${D}1"
47369 -dynamiclib|-bundle)
47370 linking_flag="${D}1"
47374 echo "shared-ld: unhandled option '${D}1'"
47378 *.o | *.a | *.dylib)
47379 # collect object files
47380 objects="${D}{objects} ${D}1"
47384 echo "shared-ld: unhandled argument '${D}1'"
47395 # Link one module containing all the others
47397 if test ${D}{verbose} = 1; then
47398 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47400 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47404 # Link the shared library from the single module created, but only if the
47405 # previous command didn't fail:
47407 if test ${D}{status} = 0; then
47408 if test ${D}{verbose} = 1; then
47409 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47411 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47416 # Remove intermediate module
47418 rm -f master.${D}${D}.o
47423 chmod +x shared
-ld-sh
47425 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47426 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47429 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47430 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47431 if test "${bakefile_cv_gcc31+set}" = set; then
47432 echo $ECHO_N "(cached) $ECHO_C" >&6
47435 cat >conftest.
$ac_ext <<_ACEOF
47438 cat confdefs.h
>>conftest.
$ac_ext
47439 cat >>conftest.
$ac_ext <<_ACEOF
47440 /* end confdefs.h. */
47446 #if (__GNUC__ < 3) || \
47447 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47455 rm -f conftest.
$ac_objext
47456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47457 (eval $ac_compile) 2>conftest.er1
47459 grep -v '^ *+' conftest.er1
>conftest.err
47461 cat conftest.err
>&5
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); } &&
47464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47466 (eval $ac_try) 2>&5
47468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47469 (exit $ac_status); }; } &&
47470 { ac_try
='test -s conftest.$ac_objext'
47471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47472 (eval $ac_try) 2>&5
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); }; }; then
47477 bakefile_cv_gcc31
=yes
47480 echo "$as_me: failed program was:" >&5
47481 sed 's/^/| /' conftest.
$ac_ext >&5
47484 bakefile_cv_gcc31
=no
47488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47491 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47492 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47493 if test "$bakefile_cv_gcc31" = "no"; then
47494 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47495 SHARED_LD_CXX
="$SHARED_LD_CC"
47497 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47498 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47501 if test "x$GCC" == "xyes"; then
47502 PIC_FLAG
="-dynamic -fPIC"
47504 if test "x$XLCC" = "xyes"; then
47505 PIC_FLAG
="-dynamic -DPIC"
47510 if test "x$GCC" = "xyes"; then
47513 case "${BAKEFILE_HOST}" in
47515 LD_EXPFULL
="-Wl,-bexpfull"
47519 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47520 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47522 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47523 set dummy makeC
++SharedLib
; ac_word
=$2
47524 echo "$as_me:$LINENO: checking for $ac_word" >&5
47525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47526 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47527 echo $ECHO_N "(cached) $ECHO_C" >&6
47529 if test -n "$AIX_CXX_LD"; then
47530 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47533 for as_dir
in $PATH
47536 test -z "$as_dir" && as_dir
=.
47537 for ac_exec_ext
in '' $ac_executable_extensions; do
47538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47539 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47546 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47549 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47550 if test -n "$AIX_CXX_LD"; then
47551 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47552 echo "${ECHO_T}$AIX_CXX_LD" >&6
47554 echo "$as_me:$LINENO: result: no" >&5
47555 echo "${ECHO_T}no" >&6
47558 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47559 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47564 SHARED_LD_CC
="${LD} -nostart -o"
47565 SHARED_LD_CXX
="${LD} -nostart -o"
47569 if test "x$GCC" != "xyes"; then
47574 *-*-cygwin* | *-*-mingw32* )
47576 SHARED_LD_CC
="\$(CC) -shared -o"
47577 SHARED_LD_CXX
="\$(CXX) -shared -o"
47581 *-pc-os2_emx | *-pc-os2-emx )
47582 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47583 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47587 cat <<EOF >dllar.sh
47590 # dllar - a tool to build both a .dll and an .a file
47591 # from a set of object (.o) files for EMX/OS2.
47593 # Written by Andrew Zabolotny, bit@freya.etu.ru
47594 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47596 # This script will accept a set of files on the command line.
47597 # All the public symbols from the .o files will be exported into
47598 # a .DEF file, then linker will be run (through gcc) against them to
47599 # build a shared library consisting of all given .o files. All libraries
47600 # (.a) will be first decompressed into component .o files then act as
47601 # described above. You can optionally give a description (-d "description")
47602 # which will be put into .DLL. To see the list of accepted options (as well
47603 # as command-line format) simply run this program without options. The .DLL
47604 # is built to be imported by name (there is no guarantee that new versions
47605 # of the library you build will have same ordinals for same symbols).
47607 # dllar is free software; you can redistribute it and/or modify
47608 # it under the terms of the GNU General Public License as published by
47609 # the Free Software Foundation; either version 2, or (at your option)
47610 # any later version.
47612 # dllar is distributed in the hope that it will be useful,
47613 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47614 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47615 # GNU General Public License for more details.
47617 # You should have received a copy of the GNU General Public License
47618 # along with dllar; see the file COPYING. If not, write to the Free
47619 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47622 # To successfuly run this program you will need:
47623 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47624 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47626 # (used to build the .dll)
47628 # (used to create .def file from .o files)
47630 # (used to create .a file from .def file)
47631 # - GNU text utilites (cat, sort, uniq)
47632 # used to process emxexp output
47633 # - GNU file utilities (mv, rm)
47635 # - lxlite (optional, see flag below)
47636 # (used for general .dll cleanup)
47643 # basnam, variant of basename, which does _not_ remove the path, _iff_
47644 # second argument (suffix to remove) is given
47648 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47651 echo ${D}1 | sed 's/'${D}2'${D}//'
47654 echo "error in basnam ${D}*"
47660 # Cleanup temporary files and output
47663 for i in ${D}inputFiles ; do
47666 rm -rf \`basnam ${D}i !\`
47673 # Kill result in case of failure as there is just to many stupid make/nmake
47674 # things out there which doesn't do this.
47675 if [ ${D}# -eq 0 ]; then
47676 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47680 # Print usage and exit script with rc=1.
47682 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47683 echo ' [-name-mangler-script script.sh]'
47684 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47685 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47686 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47687 echo ' [*.o] [*.a]'
47688 echo '*> "output_file" should have no extension.'
47689 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47690 echo ' The import library name is derived from this and is set to "name".a,'
47691 echo ' unless overridden by -import'
47692 echo '*> "importlib_name" should have no extension.'
47693 echo ' If it has the .o, or .a extension, it is automatically removed.'
47694 echo ' This name is used as the import library name and may be longer and'
47695 echo ' more descriptive than the DLL name which has to follow the old '
47696 echo ' 8.3 convention of FAT.'
47697 echo '*> "script.sh may be given to override the output_file name by a'
47698 echo ' different name. It is mainly useful if the regular make process'
47699 echo ' of some package does not take into account OS/2 restriction of'
47700 echo ' DLL name lengths. It takes the importlib name as input and is'
47701 echo ' supposed to procude a shorter name as output. The script should'
47702 echo ' expect to get importlib_name without extension and should produce'
47703 echo ' a (max.) 8 letter name without extension.'
47704 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47705 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47706 echo ' These flags will be put at the start of GCC command line.'
47707 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47708 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47709 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47710 echo ' If the last character of a symbol is "*", all symbols beginning'
47711 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47712 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47713 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47714 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47715 echo ' C runtime DLLs.'
47716 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47717 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47718 echo ' unchanged to GCC at the end of command line.'
47719 echo '*> If you create a DLL from a library and you do not specify -o,'
47720 echo ' the basename for DLL and import library will be set to library name,'
47721 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47722 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47723 echo ' library will be renamed into gcc_s.a.'
47726 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47727 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47732 # Execute a command.
47733 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47734 # @Uses Whatever CleanUp() uses.
47740 if [ ${D}rcCmd -ne 0 ]; then
47741 echo "command failed, exit code="${D}rcCmd
47756 CFLAGS="-s -Zcrtdll"
47758 EXPORT_BY_ORDINALS=0
47763 case ${D}curDirS in
47767 curDirS=${D}{curDirS}"/"
47770 # Parse commandline
47773 while [ ${D}1 ]; do
47776 EXPORT_BY_ORDINALS=1;
47786 -name-mangler-script)
47807 exclude_symbols=${D}{exclude_symbols}${D}1" "
47811 library_flags=${D}{library_flags}${D}1" "
47830 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47833 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47834 if [ ${D}omfLinking -eq 1 ]; then
47835 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47837 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47842 if [ ${D}libsToLink -ne 0 ]; then
47843 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47845 for file in ${D}1 ; do
47846 if [ -f ${D}file ]; then
47847 inputFiles="${D}{inputFiles} ${D}file"
47851 if [ ${D}found -eq 0 ]; then
47852 echo "ERROR: No file(s) found: "${D}1
47859 done # iterate cmdline words
47862 if [ -z "${D}inputFiles" ]; then
47863 echo "dllar: no input files"
47867 # Now extract all .o files from .a files
47869 for file in ${D}inputFiles ; do
47880 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47885 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47887 if [ ${D}? -ne 0 ]; then
47888 echo "Failed to create subdirectory ./${D}dirname"
47892 # Append '!' to indicate archive
47893 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47894 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47897 for subfile in ${D}dirname/*.o* ; do
47898 if [ -f ${D}subfile ]; then
47900 if [ -s ${D}subfile ]; then
47901 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47902 newInputFiles="${D}newInputFiles ${D}subfile"
47906 if [ ${D}found -eq 0 ]; then
47907 echo "WARNING: there are no files in archive \\'${D}file\\'"
47911 newInputFiles="${D}{newInputFiles} ${D}file"
47915 inputFiles="${D}newInputFiles"
47917 # Output filename(s).
47919 if [ -z ${D}outFile ]; then
47921 set outFile ${D}inputFiles; outFile=${D}2
47924 # If it is an archive, remove the '!' and the '_%' suffixes
47925 case ${D}outFile in
47927 outFile=\`basnam ${D}outFile _%!\`
47932 case ${D}outFile in
47934 outFile=\`basnam ${D}outFile .dll\`
47937 outFile=\`basnam ${D}outFile .DLL\`
47940 outFile=\`basnam ${D}outFile .o\`
47943 outFile=\`basnam ${D}outFile .obj\`
47946 outFile=\`basnam ${D}outFile .a\`
47949 outFile=\`basnam ${D}outFile .lib\`
47954 case ${D}outimpFile in
47956 outimpFile=\`basnam ${D}outimpFile .a\`
47959 outimpFile=\`basnam ${D}outimpFile .lib\`
47964 if [ -z ${D}outimpFile ]; then
47965 outimpFile=${D}outFile
47967 defFile="${D}{outFile}.def"
47968 arcFile="${D}{outimpFile}.a"
47969 arcFile2="${D}{outimpFile}.lib"
47971 #create ${D}dllFile as something matching 8.3 restrictions,
47972 if [ -z ${D}renameScript ] ; then
47973 dllFile="${D}outFile"
47975 dllFile=\`${D}renameScript ${D}outimpFile\`
47978 if [ ${D}do_backup -ne 0 ] ; then
47979 if [ -f ${D}arcFile ] ; then
47980 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47982 if [ -f ${D}arcFile2 ] ; then
47983 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47987 # Extract public symbols from all the object files.
47988 tmpdefFile=${D}{defFile}_%
47989 rm -f ${D}tmpdefFile
47990 for file in ${D}inputFiles ; do
47995 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48000 # Create the def file.
48002 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48003 dllFile="${D}{dllFile}.dll"
48004 if [ ! -z ${D}description ]; then
48005 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48007 echo "EXPORTS" >> ${D}defFile
48009 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48010 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48012 # Checks if the export is ok or not.
48013 for word in ${D}exclude_symbols; do
48014 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48015 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48019 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48020 sed "=" < ${D}tmpdefFile | \\
48024 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48026 ' > ${D}{tmpdefFile}%
48027 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48029 rm -f ${D}{tmpdefFile}%
48031 cat ${D}tmpdefFile >> ${D}defFile
48032 rm -f ${D}tmpdefFile
48034 # Do linking, create implib, and apply lxlite.
48036 for file in ${D}inputFiles ; do
48041 gccCmdl="${D}gccCmdl ${D}file"
48045 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48046 touch "${D}{outFile}.dll"
48048 doCommand "emximp -o ${D}arcFile ${D}defFile"
48049 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48051 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48054 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48056 doCommand "emxomf -s -l ${D}arcFile"
48066 powerpc
-apple-macos* | \
48067 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48078 if test "x$PIC_FLAG" != "x" ; then
48079 PIC_FLAG
="$PIC_FLAG -DPIC"
48082 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48083 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48085 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48086 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48105 case "${BAKEFILE_HOST}" in
48106 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48107 SONAME_FLAG
="-Wl,-soname,"
48141 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48142 if test "${enable_dependency_tracking+set}" = set; then
48143 enableval
="$enable_dependency_tracking"
48144 bk_use_trackdeps
="$enableval"
48147 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48148 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48150 if test "x$bk_use_trackdeps" = "xno" ; then
48152 echo "$as_me:$LINENO: result: disabled" >&5
48153 echo "${ECHO_T}disabled" >&6
48157 if test "x$GCC" = "xyes"; then
48159 case "${BAKEFILE_HOST}" in
48161 DEPSFLAG
="-no-cpp-precomp -MMD"
48167 echo "$as_me:$LINENO: result: gcc" >&5
48168 echo "${ECHO_T}gcc" >&6
48169 elif test "x$MWCC" = "xyes"; then
48172 echo "$as_me:$LINENO: result: mwcc" >&5
48173 echo "${ECHO_T}mwcc" >&6
48174 elif test "x$SUNCC" = "xyes"; then
48177 echo "$as_me:$LINENO: result: Sun cc" >&5
48178 echo "${ECHO_T}Sun cc" >&6
48179 elif test "x$SGICC" = "xyes"; then
48182 echo "$as_me:$LINENO: result: SGI cc" >&5
48183 echo "${ECHO_T}SGI cc" >&6
48184 elif test "x$HPCC" = "xyes"; then
48187 echo "$as_me:$LINENO: result: HP cc" >&5
48188 echo "${ECHO_T}HP cc" >&6
48189 elif test "x$COMPAQCC" = "xyes"; then
48192 echo "$as_me:$LINENO: result: Compaq cc" >&5
48193 echo "${ECHO_T}Compaq cc" >&6
48196 echo "$as_me:$LINENO: result: none" >&5
48197 echo "${ECHO_T}none" >&6
48200 if test $DEPS_TRACKING = 1 ; then
48206 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48207 # script. It is used to track C/C++ files dependencies in portable way.
48209 # Permission is given to use this file in any way.
48211 DEPSMODE=${DEPSMODE}
48213 DEPSFLAG="${DEPSFLAG}"
48215 mkdir -p ${D}DEPSDIR
48217 if test ${D}DEPSMODE = gcc ; then
48218 ${D}* ${D}{DEPSFLAG}
48220 if test ${D}{status} != 0 ; then
48223 # move created file to the location we want it in:
48224 while test ${D}# -gt 0; do
48238 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48239 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48240 if test -f ${D}depfile ; then
48241 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48244 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48245 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48246 if test ! -f ${D}depfile ; then
48247 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48248 depfile="${D}objfile.d"
48250 if test -f ${D}depfile ; then
48251 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48256 elif test ${D}DEPSMODE = mwcc ; then
48257 ${D}* || exit ${D}?
48258 # Run mwcc again with -MM and redirect into the dep file we want
48259 # NOTE: We can't use shift here because we need ${D}* to be valid
48261 for arg in ${D}* ; do
48262 if test "${D}prevarg" = "-o"; then
48275 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48277 elif test ${D}DEPSMODE = unixcc; then
48278 ${D}* || exit ${D}?
48279 # Run compiler again with deps flag and redirect into the dep file.
48280 # It doesn't work if the '-o FILE' option is used, but without it the
48281 # dependency file will contain the wrong name for the object. So it is
48282 # removed from the command line, and the dep file is fixed with sed.
48284 while test ${D}# -gt 0; do
48291 eval arg${D}#=\\${D}1
48292 cmd="${D}cmd \\${D}arg${D}#"
48297 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48312 case ${BAKEFILE_HOST} in
48313 *-*-cygwin* | *-*-mingw32* )
48314 if test -n "$ac_tool_prefix"; then
48315 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48316 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48317 echo "$as_me:$LINENO: checking for $ac_word" >&5
48318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48319 if test "${ac_cv_prog_WINDRES+set}" = set; then
48320 echo $ECHO_N "(cached) $ECHO_C" >&6
48322 if test -n "$WINDRES"; then
48323 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48326 for as_dir
in $PATH
48329 test -z "$as_dir" && as_dir
=.
48330 for ac_exec_ext
in '' $ac_executable_extensions; do
48331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48332 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48341 WINDRES
=$ac_cv_prog_WINDRES
48342 if test -n "$WINDRES"; then
48343 echo "$as_me:$LINENO: result: $WINDRES" >&5
48344 echo "${ECHO_T}$WINDRES" >&6
48346 echo "$as_me:$LINENO: result: no" >&5
48347 echo "${ECHO_T}no" >&6
48351 if test -z "$ac_cv_prog_WINDRES"; then
48352 ac_ct_WINDRES
=$WINDRES
48353 # Extract the first word of "windres", so it can be a program name with args.
48354 set dummy windres
; ac_word
=$2
48355 echo "$as_me:$LINENO: checking for $ac_word" >&5
48356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48357 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48360 if test -n "$ac_ct_WINDRES"; then
48361 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48364 for as_dir
in $PATH
48367 test -z "$as_dir" && as_dir
=.
48368 for ac_exec_ext
in '' $ac_executable_extensions; do
48369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48370 ac_cv_prog_ac_ct_WINDRES
="windres"
48371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48379 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48380 if test -n "$ac_ct_WINDRES"; then
48381 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48382 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48384 echo "$as_me:$LINENO: result: no" >&5
48385 echo "${ECHO_T}no" >&6
48388 WINDRES
=$ac_ct_WINDRES
48390 WINDRES
="$ac_cv_prog_WINDRES"
48395 *-*-darwin* | powerpc
-apple-macos* )
48396 # Extract the first word of "Rez", so it can be a program name with args.
48397 set dummy Rez
; ac_word
=$2
48398 echo "$as_me:$LINENO: checking for $ac_word" >&5
48399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48400 if test "${ac_cv_prog_REZ+set}" = set; then
48401 echo $ECHO_N "(cached) $ECHO_C" >&6
48403 if test -n "$REZ"; then
48404 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48407 for as_dir
in $PATH
48410 test -z "$as_dir" && as_dir
=.
48411 for ac_exec_ext
in '' $ac_executable_extensions; do
48412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48413 ac_cv_prog_REZ
="Rez"
48414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48420 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48423 REZ
=$ac_cv_prog_REZ
48424 if test -n "$REZ"; then
48425 echo "$as_me:$LINENO: result: $REZ" >&5
48426 echo "${ECHO_T}$REZ" >&6
48428 echo "$as_me:$LINENO: result: no" >&5
48429 echo "${ECHO_T}no" >&6
48432 # Extract the first word of "SetFile", so it can be a program name with args.
48433 set dummy SetFile
; ac_word
=$2
48434 echo "$as_me:$LINENO: checking for $ac_word" >&5
48435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48436 if test "${ac_cv_prog_SETFILE+set}" = set; then
48437 echo $ECHO_N "(cached) $ECHO_C" >&6
48439 if test -n "$SETFILE"; then
48440 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48443 for as_dir
in $PATH
48446 test -z "$as_dir" && as_dir
=.
48447 for ac_exec_ext
in '' $ac_executable_extensions; do
48448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48449 ac_cv_prog_SETFILE
="SetFile"
48450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48456 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48459 SETFILE
=$ac_cv_prog_SETFILE
48460 if test -n "$SETFILE"; then
48461 echo "$as_me:$LINENO: result: $SETFILE" >&5
48462 echo "${ECHO_T}$SETFILE" >&6
48464 echo "$as_me:$LINENO: result: no" >&5
48465 echo "${ECHO_T}no" >&6
48476 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48479 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48483 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48484 if test "${enable_precomp_headers+set}" = set; then
48485 enableval
="$enable_precomp_headers"
48486 bk_use_pch
="$enableval"
48493 case ${BAKEFILE_HOST} in
48499 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48500 if test "x$GCC" = "xyes"; then
48501 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48502 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48503 cat >conftest.
$ac_ext <<_ACEOF
48506 cat confdefs.h
>>conftest.
$ac_ext
48507 cat >>conftest.
$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48514 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48515 There is no PCH support
48518 There is no PCH support
48520 #if (__GNUC__ == 3) && \
48521 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48522 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48523 ( defined(__INTEL_COMPILER) )
48524 There is no PCH support
48531 rm -f conftest.
$ac_objext
48532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48533 (eval $ac_compile) 2>conftest.er1
48535 grep -v '^ *+' conftest.er1
>conftest.err
48537 cat conftest.err
>&5
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); } &&
48540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48542 (eval $ac_try) 2>&5
48544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48545 (exit $ac_status); }; } &&
48546 { ac_try
='test -s conftest.$ac_objext'
48547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48548 (eval $ac_try) 2>&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); }; }; then
48553 echo "$as_me:$LINENO: result: yes" >&5
48554 echo "${ECHO_T}yes" >&6
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.
$ac_ext >&5
48562 cat >conftest.
$ac_ext <<_ACEOF
48565 cat confdefs.h
>>conftest.
$ac_ext
48566 cat >>conftest.
$ac_ext <<_ACEOF
48567 /* end confdefs.h. */
48573 #if !defined(__INTEL_COMPILER) || \
48574 (__INTEL_COMPILER < 800)
48575 There is no PCH support
48582 rm -f conftest.
$ac_objext
48583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48584 (eval $ac_compile) 2>conftest.er1
48586 grep -v '^ *+' conftest.er1
>conftest.err
48588 cat conftest.err
>&5
48589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48590 (exit $ac_status); } &&
48591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try
='test -s conftest.$ac_objext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48604 echo "$as_me:$LINENO: result: yes" >&5
48605 echo "${ECHO_T}yes" >&6
48609 echo "$as_me: failed program was:" >&5
48610 sed 's/^/| /' conftest.
$ac_ext >&5
48613 echo "$as_me:$LINENO: result: no" >&5
48614 echo "${ECHO_T}no" >&6
48617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48621 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48625 cat <<EOF >bk-make-pch
48628 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48629 # script. It is used to generated precompiled headers.
48631 # Permission is given to use this file in any way.
48641 while test ${D}{#} -gt 0; do
48645 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48646 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48647 headerfile="${D}{incdir}/${D}{header}"
48650 -use-pch|-use_pch )
48655 if test ${D}add_to_cmdline = 1 ; then
48656 compiler="${D}{compiler} ${D}{1}"
48661 if test "x${D}{headerfile}" = "x" ; then
48662 echo "error: can't find header ${D}{header} in include paths" >&2
48664 if test -f ${D}{outfile} ; then
48665 rm -f ${D}{outfile}
48667 mkdir -p \`dirname ${D}{outfile}\`
48669 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48671 if test "x${GCC_PCH}" = "x1" ; then
48672 # can do this because gcc is >= 3.4:
48673 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48674 elif test "x${ICC_PCH}" = "x1" ; then
48675 filename=pch_gen-${D}${D}
48676 file=${D}{filename}.c
48677 dfile=${D}{filename}.d
48678 cat > ${D}file <<EOT
48679 #include "${D}header"
48681 # using -MF icc complains about differing command lines in creation/use
48682 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48683 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48684 rm -f ${D}file ${D}dfile ${D}{filename}.o
48690 chmod +x bk
-make-pch
48698 COND_BUILD_DEBUG
="#"
48699 if test "x$BUILD" = "xdebug" ; then
48700 COND_BUILD_DEBUG
=""
48703 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48704 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48705 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48708 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48709 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48710 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48713 COND_BUILD_DEBUG_UNICODE_0
="#"
48714 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48715 COND_BUILD_DEBUG_UNICODE_0
=""
48718 COND_BUILD_DEBUG_UNICODE_1
="#"
48719 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48720 COND_BUILD_DEBUG_UNICODE_1
=""
48723 COND_BUILD_RELEASE
="#"
48724 if test "x$BUILD" = "xrelease" ; then
48725 COND_BUILD_RELEASE
=""
48728 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48729 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48730 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48733 COND_BUILD_RELEASE_UNICODE_0
="#"
48734 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48735 COND_BUILD_RELEASE_UNICODE_0
=""
48738 COND_BUILD_RELEASE_UNICODE_1
="#"
48739 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48740 COND_BUILD_RELEASE_UNICODE_1
=""
48743 COND_DEBUG_FLAG_1
="#"
48744 if test "x$DEBUG_FLAG" = "x1" ; then
48745 COND_DEBUG_FLAG_1
=""
48748 COND_DEBUG_INFO_0
="#"
48749 if test "x$DEBUG_INFO" = "x0" ; then
48750 COND_DEBUG_INFO_0
=""
48753 COND_DEBUG_INFO_1
="#"
48754 if test "x$DEBUG_INFO" = "x1" ; then
48755 COND_DEBUG_INFO_1
=""
48758 COND_DEPS_TRACKING_0
="#"
48759 if test "x$DEPS_TRACKING" = "x0" ; then
48760 COND_DEPS_TRACKING_0
=""
48763 COND_DEPS_TRACKING_1
="#"
48764 if test "x$DEPS_TRACKING" = "x1" ; then
48765 COND_DEPS_TRACKING_1
=""
48769 if test "x$GCC_PCH" = "x1" ; then
48774 if test "x$ICC_PCH" = "x1" ; then
48778 COND_MONOLITHIC_0
="#"
48779 if test "x$MONOLITHIC" = "x0" ; then
48780 COND_MONOLITHIC_0
=""
48783 COND_MONOLITHIC_0_SHARED_0
="#"
48784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48785 COND_MONOLITHIC_0_SHARED_0
=""
48788 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48790 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48808 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48810 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48818 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48820 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48823 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48825 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48828 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48833 COND_MONOLITHIC_0_SHARED_1
="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_1
=""
48838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48863 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48868 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48873 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48878 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48883 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48885 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48888 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48890 COND_MONOLITHIC_0_USE_ODBC_1
=""
48893 COND_MONOLITHIC_1
="#"
48894 if test "x$MONOLITHIC" = "x1" ; then
48895 COND_MONOLITHIC_1
=""
48898 COND_MONOLITHIC_1_SHARED_0
="#"
48899 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48900 COND_MONOLITHIC_1_SHARED_0
=""
48903 COND_MONOLITHIC_1_SHARED_1
="#"
48904 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48905 COND_MONOLITHIC_1_SHARED_1
=""
48908 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48909 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48910 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48913 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48914 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48915 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48918 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48919 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48920 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48923 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48924 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48925 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48928 COND_PLATFORM_MACOSX_1
="#"
48929 if test "x$PLATFORM_MACOSX" = "x1" ; then
48930 COND_PLATFORM_MACOSX_1
=""
48933 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48935 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48938 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48940 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48943 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48944 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48945 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48948 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48950 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48953 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48955 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48958 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48960 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48963 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48965 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48968 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48970 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48973 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48975 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48980 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48983 COND_PLATFORM_MACOS_1
="#"
48984 if test "x$PLATFORM_MACOS" = "x1" ; then
48985 COND_PLATFORM_MACOS_1
=""
48988 COND_PLATFORM_MAC_1
="#"
48989 if test "x$PLATFORM_MAC" = "x1" ; then
48990 COND_PLATFORM_MAC_1
=""
48993 COND_PLATFORM_MSDOS_0
="#"
48994 if test "x$PLATFORM_MSDOS" = "x0" ; then
48995 COND_PLATFORM_MSDOS_0
=""
48998 COND_PLATFORM_MSDOS_1
="#"
48999 if test "x$PLATFORM_MSDOS" = "x1" ; then
49000 COND_PLATFORM_MSDOS_1
=""
49003 COND_PLATFORM_OS2_1
="#"
49004 if test "x$PLATFORM_OS2" = "x1" ; then
49005 COND_PLATFORM_OS2_1
=""
49008 COND_PLATFORM_UNIX_0
="#"
49009 if test "x$PLATFORM_UNIX" = "x0" ; then
49010 COND_PLATFORM_UNIX_0
=""
49013 COND_PLATFORM_UNIX_1
="#"
49014 if test "x$PLATFORM_UNIX" = "x1" ; then
49015 COND_PLATFORM_UNIX_1
=""
49018 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49019 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49020 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49023 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49024 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49025 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49028 COND_PLATFORM_WIN32_0
="#"
49029 if test "x$PLATFORM_WIN32" = "x0" ; then
49030 COND_PLATFORM_WIN32_0
=""
49033 COND_PLATFORM_WIN32_1
="#"
49034 if test "x$PLATFORM_WIN32" = "x1" ; then
49035 COND_PLATFORM_WIN32_1
=""
49039 if test "x$SHARED" = "x0" ; then
49043 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49044 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49045 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49048 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49049 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49050 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49053 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49054 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49055 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49058 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49059 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49060 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49063 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49064 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49065 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49068 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49069 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49070 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49073 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49074 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49078 COND_SHARED_0_USE_XRC_1
="#"
49079 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49080 COND_SHARED_0_USE_XRC_1
=""
49083 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49084 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49085 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49088 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49089 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49090 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49093 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49094 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49095 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49098 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49099 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49100 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49104 if test "x$SHARED" = "x1" ; then
49108 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49109 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49110 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49113 COND_SHARED_1_USE_XRC_1
="#"
49114 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49115 COND_SHARED_1_USE_XRC_1
=""
49119 if test "x$TOOLKIT" = "x" ; then
49123 COND_TOOLKIT_COCOA
="#"
49124 if test "x$TOOLKIT" = "xCOCOA" ; then
49125 COND_TOOLKIT_COCOA
=""
49128 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49129 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49130 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49133 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49134 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49135 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49138 COND_TOOLKIT_DFB
="#"
49139 if test "x$TOOLKIT" = "xDFB" ; then
49140 COND_TOOLKIT_DFB
=""
49143 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49144 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49145 COND_TOOLKIT_DFB_USE_GUI_1
=""
49148 COND_TOOLKIT_GTK
="#"
49149 if test "x$TOOLKIT" = "xGTK" ; then
49150 COND_TOOLKIT_GTK
=""
49153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49154 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49155 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49159 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49164 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49169 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49173 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49174 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49175 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49179 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49183 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49184 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49185 COND_TOOLKIT_GTK_USE_GUI_1
=""
49188 COND_TOOLKIT_MAC
="#"
49189 if test "x$TOOLKIT" = "xMAC" ; then
49190 COND_TOOLKIT_MAC
=""
49193 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49194 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49195 COND_TOOLKIT_MAC_USE_GUI_1
=""
49198 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49199 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49200 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49203 COND_TOOLKIT_MGL
="#"
49204 if test "x$TOOLKIT" = "xMGL" ; then
49205 COND_TOOLKIT_MGL
=""
49208 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49209 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49210 COND_TOOLKIT_MGL_USE_GUI_1
=""
49213 COND_TOOLKIT_MOTIF
="#"
49214 if test "x$TOOLKIT" = "xMOTIF" ; then
49215 COND_TOOLKIT_MOTIF
=""
49218 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49219 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49220 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49223 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49224 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49228 COND_TOOLKIT_MSW
="#"
49229 if test "x$TOOLKIT" = "xMSW" ; then
49230 COND_TOOLKIT_MSW
=""
49233 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49234 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_MSW_USE_GUI_1
=""
49238 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49239 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49243 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49244 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49245 COND_TOOLKIT_MSW_WXUNIV_0
=""
49248 COND_TOOLKIT_PM
="#"
49249 if test "x$TOOLKIT" = "xPM" ; then
49253 COND_TOOLKIT_PM_USE_GUI_1
="#"
49254 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49255 COND_TOOLKIT_PM_USE_GUI_1
=""
49258 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49259 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49260 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49263 COND_TOOLKIT_WINCE
="#"
49264 if test "x$TOOLKIT" = "xWINCE" ; then
49265 COND_TOOLKIT_WINCE
=""
49268 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49269 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49273 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49274 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49275 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49278 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49279 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49280 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49283 COND_TOOLKIT_X11
="#"
49284 if test "x$TOOLKIT" = "xX11" ; then
49285 COND_TOOLKIT_X11
=""
49288 COND_TOOLKIT_X11_USE_GUI_1
="#"
49289 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49290 COND_TOOLKIT_X11_USE_GUI_1
=""
49294 if test "x$UNICODE" = "x1" ; then
49298 COND_USE_EXCEPTIONS_0
="#"
49299 if test "x$USE_EXCEPTIONS" = "x0" ; then
49300 COND_USE_EXCEPTIONS_0
=""
49303 COND_USE_EXCEPTIONS_1
="#"
49304 if test "x$USE_EXCEPTIONS" = "x1" ; then
49305 COND_USE_EXCEPTIONS_1
=""
49309 if test "x$USE_GUI" = "x0" ; then
49314 if test "x$USE_GUI" = "x1" ; then
49318 COND_USE_GUI_1_WXUNIV_0
="#"
49319 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49320 COND_USE_GUI_1_WXUNIV_0
=""
49323 COND_USE_GUI_1_WXUNIV_1
="#"
49324 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49325 COND_USE_GUI_1_WXUNIV_1
=""
49328 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49329 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49330 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49333 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49334 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49335 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49338 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49339 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49340 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49343 COND_USE_ODBC_1
="#"
49344 if test "x$USE_ODBC" = "x1" ; then
49348 COND_USE_OPENGL_1
="#"
49349 if test "x$USE_OPENGL" = "x1" ; then
49350 COND_USE_OPENGL_1
=""
49354 if test "x$USE_PCH" = "x1" ; then
49358 COND_USE_PLUGINS_0
="#"
49359 if test "x$USE_PLUGINS" = "x0" ; then
49360 COND_USE_PLUGINS_0
=""
49363 COND_USE_RTTI_0
="#"
49364 if test "x$USE_RTTI" = "x0" ; then
49368 COND_USE_RTTI_1
="#"
49369 if test "x$USE_RTTI" = "x1" ; then
49373 COND_USE_SOSYMLINKS_1
="#"
49374 if test "x$USE_SOSYMLINKS" = "x1" ; then
49375 COND_USE_SOSYMLINKS_1
=""
49378 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49379 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49380 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49383 COND_USE_SOVERLINUX_1
="#"
49384 if test "x$USE_SOVERLINUX" = "x1" ; then
49385 COND_USE_SOVERLINUX_1
=""
49388 COND_USE_SOVERSION_0
="#"
49389 if test "x$USE_SOVERSION" = "x0" ; then
49390 COND_USE_SOVERSION_0
=""
49393 COND_USE_SOVERSOLARIS_1
="#"
49394 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49395 COND_USE_SOVERSOLARIS_1
=""
49398 COND_USE_THREADS_0
="#"
49399 if test "x$USE_THREADS" = "x0" ; then
49400 COND_USE_THREADS_0
=""
49403 COND_USE_THREADS_1
="#"
49404 if test "x$USE_THREADS" = "x1" ; then
49405 COND_USE_THREADS_1
=""
49409 if test "x$USE_XRC" = "x1" ; then
49413 COND_WINDOWS_IMPLIB_1
="#"
49414 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49415 COND_WINDOWS_IMPLIB_1
=""
49418 COND_WITH_PLUGIN_SDL_1
="#"
49419 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49420 COND_WITH_PLUGIN_SDL_1
=""
49424 if test "x$WXUNIV" = "x0" ; then
49429 if test "x$WXUNIV" = "x1" ; then
49433 COND_WXUSE_EXPAT_BUILTIN
="#"
49434 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49435 COND_WXUSE_EXPAT_BUILTIN
=""
49438 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49439 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49440 COND_WXUSE_LIBJPEG_BUILTIN
=""
49443 COND_WXUSE_LIBPNG_BUILTIN
="#"
49444 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49445 COND_WXUSE_LIBPNG_BUILTIN
=""
49448 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49449 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49450 COND_WXUSE_LIBTIFF_BUILTIN
=""
49453 COND_WXUSE_ODBC_BUILTIN
="#"
49454 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49455 COND_WXUSE_ODBC_BUILTIN
=""
49458 COND_WXUSE_REGEX_BUILTIN
="#"
49459 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49460 COND_WXUSE_REGEX_BUILTIN
=""
49463 COND_WXUSE_ZLIB_BUILTIN
="#"
49464 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49465 COND_WXUSE_ZLIB_BUILTIN
=""
49470 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49471 { { 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
49472 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;}
49473 { (exit 1); exit 1; }; }
49476 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49477 { { 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
49478 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;}
49479 { (exit 1); exit 1; }; }
49484 if test "$wxUSE_MAC" = 1 ; then
49485 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49486 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49492 if test "$wxUSE_SHARED" = "yes"; then
49494 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49495 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49498 *-pc-os2_emx | *-pc-os2-emx )
49499 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49500 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49501 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49502 cp -p ${srcdir}/src
/os
2/dllar.sh .
49507 EXE_LINKER
="$CXX -o"
49510 if test "$wxUSE_OMF" = "yes"; then
49512 *-pc-os2_emx | *-pc-os2-emx )
49513 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49514 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49515 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49520 if test $GCC_PCH = 1 ; then
49521 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49524 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49526 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49590 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49592 echo $ECHO_N "(cached) $ECHO_C" >&6
49594 cat >conftest.
make <<\_ACEOF
49596 @
echo 'ac_maketemp="$(MAKE)"'
49598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49600 if test -n "$ac_maketemp"; then
49601 eval ac_cv_prog_make_
${ac_make}_set
=yes
49603 eval ac_cv_prog_make_
${ac_make}_set
=no
49605 rm -f conftest.
make
49607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49608 echo "$as_me:$LINENO: result: yes" >&5
49609 echo "${ECHO_T}yes" >&6
49612 echo "$as_me:$LINENO: result: no" >&5
49613 echo "${ECHO_T}no" >&6
49614 SET_MAKE
="MAKE=${MAKE-make}"
49619 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49622 if test "$USE_WIN32" = 1; then
49623 ac_config_commands
="$ac_config_commands
49629 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49632 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49635 ac_config_files
="$ac_config_files version-script Makefile"
49638 ac_config_commands
="$ac_config_commands wx-config"
49642 if test "$wxWITH_SUBDIRS" != "no"; then
49643 if test "$wxUSE_GUI" = "yes"; then
49644 SUBDIRS
="samples demos utils contrib"
49645 else SUBDIRS
="samples utils"
49650 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49651 if test "${with_cppunit_prefix+set}" = set; then
49652 withval
="$with_cppunit_prefix"
49653 cppunit_config_prefix
="$withval"
49655 cppunit_config_prefix
=""
49658 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49659 if test "${with_cppunit_exec_prefix+set}" = set; then
49660 withval
="$with_cppunit_exec_prefix"
49661 cppunit_config_exec_prefix
="$withval"
49663 cppunit_config_exec_prefix
=""
49666 if test x
$cppunit_config_exec_prefix != x
; then
49667 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49668 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49669 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49672 if test x
$cppunit_config_prefix != x
; then
49673 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49674 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49675 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49679 # Extract the first word of "cppunit-config", so it can be a program name with args.
49680 set dummy cppunit
-config; ac_word
=$2
49681 echo "$as_me:$LINENO: checking for $ac_word" >&5
49682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49683 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49684 echo $ECHO_N "(cached) $ECHO_C" >&6
49686 case $CPPUNIT_CONFIG in
49688 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49692 for as_dir
in $PATH
49695 test -z "$as_dir" && as_dir
=.
49696 for ac_exec_ext
in '' $ac_executable_extensions; do
49697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49698 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49705 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49709 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49711 if test -n "$CPPUNIT_CONFIG"; then
49712 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49713 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49715 echo "$as_me:$LINENO: result: no" >&5
49716 echo "${ECHO_T}no" >&6
49719 cppunit_version_min
=1.8.0
49721 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49722 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49724 if test "$CPPUNIT_CONFIG" = "no" ; then
49725 echo "$as_me:$LINENO: result: no" >&5
49726 echo "${ECHO_T}no" >&6
49729 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49730 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49731 cppunit_version
=`$CPPUNIT_CONFIG --version`
49733 cppunit_major_version
=`echo $cppunit_version | \
49734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49735 cppunit_minor_version
=`echo $cppunit_version | \
49736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49737 cppunit_micro_version
=`echo $cppunit_version | \
49738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49740 cppunit_major_min
=`echo $cppunit_version_min | \
49741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49742 cppunit_minor_min
=`echo $cppunit_version_min | \
49743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49744 cppunit_micro_min
=`echo $cppunit_version_min | \
49745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49747 cppunit_version_proper
=`expr \
49748 $cppunit_major_version \> $cppunit_major_min \| \
49749 $cppunit_major_version \= $cppunit_major_min \& \
49750 $cppunit_minor_version \> $cppunit_minor_min \| \
49751 $cppunit_major_version \= $cppunit_major_min \& \
49752 $cppunit_minor_version \= $cppunit_minor_min \& \
49753 $cppunit_micro_version \>= $cppunit_micro_min `
49755 if test "$cppunit_version_proper" = "1" ; then
49756 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49757 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49759 echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6
49765 if test "x$no_cppunit" = x
; then
49766 SUBDIRS
="$SUBDIRS tests"
49777 for subdir
in `echo $SUBDIRS`; do
49778 if test -d ${srcdir}/${subdir} ; then
49779 if test "$wxUSE_GUI" = "yes"; then
49780 if test ${subdir} = "samples"; then
49781 makefiles
="samples/Makefile.in $makefiles"
49782 for sample
in `echo $SAMPLES_SUBDIRS`; do
49783 if test -d $srcdir/samples
/$sample; then
49784 makefiles
="samples/$sample/Makefile.in $makefiles"
49788 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49789 eval "disabled=\$$disabled_var"
49790 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49791 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49793 else if test ${subdir} = "samples"; then
49794 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49795 elif test ${subdir} = "utils"; then
49797 for util
in HelpGen tex2rtf
; do
49798 if test -d $srcdir/utils
/$util ; then
49799 makefiles
="utils/$util/Makefile.in \
49800 utils/$util/src/Makefile.in \
49804 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49808 for mkin
in $makefiles ; do
49809 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49810 ac_config_files
="$ac_config_files $mk"
49816 cat >confcache
<<\_ACEOF
49817 # This file is a shell script that caches the results of configure
49818 # tests run on this system so they can be shared between configure
49819 # scripts and configure runs, see configure's option --config-cache.
49820 # It is not useful on other systems. If it contains results you don't
49821 # want to keep, you may remove or edit it.
49823 # config.status only pays attention to the cache file if you give it
49824 # the --recheck option to rerun configure.
49826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49828 # following values.
49832 # The following way of writing the cache mishandles newlines in values,
49833 # but we know of no workaround that is simple, portable, and efficient.
49834 # So, don't put newlines in cache variables' values.
49835 # Ultrix sh set writes to stderr and can't be redirected directly,
49836 # and sets the high bit in the cache file unless we assign to the vars.
49839 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49841 # `set' does not quote correctly, so add quotes (double-quote
49842 # substitution turns \\\\ into \\, and sed turns \\ into \).
49845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49848 # `set' quotes correctly as required by POSIX, so do not add quotes.
49850 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49859 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49861 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49862 if test -w $cache_file; then
49863 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49864 cat confcache
>$cache_file
49866 echo "not updating unwritable cache $cache_file"
49871 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49872 # Let make expand exec_prefix.
49873 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49875 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49876 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49877 # trailing colons and then remove the whole line if VPATH becomes empty
49878 # (actually we leave an empty line to preserve line numbers).
49879 if test "x$srcdir" = x.
; then
49880 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49881 s/:*\$(srcdir):*/:/;
49882 s/:*\${srcdir}:*/:/;
49884 s/^\([^=]*=[ ]*\):*/\1/;
49890 DEFS
=-DHAVE_CONFIG_H
49894 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49895 # 1. Remove the extension, and $U if already installed.
49896 ac_i
=`echo "$ac_i" |
49897 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49899 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49900 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49902 LIBOBJS
=$ac_libobjs
49904 LTLIBOBJS
=$ac_ltlibobjs
49908 : ${CONFIG_STATUS=./config.status}
49909 ac_clean_files_save
=$ac_clean_files
49910 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49911 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49912 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49913 cat >$CONFIG_STATUS <<_ACEOF
49915 # Generated by $as_me.
49916 # Run this file to recreate the current configuration.
49917 # Compiler output produced by configure, useful for debugging
49918 # configure, is in config.log if it exists.
49921 ac_cs_recheck=false
49923 SHELL=\${CONFIG_SHELL-$SHELL}
49926 cat >>$CONFIG_STATUS <<\_ACEOF
49927 ## --------------------- ##
49928 ## M4sh Initialization. ##
49929 ## --------------------- ##
49931 # Be Bourne compatible
49932 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49935 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49936 # is contrary to our usage. Disable this feature.
49937 alias -g '${1+"$@"}'='"$@"'
49938 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49941 DUALCASE
=1; export DUALCASE
# for MKS sh
49943 # Support unset when possible.
49944 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49951 # Work around bugs in pre-3.0 UWIN ksh.
49952 $as_unset ENV MAIL MAILPATH
49959 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49960 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49961 LC_TELEPHONE LC_TIME
49963 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49964 eval $as_var=C
; export $as_var
49970 # Required to use basename.
49971 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49977 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49978 as_basename
=basename
49984 # Name of the executable.
49985 as_me
=`$as_basename "$0" ||
49986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49987 X"$0" : 'X\(//\)$' \| \
49988 X"$0" : 'X\(/\)$' \| \
49989 . : '\(.\)' 2>/dev/null ||
49991 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49992 /^X\/\(\/\/\)$/{ s//\1/; q; }
49993 /^X\/\(\/\).*/{ s//\1/; q; }
49997 # PATH needs CR, and LINENO needs CR and PATH.
49998 # Avoid depending upon Character Ranges.
49999 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50000 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50001 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50002 as_cr_digits
='0123456789'
50003 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50005 # The user is always right.
50006 if test "${PATH_SEPARATOR+set}" != set; then
50007 echo "#! /bin/sh" >conf$$.sh
50008 echo "exit 0" >>conf$$.sh
50010 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50019 as_lineno_1
=$LINENO
50020 as_lineno_2
=$LINENO
50021 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50022 test "x$as_lineno_1" != "x$as_lineno_2" &&
50023 test "x$as_lineno_3" = "x$as_lineno_2" || {
50024 # Find who we are. Look in the path if we contain no path at all
50027 *[\\/]* ) as_myself
=$0 ;;
50028 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50029 for as_dir
in $PATH
50032 test -z "$as_dir" && as_dir
=.
50033 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50038 # We did not find ourselves, most probably we were run as `sh COMMAND'
50039 # in which case we are not to be found in the path.
50040 if test "x$as_myself" = x
; then
50043 if test ! -f "$as_myself"; then
50044 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50045 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50046 { (exit 1); exit 1; }; }
50048 case $CONFIG_SHELL in
50050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50051 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50054 test -z "$as_dir" && as_dir
=.
50055 for as_base
in sh bash ksh sh5
; do
50058 if ("$as_dir/$as_base" -c '
50059 as_lineno_1=$LINENO
50060 as_lineno_2=$LINENO
50061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50062 test "x$as_lineno_1" != "x$as_lineno_2" &&
50063 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50064 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50065 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50066 CONFIG_SHELL
=$as_dir/$as_base
50067 export CONFIG_SHELL
50068 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50076 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50077 # uniformly replaced by the line number. The first 'sed' inserts a
50078 # line-number line before each line; the second 'sed' does the real
50079 # work. The second script uses 'N' to pair each line-number line
50080 # with the numbered line, and appends trailing '-' during
50081 # substitution so that $LINENO is not a special case at line end.
50082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50083 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50084 sed '=' <$as_myself |
50089 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50092 s,^['$as_cr_digits']*\n,,
50093 ' >$as_me.lineno
&&
50094 chmod +x
$as_me.lineno
||
50095 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50096 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50097 { (exit 1); exit 1; }; }
50099 # Don't try to exec as it changes $[0], causing all sort of problems
50100 # (the dirname of $[0] is not the place where we might find the
50101 # original and so on. Autoconf is especially sensible to this).
50103 # Exit status is that of the last command.
50108 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50109 *c
*,-n*) ECHO_N
= ECHO_C
='
50111 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50112 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50115 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50121 rm -f conf$$ conf$$.exe conf$$.
file
50123 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50124 # We could just check for DJGPP; but this test a) works b) is more generic
50125 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50126 if test -f conf$$.exe
; then
50127 # Don't use ln at all; we don't have any links
50132 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50137 rm -f conf$$ conf$$.exe conf$$.
file
50139 if mkdir -p .
2>/dev
/null
; then
50142 test -d .
/-p && rmdir .
/-p
50146 as_executable_p
="test -f"
50148 # Sed expression to map a string onto a valid CPP name.
50149 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50151 # Sed expression to map a string onto a valid variable name.
50152 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50156 # We need space, tab and new line, in precisely that order.
50166 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50167 # report actual input values of CONFIG_FILES etc. instead of their
50168 # values after options handling. Logging --version etc. is OK.
50172 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50173 ## Running $as_me. ##
50178 This file was extended by wxWidgets $as_me 2.7.0, which was
50179 generated by GNU Autoconf 2.59. Invocation command line was
50181 CONFIG_FILES = $CONFIG_FILES
50182 CONFIG_HEADERS = $CONFIG_HEADERS
50183 CONFIG_LINKS = $CONFIG_LINKS
50184 CONFIG_COMMANDS = $CONFIG_COMMANDS
50188 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50192 # Files that config.status was made for.
50193 if test -n "$ac_config_files"; then
50194 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50197 if test -n "$ac_config_headers"; then
50198 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50201 if test -n "$ac_config_links"; then
50202 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50205 if test -n "$ac_config_commands"; then
50206 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50209 cat >>$CONFIG_STATUS <<\_ACEOF
50212 \`$as_me' instantiates files from templates according to the
50213 current configuration.
50215 Usage: $0 [OPTIONS] [FILE]...
50217 -h, --help print this help, then exit
50218 -V, --version print version number, then exit
50219 -q, --quiet do not print progress messages
50220 -d, --debug don't remove temporary files
50221 --recheck update $as_me by reconfiguring in the same conditions
50222 --file=FILE[:TEMPLATE]
50223 instantiate the configuration file FILE
50224 --header=FILE[:TEMPLATE]
50225 instantiate the configuration header FILE
50227 Configuration files:
50230 Configuration headers:
50233 Configuration commands:
50236 Report bugs to <bug-autoconf@gnu.org>."
50239 cat >>$CONFIG_STATUS <<_ACEOF
50241 wxWidgets config.status 2.7.0
50242 configured by $0, generated by GNU Autoconf 2.59,
50243 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50245 Copyright (C) 2003 Free Software Foundation, Inc.
50246 This config.status script is free software; the Free Software Foundation
50247 gives unlimited permission to copy, distribute and modify it."
50252 cat >>$CONFIG_STATUS <<\_ACEOF
50253 # If no file are specified by the user, then we need to provide default
50254 # value. By we need to know if files were specified by the user.
50260 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50261 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50269 *) # This is not an option, so the user has probably given explicit
50272 ac_need_defaults
=false
;;
50276 # Handling of the options.
50278 cat >>$CONFIG_STATUS <<\_ACEOF
50279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50281 --version | --vers* | -V )
50282 echo "$ac_cs_version"; exit 0 ;;
50284 # Conflict between --help and --header
50285 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50286 Try \`$0 --help' for more information." >&5
50287 echo "$as_me: error: ambiguous option: $1
50288 Try \`$0 --help' for more information." >&2;}
50289 { (exit 1); exit 1; }; };;
50290 --help | --hel | -h )
50291 echo "$ac_cs_usage"; exit 0 ;;
50292 --debug | --d* | -d )
50294 --file | --fil | --fi | --f )
50296 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50297 ac_need_defaults
=false
;;
50298 --header | --heade | --head | --hea )
50300 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50301 ac_need_defaults
=false
;;
50302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50303 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50306 # This is an error.
50307 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50308 Try \`$0 --help' for more information." >&5
50309 echo "$as_me: error: unrecognized option: $1
50310 Try \`$0 --help' for more information." >&2;}
50311 { (exit 1); exit 1; }; } ;;
50313 *) ac_config_targets
="$ac_config_targets $1" ;;
50319 ac_configure_extra_args
=
50321 if $ac_cs_silent; then
50323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50327 cat >>$CONFIG_STATUS <<_ACEOF
50328 if \$ac_cs_recheck; then
50329 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50330 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50335 cat >>$CONFIG_STATUS <<_ACEOF
50337 # INIT-COMMANDS section.
50342 infile="$srcdir/include/wx/msw/genrcdefs.h"
50343 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50346 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50347 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50348 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50356 cat >>$CONFIG_STATUS <<\_ACEOF
50357 for ac_config_target
in $ac_config_targets
50359 case "$ac_config_target" in
50360 # Handling of arguments.
50361 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50362 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50363 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50364 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50365 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50366 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50367 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50368 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50369 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50370 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50371 { (exit 1); exit 1; }; };;
50375 # If the user did not use the arguments to specify the items to instantiate,
50376 # then the envvar interface is used. Set only those that are not.
50377 # We use the long form for the default assignment because of an extremely
50378 # bizarre bug on SunOS 4.1.3.
50379 if $ac_need_defaults; then
50380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50381 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50382 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50385 # Have a temporary directory for convenience. Make it in the build tree
50386 # simply because there is no reason to put it here, and in addition,
50387 # creating and moving files from /tmp can sometimes cause problems.
50388 # Create a temporary directory, and hook for its removal unless debugging.
50391 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50392 trap '{ (exit 1); exit 1; }' 1 2 13 15
50395 # Create a (secure) tmp directory for tmp files.
50398 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50399 test -n "$tmp" && test -d "$tmp"
50402 tmp
=.
/confstat$$
-$RANDOM
50403 (umask 077 && mkdir $tmp)
50406 echo "$me: cannot create a temporary directory in ." >&2
50407 { (exit 1); exit 1; }
50412 cat >>$CONFIG_STATUS <<_ACEOF
50415 # CONFIG_FILES section.
50418 # No need to generate the scripts if there are no CONFIG_FILES.
50419 # This happens for instance when ./config.status config.h
50420 if test -n "\$CONFIG_FILES"; then
50421 # Protect against being on the right side of a sed subst in config.status.
50422 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50423 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50424 s,@SHELL@,$SHELL,;t t
50425 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50426 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50427 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50428 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50429 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50430 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50431 s,@exec_prefix@,$exec_prefix,;t t
50432 s,@prefix@,$prefix,;t t
50433 s,@program_transform_name@,$program_transform_name,;t t
50434 s,@bindir@,$bindir,;t t
50435 s,@sbindir@,$sbindir,;t t
50436 s,@libexecdir@,$libexecdir,;t t
50437 s,@datadir@,$datadir,;t t
50438 s,@sysconfdir@,$sysconfdir,;t t
50439 s,@sharedstatedir@,$sharedstatedir,;t t
50440 s,@localstatedir@,$localstatedir,;t t
50441 s,@libdir@,$libdir,;t t
50442 s,@includedir@,$includedir,;t t
50443 s,@oldincludedir@,$oldincludedir,;t t
50444 s,@infodir@,$infodir,;t t
50445 s,@mandir@,$mandir,;t t
50446 s,@build_alias@,$build_alias,;t t
50447 s,@host_alias@,$host_alias,;t t
50448 s,@target_alias@,$target_alias,;t t
50449 s,@DEFS@,$DEFS,;t t
50450 s,@ECHO_C@,$ECHO_C,;t t
50451 s,@ECHO_N@,$ECHO_N,;t t
50452 s,@ECHO_T@,$ECHO_T,;t t
50453 s,@LIBS@,$LIBS,;t t
50454 s,@build@,$build,;t t
50455 s,@build_cpu@,$build_cpu,;t t
50456 s,@build_vendor@,$build_vendor,;t t
50457 s,@build_os@,$build_os,;t t
50458 s,@host@,$host,;t t
50459 s,@host_cpu@,$host_cpu,;t t
50460 s,@host_vendor@,$host_vendor,;t t
50461 s,@host_os@,$host_os,;t t
50462 s,@target@,$target,;t t
50463 s,@target_cpu@,$target_cpu,;t t
50464 s,@target_vendor@,$target_vendor,;t t
50465 s,@target_os@,$target_os,;t t
50467 s,@CFLAGS@,$CFLAGS,;t t
50468 s,@LDFLAGS@,$LDFLAGS,;t t
50469 s,@CPPFLAGS@,$CPPFLAGS,;t t
50470 s,@ac_ct_CC@,$ac_ct_CC,;t t
50471 s,@EXEEXT@,$EXEEXT,;t t
50472 s,@OBJEXT@,$OBJEXT,;t t
50474 s,@EGREP@,$EGREP,;t t
50476 s,@CXXFLAGS@,$CXXFLAGS,;t t
50477 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50478 s,@RANLIB@,$RANLIB,;t t
50479 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50481 s,@ac_ct_AR@,$ac_ct_AR,;t t
50482 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50483 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50484 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50485 s,@STRIP@,$STRIP,;t t
50486 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50487 s,@WINDRES@,$WINDRES,;t t
50488 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50489 s,@DLLTOOL@,$DLLTOOL,;t t
50490 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50491 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50492 s,@LN_S@,$LN_S,;t t
50493 s,@CXXCPP@,$CXXCPP,;t t
50494 s,@subdirs@,$subdirs,;t t
50495 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50496 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50497 s,@GTK_LIBS@,$GTK_LIBS,;t t
50498 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50499 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50500 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50501 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50502 s,@X_CFLAGS@,$X_CFLAGS,;t t
50503 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50504 s,@X_LIBS@,$X_LIBS,;t t
50505 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50506 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50507 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50508 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50509 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50510 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50511 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50513 s,@DEREZ@,$DEREZ,;t t
50514 s,@SETFILE@,$SETFILE,;t t
50515 s,@LIBICONV@,$LIBICONV,;t t
50516 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50517 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50518 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50519 s,@SDL_LIBS@,$SDL_LIBS,;t t
50520 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50521 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50522 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50523 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50524 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50525 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50526 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50527 s,@GST_LIBS@,$GST_LIBS,;t t
50528 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50529 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50530 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50531 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50532 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50533 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50534 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50535 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50536 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50537 s,@VENDOR@,$VENDOR,;t t
50538 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50539 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50540 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50541 s,@WXUNIV@,$WXUNIV,;t t
50542 s,@MONOLITHIC@,$MONOLITHIC,;t t
50543 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50544 s,@EXTRALIBS@,$EXTRALIBS,;t t
50545 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50546 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50547 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50548 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50549 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50550 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50551 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50552 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50553 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50554 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50555 s,@UNICODE@,$UNICODE,;t t
50556 s,@BUILD@,$BUILD,;t t
50557 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50558 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50559 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50560 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50561 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50562 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50563 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50564 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50565 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50566 s,@SET_MAKE@,$SET_MAKE,;t t
50567 s,@MAKE_SET@,$MAKE_SET,;t t
50569 s,@ac_ct_NM@,$ac_ct_NM,;t t
50570 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50571 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50572 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50573 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50574 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50575 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50576 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50577 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50578 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50579 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50580 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50581 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50582 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50583 s,@LIBPREFIX@,$LIBPREFIX,;t t
50584 s,@LIBEXT@,$LIBEXT,;t t
50585 s,@DLLPREFIX@,$DLLPREFIX,;t t
50586 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50587 s,@dlldir@,$dlldir,;t t
50588 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50589 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50590 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50591 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50592 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50593 s,@PIC_FLAG@,$PIC_FLAG,;t t
50594 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50595 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50596 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50597 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50598 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50599 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50600 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50601 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50602 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50603 s,@GCC_PCH@,$GCC_PCH,;t t
50604 s,@ICC_PCH@,$ICC_PCH,;t t
50605 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50606 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50607 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50608 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50609 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50610 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50611 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50612 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50613 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50614 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50615 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50616 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50617 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50618 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50619 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50620 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50621 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50622 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50623 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50624 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50625 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
50626 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
50627 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
50628 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
50629 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50630 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50631 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50632 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50633 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50634 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50635 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
50636 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
50637 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
50638 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
50639 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50640 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50641 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50642 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50643 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50644 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50645 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50646 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50647 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50648 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50649 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50650 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50651 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50652 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50653 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50654 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50655 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50656 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50657 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
50658 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50659 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50660 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50661 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50662 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50663 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50664 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50665 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50666 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50667 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50668 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50669 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50670 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50671 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50672 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50673 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50674 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50675 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50676 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50677 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50678 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50679 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50680 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50681 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50682 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50683 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50684 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50685 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50686 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50687 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50688 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50689 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50690 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50691 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50692 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50693 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50694 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50695 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50696 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50697 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50698 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50699 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
50700 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50701 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50702 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50703 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50704 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50705 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50706 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50707 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50708 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50709 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50710 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50711 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50712 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50713 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50714 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50715 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50716 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50717 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50718 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50719 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50720 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50721 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50722 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50723 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50724 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50725 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50726 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50727 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50728 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50729 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50730 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50731 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50732 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50733 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50734 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50735 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50736 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50737 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50738 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50739 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50740 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50741 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50742 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50743 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50744 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50745 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50746 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50747 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50748 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50749 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50750 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50751 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50752 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50753 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50754 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50755 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50756 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50757 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50758 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50759 s,@SHARED@,$SHARED,;t t
50760 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50761 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50762 s,@USE_GUI@,$USE_GUI,;t t
50763 s,@AFMINSTALL@,$AFMINSTALL,;t t
50764 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50765 s,@TOOLKIT@,$TOOLKIT,;t t
50766 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50767 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50768 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50769 s,@cross_compiling@,$cross_compiling,;t t
50770 s,@WIDGET_SET@,$WIDGET_SET,;t t
50771 s,@WX_RELEASE@,$WX_RELEASE,;t t
50772 s,@WX_VERSION@,$WX_VERSION,;t t
50773 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50774 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50775 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50776 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50777 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50778 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50779 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50780 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50781 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50782 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50783 s,@EXE_LINKER@,$EXE_LINKER,;t t
50784 s,@GUIDIST@,$GUIDIST,;t t
50785 s,@DISTDIR@,$DISTDIR,;t t
50786 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50787 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50788 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50789 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50790 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50791 s,@RESCOMP@,$RESCOMP,;t t
50792 s,@RESFLAGS@,$RESFLAGS,;t t
50793 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50794 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50795 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50796 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50797 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50798 s,@MACSETFILE@,$MACSETFILE,;t t
50800 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50801 s,@LIBOBJS@,$LIBOBJS,;t t
50802 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50807 cat >>$CONFIG_STATUS <<\_ACEOF
50808 # Split the substitutions into bite-sized pieces for seds with
50809 # small command number limits, like on Digital OSF/1 and HP-UX.
50810 ac_max_sed_lines
=48
50811 ac_sed_frag
=1 # Number of current file.
50812 ac_beg
=1 # First line for current file.
50813 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50816 while $ac_more_lines; do
50817 if test $ac_beg -gt 1; then
50818 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50820 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50822 if test ! -s $tmp/subs.frag
; then
50823 ac_more_lines
=false
50825 # The purpose of the label and of the branching condition is to
50826 # speed up the sed processing (if there are no `@' at all, there
50827 # is no need to browse any of the substitutions).
50828 # These are the two extra sed commands mentioned above.
50830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50831 if test -z "$ac_sed_cmds"; then
50832 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50834 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50836 ac_sed_frag
=`expr $ac_sed_frag + 1`
50838 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50841 if test -z "$ac_sed_cmds"; then
50844 fi # test -n "$CONFIG_FILES"
50847 cat >>$CONFIG_STATUS <<\_ACEOF
50848 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50851 - | *:- | *:-:* ) # input from stdin
50853 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50854 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50855 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50857 * ) ac_file_in
=$ac_file.
in ;;
50860 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50861 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50863 X"$ac_file" : 'X\(//\)[^/]' \| \
50864 X"$ac_file" : 'X\(//\)$' \| \
50865 X"$ac_file" : 'X\(/\)' \| \
50866 . : '\(.\)' 2>/dev/null ||
50868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50870 /^X\(\/\/\)$/{ s//\1/; q; }
50871 /^X\(\/\).*/{ s//\1/; q; }
50873 { if $as_mkdir_p; then
50878 while test ! -d "$as_dir"; do
50879 as_dirs
="$as_dir $as_dirs"
50880 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50882 X"$as_dir" : 'X\(//\)[^/]' \| \
50883 X"$as_dir" : 'X\(//\)$' \| \
50884 X"$as_dir" : 'X\(/\)' \| \
50885 . : '\(.\)' 2>/dev/null ||
50887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50889 /^X\(\/\/\)$/{ s//\1/; q; }
50890 /^X\(\/\).*/{ s//\1/; q; }
50893 test ! -n "$as_dirs" || mkdir $as_dirs
50894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50896 { (exit 1); exit 1; }; }; }
50900 if test "$ac_dir" != .
; then
50901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50902 # A "../" for each directory in $ac_dir_suffix.
50903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50905 ac_dir_suffix
= ac_top_builddir
=
50909 .
) # No --srcdir option. We are building in place.
50911 if test -z "$ac_top_builddir"; then
50914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50916 [\\/]* | ?
:[\\/]* ) # Absolute path.
50917 ac_srcdir
=$srcdir$ac_dir_suffix;
50918 ac_top_srcdir
=$srcdir ;;
50919 *) # Relative path.
50920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50924 # Do not use `cd foo && pwd` to compute absolute paths, because
50925 # the directories may not exist.
50927 .
) ac_abs_builddir
="$ac_dir";;
50930 .
) ac_abs_builddir
=`pwd`;;
50931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50935 case $ac_abs_builddir in
50936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50938 case ${ac_top_builddir}.
in
50939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50944 case $ac_abs_builddir in
50945 .
) ac_abs_srcdir
=$ac_srcdir;;
50948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50953 case $ac_abs_builddir in
50954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50956 case $ac_top_srcdir in
50957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50965 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50966 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50969 # Let's still pretend it is `configure' which instantiates (i.e., don't
50970 # use $as_me), people would be surprised to read:
50971 # /* config.h. Generated by config.status. */
50972 if test x
"$ac_file" = x
-; then
50975 configure_input
="$ac_file. "
50977 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50978 sed 's,.*/,,'` by configure."
50980 # First look for the input files in the build tree, otherwise in the
50982 ac_file_inputs
=`IFS=:
50983 for f in $ac_file_in; do
50985 -) echo $tmp/stdin ;;
50987 # Absolute (can't be DOS-style, as IFS=:)
50988 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50989 echo "$as_me: error: cannot find input file: $f" >&2;}
50990 { (exit 1); exit 1; }; }
50993 if test -f "$f"; then
50996 elif test -f "$srcdir/$f"; then
51001 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51002 echo "$as_me: error: cannot find input file: $f" >&2;}
51003 { (exit 1); exit 1; }; }
51006 done` || { (exit 1); exit 1; }
51008 if test x
"$ac_file" != x
-; then
51009 { echo "$as_me:$LINENO: creating $ac_file" >&5
51010 echo "$as_me: creating $ac_file" >&6;}
51014 cat >>$CONFIG_STATUS <<_ACEOF
51018 cat >>$CONFIG_STATUS <<\_ACEOF
51020 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51021 s
,@configure_input@
,$configure_input,;t t
51022 s
,@srcdir@
,$ac_srcdir,;t t
51023 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51024 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51025 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51026 s
,@builddir@
,$ac_builddir,;t t
51027 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51028 s
,@top_builddir@
,$ac_top_builddir,;t t
51029 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51030 s
,@INSTALL@
,$ac_INSTALL,;t t
51031 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51033 if test x"$ac_file" != x-; then
51034 mv $tmp/out $ac_file
51040 # Run the commands associated with the file.
51042 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51043 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51047 cat >>$CONFIG_STATUS <<\_ACEOF
51050 # CONFIG_HEADER section.
51053 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51054 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51056 # ac_d sets the value in "#define NAME VALUE" lines.
51057 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51058 ac_dB
='[ ].*$,\1#\2'
51061 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51062 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51063 ac_uB
='$,\1#\2define\3'
51067 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51068 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51070 - | *:- | *:-:* ) # input from stdin
51072 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51073 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51074 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51075 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51076 * ) ac_file_in
=$ac_file.
in ;;
51079 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51080 echo "$as_me: creating $ac_file" >&6;}
51082 # First look for the input files in the build tree, otherwise in the
51084 ac_file_inputs
=`IFS=:
51085 for f in $ac_file_in; do
51087 -) echo $tmp/stdin ;;
51089 # Absolute (can't be DOS-style, as IFS=:)
51090 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51091 echo "$as_me: error: cannot find input file: $f" >&2;}
51092 { (exit 1); exit 1; }; }
51093 # Do quote $f, to prevent DOS paths from being IFS'd.
51096 if test -f "$f"; then
51099 elif test -f "$srcdir/$f"; then
51104 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51105 echo "$as_me: error: cannot find input file: $f" >&2;}
51106 { (exit 1); exit 1; }; }
51109 done` || { (exit 1); exit 1; }
51110 # Remove the trailing spaces.
51111 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51115 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51116 # `conftest.undefs', that substitutes the proper values into
51117 # config.h.in to produce config.h. The first handles `#define'
51118 # templates, and the second `#undef' templates.
51119 # And first: Protect against being on the right side of a sed subst in
51120 # config.status. Protect against being in an unquoted here document
51121 # in config.status.
51122 rm -f conftest.defines conftest.undefs
51123 # Using a here document instead of a string reduces the quoting nightmare.
51124 # Putting comments in sed scripts is not portable.
51126 # `end' is used to avoid that the second main sed command (meant for
51127 # 0-ary CPP macros) applies to n-ary macro definitions.
51128 # See the Autoconf documentation for `clear'.
51129 cat >confdef2sed.
sed <<\_ACEOF
51134 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51136 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51139 # If some macros were called several times there might be several times
51140 # the same #defines, which is useless. Nevertheless, we may not want to
51141 # sort them, since we want the *last* AC-DEFINE to be honored.
51142 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51143 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51144 rm -f confdef2sed.sed
51146 # This sed command replaces #undef with comments. This is necessary, for
51147 # example, in the case of _POSIX_SOURCE, which is predefined and required
51148 # on some systems where configure will not decide to define it.
51149 cat >>conftest.undefs <<\_ACEOF
51150 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51153 # Break up conftest.defines because some shells have a limit on the size
51154 # of here documents, and old seds have small limits too (100 cmds).
51155 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51156 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51157 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51158 echo ' :' >>$CONFIG_STATUS
51159 rm -f conftest.tail
51160 while grep . conftest.defines >/dev/null
51162 # Write a limited-size here document to $tmp/defines.sed.
51163 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51164 # Speed up: don't consider the non `#define' lines.
51165 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51166 # Work around the forget-to-reset-the-flag bug.
51167 echo 't clr' >>$CONFIG_STATUS
51168 echo ': clr' >>$CONFIG_STATUS
51169 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51171 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51173 mv $tmp/out $tmp/in
51175 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51176 rm -f conftest.defines
51177 mv conftest.
tail conftest.defines
51179 rm -f conftest.defines
51180 echo ' fi # grep' >>$CONFIG_STATUS
51181 echo >>$CONFIG_STATUS
51183 # Break up conftest.undefs because some shells have a limit on the size
51184 # of here documents, and old seds have small limits too (100 cmds).
51185 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51186 rm -f conftest.
tail
51187 while grep . conftest.undefs
>/dev
/null
51189 # Write a limited-size here document to $tmp/undefs.sed.
51190 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51191 # Speed up: don't consider the non
`#undef'
51192 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51193 # Work around the forget-to-reset-the-flag bug.
51194 echo 't clr' >>$CONFIG_STATUS
51195 echo ': clr' >>$CONFIG_STATUS
51196 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51198 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51200 mv $tmp/out $tmp/in
51202 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51203 rm -f conftest.undefs
51204 mv conftest.tail conftest.undefs
51206 rm -f conftest.undefs
51208 cat >>$CONFIG_STATUS <<\_ACEOF
51209 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51210 # use $as_me), people would be surprised to read:
51211 # /* config.h. Generated by config.status. */
51212 if test x
"$ac_file" = x
-; then
51213 echo "/* Generated by configure. */" >$tmp/config.h
51215 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51217 cat $tmp/in >>$tmp/config.h
51219 if test x
"$ac_file" != x
-; then
51220 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51221 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51222 echo "$as_me: $ac_file is unchanged" >&6;}
51224 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51226 X"$ac_file" : 'X\(//\)[^/]' \| \
51227 X"$ac_file" : 'X\(//\)$' \| \
51228 X"$ac_file" : 'X\(/\)' \| \
51229 . : '\(.\)' 2>/dev/null ||
51231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51233 /^X\(\/\/\)$/{ s//\1/; q; }
51234 /^X\(\/\).*/{ s//\1/; q; }
51236 { if $as_mkdir_p; then
51241 while test ! -d "$as_dir"; do
51242 as_dirs
="$as_dir $as_dirs"
51243 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51245 X"$as_dir" : 'X\(//\)[^/]' \| \
51246 X"$as_dir" : 'X\(//\)$' \| \
51247 X"$as_dir" : 'X\(/\)' \| \
51248 . : '\(.\)' 2>/dev/null ||
51250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51252 /^X\(\/\/\)$/{ s//\1/; q; }
51253 /^X\(\/\).*/{ s//\1/; q; }
51256 test ! -n "$as_dirs" || mkdir $as_dirs
51257 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51259 { (exit 1); exit 1; }; }; }
51262 mv $tmp/config.h
$ac_file
51266 rm -f $tmp/config.h
51270 cat >>$CONFIG_STATUS <<\_ACEOF
51273 # CONFIG_COMMANDS section.
51275 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51276 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51277 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51278 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51279 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51280 X"$ac_dest" : 'X\(//\)[^/]' \| \
51281 X"$ac_dest" : 'X\(//\)$' \| \
51282 X"$ac_dest" : 'X\(/\)' \| \
51283 . : '\(.\)' 2>/dev/null ||
51285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51287 /^X\(\/\/\)$/{ s//\1/; q; }
51288 /^X\(\/\).*/{ s//\1/; q; }
51290 { if $as_mkdir_p; then
51295 while test ! -d "$as_dir"; do
51296 as_dirs
="$as_dir $as_dirs"
51297 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51299 X"$as_dir" : 'X\(//\)[^/]' \| \
51300 X"$as_dir" : 'X\(//\)$' \| \
51301 X"$as_dir" : 'X\(/\)' \| \
51302 . : '\(.\)' 2>/dev/null ||
51304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51306 /^X\(\/\/\)$/{ s//\1/; q; }
51307 /^X\(\/\).*/{ s//\1/; q; }
51310 test ! -n "$as_dirs" || mkdir $as_dirs
51311 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51312 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51313 { (exit 1); exit 1; }; }; }
51317 if test "$ac_dir" != .
; then
51318 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51319 # A "../" for each directory in $ac_dir_suffix.
51320 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51322 ac_dir_suffix
= ac_top_builddir
=
51326 .
) # No --srcdir option. We are building in place.
51328 if test -z "$ac_top_builddir"; then
51331 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51333 [\\/]* | ?
:[\\/]* ) # Absolute path.
51334 ac_srcdir
=$srcdir$ac_dir_suffix;
51335 ac_top_srcdir
=$srcdir ;;
51336 *) # Relative path.
51337 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51338 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51341 # Do not use `cd foo && pwd` to compute absolute paths, because
51342 # the directories may not exist.
51344 .
) ac_abs_builddir
="$ac_dir";;
51347 .
) ac_abs_builddir
=`pwd`;;
51348 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51349 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51352 case $ac_abs_builddir in
51353 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51355 case ${ac_top_builddir}.
in
51356 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51357 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51358 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51361 case $ac_abs_builddir in
51362 .
) ac_abs_srcdir
=$ac_srcdir;;
51365 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51366 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51367 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51370 case $ac_abs_builddir in
51371 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51373 case $ac_top_srcdir in
51374 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51375 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51376 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51381 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51382 echo "$as_me: executing $ac_dest commands" >&6;}
51385 mkdir -p $outdir &&
51386 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51388 wx
-config ) rm -f wx
-config
51389 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51395 cat >>$CONFIG_STATUS <<\_ACEOF
51397 { (exit 0); exit 0; }
51399 chmod +x
$CONFIG_STATUS
51400 ac_clean_files
=$ac_clean_files_save
51403 # configure is writing to config.log, and then calls config.status.
51404 # config.status does its own redirection, appending to config.log.
51405 # Unfortunately, on DOS this fails, as config.log is still kept open
51406 # by configure, so config.status won't be able to write to it; its
51407 # output is simply discarded. So we exec the FD to /dev/null,
51408 # effectively closing config.log, so it can be properly (re)opened and
51409 # appended to by config.status. When coming back to configure, we
51410 # need to make the FD available again.
51411 if test "$no_create" != yes; then
51413 ac_config_status_args
=
51414 test "$silent" = yes &&
51415 ac_config_status_args
="$ac_config_status_args --quiet"
51417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51420 # would make configure fail if this is the last instruction.
51421 $ac_cs_success || { (exit 1); exit 1; }
51425 # CONFIG_SUBDIRS section.
51427 if test "$no_recursion" != yes; then
51429 # Remove --cache-file and --srcdir arguments so they do not pile up.
51430 ac_sub_configure_args
=
51432 for ac_arg
in $ac_configure_args; do
51433 if test -n "$ac_prev"; then
51438 -cache-file | --cache-file | --cache-fil | --cache-fi \
51439 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51440 ac_prev
=cache_file
;;
51441 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51442 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51445 --config-cache | -C)
51447 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51449 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51451 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51453 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51455 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51459 # Always prepend --prefix to ensure using the same prefix
51460 # in subdir configurations.
51461 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51464 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51466 # Do not complain, so a configure script can configure whichever
51467 # parts of a large source tree are present.
51468 test -d $srcdir/$ac_dir || continue
51470 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51471 echo "$as_me: configuring in $ac_dir" >&6;}
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; }; }; }
51499 if test "$ac_dir" != .
; then
51500 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51501 # A "../" for each directory in $ac_dir_suffix.
51502 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51504 ac_dir_suffix
= ac_top_builddir
=
51508 .
) # No --srcdir option. We are building in place.
51510 if test -z "$ac_top_builddir"; then
51513 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51515 [\\/]* | ?
:[\\/]* ) # Absolute path.
51516 ac_srcdir
=$srcdir$ac_dir_suffix;
51517 ac_top_srcdir
=$srcdir ;;
51518 *) # Relative path.
51519 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51520 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51523 # Do not use `cd foo && pwd` to compute absolute paths, because
51524 # the directories may not exist.
51526 .
) ac_abs_builddir
="$ac_dir";;
51529 .
) ac_abs_builddir
=`pwd`;;
51530 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51531 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51534 case $ac_abs_builddir in
51535 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51537 case ${ac_top_builddir}.
in
51538 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51539 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51540 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51543 case $ac_abs_builddir in
51544 .
) ac_abs_srcdir
=$ac_srcdir;;
51547 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51548 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51549 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51552 case $ac_abs_builddir in
51553 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51555 case $ac_top_srcdir in
51556 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51557 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51558 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51565 # Check for guested configure; otherwise get Cygnus style configure.
51566 if test -f $ac_srcdir/configure.gnu
; then
51567 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51568 elif test -f $ac_srcdir/configure
; then
51569 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51570 elif test -f $ac_srcdir/configure.
in; then
51571 ac_sub_configure
=$ac_configure
51573 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51574 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51578 # The recursion is here.
51579 if test -n "$ac_sub_configure"; then
51580 # Make the cache file name correct relative to the subdirectory.
51581 case $cache_file in
51582 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51583 *) # Relative path.
51584 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51587 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51588 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51589 # The eval makes quoting arguments work.
51590 eval $ac_sub_configure $ac_sub_configure_args \
51591 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51592 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51593 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51594 { (exit 1); exit 1; }; }
51603 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51605 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51606 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51608 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51609 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51610 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51612 echo " What level of wxWidgets compatibility should be enabled?"
51613 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51614 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51616 echo " Which libraries should wxWidgets use?"
51617 echo " jpeg ${wxUSE_LIBJPEG-none}"
51618 echo " png ${wxUSE_LIBPNG-none}"
51619 echo " regex ${wxUSE_REGEX}"
51620 echo " tiff ${wxUSE_LIBTIFF-none}"
51621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51622 echo " xpm ${wxUSE_LIBXPM-none}"
51624 echo " zlib ${wxUSE_ZLIB}"
51625 echo " odbc ${wxUSE_ODBC}"
51626 echo " expat ${wxUSE_EXPAT}"
51627 echo " libmspack ${wxUSE_LIBMSPACK}"
51628 echo " sdl ${wxUSE_LIBSDL}"