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 RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 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 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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 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_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_XRC_1 COND_MONOLITHIC_0_SHARED_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_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_XRC_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_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_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_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 WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG 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
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --without-subdirs don't generate makefiles
for samples
/demos
/...
1058 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1059 --with-motif use Motif
/Lesstif
1060 --with-mac use Mac OS X
1061 --with-cocoa use Cocoa
1062 --with-wine use Wine
1063 --with-msw use MS
-Windows
1064 --with-pm use OS
/2 Presentation Manager
1065 --with-mgl use SciTech MGL
1066 --with-microwin use MicroWindows
1068 --with-libpng use libpng
(PNG image format
)
1069 --with-libjpeg use libjpeg
(JPEG
file format
)
1070 --with-libtiff use libtiff
(TIFF
file format
)
1071 --with-libxpm use libxpm
(XPM
file format
)
1072 --with-libmspack use libmspack
(CHM
help files loading
)
1073 --with-sdl use SDL
for audio on Unix
1074 --with-gnomeprint use GNOME print
for printing under Unix
1075 --with-opengl use OpenGL
(or Mesa
)
1076 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1077 --with-regex enable support
for wxRegEx class
1078 --with-zlib use zlib
for LZW compression
1079 --with-odbc use the IODBC and wxODBC classes
1080 --with-expat enable XML support using expat parser
1081 --with-flavour=NAME specify a name to identify this build
1082 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1083 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1084 --with-x use the X Window System
1085 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1086 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1087 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1088 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1089 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1091 Some influential environment variables
:
1092 CC C compiler
command
1093 CFLAGS C compiler flags
1094 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1095 nonstandard directory
<lib dir
>
1096 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1097 headers
in a nonstandard directory
<include dir
>
1099 CXX C
++ compiler
command
1100 CXXFLAGS C
++ compiler flags
1101 CXXCPP C
++ preprocessor
1103 Use these variables to override the choices made by
`configure' or to help
1104 it to find libraries and programs with nonstandard names/locations.
1106 Report bugs to <wx-dev@lists.wxwidgets.org>.
1110 if test "$ac_init_help" = "recursive"; then
1111 # If there are subdirs, report their specific --help.
1113 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114 test -d $ac_dir || continue
1117 if test "$ac_dir" != .; then
1118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119 # A "../" for each directory in $ac_dir_suffix.
1120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1122 ac_dir_suffix= ac_top_builddir=
1126 .) # No --srcdir option. We are building in place.
1128 if test -z "$ac_top_builddir"; then
1131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1133 [\\/]* | ?:[\\/]* ) # Absolute path.
1134 ac_srcdir=$srcdir$ac_dir_suffix;
1135 ac_top_srcdir=$srcdir ;;
1137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1141 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1142 # the directories may not exist.
1144 .) ac_abs_builddir="$ac_dir";;
1147 .) ac_abs_builddir=`pwd`;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1155 case ${ac_top_builddir}. in
1156 .) ac_abs_top_builddir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1161 case $ac_abs_builddir in
1162 .) ac_abs_srcdir=$ac_srcdir;;
1165 .) ac_abs_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1170 case $ac_abs_builddir in
1171 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1173 case $ac_top_srcdir in
1174 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1181 # Check for guested configure; otherwise get Cygnus style configure.
1182 if test -f $ac_srcdir/configure.gnu; then
1184 $SHELL $ac_srcdir/configure.gnu --help=recursive
1185 elif test -f $ac_srcdir/configure; then
1187 $SHELL $ac_srcdir/configure --help=recursive
1188 elif test -f $ac_srcdir/configure.ac ||
1189 test -f $ac_srcdir/configure.in; then
1191 $ac_configure --help
1193 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1199 test -n "$ac_init_help" && exit 0
1200 if $ac_init_version; then
1202 wxWidgets configure 2.7.0
1203 generated by GNU Autoconf 2.59
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1216 It was created by wxWidgets $as_me 2.7.0, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1228 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1229 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1230 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1231 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1232 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1234 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1235 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1237 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1238 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1239 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1240 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1241 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1242 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1243 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1276 ac_must_keep_next=false
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1305 -* ) ac_must_keep_next=true ;;
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close
' the trap.
1323 trap 'exit_status
=$?
1324 # Save into config.log some information that might help in debugging.
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1334 # The following way of writing the cache mishandles newlines in values,
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1357 for ac_var
in $ac_subst_vars
1359 eval ac_val
=$
`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -n "$ac_subst_files"; then
1371 for ac_var
in $ac_subst_files
1373 eval ac_val
=$
`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1379 if test -s confdefs.h
; then
1386 sed "/^$/d" confdefs.h
| sort
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1393 rm -f core
*.core
&&
1394 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1407 # Predefined preprocessor variables.
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's
/^
/| /' "$ac_site_file" >&5
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1469 # Check that the precious variables saved in the cache have kept the same
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1482 ac_cache_corrupted=: ;;
1484 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1491 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1516 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1556 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1557 if test -f $ac_dir/install-sh; then
1559 ac_install_sh="$ac_aux_dir/install-sh -c"
1561 elif test -f $ac_dir/install.sh; then
1563 ac_install_sh="$ac_aux_dir/install.sh -c"
1565 elif test -f $ac_dir/shtool; then
1567 ac_install_sh="$ac_aux_dir/shtool install -c"
1571 if test -z "$ac_aux_dir"; then
1572 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1573 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1574 { (exit 1); exit 1; }; }
1576 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1577 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1578 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1580 # Make sure we can run config.sub.
1581 $ac_config_sub sun4 >/dev/null 2>&1 ||
1582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1584 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: checking build system type" >&5
1587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1588 if test "${ac_cv_build+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_build_alias=$build_alias
1592 test -z "$ac_cv_build_alias" &&
1593 ac_cv_build_alias=`$ac_config_guess`
1594 test -z "$ac_cv_build_alias" &&
1595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1597 { (exit 1); exit 1; }; }
1598 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1605 echo "${ECHO_T}$ac_cv_build" >&6
1607 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1608 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1609 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 ac_cv_host_alias=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias=$ac_cv_build_alias
1620 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1629 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1630 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1631 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 ac_cv_target_alias=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias=$ac_cv_host_alias
1642 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target=$ac_cv_target
1651 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1652 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1653 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1661 program_prefix=${target_alias}-
1665 wx_major_version_number=2
1666 wx_minor_version_number=7
1668 wx_subrelease_number=0
1670 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1671 WX_VERSION=$WX_RELEASE.$wx_release_number
1672 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1674 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1687 USE_BSD= USE_DARWIN= USE_FREEBSD=
1693 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703 DEFAULT_wxUSE_COCOA=0
1707 DEFAULT_wxUSE_MICROWIN=0
1708 DEFAULT_wxUSE_MOTIF=0
1713 DEFAULT_DEFAULT_wxUSE_COCOA=0
1714 DEFAULT_DEFAULT_wxUSE_GTK=0
1715 DEFAULT_DEFAULT_wxUSE_MAC=0
1716 DEFAULT_DEFAULT_wxUSE_MGL=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_MSW=0
1720 DEFAULT_DEFAULT_wxUSE_PM=0
1721 DEFAULT_DEFAULT_wxUSE_X11=0
1726 SAMPLES_RPATH_POSTLINK=
1728 DEFAULT_STD_FLAG=yes
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 cat >>confdefs.h <<\_ACEOF
1743 cat >>confdefs.h <<\_ACEOF
1748 if test "x$TMP" = "xalpha"; then
1750 cat >>confdefs.h <<\_ACEOF
1755 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 *-*-gnu* | *-*-k*bsd*-gnu )
1760 if test "x$TMP" = "xalpha"; then
1762 cat >>confdefs.h <<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 *-*-irix5* | *-*-irix6* )
1772 cat >>confdefs.h <<\_ACEOF
1776 cat >>confdefs.h <<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1786 cat >>confdefs.h <<\_ACEOF
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SOLARIS__ 1
1794 cat >>confdefs.h <<\_ACEOF
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __FREEBSD__ 1
1826 cat >>confdefs.h <<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __OPENBSD__ 1
1839 cat >>confdefs.h <<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __NETBSD__ 1
1852 cat >>confdefs.h <<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1861 cat >>confdefs.h <<\_ACEOF
1865 cat >>confdefs.h <<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1875 cat >>confdefs.h <<\_ACEOF
1879 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1888 cat >>confdefs.h <<\_ACEOF
1892 cat >>confdefs.h <<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1903 cat >>confdefs.h <<\_ACEOF
1907 cat >>confdefs.h <<\_ACEOF
1911 cat >>confdefs.h <<\_ACEOF
1915 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __UNIXWARE__ 1
1928 *-*-cygwin* | *-*-mingw32* )
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1938 cat >>confdefs.h <<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1952 cat >>confdefs.h <<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1965 for ac_dir in $PATH; do
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 export PATH="$ac_TEMP_PATH"
1982 cat >>confdefs.h <<\_ACEOF
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 powerpc-apple-macos* )
1999 ac_cv_c_bigendian=yes
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2007 cat >>confdefs.h <<\_ACEOF
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2034 DEFAULT_wxUSE_NANOX=no
2036 DEFAULT_wxUSE_THREADS=yes
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2231 DEFAULT_wxUSE_NANOX=no
2233 DEFAULT_wxUSE_THREADS=yes
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2257 DEFAULT_wxUSE_GUI=yes
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2424 DEFAULT_wxUSE_GTK2=yes
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI
=yes'
2457 ac_cv_use_gui='wxUSE_GUI
=no
'
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2539 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2570 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2571 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2574 # Check whether --with-subdirs or --without-subdirs was given.
2575 if test "${with_subdirs+set}" = set; then
2576 withval="$with_subdirs"
2578 if test "$withval" = yes; then
2579 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2586 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2597 eval "$ac_cv_use_subdirs"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2602 if test "$wxWITH_SUBDIRS" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2611 if test "$wxUSE_GUI" = "yes"; then
2615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2616 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2618 # Check whether --enable-universal or --disable-universal was given.
2619 if test "${enable_universal+set}" = set; then
2620 enableval="$enable_universal"
2622 if test "$enableval" = yes; then
2623 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2625 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2630 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x ; then
2632 eval "DEFAULT_$LINE"
2637 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2641 eval "$ac_cv_use_universal"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_UNIVERSAL" = yes; then
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2655 # Check whether --with-gtk or --without-gtk was given.
2656 if test "${with_gtk+set}" = set; then
2658 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2661 # Check whether --with-motif or --without-motif was given.
2662 if test "${with_motif+set}" = set; then
2663 withval="$with_motif"
2664 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2667 # Check whether --with-mac or --without-mac was given.
2668 if test "${with_mac+set}" = set; then
2670 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2673 # Check whether --with-cocoa or --without-cocoa was given.
2674 if test "${with_cocoa+set}" = set; then
2675 withval="$with_cocoa"
2676 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2679 # Check whether --with-wine or --without-wine was given.
2680 if test "${with_wine+set}" = set; then
2681 withval="$with_wine"
2682 wxUSE_WINE="$withval" CACHE_WINE=1
2685 # Check whether --with-msw or --without-msw was given.
2686 if test "${with_msw+set}" = set; then
2688 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2691 # Check whether --with-pm or --without-pm was given.
2692 if test "${with_pm+set}" = set; then
2694 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2697 # Check whether --with-mgl or --without-mgl was given.
2698 if test "${with_mgl+set}" = set; then
2700 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2703 # Check whether --with-microwin or --without-microwin was given.
2704 if test "${with_microwin+set}" = set; then
2705 withval="$with_microwin"
2706 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2709 # Check whether --with-x11 or --without-x11 was given.
2710 if test "${with_x11+set}" = set; then
2712 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2717 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2719 # Check whether --enable-nanox or --disable-nanox was given.
2720 if test "${enable_nanox+set}" = set; then
2721 enableval="$enable_nanox"
2723 if test "$enableval" = yes; then
2724 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2726 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2731 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2732 if test "x$LINE" != x ; then
2733 eval "DEFAULT_$LINE"
2738 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2742 eval "$ac_cv_use_nanox"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2747 if test "$wxUSE_NANOX" = yes; then
2748 echo "$as_me:$LINENO: result: yes" >&5
2749 echo "${ECHO_T}yes" >&6
2751 echo "$as_me:$LINENO: result: no" >&5
2752 echo "${ECHO_T}no" >&6
2756 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2757 if test "${enable_gtk2+set}" = set; then
2758 enableval="$enable_gtk2"
2759 wxUSE_GTK2="$enableval"
2763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2764 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2766 # Check whether --enable-gpe or --disable-gpe was given.
2767 if test "${enable_gpe+set}" = set; then
2768 enableval="$enable_gpe"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_gpe='wxUSE_GPE
=yes'
2773 ac_cv_use_gpe='wxUSE_GPE
=no
'
2778 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x ; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2789 eval "$ac_cv_use_gpe"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_GPE" = yes; then
2795 echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2804 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2805 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2808 # Check whether --with-libpng or --without-libpng was given.
2809 if test "${with_libpng+set}" = set; then
2810 withval="$with_libpng"
2812 if test "$withval" = yes; then
2813 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2814 elif test "$withval" = no; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2816 elif test "$withval" = sys; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2818 elif test "$withval" = builtin; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2828 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x ; then
2830 eval "DEFAULT_$LINE"
2835 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2839 eval "$ac_cv_use_libpng"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_LIBPNG" = yes; then
2845 echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
2847 elif test "$wxUSE_LIBPNG" = no; then
2848 echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6
2850 elif test "$wxUSE_LIBPNG" = sys; then
2851 echo "$as_me:$LINENO: result: system version" >&5
2852 echo "${ECHO_T}system version" >&6
2853 elif test "$wxUSE_LIBPNG" = builtin; then
2854 echo "$as_me:$LINENO: result: builtin version" >&5
2855 echo "${ECHO_T}builtin version" >&6
2857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2858 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2859 { (exit 1); exit 1; }; }
2863 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2864 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2867 # Check whether --with-libjpeg or --without-libjpeg was given.
2868 if test "${with_libjpeg+set}" = set; then
2869 withval="$with_libjpeg"
2871 if test "$withval" = yes; then
2872 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2898 eval "$ac_cv_use_libjpeg"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_LIBJPEG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBJPEG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBJPEG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBJPEG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2923 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2926 # Check whether --with-libtiff or --without-libtiff was given.
2927 if test "${with_libtiff+set}" = set; then
2928 withval="$with_libtiff"
2930 if test "$withval" = yes; then
2931 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2957 eval "$ac_cv_use_libtiff"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_LIBTIFF" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBTIFF" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBTIFF" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBTIFF" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2982 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2985 # Check whether --with-libxpm or --without-libxpm was given.
2986 if test "${with_libxpm+set}" = set; then
2987 withval="$with_libxpm"
2989 if test "$withval" = yes; then
2990 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3016 eval "$ac_cv_use_libxpm"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_LIBXPM" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBXPM" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBXPM" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBXPM" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3041 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3042 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3045 # Check whether --with-libmspack or --without-libmspack was given.
3046 if test "${with_libmspack+set}" = set; then
3047 withval="$with_libmspack"
3049 if test "$withval" = yes; then
3050 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3057 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3068 eval "$ac_cv_use_libmspack"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_LIBMSPACK" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3083 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3084 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3087 # Check whether --with-sdl or --without-sdl was given.
3088 if test "${with_sdl+set}" = set; then
3091 if test "$withval" = yes; then
3092 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3094 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3099 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3110 eval "$ac_cv_use_sdl"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_LIBSDL" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3125 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3129 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3130 if test "${with_gnomeprint+set}" = set; then
3131 withval="$with_gnomeprint"
3133 if test "$withval" = yes; then
3134 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3141 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3152 eval "$ac_cv_use_gnomeprint"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3171 # Check whether --with-opengl or --without-opengl was given.
3172 if test "${with_opengl+set}" = set; then
3173 withval="$with_opengl"
3175 if test "$withval" = yes; then
3176 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3178 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3183 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3194 eval "$ac_cv_use_opengl"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_OPENGL" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3216 # Check whether --with-dmalloc or --without-dmalloc was given.
3217 if test "${with_dmalloc+set}" = set; then
3218 withval="$with_dmalloc"
3220 if test "$withval" = yes; then
3221 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3228 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3239 eval "$ac_cv_use_dmalloc"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_DMALLOC" = 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
3253 echo "$as_me:$LINENO: checking for --with-regex" >&5
3254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3257 # Check whether --with-regex or --without-regex was given.
3258 if test "${with_regex+set}" = set; then
3259 withval="$with_regex"
3261 if test "$withval" = yes; then
3262 ac_cv_use_regex='wxUSE_REGEX
=yes'
3263 elif test "$withval" = no; then
3264 ac_cv_use_regex='wxUSE_REGEX
=no
'
3265 elif test "$withval" = sys; then
3266 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3267 elif test "$withval" = builtin; then
3268 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3272 { (exit 1); exit 1; }; }
3277 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3288 eval "$ac_cv_use_regex"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_REGEX" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 elif test "$wxUSE_REGEX" = no; then
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 elif test "$wxUSE_REGEX" = sys; then
3300 echo "$as_me:$LINENO: result: system version" >&5
3301 echo "${ECHO_T}system version" >&6
3302 elif test "$wxUSE_REGEX" = builtin; then
3303 echo "$as_me:$LINENO: result: builtin version" >&5
3304 echo "${ECHO_T}builtin version" >&6
3306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3308 { (exit 1); exit 1; }; }
3312 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3313 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3316 # Check whether --with-zlib or --without-zlib was given.
3317 if test "${with_zlib+set}" = set; then
3318 withval="$with_zlib"
3320 if test "$withval" = yes; then
3321 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3322 elif test "$withval" = no; then
3323 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3324 elif test "$withval" = sys; then
3325 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3326 elif test "$withval" = builtin; then
3327 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3329 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3330 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3331 { (exit 1); exit 1; }; }
3336 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3343 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3347 eval "$ac_cv_use_zlib"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_ZLIB" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3355 elif test "$wxUSE_ZLIB" = no; then
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3358 elif test "$wxUSE_ZLIB" = sys; then
3359 echo "$as_me:$LINENO: result: system version" >&5
3360 echo "${ECHO_T}system version" >&6
3361 elif test "$wxUSE_ZLIB" = builtin; then
3362 echo "$as_me:$LINENO: result: builtin version" >&5
3363 echo "${ECHO_T}builtin version" >&6
3365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3367 { (exit 1); exit 1; }; }
3371 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3372 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3375 # Check whether --with-odbc or --without-odbc was given.
3376 if test "${with_odbc+set}" = set; then
3377 withval="$with_odbc"
3379 if test "$withval" = yes; then
3380 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3381 elif test "$withval" = no; then
3382 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3383 elif test "$withval" = sys; then
3384 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3385 elif test "$withval" = builtin; then
3386 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3388 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3389 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3390 { (exit 1); exit 1; }; }
3395 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3402 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3406 eval "$ac_cv_use_odbc"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3411 if test "$wxUSE_ODBC" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3414 elif test "$wxUSE_ODBC" = no; then
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3417 elif test "$wxUSE_ODBC" = sys; then
3418 echo "$as_me:$LINENO: result: system version" >&5
3419 echo "${ECHO_T}system version" >&6
3420 elif test "$wxUSE_ODBC" = builtin; then
3421 echo "$as_me:$LINENO: result: builtin version" >&5
3422 echo "${ECHO_T}builtin version" >&6
3424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3426 { (exit 1); exit 1; }; }
3430 echo "$as_me:$LINENO: checking for --with-expat" >&5
3431 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3434 # Check whether --with-expat or --without-expat was given.
3435 if test "${with_expat+set}" = set; then
3436 withval="$with_expat"
3438 if test "$withval" = yes; then
3439 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3440 elif test "$withval" = no; then
3441 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3442 elif test "$withval" = sys; then
3443 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3444 elif test "$withval" = builtin; then
3445 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3447 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3448 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3449 { (exit 1); exit 1; }; }
3454 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x ; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3465 eval "$ac_cv_use_expat"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3470 if test "$wxUSE_EXPAT" = yes; then
3471 echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6
3473 elif test "$wxUSE_EXPAT" = no; then
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3476 elif test "$wxUSE_EXPAT" = sys; then
3477 echo "$as_me:$LINENO: result: system version" >&5
3478 echo "${ECHO_T}system version" >&6
3479 elif test "$wxUSE_EXPAT" = builtin; then
3480 echo "$as_me:$LINENO: result: builtin version" >&5
3481 echo "${ECHO_T}builtin version" >&6
3483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3485 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3495 # Check whether --enable-shared or --disable-shared was given.
3496 if test "${enable_shared+set}" = set; then
3497 enableval="$enable_shared"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_shared='wxUSE_SHARED
=yes'
3502 ac_cv_use_shared='wxUSE_SHARED
=no
'
3507 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3518 eval "$ac_cv_use_shared"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3523 if test "$wxUSE_SHARED" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3536 # Check whether --enable-optimise or --disable-optimise was given.
3537 if test "${enable_optimise+set}" = set; then
3538 enableval="$enable_optimise"
3540 if test "$enableval" = yes; then
3541 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3543 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3548 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3559 eval "$ac_cv_use_optimise"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_OPTIMISE" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3577 # Check whether --enable-debug or --disable-debug was given.
3578 if test "${enable_debug+set}" = set; then
3579 enableval="$enable_debug"
3581 if test "$enableval" = yes; then
3582 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3584 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3589 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3596 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3600 eval "$ac_cv_use_debug"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3605 if test "$wxUSE_DEBUG" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3618 # Check whether --enable-stl or --disable-stl was given.
3619 if test "${enable_stl+set}" = set; then
3620 enableval="$enable_stl"
3622 if test "$enableval" = yes; then
3623 ac_cv_use_stl='wxUSE_STL
=yes'
3625 ac_cv_use_stl='wxUSE_STL
=no
'
3630 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3637 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3641 eval "$ac_cv_use_stl"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3646 if test "$wxUSE_STL" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3654 if test "$USE_OS2" = "1"; then
3655 DEFAULT_wxUSE_OMF=no
3658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3659 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3661 # Check whether --enable-omf or --disable-omf was given.
3662 if test "${enable_omf+set}" = set; then
3663 enableval="$enable_omf"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_omf='wxUSE_OMF
=yes'
3668 ac_cv_use_omf='wxUSE_OMF
=no
'
3673 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x ; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3684 eval "$ac_cv_use_omf"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3689 if test "$wxUSE_OMF" = yes; then
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3699 if test "$wxUSE_DEBUG" = "yes"; then
3700 DEFAULT_wxUSE_DEBUG_FLAG=yes
3701 DEFAULT_wxUSE_DEBUG_INFO=yes
3703 elif test "$wxUSE_DEBUG" = "no"; then
3704 DEFAULT_wxUSE_DEBUG_FLAG=no
3705 DEFAULT_wxUSE_DEBUG_INFO=no
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3714 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3715 if test "${enable_debug_flag+set}" = set; then
3716 enableval="$enable_debug_flag"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3726 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3737 eval "$ac_cv_use_debug_flag"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_DEBUG_FLAG" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3753 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3755 # Check whether --enable-debug_info or --disable-debug_info was given.
3756 if test "${enable_debug_info+set}" = set; then
3757 enableval="$enable_debug_info"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3767 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3778 eval "$ac_cv_use_debug_info"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_DEBUG_INFO" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3796 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3797 if test "${enable_debug_gdb+set}" = set; then
3798 enableval="$enable_debug_gdb"
3800 if test "$enableval" = yes; then
3801 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3808 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3819 eval "$ac_cv_use_debug_gdb"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_DEBUG_GDB" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3837 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3838 if test "${enable_debug_cntxt+set}" = set; then
3839 enableval="$enable_debug_cntxt"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3849 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3860 eval "$ac_cv_use_debug_cntxt"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3878 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3879 if test "${enable_mem_tracing+set}" = set; then
3880 enableval="$enable_mem_tracing"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3890 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3901 eval "$ac_cv_use_mem_tracing"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_MEM_TRACING" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3919 # Check whether --enable-profile or --disable-profile was given.
3920 if test "${enable_profile+set}" = set; then
3921 enableval="$enable_profile"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3926 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3931 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3942 eval "$ac_cv_use_profile"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_PROFILE" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3958 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3960 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3961 if test "${enable_no_rtti+set}" = set; then
3962 enableval="$enable_no_rtti"
3964 if test "$enableval" = yes; then
3965 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3972 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3979 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3983 eval "$ac_cv_use_no_rtti"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_NO_RTTI" = yes; then
3989 echo "$as_me:$LINENO: result: yes" >&5
3990 echo "${ECHO_T}yes" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3999 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4001 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4002 if test "${enable_no_exceptions+set}" = set; then
4003 enableval="$enable_no_exceptions"
4005 if test "$enableval" = yes; then
4006 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4013 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4024 eval "$ac_cv_use_no_exceptions"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4029 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4030 echo "$as_me:$LINENO: result: yes" >&5
4031 echo "${ECHO_T}yes" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4040 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4042 # Check whether --enable-permissive or --disable-permissive was given.
4043 if test "${enable_permissive+set}" = set; then
4044 enableval="$enable_permissive"
4046 if test "$enableval" = yes; then
4047 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4054 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x ; then
4056 eval "DEFAULT_$LINE"
4061 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4065 eval "$ac_cv_use_permissive"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4070 if test "$wxUSE_PERMISSIVE" = yes; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4083 # Check whether --enable-no_deps or --disable-no_deps was given.
4084 if test "${enable_no_deps+set}" = set; then
4085 enableval="$enable_no_deps"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4095 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4106 eval "$ac_cv_use_no_deps"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_NO_DEPS" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4125 # Check whether --enable-compat22 or --disable-compat22 was given.
4126 if test "${enable_compat22+set}" = set; then
4127 enableval="$enable_compat22"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
4132 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
4137 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4148 eval "$ac_cv_use_compat22"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4153 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4162 enablestring=disable
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4166 # Check whether --enable-compat24 or --disable-compat24 was given.
4167 if test "${enable_compat24+set}" = set; then
4168 enableval="$enable_compat24"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4173 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4178 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4189 eval "$ac_cv_use_compat24"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4194 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4206 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4208 # Check whether --enable-rpath or --disable-rpath was given.
4209 if test "${enable_rpath+set}" = set; then
4210 enableval="$enable_rpath"
4212 if test "$enableval" = yes; then
4213 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4215 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4220 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4227 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4231 eval "$ac_cv_use_rpath"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4236 if test "$wxUSE_RPATH" = yes; then
4237 echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4250 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4252 # Check whether --enable-intl or --disable-intl was given.
4253 if test "${enable_intl+set}" = set; then
4254 enableval="$enable_intl"
4256 if test "$enableval" = yes; then
4257 ac_cv_use_intl='wxUSE_INTL
=yes'
4259 ac_cv_use_intl='wxUSE_INTL
=no
'
4264 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4275 eval "$ac_cv_use_intl"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_INTL" = yes; then
4281 echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4293 # Check whether --enable-config or --disable-config was given.
4294 if test "${enable_config+set}" = set; then
4295 enableval="$enable_config"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_config='wxUSE_CONFIG
=yes'
4300 ac_cv_use_config='wxUSE_CONFIG
=no
'
4305 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4316 eval "$ac_cv_use_config"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_CONFIG" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4335 # Check whether --enable-protocols or --disable-protocols was given.
4336 if test "${enable_protocols+set}" = set; then
4337 enableval="$enable_protocols"
4339 if test "$enableval" = yes; then
4340 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4342 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4347 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4358 eval "$ac_cv_use_protocols"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_PROTOCOL" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4376 # Check whether --enable-ftp or --disable-ftp was given.
4377 if test "${enable_ftp+set}" = set; then
4378 enableval="$enable_ftp"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4388 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4399 eval "$ac_cv_use_ftp"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4417 # Check whether --enable-http or --disable-http was given.
4418 if test "${enable_http+set}" = set; then
4419 enableval="$enable_http"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4429 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4440 eval "$ac_cv_use_http"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4458 # Check whether --enable-fileproto or --disable-fileproto was given.
4459 if test "${enable_fileproto+set}" = set; then
4460 enableval="$enable_fileproto"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4470 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4481 eval "$ac_cv_use_fileproto"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4499 # Check whether --enable-sockets or --disable-sockets was given.
4500 if test "${enable_sockets+set}" = set; then
4501 enableval="$enable_sockets"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4506 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4511 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4522 eval "$ac_cv_use_sockets"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_SOCKETS" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4540 # Check whether --enable-ole or --disable-ole was given.
4541 if test "${enable_ole+set}" = set; then
4542 enableval="$enable_ole"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_ole='wxUSE_OLE
=yes'
4547 ac_cv_use_ole='wxUSE_OLE
=no
'
4552 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4563 eval "$ac_cv_use_ole"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_OLE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4581 # Check whether --enable-dataobj or --disable-dataobj was given.
4582 if test "${enable_dataobj+set}" = set; then
4583 enableval="$enable_dataobj"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4593 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4604 eval "$ac_cv_use_dataobj"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_DATAOBJ" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4623 # Check whether --enable-ipc or --disable-ipc was given.
4624 if test "${enable_ipc+set}" = set; then
4625 enableval="$enable_ipc"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_ipc='wxUSE_IPC
=yes'
4630 ac_cv_use_ipc='wxUSE_IPC
=no
'
4635 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4646 eval "$ac_cv_use_ipc"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_IPC" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4665 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4666 if test "${enable_apple_ieee+set}" = set; then
4667 enableval="$enable_apple_ieee"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4677 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4688 eval "$ac_cv_use_apple_ieee"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_APPLE_IEEE" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4706 # Check whether --enable-arcstream or --disable-arcstream was given.
4707 if test "${enable_arcstream+set}" = set; then
4708 enableval="$enable_arcstream"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4718 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4729 eval "$ac_cv_use_arcstream"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4747 # Check whether --enable-backtrace or --disable-backtrace was given.
4748 if test "${enable_backtrace+set}" = set; then
4749 enableval="$enable_backtrace"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4759 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4770 eval "$ac_cv_use_backtrace"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_STACKWALKER" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4788 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4789 if test "${enable_catch_segvs+set}" = set; then
4790 enableval="$enable_catch_segvs"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4800 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4811 eval "$ac_cv_use_catch_segvs"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4829 # Check whether --enable-cmdline or --disable-cmdline was given.
4830 if test "${enable_cmdline+set}" = set; then
4831 enableval="$enable_cmdline"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4841 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4852 eval "$ac_cv_use_cmdline"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4870 # Check whether --enable-datetime or --disable-datetime was given.
4871 if test "${enable_datetime+set}" = set; then
4872 enableval="$enable_datetime"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4877 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4882 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4893 eval "$ac_cv_use_datetime"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_DATETIME" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4911 # Check whether --enable-debugreport or --disable-debugreport was given.
4912 if test "${enable_debugreport+set}" = set; then
4913 enableval="$enable_debugreport"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4923 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4934 eval "$ac_cv_use_debugreport"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_DEBUGREPORT" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4952 # Check whether --enable-dialupman or --disable-dialupman was given.
4953 if test "${enable_dialupman+set}" = set; then
4954 enableval="$enable_dialupman"
4956 if test "$enableval" = yes; then
4957 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4964 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4971 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4975 eval "$ac_cv_use_dialupman"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4980 if test "$wxUSE_DIALUP_MANAGER" = 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}-dynlib" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4993 # Check whether --enable-dynlib or --disable-dynlib was given.
4994 if test "${enable_dynlib+set}" = set; then
4995 enableval="$enable_dynlib"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5005 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5016 eval "$ac_cv_use_dynlib"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_DYNLIB_CLASS" = 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}-dynamicloader" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5034 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5035 if test "${enable_dynamicloader+set}" = set; then
5036 enableval="$enable_dynamicloader"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5046 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5057 eval "$ac_cv_use_dynamicloader"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_DYNAMIC_LOADER" = 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}-exceptions" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5075 # Check whether --enable-exceptions or --disable-exceptions was given.
5076 if test "${enable_exceptions+set}" = set; then
5077 enableval="$enable_exceptions"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5087 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5098 eval "$ac_cv_use_exceptions"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_EXCEPTIONS" = 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}-ffile" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5116 # Check whether --enable-ffile or --disable-ffile was given.
5117 if test "${enable_ffile+set}" = set; then
5118 enableval="$enable_ffile"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5123 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5128 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5139 eval "$ac_cv_use_ffile"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_FFILE" = 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}-file" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5157 # Check whether --enable-file or --disable-file was given.
5158 if test "${enable_file+set}" = set; then
5159 enableval="$enable_file"
5161 if test "$enableval" = yes; then
5162 ac_cv_use_file='wxUSE_FILE
=yes'
5164 ac_cv_use_file='wxUSE_FILE
=no
'
5169 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5176 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5180 eval "$ac_cv_use_file"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_FILE" = 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}-filesystem" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5198 # Check whether --enable-filesystem or --disable-filesystem was given.
5199 if test "${enable_filesystem+set}" = set; then
5200 enableval="$enable_filesystem"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5210 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5221 eval "$ac_cv_use_filesystem"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_FILESYSTEM" = 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}-fontmap" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5239 # Check whether --enable-fontmap or --disable-fontmap was given.
5240 if test "${enable_fontmap+set}" = set; then
5241 enableval="$enable_fontmap"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5246 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5251 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5262 eval "$ac_cv_use_fontmap"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_FONTMAP" = 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}-fs_inet" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5280 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5281 if test "${enable_fs_inet+set}" = set; then
5282 enableval="$enable_fs_inet"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5287 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5292 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5303 eval "$ac_cv_use_fs_inet"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_FS_INET" = 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}-fs_zip" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5321 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5322 if test "${enable_fs_zip+set}" = set; then
5323 enableval="$enable_fs_zip"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5333 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5344 eval "$ac_cv_use_fs_zip"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_FS_ZIP" = 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}-geometry" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5362 # Check whether --enable-geometry or --disable-geometry was given.
5363 if test "${enable_geometry+set}" = set; then
5364 enableval="$enable_geometry"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5369 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5374 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5385 eval "$ac_cv_use_geometry"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_GEOMETRY" = 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}-log" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5403 # Check whether --enable-log or --disable-log was given.
5404 if test "${enable_log+set}" = set; then
5405 enableval="$enable_log"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_log='wxUSE_LOG
=yes'
5410 ac_cv_use_log='wxUSE_LOG
=no
'
5415 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5426 eval "$ac_cv_use_log"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_LOG" = 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}-longlong" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5444 # Check whether --enable-longlong or --disable-longlong was given.
5445 if test "${enable_longlong+set}" = set; then
5446 enableval="$enable_longlong"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5451 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5456 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5467 eval "$ac_cv_use_longlong"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_LONGLONG" = 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}-mimetype" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5485 # Check whether --enable-mimetype or --disable-mimetype was given.
5486 if test "${enable_mimetype+set}" = set; then
5487 enableval="$enable_mimetype"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5497 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5508 eval "$ac_cv_use_mimetype"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_MIMETYPE" = 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}-mslu" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5526 # Check whether --enable-mslu or --disable-mslu was given.
5527 if test "${enable_mslu+set}" = set; then
5528 enableval="$enable_mslu"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5538 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5549 eval "$ac_cv_use_mslu"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_UNICODE_MSLU" = 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}-snglinst" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5567 # Check whether --enable-snglinst or --disable-snglinst was given.
5568 if test "${enable_snglinst+set}" = set; then
5569 enableval="$enable_snglinst"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5579 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5590 eval "$ac_cv_use_snglinst"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_SNGLINST_CHECKER" = 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}-std_iostreams" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5608 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5609 if test "${enable_std_iostreams+set}" = set; then
5610 enableval="$enable_std_iostreams"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5620 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5631 eval "$ac_cv_use_std_iostreams"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_STD_IOSTREAM" = 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}-std_string" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5649 # Check whether --enable-std_string or --disable-std_string was given.
5650 if test "${enable_std_string+set}" = set; then
5651 enableval="$enable_std_string"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5656 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5661 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5672 eval "$ac_cv_use_std_string"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_STD_STRING" = 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}-stdpaths" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5690 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5691 if test "${enable_stdpaths+set}" = set; then
5692 enableval="$enable_stdpaths"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5702 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5713 eval "$ac_cv_use_stdpaths"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5718 if test "$wxUSE_STDPATHS" = 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}-stopwatch" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5731 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5732 if test "${enable_stopwatch+set}" = set; then
5733 enableval="$enable_stopwatch"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5743 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5754 eval "$ac_cv_use_stopwatch"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_STOPWATCH" = 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}-streams" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5772 # Check whether --enable-streams or --disable-streams was given.
5773 if test "${enable_streams+set}" = set; then
5774 enableval="$enable_streams"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5779 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5784 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5795 eval "$ac_cv_use_streams"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_STREAMS" = 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}-system_options" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5813 # Check whether --enable-system_options or --disable-system_options was given.
5814 if test "${enable_system_options+set}" = set; then
5815 enableval="$enable_system_options"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5825 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5836 eval "$ac_cv_use_system_options"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5841 if test "$wxUSE_SYSTEM_OPTIONS" = 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}-textbuf" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5854 # Check whether --enable-textbuf or --disable-textbuf was given.
5855 if test "${enable_textbuf+set}" = set; then
5856 enableval="$enable_textbuf"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5866 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5877 eval "$ac_cv_use_textbuf"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5895 # Check whether --enable-textfile or --disable-textfile was given.
5896 if test "${enable_textfile+set}" = set; then
5897 enableval="$enable_textfile"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5902 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5907 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5918 eval "$ac_cv_use_textfile"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_TEXTFILE" = 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}-timer" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5936 # Check whether --enable-timer or --disable-timer was given.
5937 if test "${enable_timer+set}" = set; then
5938 enableval="$enable_timer"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_timer='wxUSE_TIMER
=yes'
5943 ac_cv_use_timer='wxUSE_TIMER
=no
'
5948 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5959 eval "$ac_cv_use_timer"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_TIMER" = 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}-unicode" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5977 # Check whether --enable-unicode or --disable-unicode was given.
5978 if test "${enable_unicode+set}" = set; then
5979 enableval="$enable_unicode"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5984 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5989 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6000 eval "$ac_cv_use_unicode"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_UNICODE" = 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}-sound" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6018 # Check whether --enable-sound or --disable-sound was given.
6019 if test "${enable_sound+set}" = set; then
6020 enableval="$enable_sound"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_sound='wxUSE_SOUND
=yes'
6025 ac_cv_use_sound='wxUSE_SOUND
=no
'
6030 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6041 eval "$ac_cv_use_sound"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_SOUND" = 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}-mediactrl" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6059 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6060 if test "${enable_mediactrl+set}" = set; then
6061 enableval="$enable_mediactrl"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6071 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6082 eval "$ac_cv_use_mediactrl"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_MEDIACTRL" = 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}-wxprintfv" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6100 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6101 if test "${enable_wxprintfv+set}" = set; then
6102 enableval="$enable_wxprintfv"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6112 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6123 eval "$ac_cv_use_wxprintfv"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_EXPERIMENTAL_PRINTF" = 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}-zipstream" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6141 # Check whether --enable-zipstream or --disable-zipstream was given.
6142 if test "${enable_zipstream+set}" = set; then
6143 enableval="$enable_zipstream"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6153 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6164 eval "$ac_cv_use_zipstream"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_ZIPSTREAM" = 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
6180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6181 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6183 # Check whether --enable-url or --disable-url was given.
6184 if test "${enable_url+set}" = set; then
6185 enableval="$enable_url"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_url='wxUSE_URL
=yes'
6190 ac_cv_use_url='wxUSE_URL
=no
'
6195 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x ; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6206 eval "$ac_cv_use_url"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_URL" = yes; then
6212 echo "$as_me:$LINENO: result: yes" >&5
6213 echo "${ECHO_T}yes" >&6
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6224 # Check whether --enable-protocol or --disable-protocol was given.
6225 if test "${enable_protocol+set}" = set; then
6226 enableval="$enable_protocol"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6231 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6236 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6247 eval "$ac_cv_use_protocol"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_PROTOCOL" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6265 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6266 if test "${enable_protocol_http+set}" = set; then
6267 enableval="$enable_protocol_http"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6277 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6288 eval "$ac_cv_use_protocol_http"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6293 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6306 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6307 if test "${enable_protocol_ftp+set}" = set; then
6308 enableval="$enable_protocol_ftp"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6318 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6329 eval "$ac_cv_use_protocol_ftp"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6347 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6348 if test "${enable_protocol_file+set}" = set; then
6349 enableval="$enable_protocol_file"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6359 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6370 eval "$ac_cv_use_protocol_file"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6391 # Check whether --enable-threads or --disable-threads was given.
6392 if test "${enable_threads+set}" = set; then
6393 enableval="$enable_threads"
6395 if test "$enableval" = yes; then
6396 ac_cv_use_threads='wxUSE_THREADS
=yes'
6398 ac_cv_use_threads='wxUSE_THREADS
=no
'
6403 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6414 eval "$ac_cv_use_threads"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_THREADS" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6428 if test "$wxUSE_GUI" = "yes"; then
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6436 # Check whether --enable-docview or --disable-docview was given.
6437 if test "${enable_docview+set}" = set; then
6438 enableval="$enable_docview"
6440 if test "$enableval" = yes; then
6441 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6448 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6455 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6459 eval "$ac_cv_use_docview"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6477 # Check whether --enable-help or --disable-help was given.
6478 if test "${enable_help+set}" = set; then
6479 enableval="$enable_help"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_help='wxUSE_HELP
=yes'
6484 ac_cv_use_help='wxUSE_HELP
=no
'
6489 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6500 eval "$ac_cv_use_help"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_HELP" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6518 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6519 if test "${enable_mshtmlhelp+set}" = set; then
6520 enableval="$enable_mshtmlhelp"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6530 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6541 eval "$ac_cv_use_mshtmlhelp"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_MS_HTML_HELP" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6559 # Check whether --enable-html or --disable-html was given.
6560 if test "${enable_html+set}" = set; then
6561 enableval="$enable_html"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_html='wxUSE_HTML
=yes'
6566 ac_cv_use_html='wxUSE_HTML
=no
'
6571 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6582 eval "$ac_cv_use_html"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_HTML" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6600 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6601 if test "${enable_htmlhelp+set}" = set; then
6602 enableval="$enable_htmlhelp"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6612 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6623 eval "$ac_cv_use_htmlhelp"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_WXHTML_HELP" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6641 # Check whether --enable-xrc or --disable-xrc was given.
6642 if test "${enable_xrc+set}" = set; then
6643 enableval="$enable_xrc"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_xrc='wxUSE_XRC
=yes'
6648 ac_cv_use_xrc='wxUSE_XRC
=no
'
6653 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6664 eval "$ac_cv_use_xrc"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_XRC" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6682 # Check whether --enable-constraints or --disable-constraints was given.
6683 if test "${enable_constraints+set}" = set; then
6684 enableval="$enable_constraints"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6694 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6705 eval "$ac_cv_use_constraints"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_CONSTRAINTS" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6723 # Check whether --enable-printarch or --disable-printarch was given.
6724 if test "${enable_printarch+set}" = set; then
6725 enableval="$enable_printarch"
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6735 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6746 eval "$ac_cv_use_printarch"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6751 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6764 # Check whether --enable-mdi or --disable-mdi was given.
6765 if test "${enable_mdi+set}" = set; then
6766 enableval="$enable_mdi"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_mdi='wxUSE_MDI
=yes'
6771 ac_cv_use_mdi='wxUSE_MDI
=no
'
6776 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6787 eval "$ac_cv_use_mdi"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_MDI" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6805 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6806 if test "${enable_mdidoc+set}" = set; then
6807 enableval="$enable_mdidoc"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6817 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6828 eval "$ac_cv_use_mdidoc"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_MDI_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}-loggui" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6846 # Check whether --enable-loggui or --disable-loggui was given.
6847 if test "${enable_loggui+set}" = set; then
6848 enableval="$enable_loggui"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6853 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6858 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6869 eval "$ac_cv_use_loggui"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_LOGGUI" = 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}-logwin" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6887 # Check whether --enable-logwin or --disable-logwin was given.
6888 if test "${enable_logwin+set}" = set; then
6889 enableval="$enable_logwin"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6899 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6910 eval "$ac_cv_use_logwin"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_LOGWINDOW" = 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}-logdialog" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6928 # Check whether --enable-logdialog or --disable-logdialog was given.
6929 if test "${enable_logdialog+set}" = set; then
6930 enableval="$enable_logdialog"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6940 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6951 eval "$ac_cv_use_logdialog"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_LOGDIALOG" = 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}-webkit" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6969 # Check whether --enable-webkit or --disable-webkit was given.
6970 if test "${enable_webkit+set}" = set; then
6971 enableval="$enable_webkit"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6976 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6981 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
6992 eval "$ac_cv_use_webkit"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_WEBKIT" = 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
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7011 # Check whether --enable-postscript or --disable-postscript was given.
7012 if test "${enable_postscript+set}" = set; then
7013 enableval="$enable_postscript"
7015 if test "$enableval" = yes; then
7016 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7023 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7030 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7034 eval "$ac_cv_use_postscript"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_POSTSCRIPT" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7055 # Check whether --enable-prologio or --disable-prologio was given.
7056 if test "${enable_prologio+set}" = set; then
7057 enableval="$enable_prologio"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7062 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7067 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7078 eval "$ac_cv_use_prologio"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7083 if test "$wxUSE_PROLOGIO" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7096 # Check whether --enable-resources or --disable-resources was given.
7097 if test "${enable_resources+set}" = set; then
7098 enableval="$enable_resources"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7103 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7108 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7119 eval "$ac_cv_use_resources"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7124 if test "$wxUSE_RESOURCES" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7139 # Check whether --enable-clipboard or --disable-clipboard was given.
7140 if test "${enable_clipboard+set}" = set; then
7141 enableval="$enable_clipboard"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7151 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7162 eval "$ac_cv_use_clipboard"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7167 if test "$wxUSE_CLIPBOARD" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7180 # Check whether --enable-dnd or --disable-dnd was given.
7181 if test "${enable_dnd+set}" = set; then
7182 enableval="$enable_dnd"
7184 if test "$enableval" = yes; then
7185 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7192 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7199 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7203 eval "$ac_cv_use_dnd"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7221 # Check whether --enable-metafile or --disable-metafile was given.
7222 if test "${enable_metafile+set}" = set; then
7223 enableval="$enable_metafile"
7225 if test "$enableval" = yes; then
7226 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7228 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7233 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7240 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7244 eval "$ac_cv_use_metafile"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_METAFILE" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7265 # Check whether --enable-controls or --disable-controls was given.
7266 if test "${enable_controls+set}" = set; then
7267 enableval="$enable_controls"
7269 if test "$enableval" = yes; then
7270 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7272 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7277 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x ; then
7279 eval "DEFAULT_$LINE"
7284 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7288 eval "$ac_cv_use_controls"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7293 if test "$wxUSE_CONTROLS" = yes; then
7294 echo "$as_me:$LINENO: result: yes" >&5
7295 echo "${ECHO_T}yes" >&6
7297 echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6
7302 if test "$wxUSE_CONTROLS" = "yes"; then
7303 DEFAULT_wxUSE_ACCEL=yes
7304 DEFAULT_wxUSE_BMPBUTTON=yes
7305 DEFAULT_wxUSE_BUTTON=yes
7306 DEFAULT_wxUSE_CALCTRL=yes
7307 DEFAULT_wxUSE_CARET=yes
7308 DEFAULT_wxUSE_COMBOBOX=yes
7309 DEFAULT_wxUSE_CHECKBOX=yes
7310 DEFAULT_wxUSE_CHECKLISTBOX=yes
7311 DEFAULT_wxUSE_CHOICE=yes
7312 DEFAULT_wxUSE_CHOICEBOOK=yes
7313 DEFAULT_wxUSE_DATEPICKCTRL=yes
7314 DEFAULT_wxUSE_GAUGE=yes
7315 DEFAULT_wxUSE_GRID=yes
7316 DEFAULT_wxUSE_IMAGLIST=yes
7317 DEFAULT_wxUSE_LISTBOOK=yes
7318 DEFAULT_wxUSE_LISTBOX=yes
7319 DEFAULT_wxUSE_LISTCTRL=yes
7320 DEFAULT_wxUSE_NOTEBOOK=yes
7321 DEFAULT_wxUSE_RADIOBOX=yes
7322 DEFAULT_wxUSE_RADIOBTN=yes
7323 DEFAULT_wxUSE_SASH=yes
7324 DEFAULT_wxUSE_SCROLLBAR=yes
7325 DEFAULT_wxUSE_SLIDER=yes
7326 DEFAULT_wxUSE_SPINBTN=yes
7327 DEFAULT_wxUSE_SPINCTRL=yes
7328 DEFAULT_wxUSE_SPLITTER=yes
7329 DEFAULT_wxUSE_STATBMP=yes
7330 DEFAULT_wxUSE_STATBOX=yes
7331 DEFAULT_wxUSE_STATLINE=yes
7332 DEFAULT_wxUSE_STATUSBAR=yes
7333 DEFAULT_wxUSE_TAB_DIALOG=yes
7334 DEFAULT_wxUSE_TOGGLEBTN=yes
7335 DEFAULT_wxUSE_TOOLBAR=yes
7336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7337 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7338 DEFAULT_wxUSE_TOOLTIPS=yes
7339 DEFAULT_wxUSE_TREECTRL=yes
7340 DEFAULT_wxUSE_POPUPWIN=yes
7341 DEFAULT_wxUSE_TIPWINDOW=yes
7342 elif test "$wxUSE_CONTROLS" = "no"; then
7343 DEFAULT_wxUSE_ACCEL=no
7344 DEFAULT_wxUSE_BMPBUTTON=no
7345 DEFAULT_wxUSE_BUTTON=no
7346 DEFAULT_wxUSE_CALCTRL=no
7347 DEFAULT_wxUSE_CARET=no
7348 DEFAULT_wxUSE_COMBOBOX=no
7349 DEFAULT_wxUSE_CHECKBOX=no
7350 DEFAULT_wxUSE_CHECKLISTBOX=no
7351 DEFAULT_wxUSE_CHOICE=no
7352 DEFAULT_wxUSE_CHOICEBOOK=no
7353 DEFAULT_wxUSE_DATEPICKCTRL=no
7354 DEFAULT_wxUSE_GAUGE=no
7355 DEFAULT_wxUSE_GRID=no
7356 DEFAULT_wxUSE_IMAGLIST=no
7357 DEFAULT_wxUSE_LISTBOOK=no
7358 DEFAULT_wxUSE_LISTBOX=no
7359 DEFAULT_wxUSE_LISTCTRL=no
7360 DEFAULT_wxUSE_NOTEBOOK=no
7361 DEFAULT_wxUSE_RADIOBOX=no
7362 DEFAULT_wxUSE_RADIOBTN=no
7363 DEFAULT_wxUSE_SASH=no
7364 DEFAULT_wxUSE_SCROLLBAR=no
7365 DEFAULT_wxUSE_SLIDER=no
7366 DEFAULT_wxUSE_SPINBTN=no
7367 DEFAULT_wxUSE_SPINCTRL=no
7368 DEFAULT_wxUSE_SPLITTER=no
7369 DEFAULT_wxUSE_STATBMP=no
7370 DEFAULT_wxUSE_STATBOX=no
7371 DEFAULT_wxUSE_STATLINE=no
7372 DEFAULT_wxUSE_STATUSBAR=no
7373 DEFAULT_wxUSE_TAB_DIALOG=no
7374 DEFAULT_wxUSE_TOGGLEBTN=no
7375 DEFAULT_wxUSE_TOOLBAR=no
7376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7378 DEFAULT_wxUSE_TOOLTIPS=no
7379 DEFAULT_wxUSE_TREECTRL=no
7380 DEFAULT_wxUSE_POPUPWIN=no
7381 DEFAULT_wxUSE_TIPWINDOW=no
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7389 # Check whether --enable-accel or --disable-accel was given.
7390 if test "${enable_accel+set}" = set; then
7391 enableval="$enable_accel"
7393 if test "$enableval" = yes; then
7394 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7396 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7401 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7408 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7412 eval "$ac_cv_use_accel"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7417 if test "$wxUSE_ACCEL" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7430 # Check whether --enable-button or --disable-button was given.
7431 if test "${enable_button+set}" = set; then
7432 enableval="$enable_button"
7434 if test "$enableval" = yes; then
7435 ac_cv_use_button='wxUSE_BUTTON
=yes'
7437 ac_cv_use_button='wxUSE_BUTTON
=no
'
7442 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7449 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7453 eval "$ac_cv_use_button"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7458 if test "$wxUSE_BUTTON" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7471 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7472 if test "${enable_bmpbutton+set}" = set; then
7473 enableval="$enable_bmpbutton"
7475 if test "$enableval" = yes; then
7476 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7483 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7490 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7494 eval "$ac_cv_use_bmpbutton"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7499 if test "$wxUSE_BMPBUTTON" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7512 # Check whether --enable-calendar or --disable-calendar was given.
7513 if test "${enable_calendar+set}" = set; then
7514 enableval="$enable_calendar"
7516 if test "$enableval" = yes; then
7517 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7519 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7524 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7531 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7535 eval "$ac_cv_use_calendar"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7540 if test "$wxUSE_CALCTRL" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7553 # Check whether --enable-caret or --disable-caret was given.
7554 if test "${enable_caret+set}" = set; then
7555 enableval="$enable_caret"
7557 if test "$enableval" = yes; then
7558 ac_cv_use_caret='wxUSE_CARET
=yes'
7560 ac_cv_use_caret='wxUSE_CARET
=no
'
7565 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7572 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7576 eval "$ac_cv_use_caret"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_CARET" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7594 # Check whether --enable-checkbox or --disable-checkbox was given.
7595 if test "${enable_checkbox+set}" = set; then
7596 enableval="$enable_checkbox"
7598 if test "$enableval" = yes; then
7599 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7606 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7613 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7617 eval "$ac_cv_use_checkbox"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_CHECKBOX" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7635 # Check whether --enable-checklst or --disable-checklst was given.
7636 if test "${enable_checklst+set}" = set; then
7637 enableval="$enable_checklst"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7642 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7647 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7658 eval "$ac_cv_use_checklst"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7663 if test "$wxUSE_CHECKLST" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7676 # Check whether --enable-choice or --disable-choice was given.
7677 if test "${enable_choice+set}" = set; then
7678 enableval="$enable_choice"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7683 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7688 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7699 eval "$ac_cv_use_choice"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7704 if test "$wxUSE_CHOICE" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7717 # Check whether --enable-choicebook or --disable-choicebook was given.
7718 if test "${enable_choicebook+set}" = set; then
7719 enableval="$enable_choicebook"
7721 if test "$enableval" = yes; then
7722 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7729 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7736 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7740 eval "$ac_cv_use_choicebook"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7745 if test "$wxUSE_CHOICEBOOK" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7758 # Check whether --enable-combobox or --disable-combobox was given.
7759 if test "${enable_combobox+set}" = set; then
7760 enableval="$enable_combobox"
7762 if test "$enableval" = yes; then
7763 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7765 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7770 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7777 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7781 eval "$ac_cv_use_combobox"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7786 if test "$wxUSE_COMBOBOX" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7799 # Check whether --enable-datepick or --disable-datepick was given.
7800 if test "${enable_datepick+set}" = set; then
7801 enableval="$enable_datepick"
7803 if test "$enableval" = yes; then
7804 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7811 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7818 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7822 eval "$ac_cv_use_datepick"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7827 if test "$wxUSE_DATEPICKCTRL" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7840 # Check whether --enable-display or --disable-display was given.
7841 if test "${enable_display+set}" = set; then
7842 enableval="$enable_display"
7844 if test "$enableval" = yes; then
7845 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7847 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7852 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7863 eval "$ac_cv_use_display"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7868 if test "$wxUSE_DISPLAY" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7881 # Check whether --enable-gauge or --disable-gauge was given.
7882 if test "${enable_gauge+set}" = set; then
7883 enableval="$enable_gauge"
7885 if test "$enableval" = yes; then
7886 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7888 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7893 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7900 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7904 eval "$ac_cv_use_gauge"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7909 if test "$wxUSE_GAUGE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7922 # Check whether --enable-grid or --disable-grid was given.
7923 if test "${enable_grid+set}" = set; then
7924 enableval="$enable_grid"
7926 if test "$enableval" = yes; then
7927 ac_cv_use_grid='wxUSE_GRID
=yes'
7929 ac_cv_use_grid='wxUSE_GRID
=no
'
7934 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7941 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7945 eval "$ac_cv_use_grid"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7950 if test "$wxUSE_GRID" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7963 # Check whether --enable-imaglist or --disable-imaglist was given.
7964 if test "${enable_imaglist+set}" = set; then
7965 enableval="$enable_imaglist"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7975 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7986 eval "$ac_cv_use_imaglist"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7991 if test "$wxUSE_IMAGLIST" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8004 # Check whether --enable-listbook or --disable-listbook was given.
8005 if test "${enable_listbook+set}" = set; then
8006 enableval="$enable_listbook"
8008 if test "$enableval" = yes; then
8009 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8011 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8016 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8027 eval "$ac_cv_use_listbook"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8032 if test "$wxUSE_LISTBOOK" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8045 # Check whether --enable-listbox or --disable-listbox was given.
8046 if test "${enable_listbox+set}" = set; then
8047 enableval="$enable_listbox"
8049 if test "$enableval" = yes; then
8050 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8052 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8057 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8064 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8068 eval "$ac_cv_use_listbox"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8073 if test "$wxUSE_LISTBOX" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8086 # Check whether --enable-listctrl or --disable-listctrl was given.
8087 if test "${enable_listctrl+set}" = set; then
8088 enableval="$enable_listctrl"
8090 if test "$enableval" = yes; then
8091 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8098 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8105 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8109 eval "$ac_cv_use_listctrl"
8110 if test "$no_cache" != 1; then
8111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8114 if test "$wxUSE_LISTCTRL" = yes; then
8115 echo "$as_me:$LINENO: result: yes" >&5
8116 echo "${ECHO_T}yes" >&6
8118 echo "$as_me:$LINENO: result: no" >&5
8119 echo "${ECHO_T}no" >&6
8124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8127 # Check whether --enable-notebook or --disable-notebook was given.
8128 if test "${enable_notebook+set}" = set; then
8129 enableval="$enable_notebook"
8131 if test "$enableval" = yes; then
8132 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8139 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8146 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8150 eval "$ac_cv_use_notebook"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8155 if test "$wxUSE_NOTEBOOK" = yes; then
8156 echo "$as_me:$LINENO: result: yes" >&5
8157 echo "${ECHO_T}yes" >&6
8159 echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8168 # Check whether --enable-radiobox or --disable-radiobox was given.
8169 if test "${enable_radiobox+set}" = set; then
8170 enableval="$enable_radiobox"
8172 if test "$enableval" = yes; then
8173 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8180 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8187 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8191 eval "$ac_cv_use_radiobox"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8196 if test "$wxUSE_RADIOBOX" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8209 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8210 if test "${enable_radiobtn+set}" = set; then
8211 enableval="$enable_radiobtn"
8213 if test "$enableval" = yes; then
8214 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8221 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8228 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8232 eval "$ac_cv_use_radiobtn"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8237 if test "$wxUSE_RADIOBTN" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8250 # Check whether --enable-sash or --disable-sash was given.
8251 if test "${enable_sash+set}" = set; then
8252 enableval="$enable_sash"
8254 if test "$enableval" = yes; then
8255 ac_cv_use_sash='wxUSE_SASH
=yes'
8257 ac_cv_use_sash='wxUSE_SASH
=no
'
8262 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8269 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8273 eval "$ac_cv_use_sash"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8278 if test "$wxUSE_SASH" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8291 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8292 if test "${enable_scrollbar+set}" = set; then
8293 enableval="$enable_scrollbar"
8295 if test "$enableval" = yes; then
8296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8303 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8310 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8314 eval "$ac_cv_use_scrollbar"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8319 if test "$wxUSE_SCROLLBAR" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8332 # Check whether --enable-slider or --disable-slider was given.
8333 if test "${enable_slider+set}" = set; then
8334 enableval="$enable_slider"
8336 if test "$enableval" = yes; then
8337 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8339 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8344 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8355 eval "$ac_cv_use_slider"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8360 if test "$wxUSE_SLIDER" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8373 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8374 if test "${enable_spinbtn+set}" = set; then
8375 enableval="$enable_spinbtn"
8377 if test "$enableval" = yes; then
8378 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8385 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8396 eval "$ac_cv_use_spinbtn"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8401 if test "$wxUSE_SPINBTN" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8414 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8415 if test "${enable_spinctrl+set}" = set; then
8416 enableval="$enable_spinctrl"
8418 if test "$enableval" = yes; then
8419 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8426 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8433 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8437 eval "$ac_cv_use_spinctrl"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8442 if test "$wxUSE_SPINCTRL" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8455 # Check whether --enable-splitter or --disable-splitter was given.
8456 if test "${enable_splitter+set}" = set; then
8457 enableval="$enable_splitter"
8459 if test "$enableval" = yes; then
8460 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8462 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8467 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8474 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8478 eval "$ac_cv_use_splitter"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8483 if test "$wxUSE_SPLITTER" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8496 # Check whether --enable-statbmp or --disable-statbmp was given.
8497 if test "${enable_statbmp+set}" = set; then
8498 enableval="$enable_statbmp"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8503 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8508 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8519 eval "$ac_cv_use_statbmp"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_STATBMP" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8537 # Check whether --enable-statbox or --disable-statbox was given.
8538 if test "${enable_statbox+set}" = set; then
8539 enableval="$enable_statbox"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8544 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8549 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8560 eval "$ac_cv_use_statbox"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_STATBOX" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8578 # Check whether --enable-statline or --disable-statline was given.
8579 if test "${enable_statline+set}" = set; then
8580 enableval="$enable_statline"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8585 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8590 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8601 eval "$ac_cv_use_statline"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_STATLINE" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8619 # Check whether --enable-stattext or --disable-stattext was given.
8620 if test "${enable_stattext+set}" = set; then
8621 enableval="$enable_stattext"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8626 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8631 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8642 eval "$ac_cv_use_stattext"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_STATTEXT" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8660 # Check whether --enable-statusbar or --disable-statusbar was given.
8661 if test "${enable_statusbar+set}" = set; then
8662 enableval="$enable_statusbar"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8672 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8683 eval "$ac_cv_use_statusbar"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_STATUSBAR" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8701 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8702 if test "${enable_tabdialog+set}" = set; then
8703 enableval="$enable_tabdialog"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8713 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8724 eval "$ac_cv_use_tabdialog"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_TABDIALOG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8742 # Check whether --enable-textctrl or --disable-textctrl was given.
8743 if test "${enable_textctrl+set}" = set; then
8744 enableval="$enable_textctrl"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8754 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8765 eval "$ac_cv_use_textctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_TEXTCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8783 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8784 if test "${enable_togglebtn+set}" = set; then
8785 enableval="$enable_togglebtn"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8795 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8806 eval "$ac_cv_use_togglebtn"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_TOGGLEBTN" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8824 # Check whether --enable-toolbar or --disable-toolbar was given.
8825 if test "${enable_toolbar+set}" = set; then
8826 enableval="$enable_toolbar"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8836 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8847 eval "$ac_cv_use_toolbar"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_TOOLBAR" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8865 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8866 if test "${enable_tbarnative+set}" = set; then
8867 enableval="$enable_tbarnative"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8877 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8888 eval "$ac_cv_use_tbarnative"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8906 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8907 if test "${enable_tbarsmpl+set}" = set; then
8908 enableval="$enable_tbarsmpl"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8918 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8929 eval "$ac_cv_use_tbarsmpl"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8947 # Check whether --enable-treectrl or --disable-treectrl was given.
8948 if test "${enable_treectrl+set}" = set; then
8949 enableval="$enable_treectrl"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8954 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8959 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8970 eval "$ac_cv_use_treectrl"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_TREECTRL" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8988 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8989 if test "${enable_tipwindow+set}" = set; then
8990 enableval="$enable_tipwindow"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9000 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9011 eval "$ac_cv_use_tipwindow"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_TIPWINDOW" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9029 # Check whether --enable-popupwin or --disable-popupwin was given.
9030 if test "${enable_popupwin+set}" = set; then
9031 enableval="$enable_popupwin"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9041 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9052 eval "$ac_cv_use_popupwin"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_POPUPWIN" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9072 # Check whether --enable-commondlg or --disable-commondlg was given.
9073 if test "${enable_commondlg+set}" = set; then
9074 enableval="$enable_commondlg"
9076 if test "$enableval" = yes; then
9077 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9084 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9091 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9095 eval "$ac_cv_use_commondlg"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9100 if test "$wxUSE_COMMONDLGS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9113 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9114 if test "${enable_choicedlg+set}" = set; then
9115 enableval="$enable_choicedlg"
9117 if test "$enableval" = yes; then
9118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9125 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9136 eval "$ac_cv_use_choicedlg"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9141 if test "$wxUSE_CHOICEDLG" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9154 # Check whether --enable-coldlg or --disable-coldlg was given.
9155 if test "${enable_coldlg+set}" = set; then
9156 enableval="$enable_coldlg"
9158 if test "$enableval" = yes; then
9159 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9166 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9173 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9177 eval "$ac_cv_use_coldlg"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9182 if test "$wxUSE_COLOURDLG" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9195 # Check whether --enable-filedlg or --disable-filedlg was given.
9196 if test "${enable_filedlg+set}" = set; then
9197 enableval="$enable_filedlg"
9199 if test "$enableval" = yes; then
9200 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9202 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9207 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9214 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9218 eval "$ac_cv_use_filedlg"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9223 if test "$wxUSE_FILEDLG" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9236 # Check whether --enable-finddlg or --disable-finddlg was given.
9237 if test "${enable_finddlg+set}" = set; then
9238 enableval="$enable_finddlg"
9240 if test "$enableval" = yes; then
9241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9248 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9259 eval "$ac_cv_use_finddlg"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9264 if test "$wxUSE_FINDREPLDLG" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9277 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9278 if test "${enable_fontdlg+set}" = set; then
9279 enableval="$enable_fontdlg"
9281 if test "$enableval" = yes; then
9282 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9289 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9296 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9300 eval "$ac_cv_use_fontdlg"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9305 if test "$wxUSE_FONTDLG" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9318 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9319 if test "${enable_dirdlg+set}" = set; then
9320 enableval="$enable_dirdlg"
9322 if test "$enableval" = yes; then
9323 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9330 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9337 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9341 eval "$ac_cv_use_dirdlg"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9346 if test "$wxUSE_DIRDLG" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9359 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9360 if test "${enable_msgdlg+set}" = set; then
9361 enableval="$enable_msgdlg"
9363 if test "$enableval" = yes; then
9364 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9371 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9378 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9382 eval "$ac_cv_use_msgdlg"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9387 if test "$wxUSE_MSGDLG" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9400 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9401 if test "${enable_numberdlg+set}" = set; then
9402 enableval="$enable_numberdlg"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9412 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9423 eval "$ac_cv_use_numberdlg"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9428 if test "$wxUSE_NUMBERDLG" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9441 # Check whether --enable-splash or --disable-splash was given.
9442 if test "${enable_splash+set}" = set; then
9443 enableval="$enable_splash"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9448 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9453 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9464 eval "$ac_cv_use_splash"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_SPLASH" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9482 # Check whether --enable-textdlg or --disable-textdlg was given.
9483 if test "${enable_textdlg+set}" = set; then
9484 enableval="$enable_textdlg"
9486 if test "$enableval" = yes; then
9487 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9494 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9501 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9505 eval "$ac_cv_use_textdlg"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9510 if test "$wxUSE_TEXTDLG" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9521 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9523 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9524 if test "${enable_tipdlg+set}" = set; then
9525 enableval="$enable_tipdlg"
9527 if test "$enableval" = yes; then
9528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9535 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9536 if test "x$LINE" != x ; then
9537 eval "DEFAULT_$LINE"
9542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9546 eval "$ac_cv_use_tipdlg"
9547 if test "$no_cache" != 1; then
9548 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9551 if test "$wxUSE_STARTUP_TIPS" = yes; then
9552 echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9564 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9565 if test "${enable_progressdlg+set}" = set; then
9566 enableval="$enable_progressdlg"
9568 if test "$enableval" = yes; then
9569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9576 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9587 eval "$ac_cv_use_progressdlg"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9592 if test "$wxUSE_PROGRESSDLG" = yes; then
9593 echo "$as_me:$LINENO: result: yes" >&5
9594 echo "${ECHO_T}yes" >&6
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9605 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9606 if test "${enable_wizarddlg+set}" = set; then
9607 enableval="$enable_wizarddlg"
9609 if test "$enableval" = yes; then
9610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9617 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9628 eval "$ac_cv_use_wizarddlg"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9633 if test "$wxUSE_WIZARDDLG" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9648 # Check whether --enable-menus or --disable-menus was given.
9649 if test "${enable_menus+set}" = set; then
9650 enableval="$enable_menus"
9652 if test "$enableval" = yes; then
9653 ac_cv_use_menus='wxUSE_MENUS
=yes'
9655 ac_cv_use_menus='wxUSE_MENUS
=no
'
9660 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9667 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9671 eval "$ac_cv_use_menus"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_MENUS" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9689 # Check whether --enable-miniframe or --disable-miniframe was given.
9690 if test "${enable_miniframe+set}" = set; then
9691 enableval="$enable_miniframe"
9693 if test "$enableval" = yes; then
9694 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9701 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9708 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9712 eval "$ac_cv_use_miniframe"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_MINIFRAME" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9730 # Check whether --enable-tooltips or --disable-tooltips was given.
9731 if test "${enable_tooltips+set}" = set; then
9732 enableval="$enable_tooltips"
9734 if test "$enableval" = yes; then
9735 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9742 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9749 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9753 eval "$ac_cv_use_tooltips"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_TOOLTIPS" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9771 # Check whether --enable-splines or --disable-splines was given.
9772 if test "${enable_splines+set}" = set; then
9773 enableval="$enable_splines"
9775 if test "$enableval" = yes; then
9776 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9778 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9783 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9790 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9794 eval "$ac_cv_use_splines"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_SPLINES" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9812 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9813 if test "${enable_mousewheel+set}" = set; then
9814 enableval="$enable_mousewheel"
9816 if test "$enableval" = yes; then
9817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9824 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x ; then
9826 eval "DEFAULT_$LINE"
9831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9835 eval "$ac_cv_use_mousewheel"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9840 if test "$wxUSE_MOUSEWHEEL" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9853 # Check whether --enable-validators or --disable-validators was given.
9854 if test "${enable_validators+set}" = set; then
9855 enableval="$enable_validators"
9857 if test "$enableval" = yes; then
9858 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9860 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9865 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9866 if test "x$LINE" != x ; then
9867 eval "DEFAULT_$LINE"
9872 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9876 eval "$ac_cv_use_validators"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9881 if test "$wxUSE_VALIDATORS" = yes; then
9882 echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9894 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9895 if test "${enable_busyinfo+set}" = set; then
9896 enableval="$enable_busyinfo"
9898 if test "$enableval" = yes; then
9899 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9906 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9913 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9917 eval "$ac_cv_use_busyinfo"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9922 if test "$wxUSE_BUSYINFO" = yes; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9935 # Check whether --enable-joystick or --disable-joystick was given.
9936 if test "${enable_joystick+set}" = set; then
9937 enableval="$enable_joystick"
9939 if test "$enableval" = yes; then
9940 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9942 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9947 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9948 if test "x$LINE" != x ; then
9949 eval "DEFAULT_$LINE"
9954 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9958 eval "$ac_cv_use_joystick"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9963 if test "$wxUSE_JOYSTICK" = yes; then
9964 echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6
9967 echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6
9973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9976 # Check whether --enable-metafile or --disable-metafile was given.
9977 if test "${enable_metafile+set}" = set; then
9978 enableval="$enable_metafile"
9980 if test "$enableval" = yes; then
9981 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9983 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9988 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9989 if test "x$LINE" != x ; then
9990 eval "DEFAULT_$LINE"
9995 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9999 eval "$ac_cv_use_metafile"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10004 if test "$wxUSE_METAFILE" = yes; then
10005 echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6
10008 echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6
10014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10017 # Check whether --enable-dragimage or --disable-dragimage was given.
10018 if test "${enable_dragimage+set}" = set; then
10019 enableval="$enable_dragimage"
10021 if test "$enableval" = yes; then
10022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10029 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10040 eval "$ac_cv_use_dragimage"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10045 if test "$wxUSE_DRAGIMAGE" = yes; then
10046 echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6
10049 echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10058 # Check whether --enable-accessibility or --disable-accessibility was given.
10059 if test "${enable_accessibility+set}" = set; then
10060 enableval="$enable_accessibility"
10062 if test "$enableval" = yes; then
10063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10070 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x ; then
10072 eval "DEFAULT_$LINE"
10077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10081 eval "$ac_cv_use_accessibility"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10086 if test "$wxUSE_ACCESSIBILITY" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10095 if test "$wxUSE_MSW" = "1"; then
10098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10101 # Check whether --enable-dccache or --disable-dccache was given.
10102 if test "${enable_dccache+set}" = set; then
10103 enableval="$enable_dccache"
10105 if test "$enableval" = yes; then
10106 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10113 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10120 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10124 eval "$ac_cv_use_dccache"
10125 if test "$no_cache" != 1; then
10126 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10129 if test "$wxUSE_DC_CACHEING" = yes; then
10130 echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10145 # Check whether --enable-palette or --disable-palette was given.
10146 if test "${enable_palette+set}" = set; then
10147 enableval="$enable_palette"
10149 if test "$enableval" = yes; then
10150 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10152 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10157 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x ; then
10159 eval "DEFAULT_$LINE"
10164 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10168 eval "$ac_cv_use_palette"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10173 if test "$wxUSE_PALETTE" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10186 # Check whether --enable-image or --disable-image was given.
10187 if test "${enable_image+set}" = set; then
10188 enableval="$enable_image"
10190 if test "$enableval" = yes; then
10191 ac_cv_use_image='wxUSE_IMAGE
=yes'
10193 ac_cv_use_image='wxUSE_IMAGE
=no
'
10198 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x ; then
10200 eval "DEFAULT_$LINE"
10205 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10209 eval "$ac_cv_use_image"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10214 if test "$wxUSE_IMAGE" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10227 # Check whether --enable-gif or --disable-gif was given.
10228 if test "${enable_gif+set}" = set; then
10229 enableval="$enable_gif"
10231 if test "$enableval" = yes; then
10232 ac_cv_use_gif='wxUSE_GIF
=yes'
10234 ac_cv_use_gif='wxUSE_GIF
=no
'
10239 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x ; then
10241 eval "DEFAULT_$LINE"
10246 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10250 eval "$ac_cv_use_gif"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10255 if test "$wxUSE_GIF" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10268 # Check whether --enable-pcx or --disable-pcx was given.
10269 if test "${enable_pcx+set}" = set; then
10270 enableval="$enable_pcx"
10272 if test "$enableval" = yes; then
10273 ac_cv_use_pcx='wxUSE_PCX
=yes'
10275 ac_cv_use_pcx='wxUSE_PCX
=no
'
10280 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10287 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10291 eval "$ac_cv_use_pcx"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10296 if test "$wxUSE_PCX" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10309 # Check whether --enable-iff or --disable-iff was given.
10310 if test "${enable_iff+set}" = set; then
10311 enableval="$enable_iff"
10313 if test "$enableval" = yes; then
10314 ac_cv_use_iff='wxUSE_IFF
=yes'
10316 ac_cv_use_iff='wxUSE_IFF
=no
'
10321 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x ; then
10323 eval "DEFAULT_$LINE"
10328 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10332 eval "$ac_cv_use_iff"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10337 if test "$wxUSE_IFF" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10350 # Check whether --enable-pnm or --disable-pnm was given.
10351 if test "${enable_pnm+set}" = set; then
10352 enableval="$enable_pnm"
10354 if test "$enableval" = yes; then
10355 ac_cv_use_pnm='wxUSE_PNM
=yes'
10357 ac_cv_use_pnm='wxUSE_PNM
=no
'
10362 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x ; then
10364 eval "DEFAULT_$LINE"
10369 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10373 eval "$ac_cv_use_pnm"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10378 if test "$wxUSE_PNM" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10391 # Check whether --enable-xpm or --disable-xpm was given.
10392 if test "${enable_xpm+set}" = set; then
10393 enableval="$enable_xpm"
10395 if test "$enableval" = yes; then
10396 ac_cv_use_xpm='wxUSE_XPM
=yes'
10398 ac_cv_use_xpm='wxUSE_XPM
=no
'
10403 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10410 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10414 eval "$ac_cv_use_xpm"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10419 if test "$wxUSE_XPM" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10432 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10433 if test "${enable_ico_cur+set}" = set; then
10434 enableval="$enable_ico_cur"
10436 if test "$enableval" = yes; then
10437 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10444 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x ; then
10446 eval "DEFAULT_$LINE"
10451 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10455 eval "$ac_cv_use_ico_cur"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10460 if test "$wxUSE_ICO_CUR" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10473 # Check whether --with-flavour or --without-flavour was given.
10474 if test "${with_flavour+set}" = set; then
10475 withval="$with_flavour"
10476 WX_FLAVOUR="$withval"
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10485 # Check whether --enable-official_build or --disable-official_build was given.
10486 if test "${enable_official_build+set}" = set; then
10487 enableval="$enable_official_build"
10489 if test "$enableval" = yes; then
10490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x ; then
10499 eval "DEFAULT_$LINE"
10504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10508 eval "$ac_cv_use_official_build"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10521 # Check whether --enable-vendor or --disable-vendor was given.
10522 if test "${enable_vendor+set}" = set; then
10523 enableval="$enable_vendor"
10524 VENDOR="$enableval"
10526 if test "x$VENDOR" = "x"; then
10533 echo "saving argument cache $wx_arg_cache_file"
10534 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10538 echo "$as_me:$LINENO: checking for toolkit" >&5
10539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10541 # In Wine, we need to default to MSW, not GTK or MOTIF
10542 if test "$wxUSE_WINE" = "yes"; then
10543 DEFAULT_DEFAULT_wxUSE_GTK=0
10544 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10545 DEFAULT_DEFAULT_wxUSE_MSW=1
10550 if test "$wxUSE_GUI" = "yes"; then
10552 if test "$USE_BEOS" = 1; then
10553 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10554 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10555 { (exit 1); exit 1; }; }
10558 if test "$TOOLKIT_GIVEN" = 1; then
10559 for toolkit in `echo $ALL_TOOLKITS`; do
10561 eval "value=\$${var}"
10562 if test "x$value" = "xno"; then
10564 elif test "x$value" != "x"; then
10568 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10569 eval "wx${toolkit}_VERSION=$value"
10573 for toolkit in `echo $ALL_TOOLKITS`; do
10574 if test "$has_toolkit_in_cache" != 1; then
10575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10577 var=DEFAULT_wxUSE_$toolkit
10579 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 eval "wx${toolkit}_VERSION=$version"
10584 eval "wxUSE_$toolkit=\$${var}"
10588 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10589 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10590 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10593 *-pc-os2_emx | *-pc-os2-emx )
10594 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10597 case "$NUM_TOOLKITS" in
10601 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10602 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10603 { (exit 1); exit 1; }; }
10606 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10607 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10608 { (exit 1); exit 1; }; }
10611 # to be removed when --disable-gtk2 isn't needed
10612 if test "x$wxUSE_GTK2" = "xyes"; then
10614 elif test "x$wxUSE_GTK2" = "xno"; then
10618 for toolkit
in `echo $ALL_TOOLKITS`; do
10620 eval "value=\$${var}"
10621 if test "x$value" != x
; then
10622 cache_var
=CACHE_
$toolkit
10623 eval "cache=\$${cache_var}"
10624 if test "$cache" = 1; then
10625 echo "$var=$value" >> ${wx_arg_cache_file}
10626 eval "version=\$wx${toolkit}_VERSION"
10627 if test "x$version" != "x"; then
10628 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10631 if test "$value" = 1; then
10632 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10633 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10634 echo "${ECHO_T}$toolkit_echo" >&6
10639 if test "x$host_alias" != "x"; then
10640 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10641 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10643 echo "$as_me:$LINENO: result: base only" >&5
10644 echo "${ECHO_T}base only" >&6
10649 doesnt_want_win32
=0
10652 if test "$wxUSE_MSW" = 1 ; then
10654 BAKEFILE_FORCE_PLATFORM
=win32
10656 doesnt_want_win32
=1
10664 if test "$wxUSE_WINE" = "yes"; then
10668 LDFLAGS_GUI
="-mwindows"
10671 if test "$wants_win32" = 1 ; then
10674 cat >>confdefs.h
<<\_ACEOF
10675 #define __WIN32__ 1
10678 cat >>confdefs.h
<<\_ACEOF
10679 #define __WIN95__ 1
10682 cat >>confdefs.h
<<\_ACEOF
10683 #define __WINDOWS__ 1
10686 cat >>confdefs.h
<<\_ACEOF
10687 #define __GNUWIN32__ 1
10690 cat >>confdefs.h
<<\_ACEOF
10694 cat >>confdefs.h
<<\_ACEOF
10695 #define WINVER 0x0400
10699 if test "$doesnt_want_win32" = 1 ; then
10704 if test "$USE_UNIX" = 1 ; then
10706 cat >>confdefs.h
<<\_ACEOF
10713 cat >confcache
<<\_ACEOF
10714 # This file is a shell script that caches the results of configure
10715 # tests run on this system so they can be shared between configure
10716 # scripts and configure runs, see configure's option --config-cache.
10717 # It is not useful on other systems. If it contains results you don't
10718 # want to keep, you may remove or edit it.
10720 # config.status only pays attention to the cache file if you give it
10721 # the --recheck option to rerun configure.
10723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10725 # following values.
10729 # The following way of writing the cache mishandles newlines in values,
10730 # but we know of no workaround that is simple, portable, and efficient.
10731 # So, don't put newlines in cache variables' values.
10732 # Ultrix sh set writes to stderr and can't be redirected directly,
10733 # and sets the high bit in the cache file unless we assign to the vars.
10736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10738 # `set' does not quote correctly, so add quotes (double-quote
10739 # substitution turns \\\\ into \\, and sed turns \\ into \).
10742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10745 # `set' quotes correctly as required by POSIX, so do not add quotes.
10747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10758 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10759 if test -w $cache_file; then
10760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10761 cat confcache
>$cache_file
10763 echo "not updating unwritable cache $cache_file"
10773 ac_cpp
='$CPP $CPPFLAGS'
10774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10777 if test -n "$ac_tool_prefix"; then
10778 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10779 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10780 echo "$as_me:$LINENO: checking for $ac_word" >&5
10781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10782 if test "${ac_cv_prog_CC+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 if test -n "$CC"; then
10786 ac_cv_prog_CC
="$CC" # Let the user override the test.
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10805 if test -n "$CC"; then
10806 echo "$as_me:$LINENO: result: $CC" >&5
10807 echo "${ECHO_T}$CC" >&6
10809 echo "$as_me:$LINENO: result: no" >&5
10810 echo "${ECHO_T}no" >&6
10814 if test -z "$ac_cv_prog_CC"; then
10816 # Extract the first word of "gcc", so it can be a program name with args.
10817 set dummy gcc
; ac_word
=$2
10818 echo "$as_me:$LINENO: checking for $ac_word" >&5
10819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 if test -n "$ac_ct_CC"; then
10824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10827 for as_dir
in $PATH
10830 test -z "$as_dir" && as_dir
=.
10831 for ac_exec_ext
in '' $ac_executable_extensions; do
10832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_prog_ac_ct_CC
="gcc"
10834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10843 if test -n "$ac_ct_CC"; then
10844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10845 echo "${ECHO_T}$ac_ct_CC" >&6
10847 echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6
10853 CC
="$ac_cv_prog_CC"
10856 if test -z "$CC"; then
10857 if test -n "$ac_tool_prefix"; then
10858 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10859 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10860 echo "$as_me:$LINENO: checking for $ac_word" >&5
10861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10862 if test "${ac_cv_prog_CC+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 if test -n "$CC"; then
10866 ac_cv_prog_CC
="$CC" # Let the user override the test.
10868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10869 for as_dir
in $PATH
10872 test -z "$as_dir" && as_dir
=.
10873 for ac_exec_ext
in '' $ac_executable_extensions; do
10874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10875 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10885 if test -n "$CC"; then
10886 echo "$as_me:$LINENO: result: $CC" >&5
10887 echo "${ECHO_T}$CC" >&6
10889 echo "$as_me:$LINENO: result: no" >&5
10890 echo "${ECHO_T}no" >&6
10894 if test -z "$ac_cv_prog_CC"; then
10896 # Extract the first word of "cc", so it can be a program name with args.
10897 set dummy cc
; ac_word
=$2
10898 echo "$as_me:$LINENO: checking for $ac_word" >&5
10899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10901 echo $ECHO_N "(cached) $ECHO_C" >&6
10903 if test -n "$ac_ct_CC"; then
10904 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10907 for as_dir
in $PATH
10910 test -z "$as_dir" && as_dir
=.
10911 for ac_exec_ext
in '' $ac_executable_extensions; do
10912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10913 ac_cv_prog_ac_ct_CC
="cc"
10914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10922 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10923 if test -n "$ac_ct_CC"; then
10924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10925 echo "${ECHO_T}$ac_ct_CC" >&6
10927 echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6
10933 CC
="$ac_cv_prog_CC"
10937 if test -z "$CC"; then
10938 # Extract the first word of "cc", so it can be a program name with args.
10939 set dummy cc
; ac_word
=$2
10940 echo "$as_me:$LINENO: checking for $ac_word" >&5
10941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10942 if test "${ac_cv_prog_CC+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 if test -n "$CC"; then
10946 ac_cv_prog_CC
="$CC" # Let the user override the test.
10948 ac_prog_rejected
=no
10949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10950 for as_dir
in $PATH
10953 test -z "$as_dir" && as_dir
=.
10954 for ac_exec_ext
in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10957 ac_prog_rejected
=yes
10961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10967 if test $ac_prog_rejected = yes; then
10968 # We found a bogon in the path, so make sure we never use it.
10969 set dummy
$ac_cv_prog_CC
10971 if test $# != 0; then
10972 # We chose a different compiler from the bogus one.
10973 # However, it has the same basename, so the bogon will be chosen
10974 # first if we set CC to just the basename; use the full file name.
10976 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10982 if test -n "$CC"; then
10983 echo "$as_me:$LINENO: result: $CC" >&5
10984 echo "${ECHO_T}$CC" >&6
10986 echo "$as_me:$LINENO: result: no" >&5
10987 echo "${ECHO_T}no" >&6
10991 if test -z "$CC"; then
10992 if test -n "$ac_tool_prefix"; then
10995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10996 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10997 echo "$as_me:$LINENO: checking for $ac_word" >&5
10998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10999 if test "${ac_cv_prog_CC+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 if test -n "$CC"; then
11003 ac_cv_prog_CC
="$CC" # Let the user override the test.
11005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11006 for as_dir
in $PATH
11009 test -z "$as_dir" && as_dir
=.
11010 for ac_exec_ext
in '' $ac_executable_extensions; do
11011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11012 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11022 if test -n "$CC"; then
11023 echo "$as_me:$LINENO: result: $CC" >&5
11024 echo "${ECHO_T}$CC" >&6
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11030 test -n "$CC" && break
11033 if test -z "$CC"; then
11037 # Extract the first word of "$ac_prog", so it can be a program name with args.
11038 set dummy
$ac_prog; ac_word
=$2
11039 echo "$as_me:$LINENO: checking for $ac_word" >&5
11040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11044 if test -n "$ac_ct_CC"; then
11045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11048 for as_dir
in $PATH
11051 test -z "$as_dir" && as_dir
=.
11052 for ac_exec_ext
in '' $ac_executable_extensions; do
11053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_ac_ct_CC
="$ac_prog"
11055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11064 if test -n "$ac_ct_CC"; then
11065 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11066 echo "${ECHO_T}$ac_ct_CC" >&6
11068 echo "$as_me:$LINENO: result: no" >&5
11069 echo "${ECHO_T}no" >&6
11072 test -n "$ac_ct_CC" && break
11081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11082 See \`config.log' for more details." >&5
11083 echo "$as_me: error: no acceptable C compiler found in \$PATH
11084 See \`config.log' for more details." >&2;}
11085 { (exit 1); exit 1; }; }
11087 # Provide some information about the compiler.
11088 echo "$as_me:$LINENO:" \
11089 "checking for C compiler version" >&5
11090 ac_compiler
=`set X $ac_compile; echo $2`
11091 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11092 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }
11096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11097 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }
11101 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11102 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }
11107 cat >conftest.
$ac_ext <<_ACEOF
11110 cat confdefs.h
>>conftest.
$ac_ext
11111 cat >>conftest.
$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11122 ac_clean_files_save
=$ac_clean_files
11123 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11124 # Try to create an executable without -o first, disregard a.out.
11125 # It will help us diagnose broken compilers, and finding out an intuition
11127 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11128 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11129 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11131 (eval $ac_link_default) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; then
11135 # Find the output, starting from the most likely. This scheme is
11136 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11139 # Be careful to initialize this variable, since it used to be cached.
11140 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11142 # b.out is created by i960 compilers.
11143 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11145 test -f "$ac_file" || continue
11147 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11150 # This is the source file.
11153 # We found the default executable, but exeext='' is most
11157 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11158 # FIXME: I believe we export ac_cv_exeext for Libtool,
11159 # but it would be cool to find out if it's true. Does anybody
11160 # maintain Libtool? --akim.
11161 export ac_cv_exeext
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.
$ac_ext >&5
11171 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11172 See \`config.log' for more details." >&5
11173 echo "$as_me: error: C compiler cannot create executables
11174 See \`config.log' for more details." >&2;}
11175 { (exit 77); exit 77; }; }
11178 ac_exeext
=$ac_cv_exeext
11179 echo "$as_me:$LINENO: result: $ac_file" >&5
11180 echo "${ECHO_T}$ac_file" >&6
11182 # Check the compiler produces executables we can run. If not, either
11183 # the compiler is broken, or we cross compile.
11184 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11185 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11186 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11187 # If not cross compiling, check that we can run a simple program.
11188 if test "$cross_compiling" != yes; then
11189 if { ac_try
='./$ac_file'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11197 if test "$cross_compiling" = maybe
; then
11198 cross_compiling
=yes
11200 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11201 If you meant to cross compile, use \`--host'.
11202 See \`config.log' for more details." >&5
11203 echo "$as_me: error: cannot run C compiled programs.
11204 If you meant to cross compile, use \`--host'.
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11213 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11214 ac_clean_files
=$ac_clean_files_save
11215 # Check the compiler produces executables we can run. If not, either
11216 # the compiler is broken, or we cross compile.
11217 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11218 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11219 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11220 echo "${ECHO_T}$cross_compiling" >&6
11222 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11223 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; then
11229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11230 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11231 # work properly (i.e., refer to `conftest.exe'), while it won't with
11233 for ac_file
in conftest.exe conftest conftest.
*; do
11234 test -f "$ac_file" || continue
11236 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11237 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11238 export ac_cv_exeext
11244 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11245 See \`config.log' for more details." >&5
11246 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11247 See \`config.log' for more details." >&2;}
11248 { (exit 1); exit 1; }; }
11251 rm -f conftest
$ac_cv_exeext
11252 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11253 echo "${ECHO_T}$ac_cv_exeext" >&6
11255 rm -f conftest.
$ac_ext
11256 EXEEXT
=$ac_cv_exeext
11258 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11259 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11260 if test "${ac_cv_objext+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 cat >conftest.
$ac_ext <<_ACEOF
11266 cat confdefs.h
>>conftest.
$ac_ext
11267 cat >>conftest.
$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11278 rm -f conftest.o conftest.obj
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; then
11284 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11286 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11287 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11295 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11296 See \`config.log' for more details." >&5
11297 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11298 See \`config.log' for more details." >&2;}
11299 { (exit 1); exit 1; }; }
11302 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11304 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11305 echo "${ECHO_T}$ac_cv_objext" >&6
11306 OBJEXT
=$ac_cv_objext
11308 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11309 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 cat >conftest.
$ac_ext <<_ACEOF
11316 cat confdefs.h
>>conftest.
$ac_ext
11317 cat >>conftest.
$ac_ext <<_ACEOF
11318 /* end confdefs.h. */
11331 rm -f conftest.
$ac_objext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>conftest.er1
11335 grep -v '^ *+' conftest.er1
>conftest.err
11337 cat conftest.err
>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } &&
11340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; } &&
11346 { ac_try
='test -s conftest.$ac_objext'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 ac_compiler_gnu
=yes
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.
$ac_ext >&5
11359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11360 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11365 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11366 ac_test_CFLAGS
=${CFLAGS+set}
11367 ac_save_CFLAGS
=$CFLAGS
11369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11371 if test "${ac_cv_prog_cc_g+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11389 rm -f conftest.
$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11393 grep -v '^ *+' conftest.er1
>conftest.err
11395 cat conftest.err
>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try
='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_prog_cc_g
=yes
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.
$ac_ext >&5
11417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11421 if test "$ac_test_CFLAGS" = set; then
11422 CFLAGS
=$ac_save_CFLAGS
11423 elif test $ac_cv_prog_cc_g = yes; then
11424 if test "$GCC" = yes; then
11430 if test "$GCC" = yes; then
11436 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11437 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11438 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 ac_cv_prog_cc_stdc
=no
11443 cat >conftest.
$ac_ext <<_ACEOF
11446 cat confdefs.h
>>conftest.
$ac_ext
11447 cat >>conftest.
$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 #include <stdarg.h>
11451 #include <sys/types.h>
11452 #include <sys/stat.h>
11453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11454 struct buf { int x; };
11455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11456 static char *e (p, i)
11462 static char *f (char * (*g) (char **, int), char **p, ...)
11467 s = g (p, va_arg (v,int));
11472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11473 function prototypes and stuff, but not '\xHH' hex character constants.
11474 These don't provoke an error unfortunately, instead are silently treated
11475 as 'x'. The following induces an error, until -std1 is added to get
11476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11477 array size at least. It's necessary to write '\x00'==0 to get something
11478 that's true only with -std1. */
11479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11481 int test (int i, double x);
11482 struct s1 {int (*f) (int a);};
11483 struct s2 {int (*f) (double a);};
11484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11495 # Don't try gcc -ansi; that turns off useful extensions and
11496 # breaks some systems' header files.
11497 # AIX -qlanglvl=ansi
11498 # Ultrix and OSF/1 -std1
11499 # HP-UX 10.20 and later -Ae
11500 # HP-UX older versions -Aa -D_HPUX_SOURCE
11501 # SVR4 -Xc -D__EXTENSIONS__
11502 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11504 CC
="$ac_save_CC $ac_arg"
11505 rm -f conftest.
$ac_objext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11507 (eval $ac_compile) 2>conftest.er1
11509 grep -v '^ *+' conftest.er1
>conftest.err
11511 cat conftest.err
>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try
='test -s conftest.$ac_objext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11526 ac_cv_prog_cc_stdc
=$ac_arg
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.
$ac_ext >&5
11533 rm -f conftest.err conftest.
$ac_objext
11535 rm -f conftest.
$ac_ext conftest.
$ac_objext
11540 case "x$ac_cv_prog_cc_stdc" in
11542 echo "$as_me:$LINENO: result: none needed" >&5
11543 echo "${ECHO_T}none needed" >&6 ;;
11545 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11546 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11547 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11550 # Some people use a C++ compiler to compile C. Since we use `exit',
11551 # in C++ we need to declare it. In case someone uses the same compiler
11552 # for both compiling C and C++ we need to have the C++ compiler decide
11553 # the declaration of exit, since it's the most demanding environment.
11554 cat >conftest.
$ac_ext <<_ACEOF
11555 #ifndef __cplusplus
11559 rm -f conftest.
$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11563 grep -v '^ *+' conftest.er1
>conftest.err
11565 cat conftest.err
>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try
='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 for ac_declaration
in \
11582 'extern "C" void std::exit (int) throw (); using std::exit;' \
11583 'extern "C" void std::exit (int); using std::exit;' \
11584 'extern "C" void exit (int) throw ();' \
11585 'extern "C" void exit (int);' \
11588 cat >conftest.
$ac_ext <<_ACEOF
11591 cat confdefs.h
>>conftest.
$ac_ext
11592 cat >>conftest.
$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11595 #include <stdlib.h>
11604 rm -f conftest.
$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11608 grep -v '^ *+' conftest.er1
>conftest.err
11610 cat conftest.err
>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; } &&
11619 { ac_try
='test -s conftest.$ac_objext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.
$ac_ext >&5
11632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11633 cat >conftest.
$ac_ext <<_ACEOF
11636 cat confdefs.h
>>conftest.
$ac_ext
11637 cat >>conftest.
$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11648 rm -f conftest.
$ac_objext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11650 (eval $ac_compile) 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try
='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.
$ac_ext >&5
11675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11678 if test -n "$ac_declaration"; then
11679 echo '#ifdef __cplusplus' >>confdefs.h
11680 echo $ac_declaration >>confdefs.h
11681 echo '#endif' >>confdefs.h
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11691 ac_cpp
='$CPP $CPPFLAGS'
11692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11699 ac_cpp
='$CPP $CPPFLAGS'
11700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11704 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11705 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11706 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11720 #ifndef __INTEL_COMPILER
11728 rm -f conftest.
$ac_objext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11730 (eval $ac_compile) 2>conftest.er1
11732 grep -v '^ *+' conftest.er1
>conftest.err
11734 cat conftest.err
>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try
='test -s conftest.$ac_objext'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.
$ac_ext >&5
11754 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11761 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11762 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11764 ac_cpp
='$CPP $CPPFLAGS'
11765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11769 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11776 if test "x$GCC" != "xyes"; then
11777 if test "xCC" = "xC"; then
11778 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11779 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11780 if test "${bakefile_cv_c_exto+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 cat >conftest.
$ac_ext <<_ACEOF
11786 cat confdefs.h
>>conftest.
$ac_ext
11787 cat >>conftest.
$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11798 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; then
11804 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11806 conftest.
$ac_ext.o
)
11807 bakefile_cv_c_exto
="-ext o"
11814 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11815 See \`config.log' for more details." >&5
11816 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11817 See \`config.log' for more details." >&2;}
11818 { (exit 1); exit 1; }; }
11822 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11825 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11826 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11827 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11828 if test "c" = "c"; then
11829 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
11831 if test "c" = "cxx"; then
11832 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
11836 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11837 unset ac_cv_prog_cc_g
11838 ac_test_CFLAGS
=${CFLAGS+set}
11839 ac_save_CFLAGS
=$CFLAGS
11841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11843 if test "${ac_cv_prog_cc_g+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11861 rm -f conftest.
$ac_objext
11862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11863 (eval $ac_compile) 2>conftest.er1
11865 grep -v '^ *+' conftest.er1
>conftest.err
11867 cat conftest.err
>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; } &&
11876 { ac_try
='test -s conftest.$ac_objext'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; }; then
11882 ac_cv_prog_cc_g
=yes
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.
$ac_ext >&5
11889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11891 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11892 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11893 if test "$ac_test_CFLAGS" = set; then
11894 CFLAGS
=$ac_save_CFLAGS
11895 elif test $ac_cv_prog_cc_g = yes; then
11896 if test "$GCC" = yes; then
11902 if test "$GCC" = yes; then
11914 ac_cpp
='$CPP $CPPFLAGS'
11915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11919 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11920 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11921 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 cat >conftest.
$ac_ext <<_ACEOF
11927 cat confdefs.h
>>conftest.
$ac_ext
11928 cat >>conftest.
$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11942 rm -f conftest.
$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; } &&
11957 { ac_try
='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 bakefile_compiler_xlc
=yes
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.
$ac_ext >&5
11968 bakefile_compiler_xlc
=no
11970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11971 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
11974 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
11975 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
11977 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
11979 ac_cpp
='$CPP $CPPFLAGS'
11980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11989 ac_cpp
='$CPP $CPPFLAGS'
11990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11994 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11995 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11996 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 cat >conftest.
$ac_ext <<_ACEOF
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12017 rm -f conftest.
$ac_objext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12019 (eval $ac_compile) 2>conftest.er1
12021 grep -v '^ *+' conftest.er1
>conftest.err
12023 cat conftest.err
>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; } &&
12032 { ac_try
='test -s conftest.$ac_objext'
12033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12034 (eval $ac_try) 2>&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); }; }; then
12038 bakefile_compiler_mwerks
=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.
$ac_ext >&5
12043 bakefile_compiler_mwerks
=no
12045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12046 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12049 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12050 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12052 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12054 ac_cpp
='$CPP $CPPFLAGS'
12055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12061 ac_cpp
='$CPP $CPPFLAGS'
12062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12066 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12067 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12068 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 cat >conftest.
$ac_ext <<_ACEOF
12074 cat confdefs.h
>>conftest.
$ac_ext
12075 cat >>conftest.
$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12089 rm -f conftest.
$ac_objext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12091 (eval $ac_compile) 2>conftest.er1
12093 grep -v '^ *+' conftest.er1
>conftest.err
12095 cat conftest.err
>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; } &&
12104 { ac_try
='test -s conftest.$ac_objext'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 bakefile_compiler_xlc
=yes
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.
$ac_ext >&5
12115 bakefile_compiler_xlc
=no
12117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12118 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12121 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12122 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12124 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12126 ac_cpp
='$CPP $CPPFLAGS'
12127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12138 ac_cpp
='$CPP $CPPFLAGS'
12139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12143 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12144 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12145 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 cat >conftest.
$ac_ext <<_ACEOF
12151 cat confdefs.h
>>conftest.
$ac_ext
12152 cat >>conftest.
$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12159 #ifndef _SGI_COMPILER_VERSION
12167 rm -f conftest.
$ac_objext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12169 (eval $ac_compile) 2>conftest.er1
12171 grep -v '^ *+' conftest.er1
>conftest.err
12173 cat conftest.err
>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try
='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12193 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12201 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12203 ac_cpp
='$CPP $CPPFLAGS'
12204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12208 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12221 ac_cpp
='$CPP $CPPFLAGS'
12222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12226 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12227 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12228 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 cat >conftest.
$ac_ext <<_ACEOF
12234 cat confdefs.h
>>conftest.
$ac_ext
12235 cat >>conftest.
$ac_ext <<_ACEOF
12236 /* end confdefs.h. */
12250 rm -f conftest.
$ac_objext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12252 (eval $ac_compile) 2>conftest.er1
12254 grep -v '^ *+' conftest.er1
>conftest.err
12256 cat conftest.err
>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try
='test -s conftest.$ac_objext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 bakefile_cv_c_compiler___HP_cc
=yes
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.
$ac_ext >&5
12276 bakefile_cv_c_compiler___HP_cc
=no
12279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12283 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12284 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12286 ac_cpp
='$CPP $CPPFLAGS'
12287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12291 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12304 ac_cpp
='$CPP $CPPFLAGS'
12305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12309 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12310 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12311 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12333 rm -f conftest.
$ac_objext
12334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12335 (eval $ac_compile) 2>conftest.er1
12337 grep -v '^ *+' conftest.er1
>conftest.err
12339 cat conftest.err
>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try
='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 bakefile_cv_c_compiler___DECC
=yes
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.
$ac_ext >&5
12359 bakefile_cv_c_compiler___DECC
=no
12362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12366 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12367 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12369 ac_cpp
='$CPP $CPPFLAGS'
12370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12374 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12387 ac_cpp
='$CPP $CPPFLAGS'
12388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12392 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12393 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12394 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 cat >conftest.
$ac_ext <<_ACEOF
12400 cat confdefs.h
>>conftest.
$ac_ext
12401 cat >>conftest.
$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12416 rm -f conftest.
$ac_objext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12418 (eval $ac_compile) 2>conftest.er1
12420 grep -v '^ *+' conftest.er1
>conftest.err
12422 cat conftest.err
>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); } &&
12425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; } &&
12431 { ac_try
='test -s conftest.$ac_objext'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12437 bakefile_cv_c_compiler___SUNPRO_C
=yes
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.
$ac_ext >&5
12442 bakefile_cv_c_compiler___SUNPRO_C
=no
12445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12449 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12450 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12452 ac_cpp
='$CPP $CPPFLAGS'
12453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12457 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12471 ac_cpp
='$CPP $CPPFLAGS'
12472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12475 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12476 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12477 # On Suns, sometimes $CPP names a directory.
12478 if test -n "$CPP" && test -d "$CPP"; then
12481 if test -z "$CPP"; then
12482 if test "${ac_cv_prog_CPP+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 # Double quotes because CPP needs to be expanded
12486 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12488 ac_preproc_ok
=false
12489 for ac_c_preproc_warn_flag
in '' yes
12491 # Use a header file that comes with gcc, so configuring glibc
12492 # with a fresh cross-compiler works.
12493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12494 # <limits.h> exists even on freestanding compilers.
12495 # On the NeXT, cc -E runs the code through the compiler's parser,
12496 # not just through cpp. "Syntax error" is here to catch this case.
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12504 # include <limits.h>
12506 # include <assert.h>
12510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12513 grep -v '^ *+' conftest.er1
>conftest.err
12515 cat conftest.err
>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } >/dev
/null
; then
12518 if test -s conftest.err
; then
12519 ac_cpp_err
=$ac_c_preproc_warn_flag
12520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12527 if test -z "$ac_cpp_err"; then
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.
$ac_ext >&5
12533 # Broken: fails on valid input.
12536 rm -f conftest.err conftest.
$ac_ext
12538 # OK, works on sane cases. Now check whether non-existent headers
12539 # can be detected and how.
12540 cat >conftest.
$ac_ext <<_ACEOF
12543 cat confdefs.h
>>conftest.
$ac_ext
12544 cat >>conftest.
$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12546 #include <ac_nonexistent.h>
12548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12551 grep -v '^ *+' conftest.er1
>conftest.err
12553 cat conftest.err
>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } >/dev
/null
; then
12556 if test -s conftest.err
; then
12557 ac_cpp_err
=$ac_c_preproc_warn_flag
12558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12565 if test -z "$ac_cpp_err"; then
12566 # Broken: success on invalid input.
12569 echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.
$ac_ext >&5
12572 # Passes both tests.
12576 rm -f conftest.err conftest.
$ac_ext
12579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12580 rm -f conftest.err conftest.
$ac_ext
12581 if $ac_preproc_ok; then
12586 ac_cv_prog_CPP
=$CPP
12589 CPP
=$ac_cv_prog_CPP
12591 ac_cv_prog_CPP
=$CPP
12593 echo "$as_me:$LINENO: result: $CPP" >&5
12594 echo "${ECHO_T}$CPP" >&6
12595 ac_preproc_ok
=false
12596 for ac_c_preproc_warn_flag
in '' yes
12598 # Use a header file that comes with gcc, so configuring glibc
12599 # with a fresh cross-compiler works.
12600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12601 # <limits.h> exists even on freestanding compilers.
12602 # On the NeXT, cc -E runs the code through the compiler's parser,
12603 # not just through cpp. "Syntax error" is here to catch this case.
12604 cat >conftest.
$ac_ext <<_ACEOF
12607 cat confdefs.h
>>conftest.
$ac_ext
12608 cat >>conftest.
$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12611 # include <limits.h>
12613 # include <assert.h>
12617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12620 grep -v '^ *+' conftest.er1
>conftest.err
12622 cat conftest.err
>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } >/dev
/null
; then
12625 if test -s conftest.err
; then
12626 ac_cpp_err
=$ac_c_preproc_warn_flag
12627 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12634 if test -z "$ac_cpp_err"; then
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.
$ac_ext >&5
12640 # Broken: fails on valid input.
12643 rm -f conftest.err conftest.
$ac_ext
12645 # OK, works on sane cases. Now check whether non-existent headers
12646 # can be detected and how.
12647 cat >conftest.
$ac_ext <<_ACEOF
12650 cat confdefs.h
>>conftest.
$ac_ext
12651 cat >>conftest.
$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 #include <ac_nonexistent.h>
12655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12658 grep -v '^ *+' conftest.er1
>conftest.err
12660 cat conftest.err
>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } >/dev
/null
; then
12663 if test -s conftest.err
; then
12664 ac_cpp_err
=$ac_c_preproc_warn_flag
12665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12672 if test -z "$ac_cpp_err"; then
12673 # Broken: success on invalid input.
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.
$ac_ext >&5
12679 # Passes both tests.
12683 rm -f conftest.err conftest.
$ac_ext
12686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12687 rm -f conftest.err conftest.
$ac_ext
12688 if $ac_preproc_ok; then
12691 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12692 See \`config.log' for more details." >&5
12693 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12694 See \`config.log' for more details." >&2;}
12695 { (exit 1); exit 1; }; }
12699 ac_cpp
='$CPP $CPPFLAGS'
12700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12705 echo "$as_me:$LINENO: checking for egrep" >&5
12706 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12707 if test "${ac_cv_prog_egrep+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12711 then ac_cv_prog_egrep
='grep -E'
12712 else ac_cv_prog_egrep
='egrep'
12715 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12716 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12717 EGREP
=$ac_cv_prog_egrep
12720 if test $ac_cv_c_compiler_gnu = yes; then
12721 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12722 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12723 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 ac_pattern
="Autoconf.*'x'"
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12737 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12738 ac_cv_prog_gcc_traditional
=yes
12740 ac_cv_prog_gcc_traditional
=no
12745 if test $ac_cv_prog_gcc_traditional = no
; then
12746 cat >conftest.
$ac_ext <<_ACEOF
12749 cat confdefs.h
>>conftest.
$ac_ext
12750 cat >>conftest.
$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 #include <termio.h>
12755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12756 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12757 ac_cv_prog_gcc_traditional
=yes
12763 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12764 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12765 if test $ac_cv_prog_gcc_traditional = yes; then
12766 CC
="$CC -traditional"
12774 ac_cpp
='$CXXCPP $CPPFLAGS'
12775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12780 CXXFLAGS
=${CXXFLAGS:=}
12785 ac_cpp
='$CXXCPP $CPPFLAGS'
12786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12789 if test -n "$ac_tool_prefix"; then
12790 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12793 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12794 echo "$as_me:$LINENO: checking for $ac_word" >&5
12795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12796 if test "${ac_cv_prog_CXX+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 if test -n "$CXX"; then
12800 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 for ac_exec_ext
in '' $ac_executable_extensions; do
12808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12809 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12818 CXX
=$ac_cv_prog_CXX
12819 if test -n "$CXX"; then
12820 echo "$as_me:$LINENO: result: $CXX" >&5
12821 echo "${ECHO_T}$CXX" >&6
12823 echo "$as_me:$LINENO: result: no" >&5
12824 echo "${ECHO_T}no" >&6
12827 test -n "$CXX" && break
12830 if test -z "$CXX"; then
12832 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12834 # Extract the first word of "$ac_prog", so it can be a program name with args.
12835 set dummy
$ac_prog; ac_word
=$2
12836 echo "$as_me:$LINENO: checking for $ac_word" >&5
12837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12838 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 if test -n "$ac_ct_CXX"; then
12842 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12845 for as_dir
in $PATH
12848 test -z "$as_dir" && as_dir
=.
12849 for ac_exec_ext
in '' $ac_executable_extensions; do
12850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12851 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12861 if test -n "$ac_ct_CXX"; then
12862 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12863 echo "${ECHO_T}$ac_ct_CXX" >&6
12865 echo "$as_me:$LINENO: result: no" >&5
12866 echo "${ECHO_T}no" >&6
12869 test -n "$ac_ct_CXX" && break
12871 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12877 # Provide some information about the compiler.
12878 echo "$as_me:$LINENO:" \
12879 "checking for C++ compiler version" >&5
12880 ac_compiler
=`set X $ac_compile; echo $2`
12881 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12882 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }
12886 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12887 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }
12891 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12892 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }
12897 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12899 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 cat >conftest.
$ac_ext <<_ACEOF
12905 cat confdefs.h
>>conftest.
$ac_ext
12906 cat >>conftest.
$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 ac_compiler_gnu
=yes
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12952 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12953 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12954 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12955 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12956 ac_save_CXXFLAGS
=$CXXFLAGS
12958 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12959 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12960 if test "${ac_cv_prog_cxx_g+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 cat >conftest.
$ac_ext <<_ACEOF
12966 cat confdefs.h
>>conftest.
$ac_ext
12967 cat >>conftest.
$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_cv_prog_cxx_g
=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 ac_cv_prog_cxx_g
=no
13006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13009 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13010 if test "$ac_test_CXXFLAGS" = set; then
13011 CXXFLAGS
=$ac_save_CXXFLAGS
13012 elif test $ac_cv_prog_cxx_g = yes; then
13013 if test "$GXX" = yes; then
13019 if test "$GXX" = yes; then
13025 for ac_declaration
in \
13027 'extern "C" void std::exit (int) throw (); using std::exit;' \
13028 'extern "C" void std::exit (int); using std::exit;' \
13029 'extern "C" void exit (int) throw ();' \
13030 'extern "C" void exit (int);' \
13033 cat >conftest.
$ac_ext <<_ACEOF
13036 cat confdefs.h
>>conftest.
$ac_ext
13037 cat >>conftest.
$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13040 #include <stdlib.h>
13049 rm -f conftest.
$ac_objext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13051 (eval $ac_compile) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1
>conftest.err
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; } &&
13064 { ac_try
='test -s conftest.$ac_objext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.
$ac_ext >&5
13077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13078 cat >conftest.
$ac_ext <<_ACEOF
13081 cat confdefs.h
>>conftest.
$ac_ext
13082 cat >>conftest.
$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13093 rm -f conftest.
$ac_objext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13095 (eval $ac_compile) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try
='test -s conftest.$ac_objext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.
$ac_ext >&5
13120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13123 if test -n "$ac_declaration"; then
13124 echo '#ifdef __cplusplus' >>confdefs.h
13125 echo $ac_declaration >>confdefs.h
13126 echo '#endif' >>confdefs.h
13130 ac_cpp
='$CXXCPP $CPPFLAGS'
13131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13138 ac_cpp
='$CXXCPP $CPPFLAGS'
13139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13143 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13144 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13145 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 cat >conftest.
$ac_ext <<_ACEOF
13151 cat confdefs.h
>>conftest.
$ac_ext
13152 cat >>conftest.
$ac_ext <<_ACEOF
13153 /* end confdefs.h. */
13159 #ifndef __INTEL_COMPILER
13167 rm -f conftest.
$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>conftest.er1
13171 grep -v '^ *+' conftest.er1
>conftest.err
13173 cat conftest.err
>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try
='test -s conftest.$ac_objext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.
$ac_ext >&5
13193 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13200 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13201 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13203 ac_cpp
='$CXXCPP $CPPFLAGS'
13204 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13205 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13206 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13208 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13215 if test "x$GCXX" != "xyes"; then
13216 if test "xCXX" = "xC"; then
13217 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13218 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13219 if test "${bakefile_cv_cxx_exto+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 cat >conftest.
$ac_ext <<_ACEOF
13225 cat confdefs.h
>>conftest.
$ac_ext
13226 cat >>conftest.
$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13237 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13239 (eval $ac_compile) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; then
13243 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13245 conftest.
$ac_ext.o
)
13246 bakefile_cv_cxx_exto
="-ext o"
13253 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13254 See \`config.log' for more details." >&5
13255 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13256 See \`config.log' for more details." >&2;}
13257 { (exit 1); exit 1; }; }
13261 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13264 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13265 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13266 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13267 if test "cxx" = "c"; then
13268 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13270 if test "cxx" = "cxx"; then
13271 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13275 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13276 unset ac_cv_prog_cc_g
13277 ac_test_CFLAGS
=${CFLAGS+set}
13278 ac_save_CFLAGS
=$CFLAGS
13280 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13282 if test "${ac_cv_prog_cc_g+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 cat >conftest.
$ac_ext <<_ACEOF
13288 cat confdefs.h
>>conftest.
$ac_ext
13289 cat >>conftest.
$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13300 rm -f conftest.
$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try
='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 ac_cv_prog_cc_g
=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.
$ac_ext >&5
13328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13330 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13331 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13332 if test "$ac_test_CFLAGS" = set; then
13333 CFLAGS
=$ac_save_CFLAGS
13334 elif test $ac_cv_prog_cc_g = yes; then
13335 if test "$GCC" = yes; then
13341 if test "$GCC" = yes; then
13353 ac_cpp
='$CXXCPP $CPPFLAGS'
13354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13358 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13359 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13360 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 cat >conftest.
$ac_ext <<_ACEOF
13366 cat confdefs.h
>>conftest.
$ac_ext
13367 cat >>conftest.
$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13381 rm -f conftest.
$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try
='test -s conftest.$ac_objext'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; }; then
13402 bakefile_compiler_xlc
=yes
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.
$ac_ext >&5
13407 bakefile_compiler_xlc
=no
13409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13410 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13413 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13414 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13416 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13418 ac_cpp
='$CXXCPP $CPPFLAGS'
13419 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13420 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13421 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13428 ac_cpp
='$CXXCPP $CPPFLAGS'
13429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13433 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13434 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13435 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 cat >conftest.
$ac_ext <<_ACEOF
13441 cat confdefs.h
>>conftest.
$ac_ext
13442 cat >>conftest.
$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13456 rm -f conftest.
$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>conftest.er1
13460 grep -v '^ *+' conftest.er1
>conftest.err
13462 cat conftest.err
>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 bakefile_compiler_mwerks
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 bakefile_compiler_mwerks
=no
13484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13485 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13488 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13489 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13491 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13493 ac_cpp
='$CXXCPP $CPPFLAGS'
13494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13500 ac_cpp
='$CXXCPP $CPPFLAGS'
13501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13505 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13506 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13507 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13528 rm -f conftest.
$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13532 grep -v '^ *+' conftest.er1
>conftest.err
13534 cat conftest.err
>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try
='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_compiler_xlc
=yes
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 bakefile_compiler_xlc
=no
13556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13557 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13560 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13561 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13563 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13565 ac_cpp
='$CXXCPP $CPPFLAGS'
13566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13577 ac_cpp
='$CXXCPP $CPPFLAGS'
13578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13582 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13583 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13584 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 cat >conftest.
$ac_ext <<_ACEOF
13590 cat confdefs.h
>>conftest.
$ac_ext
13591 cat >>conftest.
$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13598 #ifndef _SGI_COMPILER_VERSION
13606 rm -f conftest.
$ac_objext
13607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13608 (eval $ac_compile) 2>conftest.er1
13610 grep -v '^ *+' conftest.er1
>conftest.err
13612 cat conftest.err
>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try
='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.
$ac_ext >&5
13632 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13639 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13640 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13642 ac_cpp
='$CXXCPP $CPPFLAGS'
13643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13647 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13660 ac_cpp
='$CXXCPP $CPPFLAGS'
13661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13665 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13666 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13667 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13689 rm -f conftest.
$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691 (eval $ac_compile) 2>conftest.er1
13693 grep -v '^ *+' conftest.er1
>conftest.err
13695 cat conftest.err
>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } &&
13698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try
='test -s conftest.$ac_objext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 bakefile_cv_cxx_compiler___HP_aCC
=yes
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.
$ac_ext >&5
13715 bakefile_cv_cxx_compiler___HP_aCC
=no
13718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13722 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13723 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13725 ac_cpp
='$CXXCPP $CPPFLAGS'
13726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13730 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13743 ac_cpp
='$CXXCPP $CPPFLAGS'
13744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13748 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13749 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13750 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 cat >conftest.
$ac_ext <<_ACEOF
13756 cat confdefs.h
>>conftest.
$ac_ext
13757 cat >>conftest.
$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13772 rm -f conftest.
$ac_objext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13774 (eval $ac_compile) 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; } &&
13787 { ac_try
='test -s conftest.$ac_objext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 bakefile_cv_cxx_compiler___DECCXX
=yes
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.
$ac_ext >&5
13798 bakefile_cv_cxx_compiler___DECCXX
=no
13801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13805 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13806 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13808 ac_cpp
='$CXXCPP $CPPFLAGS'
13809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13813 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13826 ac_cpp
='$CXXCPP $CPPFLAGS'
13827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13831 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13832 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13833 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13847 #ifndef __SUNPRO_CC
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 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13881 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13889 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13891 ac_cpp
='$CXXCPP $CPPFLAGS'
13892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13896 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13910 ac_cpp
='$CPP $CPPFLAGS'
13911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13916 if test -n "$ac_tool_prefix"; then
13917 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13918 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13919 echo "$as_me:$LINENO: checking for $ac_word" >&5
13920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13921 if test "${ac_cv_prog_RANLIB+set}" = set; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 if test -n "$RANLIB"; then
13925 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13928 for as_dir
in $PATH
13931 test -z "$as_dir" && as_dir
=.
13932 for ac_exec_ext
in '' $ac_executable_extensions; do
13933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13934 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13943 RANLIB
=$ac_cv_prog_RANLIB
13944 if test -n "$RANLIB"; then
13945 echo "$as_me:$LINENO: result: $RANLIB" >&5
13946 echo "${ECHO_T}$RANLIB" >&6
13948 echo "$as_me:$LINENO: result: no" >&5
13949 echo "${ECHO_T}no" >&6
13953 if test -z "$ac_cv_prog_RANLIB"; then
13954 ac_ct_RANLIB
=$RANLIB
13955 # Extract the first word of "ranlib", so it can be a program name with args.
13956 set dummy ranlib
; ac_word
=$2
13957 echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13959 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 if test -n "$ac_ct_RANLIB"; then
13963 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13966 for as_dir
in $PATH
13969 test -z "$as_dir" && as_dir
=.
13970 for ac_exec_ext
in '' $ac_executable_extensions; do
13971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13972 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13979 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13982 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13983 if test -n "$ac_ct_RANLIB"; then
13984 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13985 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13987 echo "$as_me:$LINENO: result: no" >&5
13988 echo "${ECHO_T}no" >&6
13991 RANLIB
=$ac_ct_RANLIB
13993 RANLIB
="$ac_cv_prog_RANLIB"
13997 if test -n "$ac_tool_prefix"; then
13998 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13999 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14000 echo "$as_me:$LINENO: checking for $ac_word" >&5
14001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14002 if test "${ac_cv_prog_AR+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 if test -n "$AR"; then
14006 ac_cv_prog_AR
="$AR" # Let the user override the test.
14008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14009 for as_dir
in $PATH
14012 test -z "$as_dir" && as_dir
=.
14013 for ac_exec_ext
in '' $ac_executable_extensions; do
14014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14015 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 if test -n "$AR"; then
14026 echo "$as_me:$LINENO: result: $AR" >&5
14027 echo "${ECHO_T}$AR" >&6
14029 echo "$as_me:$LINENO: result: no" >&5
14030 echo "${ECHO_T}no" >&6
14034 if test -z "$ac_cv_prog_AR"; then
14036 # Extract the first word of "ar", so it can be a program name with args.
14037 set dummy
ar; ac_word
=$2
14038 echo "$as_me:$LINENO: checking for $ac_word" >&5
14039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14040 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 if test -n "$ac_ct_AR"; then
14044 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14047 for as_dir
in $PATH
14050 test -z "$as_dir" && as_dir
=.
14051 for ac_exec_ext
in '' $ac_executable_extensions; do
14052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14053 ac_cv_prog_ac_ct_AR
="ar"
14054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14063 if test -n "$ac_ct_AR"; then
14064 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14065 echo "${ECHO_T}$ac_ct_AR" >&6
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14073 AR
="$ac_cv_prog_AR"
14076 if test "x$AR" = "x" ; then
14077 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14078 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14079 { (exit 1); exit 1; }; }
14082 # Find a good install program. We prefer a C program (faster),
14083 # so one script is as good as another. But avoid the broken or
14084 # incompatible versions:
14085 # SysV /etc/install, /usr/sbin/install
14086 # SunOS /usr/etc/install
14087 # IRIX /sbin/install
14089 # AmigaOS /C/install, which installs bootblocks on floppy discs
14090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14093 # OS/2's system install, which has a completely different semantic
14094 # ./install, which can be erroneously created by make from ./install.sh.
14095 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14096 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14097 if test -z "$INSTALL"; then
14098 if test "${ac_cv_path_install+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14102 for as_dir
in $PATH
14105 test -z "$as_dir" && as_dir
=.
14106 # Account for people who put trailing slashes in PATH elements.
14108 .
/ | .
// | /cC
/* | \
14109 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14110 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14113 # OSF1 and SCO ODT 3.0 have their own names for install.
14114 # Don't use installbsd from OSF since it installs stuff as root
14116 for ac_prog
in ginstall scoinst
install; do
14117 for ac_exec_ext
in '' $ac_executable_extensions; do
14118 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14119 if test $ac_prog = install &&
14120 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14121 # AIX install. It has an incompatible calling convention.
14123 elif test $ac_prog = install &&
14124 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14125 # program-specific install script used by HP pwplus--don't use.
14128 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14140 if test "${ac_cv_path_install+set}" = set; then
14141 INSTALL
=$ac_cv_path_install
14143 # As a last resort, use the slow shell script. We don't cache a
14144 # path for INSTALL within a source directory, because that will
14145 # break other packages using the cache if that directory is
14146 # removed, or if the path is relative.
14147 INSTALL
=$ac_install_sh
14150 echo "$as_me:$LINENO: result: $INSTALL" >&5
14151 echo "${ECHO_T}$INSTALL" >&6
14153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14154 # It thinks the first close brace ends the variable substitution.
14155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14159 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14165 ?
:* ) # Drive letter, considered as absolute.
14168 INSTALL
=`pwd`/${INSTALL} ;;
14175 INSTALL_PROGRAM
="cp -fp"
14176 INSTALL_DATA
="cp -fp"
14182 if test -n "$ac_tool_prefix"; then
14183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14184 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_prog_STRIP+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 if test -n "$STRIP"; then
14191 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14194 for as_dir
in $PATH
14197 test -z "$as_dir" && as_dir
=.
14198 for ac_exec_ext
in '' $ac_executable_extensions; do
14199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14200 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14209 STRIP
=$ac_cv_prog_STRIP
14210 if test -n "$STRIP"; then
14211 echo "$as_me:$LINENO: result: $STRIP" >&5
14212 echo "${ECHO_T}$STRIP" >&6
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14219 if test -z "$ac_cv_prog_STRIP"; then
14221 # Extract the first word of "strip", so it can be a program name with args.
14222 set dummy strip
; ac_word
=$2
14223 echo "$as_me:$LINENO: checking for $ac_word" >&5
14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14225 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 if test -n "$ac_ct_STRIP"; then
14229 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14232 for as_dir
in $PATH
14235 test -z "$as_dir" && as_dir
=.
14236 for ac_exec_ext
in '' $ac_executable_extensions; do
14237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14238 ac_cv_prog_ac_ct_STRIP
="strip"
14239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14248 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14249 if test -n "$ac_ct_STRIP"; then
14250 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14251 echo "${ECHO_T}$ac_ct_STRIP" >&6
14253 echo "$as_me:$LINENO: result: no" >&5
14254 echo "${ECHO_T}no" >&6
14259 STRIP
="$ac_cv_prog_STRIP"
14263 if test "$wxUSE_WINE" = "yes"; then
14264 if test -n "$ac_tool_prefix"; then
14265 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14266 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14267 echo "$as_me:$LINENO: checking for $ac_word" >&5
14268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14269 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 if test -n "$RESCOMP"; then
14273 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14276 for as_dir
in $PATH
14279 test -z "$as_dir" && as_dir
=.
14280 for ac_exec_ext
in '' $ac_executable_extensions; do
14281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14282 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
14283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14291 RESCOMP
=$ac_cv_prog_RESCOMP
14292 if test -n "$RESCOMP"; then
14293 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14294 echo "${ECHO_T}$RESCOMP" >&6
14296 echo "$as_me:$LINENO: result: no" >&5
14297 echo "${ECHO_T}no" >&6
14301 if test -z "$ac_cv_prog_RESCOMP"; then
14302 ac_ct_RESCOMP
=$RESCOMP
14303 # Extract the first word of "wrc", so it can be a program name with args.
14304 set dummy wrc
; ac_word
=$2
14305 echo "$as_me:$LINENO: checking for $ac_word" >&5
14306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14307 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 if test -n "$ac_ct_RESCOMP"; then
14311 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14314 for as_dir
in $PATH
14317 test -z "$as_dir" && as_dir
=.
14318 for ac_exec_ext
in '' $ac_executable_extensions; do
14319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320 ac_cv_prog_ac_ct_RESCOMP
="wrc"
14321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14329 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14330 if test -n "$ac_ct_RESCOMP"; then
14331 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14332 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14338 RESCOMP
=$ac_ct_RESCOMP
14340 RESCOMP
="$ac_cv_prog_RESCOMP"
14345 *-*-cygwin* | *-*-mingw32* )
14346 if test -n "$ac_tool_prefix"; then
14347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14348 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14349 echo "$as_me:$LINENO: checking for $ac_word" >&5
14350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14351 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 if test -n "$RESCOMP"; then
14355 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14358 for as_dir
in $PATH
14361 test -z "$as_dir" && as_dir
=.
14362 for ac_exec_ext
in '' $ac_executable_extensions; do
14363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14364 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
14365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14373 RESCOMP
=$ac_cv_prog_RESCOMP
14374 if test -n "$RESCOMP"; then
14375 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14376 echo "${ECHO_T}$RESCOMP" >&6
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14383 if test -z "$ac_cv_prog_RESCOMP"; then
14384 ac_ct_RESCOMP
=$RESCOMP
14385 # Extract the first word of "windres", so it can be a program name with args.
14386 set dummy windres
; ac_word
=$2
14387 echo "$as_me:$LINENO: checking for $ac_word" >&5
14388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14389 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 if test -n "$ac_ct_RESCOMP"; then
14393 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14396 for as_dir
in $PATH
14399 test -z "$as_dir" && as_dir
=.
14400 for ac_exec_ext
in '' $ac_executable_extensions; do
14401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14402 ac_cv_prog_ac_ct_RESCOMP
="windres"
14403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14411 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14412 if test -n "$ac_ct_RESCOMP"; then
14413 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14414 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14416 echo "$as_me:$LINENO: result: no" >&5
14417 echo "${ECHO_T}no" >&6
14420 RESCOMP
=$ac_ct_RESCOMP
14422 RESCOMP
="$ac_cv_prog_RESCOMP"
14425 if test -n "$ac_tool_prefix"; then
14426 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14427 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14428 echo "$as_me:$LINENO: checking for $ac_word" >&5
14429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14430 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 if test -n "$DLLTOOL"; then
14434 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14437 for as_dir
in $PATH
14440 test -z "$as_dir" && as_dir
=.
14441 for ac_exec_ext
in '' $ac_executable_extensions; do
14442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14443 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14452 DLLTOOL
=$ac_cv_prog_DLLTOOL
14453 if test -n "$DLLTOOL"; then
14454 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14455 echo "${ECHO_T}$DLLTOOL" >&6
14457 echo "$as_me:$LINENO: result: no" >&5
14458 echo "${ECHO_T}no" >&6
14462 if test -z "$ac_cv_prog_DLLTOOL"; then
14463 ac_ct_DLLTOOL
=$DLLTOOL
14464 # Extract the first word of "dlltool", so it can be a program name with args.
14465 set dummy dlltool
; ac_word
=$2
14466 echo "$as_me:$LINENO: checking for $ac_word" >&5
14467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14468 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 if test -n "$ac_ct_DLLTOOL"; then
14472 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14475 for as_dir
in $PATH
14478 test -z "$as_dir" && as_dir
=.
14479 for ac_exec_ext
in '' $ac_executable_extensions; do
14480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14481 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14490 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14491 if test -n "$ac_ct_DLLTOOL"; then
14492 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14493 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14495 echo "$as_me:$LINENO: result: no" >&5
14496 echo "${ECHO_T}no" >&6
14499 DLLTOOL
=$ac_ct_DLLTOOL
14501 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14508 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14509 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14510 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14515 egrep -s GNU
> /dev
/null
); then
14516 wx_cv_prog_makeisgnu
="yes"
14518 wx_cv_prog_makeisgnu
="no"
14522 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14523 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14525 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14533 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14534 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14535 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14536 if test "${wx_cv_prog_makevpath+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 cat - << EOF > confMake
14546 if test ! -d sub
; then
14549 echo dummy
> sub
/file
14550 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14552 rm -f sub
/file check final_file confMake
14554 if test "$RESULT" = 0; then
14555 wx_cv_prog_makevpath
="yes"
14557 wx_cv_prog_makevpath
="no"
14561 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14562 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14564 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14565 { { echo "$as_me:$LINENO: error:
14566 You need a make-utility that is able to use the variable
14568 If your version of make does not support VPATH correctly,
14569 please install GNU-make (possibly as gmake), and start
14570 configure with the following command:
14571 export MAKE=gmake; ./configure for sh-type shells
14572 setenv MAKE gmake; ./configure for csh-type shells
14573 Also please do remember to use gmake in this case every time
14574 you are trying to compile.
14576 echo "$as_me: error:
14577 You need a make-utility that is able to use the variable
14579 If your version of make does not support VPATH correctly,
14580 please install GNU-make (possibly as gmake), and start
14581 configure with the following command:
14582 export MAKE=gmake; ./configure for sh-type shells
14583 setenv MAKE gmake; ./configure for csh-type shells
14584 Also please do remember to use gmake in this case every time
14585 you are trying to compile.
14587 { (exit 1); exit 1; }; }
14589 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14590 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14592 if test "$LN_S" = "ln -s"; then
14593 echo "$as_me:$LINENO: result: yes" >&5
14594 echo "${ECHO_T}yes" >&6
14596 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14597 echo "${ECHO_T}no, using $LN_S" >&6
14602 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14603 CXXFLAGS
="$CXXFLAGS -qunique"
14607 powerpc
-*-darwin* )
14608 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14609 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14610 cat >conftest.
$ac_ext <<_ACEOF
14613 cat confdefs.h
>>conftest.
$ac_ext
14614 cat >>conftest.
$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14620 #ifndef __POWERPC__
14621 choke me for lack of PowerPC
14628 rm -f conftest.
$ac_objext
14629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14630 (eval $ac_compile) 2>conftest.er1
14632 grep -v '^ *+' conftest.er1
>conftest.err
14634 cat conftest.err
>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; } &&
14643 { ac_try
='test -s conftest.$ac_objext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 echo "$as_me:$LINENO: result: yes" >&5
14650 echo "${ECHO_T}yes" >&6
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.
$ac_ext >&5
14655 echo "$as_me:$LINENO: result: no" >&5
14656 echo "${ECHO_T}no" >&6
14657 cat >>confdefs.h
<<\_ACEOF
14658 #define __POWERPC__ 1
14663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14669 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14670 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 #include <CoreFoundation/CFBase.h>
14687 rm -f conftest.
$ac_objext
14688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14689 (eval $ac_compile) 2>conftest.er1
14691 grep -v '^ *+' conftest.er1
>conftest.err
14693 cat conftest.err
>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } &&
14696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try
='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 echo "$as_me:$LINENO: result: yes" >&5
14709 echo "${ECHO_T}yes" >&6
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.
$ac_ext >&5
14714 echo "$as_me:$LINENO: result: no" >&5
14715 echo "${ECHO_T}no" >&6
14716 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14717 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14718 cat >conftest.
$ac_ext <<_ACEOF
14721 cat confdefs.h
>>conftest.
$ac_ext
14722 cat >>conftest.
$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14724 #define __CF_USE_FRAMEWORK_INCLUDES__
14725 #include <CoreFoundation/CFBase.h>
14735 rm -f conftest.
$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14739 grep -v '^ *+' conftest.er1
>conftest.err
14741 cat conftest.err
>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; } &&
14750 { ac_try
='test -s conftest.$ac_objext'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 echo "$as_me:$LINENO: result: yes" >&5
14757 echo "${ECHO_T}yes" >&6
14758 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.
$ac_ext >&5
14763 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14764 See \`config.log' for more details." >&5
14765 echo "$as_me: error: no. CoreFoundation not available.
14766 See \`config.log' for more details." >&2;}
14767 { (exit 1); exit 1; }; }
14770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14779 *-pc-os2_emx | *-pc-os2-emx )
14780 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14781 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14782 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14783 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 ac_check_lib_save_LIBS
=$LIBS
14787 LIBS
="-lcExt $LIBS"
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14795 /* Override any gcc2 internal prototype to avoid an error. */
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14810 rm -f conftest.
$ac_objext conftest
$ac_exeext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14812 (eval $ac_link) 2>conftest.er1
14814 grep -v '^ *+' conftest.er1
>conftest.err
14816 cat conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest$ac_exeext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_cv_lib_cExt_drand48
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_cv_lib_cExt_drand48
=no
14838 rm -f conftest.err conftest.
$ac_objext \
14839 conftest
$ac_exeext conftest.
$ac_ext
14840 LIBS
=$ac_check_lib_save_LIBS
14842 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14843 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14844 if test $ac_cv_lib_cExt_drand48 = yes; then
14845 LIBS
="$LIBS -lcExt"
14849 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14851 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14852 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14853 if test "${wx_cv_gccversion+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 if test "$cross_compiling" = yes; then
14858 wx_cv_gccversion
="EMX2"
14861 cat >conftest.
$ac_ext <<_ACEOF
14864 cat confdefs.h
>>conftest.
$ac_ext
14865 cat >>conftest.
$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14872 FILE *f=fopen("conftestval", "w");
14877 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14879 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14889 rm -f conftest
$ac_exeext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14891 (eval $ac_link) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 wx_cv_gccversion
=`cat conftestval`
14902 echo "$as_me: program exited with status $ac_status" >&5
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.
$ac_ext >&5
14906 ( exit $ac_status )
14907 wx_cv_gccversion
="EMX2"
14909 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14913 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14914 echo "${ECHO_T}$wx_cv_gccversion" >&6
14915 if test "$wx_cv_gccversion" = "EMX2"; then
14916 LIBS
="$LIBS -lstdcpp"
14917 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14919 if test "$wx_cv_gccversion" = "EMX3"; then
14920 LIBS
="$LIBS -lstdcxx -lgcc"
14921 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14923 LIBS
="$LIBS -lstdc++"
14926 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14927 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14928 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14938 ac_cpp
='$CXXCPP $CPPFLAGS'
14939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14944 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14945 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14946 if test "${ac_cv_string_strcasecmp+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 cat >conftest.
$ac_ext <<_ACEOF
14953 cat confdefs.h
>>conftest.
$ac_ext
14954 cat >>conftest.
$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14957 #include <string.h>
14963 strcasecmp("foo", "bar");
14969 rm -f conftest.
$ac_objext conftest
$ac_exeext
14970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14971 (eval $ac_link) 2>conftest.er1
14973 grep -v '^ *+' conftest.er1
>conftest.err
14975 cat conftest.err
>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } &&
14978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; } &&
14984 { ac_try
='test -s conftest$ac_exeext'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; }; then
14990 ac_cv_string_strcasecmp
=yes
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.
$ac_ext >&5
14995 ac_cv_string_strcasecmp
=no
14998 rm -f conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15002 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15003 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15005 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15006 cat >>confdefs.h
<<\_ACEOF
15007 #define HAVE_STRCASECMP_IN_STRING_H 1
15011 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15012 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15013 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 cat >conftest.
$ac_ext <<_ACEOF
15020 cat confdefs.h
>>conftest.
$ac_ext
15021 cat >>conftest.
$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15024 #include <strings.h>
15030 strcasecmp("foo", "bar");
15036 rm -f conftest.
$ac_objext conftest
$ac_exeext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15038 (eval $ac_link) 2>conftest.er1
15040 grep -v '^ *+' conftest.er1
>conftest.err
15042 cat conftest.err
>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try
='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_cv_strings_strcasecmp
=yes
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 ac_cv_strings_strcasecmp
=no
15065 rm -f conftest.err conftest.
$ac_objext \
15066 conftest
$ac_exeext conftest.
$ac_ext
15069 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15070 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15072 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15073 cat >>confdefs.h
<<\_ACEOF
15074 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15078 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15079 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15080 { (exit 1); exit 1; }; }
15085 ac_cpp
='$CPP $CPPFLAGS'
15086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15094 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15095 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15096 if test "${ac_cv_header_stdc+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 cat >conftest.
$ac_ext <<_ACEOF
15102 cat confdefs.h
>>conftest.
$ac_ext
15103 cat >>conftest.
$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 #include <stdlib.h>
15106 #include <stdarg.h>
15107 #include <string.h>
15118 rm -f conftest.
$ac_objext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15120 (eval $ac_compile) 2>conftest.er1
15122 grep -v '^ *+' conftest.er1
>conftest.err
15124 cat conftest.err
>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; } &&
15133 { ac_try
='test -s conftest.$ac_objext'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 ac_cv_header_stdc
=yes
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.
$ac_ext >&5
15144 ac_cv_header_stdc
=no
15146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15148 if test $ac_cv_header_stdc = yes; then
15149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15150 cat >conftest.
$ac_ext <<_ACEOF
15153 cat confdefs.h
>>conftest.
$ac_ext
15154 cat >>conftest.
$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156 #include <string.h>
15159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15160 $EGREP "memchr" >/dev
/null
2>&1; then
15163 ac_cv_header_stdc
=no
15169 if test $ac_cv_header_stdc = yes; then
15170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15171 cat >conftest.
$ac_ext <<_ACEOF
15174 cat confdefs.h
>>conftest.
$ac_ext
15175 cat >>conftest.
$ac_ext <<_ACEOF
15176 /* end confdefs.h. */
15177 #include <stdlib.h>
15180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15181 $EGREP "free" >/dev
/null
2>&1; then
15184 ac_cv_header_stdc
=no
15190 if test $ac_cv_header_stdc = yes; then
15191 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15192 if test "$cross_compiling" = yes; then
15195 cat >conftest.
$ac_ext <<_ACEOF
15198 cat confdefs.h
>>conftest.
$ac_ext
15199 cat >>conftest.
$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15202 #if ((' ' & 0x0FF) == 0x020)
15203 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15204 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15206 # define ISLOWER(c) \
15207 (('a' <= (c) && (c) <= 'i') \
15208 || ('j' <= (c) && (c) <= 'r') \
15209 || ('s' <= (c) && (c) <= 'z'))
15210 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15213 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15218 for (i = 0; i < 256; i++)
15219 if (XOR (islower (i), ISLOWER (i))
15220 || toupper (i) != TOUPPER (i))
15225 rm -f conftest
$ac_exeext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15227 (eval $ac_link) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15238 echo "$as_me: program exited with status $ac_status" >&5
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.
$ac_ext >&5
15242 ( exit $ac_status )
15243 ac_cv_header_stdc
=no
15245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15249 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15250 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15251 if test $ac_cv_header_stdc = yes; then
15253 cat >>confdefs.h
<<\_ACEOF
15254 #define STDC_HEADERS 1
15259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15269 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15270 inttypes.h stdint.h unistd.h
15272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15273 echo "$as_me:$LINENO: checking for $ac_header" >&5
15274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 cat >conftest.
$ac_ext <<_ACEOF
15281 cat confdefs.h
>>conftest.
$ac_ext
15282 cat >>conftest.
$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 $ac_includes_default
15286 #include <$ac_header>
15288 rm -f conftest.
$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>conftest.er1
15292 grep -v '^ *+' conftest.er1
>conftest.err
15294 cat conftest.err
>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try
='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 eval "$as_ac_Header=yes"
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.
$ac_ext >&5
15314 eval "$as_ac_Header=no"
15316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15321 cat >>confdefs.h
<<_ACEOF
15322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15331 for ac_header
in stdlib.h
15333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15335 echo "$as_me:$LINENO: checking for $ac_header" >&5
15336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15343 # Is the header compilable?
15344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15346 cat >conftest.
$ac_ext <<_ACEOF
15349 cat confdefs.h
>>conftest.
$ac_ext
15350 cat >>conftest.
$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 #include <$ac_header>
15355 rm -f conftest.
$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15359 grep -v '^ *+' conftest.er1
>conftest.err
15361 cat conftest.err
>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; } &&
15370 { ac_try
='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376 ac_header_compiler
=yes
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.
$ac_ext >&5
15381 ac_header_compiler
=no
15383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385 echo "${ECHO_T}$ac_header_compiler" >&6
15387 # Is the header present?
15388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390 cat >conftest.
$ac_ext <<_ACEOF
15393 cat confdefs.h
>>conftest.
$ac_ext
15394 cat >>conftest.
$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15396 #include <$ac_header>
15398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15401 grep -v '^ *+' conftest.er1
>conftest.err
15403 cat conftest.err
>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } >/dev
/null
; then
15406 if test -s conftest.err
; then
15407 ac_cpp_err
=$ac_c_preproc_warn_flag
15408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15415 if test -z "$ac_cpp_err"; then
15416 ac_header_preproc
=yes
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.
$ac_ext >&5
15421 ac_header_preproc
=no
15423 rm -f conftest.err conftest.
$ac_ext
15424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15425 echo "${ECHO_T}$ac_header_preproc" >&6
15427 # So? What about this header?
15428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15434 ac_header_preproc
=yes
15437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15451 ## ----------------------------------------- ##
15452 ## Report this to wx-dev@lists.wxwidgets.org ##
15453 ## ----------------------------------------- ##
15456 sed "s/^/$as_me: WARNING: /" >&2
15459 echo "$as_me:$LINENO: checking for $ac_header" >&5
15460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 eval "$as_ac_Header=\$ac_header_preproc"
15466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15471 cat >>confdefs.h
<<_ACEOF
15472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15480 for ac_header
in malloc.h
15482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15484 echo "$as_me:$LINENO: checking for $ac_header" >&5
15485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15492 # Is the header compilable?
15493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15495 cat >conftest.
$ac_ext <<_ACEOF
15498 cat confdefs.h
>>conftest.
$ac_ext
15499 cat >>conftest.
$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15502 #include <$ac_header>
15504 rm -f conftest.
$ac_objext
15505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15506 (eval $ac_compile) 2>conftest.er1
15508 grep -v '^ *+' conftest.er1
>conftest.err
15510 cat conftest.err
>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } &&
15513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; } &&
15519 { ac_try
='test -s conftest.$ac_objext'
15520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521 (eval $ac_try) 2>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; }; then
15525 ac_header_compiler
=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.
$ac_ext >&5
15530 ac_header_compiler
=no
15532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15534 echo "${ECHO_T}$ac_header_compiler" >&6
15536 # Is the header present?
15537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15539 cat >conftest.
$ac_ext <<_ACEOF
15542 cat confdefs.h
>>conftest.
$ac_ext
15543 cat >>conftest.
$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 #include <$ac_header>
15547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15548 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15550 grep -v '^ *+' conftest.er1
>conftest.err
15552 cat conftest.err
>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } >/dev
/null
; then
15555 if test -s conftest.err
; then
15556 ac_cpp_err
=$ac_c_preproc_warn_flag
15557 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15564 if test -z "$ac_cpp_err"; then
15565 ac_header_preproc
=yes
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.
$ac_ext >&5
15570 ac_header_preproc
=no
15572 rm -f conftest.err conftest.
$ac_ext
15573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15574 echo "${ECHO_T}$ac_header_preproc" >&6
15576 # So? What about this header?
15577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15583 ac_header_preproc
=yes
15586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15600 ## ----------------------------------------- ##
15601 ## Report this to wx-dev@lists.wxwidgets.org ##
15602 ## ----------------------------------------- ##
15605 sed "s/^/$as_me: WARNING: /" >&2
15608 echo "$as_me:$LINENO: checking for $ac_header" >&5
15609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 eval "$as_ac_Header=\$ac_header_preproc"
15615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15620 cat >>confdefs.h
<<_ACEOF
15621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15629 for ac_header
in unistd.h
15631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15633 echo "$as_me:$LINENO: checking for $ac_header" >&5
15634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15641 # Is the header compilable?
15642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15644 cat >conftest.
$ac_ext <<_ACEOF
15647 cat confdefs.h
>>conftest.
$ac_ext
15648 cat >>conftest.
$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15651 #include <$ac_header>
15653 rm -f conftest.
$ac_objext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15655 (eval $ac_compile) 2>conftest.er1
15657 grep -v '^ *+' conftest.er1
>conftest.err
15659 cat conftest.err
>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try
='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_header_compiler
=yes
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.
$ac_ext >&5
15679 ac_header_compiler
=no
15681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15683 echo "${ECHO_T}$ac_header_compiler" >&6
15685 # Is the header present?
15686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15688 cat >conftest.
$ac_ext <<_ACEOF
15691 cat confdefs.h
>>conftest.
$ac_ext
15692 cat >>conftest.
$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 #include <$ac_header>
15696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15699 grep -v '^ *+' conftest.er1
>conftest.err
15701 cat conftest.err
>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } >/dev
/null
; then
15704 if test -s conftest.err
; then
15705 ac_cpp_err
=$ac_c_preproc_warn_flag
15706 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15713 if test -z "$ac_cpp_err"; then
15714 ac_header_preproc
=yes
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ac_header_preproc
=no
15721 rm -f conftest.err conftest.
$ac_ext
15722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15723 echo "${ECHO_T}$ac_header_preproc" >&6
15725 # So? What about this header?
15726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15732 ac_header_preproc
=yes
15735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15749 ## ----------------------------------------- ##
15750 ## Report this to wx-dev@lists.wxwidgets.org ##
15751 ## ----------------------------------------- ##
15754 sed "s/^/$as_me: WARNING: /" >&2
15757 echo "$as_me:$LINENO: checking for $ac_header" >&5
15758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 eval "$as_ac_Header=\$ac_header_preproc"
15764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15769 cat >>confdefs.h
<<_ACEOF
15770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15778 for ac_header
in wchar.h
15780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15782 echo "$as_me:$LINENO: checking for $ac_header" >&5
15783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15790 # Is the header compilable?
15791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 $ac_includes_default
15800 #include <$ac_header>
15802 rm -f conftest.
$ac_objext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15804 (eval $ac_compile) 2>conftest.er1
15806 grep -v '^ *+' conftest.er1
>conftest.err
15808 cat conftest.err
>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15813 (eval $ac_try) 2>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); }; } &&
15817 { ac_try
='test -s conftest.$ac_objext'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; }; then
15823 ac_header_compiler
=yes
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 ac_header_compiler
=no
15830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15832 echo "${ECHO_T}$ac_header_compiler" >&6
15834 # Is the header present?
15835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15837 cat >conftest.
$ac_ext <<_ACEOF
15840 cat confdefs.h
>>conftest.
$ac_ext
15841 cat >>conftest.
$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 #include <$ac_header>
15845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1
>conftest.err
15850 cat conftest.err
>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } >/dev
/null
; then
15853 if test -s conftest.err
; then
15854 ac_cpp_err
=$ac_c_preproc_warn_flag
15855 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15862 if test -z "$ac_cpp_err"; then
15863 ac_header_preproc
=yes
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.
$ac_ext >&5
15868 ac_header_preproc
=no
15870 rm -f conftest.err conftest.
$ac_ext
15871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15872 echo "${ECHO_T}$ac_header_preproc" >&6
15874 # So? What about this header?
15875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15881 ac_header_preproc
=yes
15884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15898 ## ----------------------------------------- ##
15899 ## Report this to wx-dev@lists.wxwidgets.org ##
15900 ## ----------------------------------------- ##
15903 sed "s/^/$as_me: WARNING: /" >&2
15906 echo "$as_me:$LINENO: checking for $ac_header" >&5
15907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 eval "$as_ac_Header=\$ac_header_preproc"
15913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15918 cat >>confdefs.h
<<_ACEOF
15919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15927 if test "$ac_cv_header_wchar_h" != "yes"; then
15929 for ac_header
in wcstr.h
15931 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15933 echo "$as_me:$LINENO: checking for $ac_header" >&5
15934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15941 # Is the header compilable?
15942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15944 cat >conftest.
$ac_ext <<_ACEOF
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15951 #include <$ac_header>
15953 rm -f conftest.
$ac_objext
15954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15955 (eval $ac_compile) 2>conftest.er1
15957 grep -v '^ *+' conftest.er1
>conftest.err
15959 cat conftest.err
>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try
='test -s conftest.$ac_objext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_header_compiler
=yes
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.
$ac_ext >&5
15979 ac_header_compiler
=no
15981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15983 echo "${ECHO_T}$ac_header_compiler" >&6
15985 # Is the header present?
15986 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15988 cat >conftest.
$ac_ext <<_ACEOF
15991 cat confdefs.h
>>conftest.
$ac_ext
15992 cat >>conftest.
$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15994 #include <$ac_header>
15996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } >/dev
/null
; then
16004 if test -s conftest.err
; then
16005 ac_cpp_err
=$ac_c_preproc_warn_flag
16006 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16013 if test -z "$ac_cpp_err"; then
16014 ac_header_preproc
=yes
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.
$ac_ext >&5
16019 ac_header_preproc
=no
16021 rm -f conftest.err conftest.
$ac_ext
16022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16023 echo "${ECHO_T}$ac_header_preproc" >&6
16025 # So? What about this header?
16026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16032 ac_header_preproc
=yes
16035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16041 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16042 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16049 ## ----------------------------------------- ##
16050 ## Report this to wx-dev@lists.wxwidgets.org ##
16051 ## ----------------------------------------- ##
16054 sed "s/^/$as_me: WARNING: /" >&2
16057 echo "$as_me:$LINENO: checking for $ac_header" >&5
16058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 eval "$as_ac_Header=\$ac_header_preproc"
16064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16069 cat >>confdefs.h
<<_ACEOF
16070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16080 for ac_header
in fnmatch.h
16082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16084 echo "$as_me:$LINENO: checking for $ac_header" >&5
16085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16092 # Is the header compilable?
16093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16095 cat >conftest.
$ac_ext <<_ACEOF
16098 cat confdefs.h
>>conftest.
$ac_ext
16099 cat >>conftest.
$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 $ac_includes_default
16102 #include <$ac_header>
16104 rm -f conftest.
$ac_objext
16105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16106 (eval $ac_compile) 2>conftest.er1
16108 grep -v '^ *+' conftest.er1
>conftest.err
16110 cat conftest.err
>&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; } &&
16119 { ac_try
='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 ac_header_compiler
=yes
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16130 ac_header_compiler
=no
16132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16134 echo "${ECHO_T}$ac_header_compiler" >&6
16136 # Is the header present?
16137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16139 cat >conftest.
$ac_ext <<_ACEOF
16142 cat confdefs.h
>>conftest.
$ac_ext
16143 cat >>conftest.
$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 #include <$ac_header>
16147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1
>conftest.err
16152 cat conftest.err
>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } >/dev
/null
; then
16155 if test -s conftest.err
; then
16156 ac_cpp_err
=$ac_c_preproc_warn_flag
16157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16164 if test -z "$ac_cpp_err"; then
16165 ac_header_preproc
=yes
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.
$ac_ext >&5
16170 ac_header_preproc
=no
16172 rm -f conftest.err conftest.
$ac_ext
16173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16174 echo "${ECHO_T}$ac_header_preproc" >&6
16176 # So? What about this header?
16177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16183 ac_header_preproc
=yes
16186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16200 ## ----------------------------------------- ##
16201 ## Report this to wx-dev@lists.wxwidgets.org ##
16202 ## ----------------------------------------- ##
16205 sed "s/^/$as_me: WARNING: /" >&2
16208 echo "$as_me:$LINENO: checking for $ac_header" >&5
16209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 eval "$as_ac_Header=\$ac_header_preproc"
16215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16220 cat >>confdefs.h
<<_ACEOF
16221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16230 for ac_header
in langinfo.h
16232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16234 echo "$as_me:$LINENO: checking for $ac_header" >&5
16235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16242 # Is the header compilable?
16243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16245 cat >conftest.
$ac_ext <<_ACEOF
16248 cat confdefs.h
>>conftest.
$ac_ext
16249 cat >>conftest.
$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16251 $ac_includes_default
16252 #include <$ac_header>
16254 rm -f conftest.
$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>conftest.er1
16258 grep -v '^ *+' conftest.er1
>conftest.err
16260 cat conftest.err
>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } &&
16263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; } &&
16269 { ac_try
='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_header_compiler
=yes
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 ac_header_compiler
=no
16282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16284 echo "${ECHO_T}$ac_header_compiler" >&6
16286 # Is the header present?
16287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16289 cat >conftest.
$ac_ext <<_ACEOF
16292 cat confdefs.h
>>conftest.
$ac_ext
16293 cat >>conftest.
$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295 #include <$ac_header>
16297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16300 grep -v '^ *+' conftest.er1
>conftest.err
16302 cat conftest.err
>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } >/dev
/null
; then
16305 if test -s conftest.err
; then
16306 ac_cpp_err
=$ac_c_preproc_warn_flag
16307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16314 if test -z "$ac_cpp_err"; then
16315 ac_header_preproc
=yes
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.
$ac_ext >&5
16320 ac_header_preproc
=no
16322 rm -f conftest.err conftest.
$ac_ext
16323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16324 echo "${ECHO_T}$ac_header_preproc" >&6
16326 # So? What about this header?
16327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16333 ac_header_preproc
=yes
16336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16350 ## ----------------------------------------- ##
16351 ## Report this to wx-dev@lists.wxwidgets.org ##
16352 ## ----------------------------------------- ##
16355 sed "s/^/$as_me: WARNING: /" >&2
16358 echo "$as_me:$LINENO: checking for $ac_header" >&5
16359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 eval "$as_ac_Header=\$ac_header_preproc"
16365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16370 cat >>confdefs.h
<<_ACEOF
16371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16380 *-pc-os2_emx | *-pc-os2-emx )
16381 if test $ac_cv_header_langinfo_h = "yes" \
16382 -a \
( "$wx_cv_gccversion" = "EMX2" \
16383 -o "$wx_cv_gccversion" = "EMX3" \
16384 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16385 LIBS
="$LIBS -lintl"
16391 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16392 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16393 if test "${ac_cv_c_const+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 cat >conftest.
$ac_ext <<_ACEOF
16399 cat confdefs.h
>>conftest.
$ac_ext
16400 cat >>conftest.
$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16406 /* FIXME: Include the comments suggested by Paul. */
16407 #ifndef __cplusplus
16408 /* Ultrix mips cc rejects this. */
16409 typedef int charset[2];
16411 /* SunOS 4.1.1 cc rejects this. */
16412 char const *const *ccp;
16414 /* NEC SVR4.0.2 mips cc rejects this. */
16415 struct point {int x, y;};
16416 static struct point const zero = {0,0};
16417 /* AIX XL C 1.02.0.0 rejects this.
16418 It does not let you subtract one const X* pointer from another in
16419 an arm of an if-expression whose if-part is not a constant
16421 const char *g = "string";
16422 ccp = &g + (g ? g-g : 0);
16423 /* HPUX 7.0 cc rejects these. */
16426 ccp = (char const *const *) p;
16427 { /* SCO 3.2v4 cc rejects this. */
16429 char const *s = 0 ? (char *) 0 : (char const *) 0;
16433 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16434 int x[] = {25, 17};
16435 const int *foo = &x[0];
16438 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16439 typedef const int *iptr;
16443 { /* AIX XL C 1.02.0.0 rejects this saying
16444 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16445 struct s { int j; const int *ap[3]; };
16446 struct s *b; b->j = 5;
16448 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16449 const int foo = 10;
16457 rm -f conftest.
$ac_objext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16459 (eval $ac_compile) 2>conftest.er1
16461 grep -v '^ *+' conftest.er1
>conftest.err
16463 cat conftest.err
>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } &&
16466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } &&
16472 { ac_try
='test -s conftest.$ac_objext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.
$ac_ext >&5
16485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16487 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16488 echo "${ECHO_T}$ac_cv_c_const" >&6
16489 if test $ac_cv_c_const = no
; then
16491 cat >>confdefs.h
<<\_ACEOF
16497 echo "$as_me:$LINENO: checking for inline" >&5
16498 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16499 if test "${ac_cv_c_inline+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 for ac_kw
in inline __inline__ __inline
; do
16504 cat >conftest.
$ac_ext <<_ACEOF
16507 cat confdefs.h
>>conftest.
$ac_ext
16508 cat >>conftest.
$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #ifndef __cplusplus
16512 static $ac_kw foo_t static_foo () {return 0; }
16513 $ac_kw foo_t foo () {return 0; }
16517 rm -f conftest.
$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16521 grep -v '^ *+' conftest.er1
>conftest.err
16523 cat conftest.err
>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try
='test -s conftest.$ac_objext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 ac_cv_c_inline
=$ac_kw; break
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.
$ac_ext >&5
16544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16548 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16549 echo "${ECHO_T}$ac_cv_c_inline" >&6
16552 case $ac_cv_c_inline in
16555 case $ac_cv_c_inline in
16557 *) ac_val
=$ac_cv_c_inline;;
16559 cat >>confdefs.h
<<_ACEOF
16560 #ifndef __cplusplus
16561 #define inline $ac_val
16568 echo "$as_me:$LINENO: checking for char" >&5
16569 echo $ECHO_N "checking for char... $ECHO_C" >&6
16570 if test "${ac_cv_type_char+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16591 rm -f conftest.
$ac_objext
16592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16593 (eval $ac_compile) 2>conftest.er1
16595 grep -v '^ *+' conftest.er1
>conftest.err
16597 cat conftest.err
>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try
='test -s conftest.$ac_objext'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 ac_cv_type_char
=yes
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.
$ac_ext >&5
16619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16621 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16622 echo "${ECHO_T}$ac_cv_type_char" >&6
16624 echo "$as_me:$LINENO: checking size of char" >&5
16625 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16626 if test "${ac_cv_sizeof_char+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test "$ac_cv_type_char" = yes; then
16630 # The cast to unsigned long works around a bug in the HP C Compiler
16631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16633 # This bug is HP SR number 8606223364.
16634 if test "$cross_compiling" = yes; then
16635 # Depending upon the size, compute the lo and hi bounds.
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16646 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16653 rm -f conftest.
$ac_objext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16655 (eval $ac_compile) 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try
='test -s conftest.$ac_objext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16676 cat >conftest.
$ac_ext <<_ACEOF
16679 cat confdefs.h
>>conftest.
$ac_ext
16680 cat >>conftest.
$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 $ac_includes_default
16686 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16693 rm -f conftest.
$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16697 grep -v '^ *+' conftest.er1
>conftest.err
16699 cat conftest.err
>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try
='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 ac_hi
=$ac_mid; break
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ac_lo
=`expr $ac_mid + 1`
16720 if test $ac_lo -le $ac_mid; then
16724 ac_mid
=`expr 2 '*' $ac_mid + 1`
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738 $ac_includes_default
16742 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16749 rm -f conftest.
$ac_objext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16772 cat >conftest.
$ac_ext <<_ACEOF
16775 cat confdefs.h
>>conftest.
$ac_ext
16776 cat >>conftest.
$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778 $ac_includes_default
16782 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16789 rm -f conftest.
$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>conftest.er1
16793 grep -v '^ *+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; } &&
16804 { ac_try
='test -s conftest.$ac_objext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_lo
=$ac_mid; break
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 ac_hi
=`expr '(' $ac_mid ')' - 1`
16816 if test $ac_mid -le $ac_hi; then
16820 ac_mid
=`expr 2 '*' $ac_mid`
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.
$ac_ext >&5
16830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16833 # Binary search between lo and hi bounds.
16834 while test "x$ac_lo" != "x$ac_hi"; do
16835 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16836 cat >conftest.
$ac_ext <<_ACEOF
16839 cat confdefs.h
>>conftest.
$ac_ext
16840 cat >>conftest.
$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 $ac_includes_default
16846 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16853 rm -f conftest.
$ac_objext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16855 (eval $ac_compile) 2>conftest.er1
16857 grep -v '^ *+' conftest.er1
>conftest.err
16859 cat conftest.err
>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try
='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.
$ac_ext >&5
16879 ac_lo
=`expr '(' $ac_mid ')' + 1`
16881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16884 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16885 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16886 See \`config.log' for more details." >&5
16887 echo "$as_me: error: cannot compute sizeof (char), 77
16888 See \`config.log' for more details." >&2;}
16889 { (exit 1); exit 1; }; } ;;
16892 if test "$cross_compiling" = yes; then
16893 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16894 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16895 { (exit 1); exit 1; }; }
16897 cat >conftest.
$ac_ext <<_ACEOF
16900 cat confdefs.h
>>conftest.
$ac_ext
16901 cat >>conftest.
$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 $ac_includes_default
16904 long longval () { return (long) (sizeof (char)); }
16905 unsigned long ulongval () { return (long) (sizeof (char)); }
16907 #include <stdlib.h>
16912 FILE *f = fopen ("conftest.val", "w");
16915 if (((long) (sizeof (char))) < 0)
16917 long i = longval ();
16918 if (i != ((long) (sizeof (char))))
16920 fprintf (f, "%ld\n", i);
16924 unsigned long i = ulongval ();
16925 if (i != ((long) (sizeof (char))))
16927 fprintf (f, "%lu\n", i);
16929 exit (ferror (f) || fclose (f) != 0);
16935 rm -f conftest
$ac_exeext
16936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16937 (eval $ac_link) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 ac_cv_sizeof_char
=`cat conftest.val`
16948 echo "$as_me: program exited with status $ac_status" >&5
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.
$ac_ext >&5
16952 ( exit $ac_status )
16953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16954 See \`config.log' for more details." >&5
16955 echo "$as_me: error: cannot compute sizeof (char), 77
16956 See \`config.log' for more details." >&2;}
16957 { (exit 1); exit 1; }; }
16959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16964 ac_cv_sizeof_char
=0
16967 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16968 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16969 cat >>confdefs.h
<<_ACEOF
16970 #define SIZEOF_CHAR $ac_cv_sizeof_char
16974 echo "$as_me:$LINENO: checking for short" >&5
16975 echo $ECHO_N "checking for short... $ECHO_C" >&6
16976 if test "${ac_cv_type_short+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 cat >conftest.
$ac_ext <<_ACEOF
16982 cat confdefs.h
>>conftest.
$ac_ext
16983 cat >>conftest.
$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16991 if (sizeof (short))
16997 rm -f conftest.
$ac_objext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16999 (eval $ac_compile) 2>conftest.er1
17001 grep -v '^ *+' conftest.er1
>conftest.err
17003 cat conftest.err
>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try
='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17018 ac_cv_type_short
=yes
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ac_cv_type_short
=no
17025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17028 echo "${ECHO_T}$ac_cv_type_short" >&6
17030 echo "$as_me:$LINENO: checking size of short" >&5
17031 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17032 if test "${ac_cv_sizeof_short+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 if test "$ac_cv_type_short" = yes; then
17036 # The cast to unsigned long works around a bug in the HP C Compiler
17037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17039 # This bug is HP SR number 8606223364.
17040 if test "$cross_compiling" = yes; then
17041 # Depending upon the size, compute the lo and hi bounds.
17042 cat >conftest.
$ac_ext <<_ACEOF
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 $ac_includes_default
17052 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17059 rm -f conftest.
$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>conftest.er1
17063 grep -v '^ *+' conftest.er1
>conftest.err
17065 cat conftest.err
>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; } &&
17074 { ac_try
='test -s conftest.$ac_objext'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; }; then
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17092 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17099 rm -f conftest.
$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17103 grep -v '^ *+' conftest.er1
>conftest.err
17105 cat conftest.err
>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } &&
17114 { ac_try
='test -s conftest.$ac_objext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 ac_hi
=$ac_mid; break
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.
$ac_ext >&5
17125 ac_lo
=`expr $ac_mid + 1`
17126 if test $ac_lo -le $ac_mid; then
17130 ac_mid
=`expr 2 '*' $ac_mid + 1`
17132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17135 echo "$as_me: failed program was:" >&5
17136 sed 's/^/| /' conftest.
$ac_ext >&5
17138 cat >conftest.
$ac_ext <<_ACEOF
17141 cat confdefs.h
>>conftest.
$ac_ext
17142 cat >>conftest.
$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 $ac_includes_default
17148 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17155 rm -f conftest.
$ac_objext
17156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17157 (eval $ac_compile) 2>conftest.er1
17159 grep -v '^ *+' conftest.er1
>conftest.err
17161 cat conftest.err
>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } &&
17164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; } &&
17170 { ac_try
='test -s conftest.$ac_objext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 $ac_includes_default
17188 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17195 rm -f conftest.
$ac_objext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>conftest.er1
17199 grep -v '^ *+' conftest.er1
>conftest.err
17201 cat conftest.err
>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try
='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_lo
=$ac_mid; break
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17221 ac_hi
=`expr '(' $ac_mid ')' - 1`
17222 if test $ac_mid -le $ac_hi; then
17226 ac_mid
=`expr 2 '*' $ac_mid`
17228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.
$ac_ext >&5
17236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17239 # Binary search between lo and hi bounds.
17240 while test "x$ac_lo" != "x$ac_hi"; do
17241 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17242 cat >conftest.
$ac_ext <<_ACEOF
17245 cat confdefs.h
>>conftest.
$ac_ext
17246 cat >>conftest.
$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 $ac_includes_default
17252 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17259 rm -f conftest.
$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17263 grep -v '^ *+' conftest.er1
>conftest.err
17265 cat conftest.err
>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try
='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 ac_lo
=`expr '(' $ac_mid ')' + 1`
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17290 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17291 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17292 See \`config.log' for more details." >&5
17293 echo "$as_me: error: cannot compute sizeof (short), 77
17294 See \`config.log' for more details." >&2;}
17295 { (exit 1); exit 1; }; } ;;
17298 if test "$cross_compiling" = yes; then
17299 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17300 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17301 { (exit 1); exit 1; }; }
17303 cat >conftest.
$ac_ext <<_ACEOF
17306 cat confdefs.h
>>conftest.
$ac_ext
17307 cat >>conftest.
$ac_ext <<_ACEOF
17308 /* end confdefs.h. */
17309 $ac_includes_default
17310 long longval () { return (long) (sizeof (short)); }
17311 unsigned long ulongval () { return (long) (sizeof (short)); }
17313 #include <stdlib.h>
17318 FILE *f = fopen ("conftest.val", "w");
17321 if (((long) (sizeof (short))) < 0)
17323 long i = longval ();
17324 if (i != ((long) (sizeof (short))))
17326 fprintf (f, "%ld\n", i);
17330 unsigned long i = ulongval ();
17331 if (i != ((long) (sizeof (short))))
17333 fprintf (f, "%lu\n", i);
17335 exit (ferror (f) || fclose (f) != 0);
17341 rm -f conftest
$ac_exeext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17343 (eval $ac_link) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_sizeof_short
=`cat conftest.val`
17354 echo "$as_me: program exited with status $ac_status" >&5
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17358 ( exit $ac_status )
17359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17360 See \`config.log' for more details." >&5
17361 echo "$as_me: error: cannot compute sizeof (short), 77
17362 See \`config.log' for more details." >&2;}
17363 { (exit 1); exit 1; }; }
17365 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17370 ac_cv_sizeof_short
=0
17373 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17374 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17375 cat >>confdefs.h
<<_ACEOF
17376 #define SIZEOF_SHORT $ac_cv_sizeof_short
17380 echo "$as_me:$LINENO: checking for void *" >&5
17381 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17382 if test "${ac_cv_type_void_p+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 cat >conftest.
$ac_ext <<_ACEOF
17388 cat confdefs.h
>>conftest.
$ac_ext
17389 cat >>conftest.
$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391 $ac_includes_default
17397 if (sizeof (void *))
17403 rm -f conftest.
$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try
='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 ac_cv_type_void_p
=yes
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.
$ac_ext >&5
17429 ac_cv_type_void_p
=no
17431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17433 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17434 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17436 echo "$as_me:$LINENO: checking size of void *" >&5
17437 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17438 if test "${ac_cv_sizeof_void_p+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 if test "$ac_cv_type_void_p" = yes; then
17442 # The cast to unsigned long works around a bug in the HP C Compiler
17443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17445 # This bug is HP SR number 8606223364.
17446 if test "$cross_compiling" = yes; then
17447 # Depending upon the size, compute the lo and hi bounds.
17448 cat >conftest.
$ac_ext <<_ACEOF
17451 cat confdefs.h
>>conftest.
$ac_ext
17452 cat >>conftest.
$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 $ac_includes_default
17458 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17465 rm -f conftest.
$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>conftest.er1
17469 grep -v '^ *+' conftest.er1
>conftest.err
17471 cat conftest.err
>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } &&
17474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try
='test -s conftest.$ac_objext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17498 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17505 rm -f conftest.
$ac_objext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17507 (eval $ac_compile) 2>conftest.er1
17509 grep -v '^ *+' conftest.er1
>conftest.err
17511 cat conftest.err
>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; } &&
17520 { ac_try
='test -s conftest.$ac_objext'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; }; then
17526 ac_hi
=$ac_mid; break
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.
$ac_ext >&5
17531 ac_lo
=`expr $ac_mid + 1`
17532 if test $ac_lo -le $ac_mid; then
17536 ac_mid
=`expr 2 '*' $ac_mid + 1`
17538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.
$ac_ext >&5
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 $ac_includes_default
17554 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17561 rm -f conftest.
$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17565 grep -v '^ *+' conftest.er1
>conftest.err
17567 cat conftest.err
>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try
='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17584 cat >conftest.
$ac_ext <<_ACEOF
17587 cat confdefs.h
>>conftest.
$ac_ext
17588 cat >>conftest.
$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17594 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17601 rm -f conftest.
$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17605 grep -v '^ *+' conftest.er1
>conftest.err
17607 cat conftest.err
>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_lo
=$ac_mid; break
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 ac_hi
=`expr '(' $ac_mid ')' - 1`
17628 if test $ac_mid -le $ac_hi; then
17632 ac_mid
=`expr 2 '*' $ac_mid`
17634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.
$ac_ext >&5
17642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17645 # Binary search between lo and hi bounds.
17646 while test "x$ac_lo" != "x$ac_hi"; do
17647 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17648 cat >conftest.
$ac_ext <<_ACEOF
17651 cat confdefs.h
>>conftest.
$ac_ext
17652 cat >>conftest.
$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654 $ac_includes_default
17658 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17665 rm -f conftest.
$ac_objext
17666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17667 (eval $ac_compile) 2>conftest.er1
17669 grep -v '^ *+' conftest.er1
>conftest.err
17671 cat conftest.err
>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; } &&
17680 { ac_try
='test -s conftest.$ac_objext'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.
$ac_ext >&5
17691 ac_lo
=`expr '(' $ac_mid ')' + 1`
17693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17696 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17697 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17698 See \`config.log' for more details." >&5
17699 echo "$as_me: error: cannot compute sizeof (void *), 77
17700 See \`config.log' for more details." >&2;}
17701 { (exit 1); exit 1; }; } ;;
17704 if test "$cross_compiling" = yes; then
17705 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17706 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17707 { (exit 1); exit 1; }; }
17709 cat >conftest.
$ac_ext <<_ACEOF
17712 cat confdefs.h
>>conftest.
$ac_ext
17713 cat >>conftest.
$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17716 long longval () { return (long) (sizeof (void *)); }
17717 unsigned long ulongval () { return (long) (sizeof (void *)); }
17719 #include <stdlib.h>
17724 FILE *f = fopen ("conftest.val", "w");
17727 if (((long) (sizeof (void *))) < 0)
17729 long i = longval ();
17730 if (i != ((long) (sizeof (void *))))
17732 fprintf (f, "%ld\n", i);
17736 unsigned long i = ulongval ();
17737 if (i != ((long) (sizeof (void *))))
17739 fprintf (f, "%lu\n", i);
17741 exit (ferror (f) || fclose (f) != 0);
17747 rm -f conftest
$ac_exeext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17749 (eval $ac_link) 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_sizeof_void_p
=`cat conftest.val`
17760 echo "$as_me: program exited with status $ac_status" >&5
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.
$ac_ext >&5
17764 ( exit $ac_status )
17765 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17766 See \`config.log' for more details." >&5
17767 echo "$as_me: error: cannot compute sizeof (void *), 77
17768 See \`config.log' for more details." >&2;}
17769 { (exit 1); exit 1; }; }
17771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17776 ac_cv_sizeof_void_p
=0
17779 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17780 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17781 cat >>confdefs.h
<<_ACEOF
17782 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17786 echo "$as_me:$LINENO: checking for int" >&5
17787 echo $ECHO_N "checking for int... $ECHO_C" >&6
17788 if test "${ac_cv_type_int+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 cat >conftest.
$ac_ext <<_ACEOF
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 $ac_includes_default
17809 rm -f conftest.
$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17813 grep -v '^ *+' conftest.er1
>conftest.err
17815 cat conftest.err
>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; } &&
17824 { ac_try
='test -s conftest.$ac_objext'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; }; then
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.
$ac_ext >&5
17837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17839 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17840 echo "${ECHO_T}$ac_cv_type_int" >&6
17842 echo "$as_me:$LINENO: checking size of int" >&5
17843 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17844 if test "${ac_cv_sizeof_int+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 if test "$ac_cv_type_int" = yes; then
17848 # The cast to unsigned long works around a bug in the HP C Compiler
17849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17851 # This bug is HP SR number 8606223364.
17852 if test "$cross_compiling" = yes; then
17853 # Depending upon the size, compute the lo and hi bounds.
17854 cat >conftest.
$ac_ext <<_ACEOF
17857 cat confdefs.h
>>conftest.
$ac_ext
17858 cat >>conftest.
$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 $ac_includes_default
17864 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17871 rm -f conftest.
$ac_objext
17872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17873 (eval $ac_compile) 2>conftest.er1
17875 grep -v '^ *+' conftest.er1
>conftest.err
17877 cat conftest.err
>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; } &&
17886 { ac_try
='test -s conftest.$ac_objext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17894 cat >conftest.
$ac_ext <<_ACEOF
17897 cat confdefs.h
>>conftest.
$ac_ext
17898 cat >>conftest.
$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17904 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17911 rm -f conftest.
$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17915 grep -v '^ *+' conftest.er1
>conftest.err
17917 cat conftest.err
>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_hi
=$ac_mid; break
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17937 ac_lo
=`expr $ac_mid + 1`
17938 if test $ac_lo -le $ac_mid; then
17942 ac_mid
=`expr 2 '*' $ac_mid + 1`
17944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17950 cat >conftest.
$ac_ext <<_ACEOF
17953 cat confdefs.h
>>conftest.
$ac_ext
17954 cat >>conftest.
$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17960 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17967 rm -f conftest.
$ac_objext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17969 (eval $ac_compile) 2>conftest.er1
17971 grep -v '^ *+' conftest.er1
>conftest.err
17973 cat conftest.err
>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try
='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18007 rm -f conftest.
$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try
='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_lo
=$ac_mid; break
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 ac_hi
=`expr '(' $ac_mid ')' - 1`
18034 if test $ac_mid -le $ac_hi; then
18038 ac_mid
=`expr 2 '*' $ac_mid`
18040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.
$ac_ext >&5
18048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18051 # Binary search between lo and hi bounds.
18052 while test "x$ac_lo" != "x$ac_hi"; do
18053 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 $ac_includes_default
18064 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18071 rm -f conftest.
$ac_objext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18073 (eval $ac_compile) 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; } &&
18086 { ac_try
='test -s conftest.$ac_objext'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; }; then
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18097 ac_lo
=`expr '(' $ac_mid ')' + 1`
18099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18103 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18104 See \`config.log' for more details." >&5
18105 echo "$as_me: error: cannot compute sizeof (int), 77
18106 See \`config.log' for more details." >&2;}
18107 { (exit 1); exit 1; }; } ;;
18110 if test "$cross_compiling" = yes; then
18111 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18112 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18113 { (exit 1); exit 1; }; }
18115 cat >conftest.
$ac_ext <<_ACEOF
18118 cat confdefs.h
>>conftest.
$ac_ext
18119 cat >>conftest.
$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121 $ac_includes_default
18122 long longval () { return (long) (sizeof (int)); }
18123 unsigned long ulongval () { return (long) (sizeof (int)); }
18125 #include <stdlib.h>
18130 FILE *f = fopen ("conftest.val", "w");
18133 if (((long) (sizeof (int))) < 0)
18135 long i = longval ();
18136 if (i != ((long) (sizeof (int))))
18138 fprintf (f, "%ld\n", i);
18142 unsigned long i = ulongval ();
18143 if (i != ((long) (sizeof (int))))
18145 fprintf (f, "%lu\n", i);
18147 exit (ferror (f) || fclose (f) != 0);
18153 rm -f conftest
$ac_exeext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18155 (eval $ac_link) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_sizeof_int
=`cat conftest.val`
18166 echo "$as_me: program exited with status $ac_status" >&5
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.
$ac_ext >&5
18170 ( exit $ac_status )
18171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18172 See \`config.log' for more details." >&5
18173 echo "$as_me: error: cannot compute sizeof (int), 77
18174 See \`config.log' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18186 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18187 cat >>confdefs.h
<<_ACEOF
18188 #define SIZEOF_INT $ac_cv_sizeof_int
18192 echo "$as_me:$LINENO: checking for long" >&5
18193 echo $ECHO_N "checking for long... $ECHO_C" >&6
18194 if test "${ac_cv_type_long+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $ac_includes_default
18215 rm -f conftest.
$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18219 grep -v '^ *+' conftest.er1
>conftest.err
18221 cat conftest.err
>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try
='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_type_long
=yes
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.
$ac_ext >&5
18243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18246 echo "${ECHO_T}$ac_cv_type_long" >&6
18248 echo "$as_me:$LINENO: checking size of long" >&5
18249 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18250 if test "${ac_cv_sizeof_long+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 if test "$ac_cv_type_long" = yes; then
18254 # The cast to unsigned long works around a bug in the HP C Compiler
18255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18257 # This bug is HP SR number 8606223364.
18258 if test "$cross_compiling" = yes; then
18259 # Depending upon the size, compute the lo and hi bounds.
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $ac_includes_default
18270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18277 rm -f conftest.
$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279 (eval $ac_compile) 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try
='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18300 cat >conftest.
$ac_ext <<_ACEOF
18303 cat confdefs.h
>>conftest.
$ac_ext
18304 cat >>conftest.
$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 $ac_includes_default
18310 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18317 rm -f conftest.
$ac_objext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18319 (eval $ac_compile) 2>conftest.er1
18321 grep -v '^ *+' conftest.er1
>conftest.err
18323 cat conftest.err
>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; } &&
18332 { ac_try
='test -s conftest.$ac_objext'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; }; then
18338 ac_hi
=$ac_mid; break
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.
$ac_ext >&5
18343 ac_lo
=`expr $ac_mid + 1`
18344 if test $ac_lo -le $ac_mid; then
18348 ac_mid
=`expr 2 '*' $ac_mid + 1`
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.
$ac_ext >&5
18356 cat >conftest.
$ac_ext <<_ACEOF
18359 cat confdefs.h
>>conftest.
$ac_ext
18360 cat >>conftest.
$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 $ac_includes_default
18366 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18373 rm -f conftest.
$ac_objext
18374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 (eval $ac_compile) 2>conftest.er1
18377 grep -v '^ *+' conftest.er1
>conftest.err
18379 cat conftest.err
>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } &&
18382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try
='test -s conftest.$ac_objext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18396 cat >conftest.
$ac_ext <<_ACEOF
18399 cat confdefs.h
>>conftest.
$ac_ext
18400 cat >>conftest.
$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 $ac_includes_default
18406 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18413 rm -f conftest.
$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try
='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18434 ac_lo
=$ac_mid; break
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.
$ac_ext >&5
18439 ac_hi
=`expr '(' $ac_mid ')' - 1`
18440 if test $ac_mid -le $ac_hi; then
18444 ac_mid
=`expr 2 '*' $ac_mid`
18446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.
$ac_ext >&5
18454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18457 # Binary search between lo and hi bounds.
18458 while test "x$ac_lo" != "x$ac_hi"; do
18459 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18460 cat >conftest.
$ac_ext <<_ACEOF
18463 cat confdefs.h
>>conftest.
$ac_ext
18464 cat >>conftest.
$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466 $ac_includes_default
18470 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18477 rm -f conftest.
$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18481 grep -v '^ *+' conftest.er1
>conftest.err
18483 cat conftest.err
>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try
='test -s conftest.$ac_objext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.
$ac_ext >&5
18503 ac_lo
=`expr '(' $ac_mid ')' + 1`
18505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18508 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18509 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18510 See \`config.log' for more details." >&5
18511 echo "$as_me: error: cannot compute sizeof (long), 77
18512 See \`config.log' for more details." >&2;}
18513 { (exit 1); exit 1; }; } ;;
18516 if test "$cross_compiling" = yes; then
18517 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18518 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18519 { (exit 1); exit 1; }; }
18521 cat >conftest.
$ac_ext <<_ACEOF
18524 cat confdefs.h
>>conftest.
$ac_ext
18525 cat >>conftest.
$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 $ac_includes_default
18528 long longval () { return (long) (sizeof (long)); }
18529 unsigned long ulongval () { return (long) (sizeof (long)); }
18531 #include <stdlib.h>
18536 FILE *f = fopen ("conftest.val", "w");
18539 if (((long) (sizeof (long))) < 0)
18541 long i = longval ();
18542 if (i != ((long) (sizeof (long))))
18544 fprintf (f, "%ld\n", i);
18548 unsigned long i = ulongval ();
18549 if (i != ((long) (sizeof (long))))
18551 fprintf (f, "%lu\n", i);
18553 exit (ferror (f) || fclose (f) != 0);
18559 rm -f conftest
$ac_exeext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18561 (eval $ac_link) 2>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 ac_cv_sizeof_long
=`cat conftest.val`
18572 echo "$as_me: program exited with status $ac_status" >&5
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.
$ac_ext >&5
18576 ( exit $ac_status )
18577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18578 See \`config.log' for more details." >&5
18579 echo "$as_me: error: cannot compute sizeof (long), 77
18580 See \`config.log' for more details." >&2;}
18581 { (exit 1); exit 1; }; }
18583 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18588 ac_cv_sizeof_long
=0
18591 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18592 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18593 cat >>confdefs.h
<<_ACEOF
18594 #define SIZEOF_LONG $ac_cv_sizeof_long
18598 echo "$as_me:$LINENO: checking for size_t" >&5
18599 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18600 if test "${ac_cv_type_size_t+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 cat >conftest.
$ac_ext <<_ACEOF
18606 cat confdefs.h
>>conftest.
$ac_ext
18607 cat >>conftest.
$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18609 $ac_includes_default
18615 if (sizeof (size_t))
18621 rm -f conftest.
$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18625 grep -v '^ *+' conftest.er1
>conftest.err
18627 cat conftest.err
>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try
='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_type_size_t
=yes
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18647 ac_cv_type_size_t
=no
18649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18651 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18652 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18654 echo "$as_me:$LINENO: checking size of size_t" >&5
18655 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18656 if test "${ac_cv_sizeof_size_t+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 if test "$ac_cv_type_size_t" = yes; then
18660 # The cast to unsigned long works around a bug in the HP C Compiler
18661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18663 # This bug is HP SR number 8606223364.
18664 if test "$cross_compiling" = yes; then
18665 # Depending upon the size, compute the lo and hi bounds.
18666 cat >conftest.
$ac_ext <<_ACEOF
18669 cat confdefs.h
>>conftest.
$ac_ext
18670 cat >>conftest.
$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 $ac_includes_default
18676 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18683 rm -f conftest.
$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18706 cat >conftest.
$ac_ext <<_ACEOF
18709 cat confdefs.h
>>conftest.
$ac_ext
18710 cat >>conftest.
$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712 $ac_includes_default
18716 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18723 rm -f conftest.
$ac_objext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18725 (eval $ac_compile) 2>conftest.er1
18727 grep -v '^ *+' conftest.er1
>conftest.err
18729 cat conftest.err
>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } &&
18732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try
='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_hi
=$ac_mid; break
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.
$ac_ext >&5
18749 ac_lo
=`expr $ac_mid + 1`
18750 if test $ac_lo -le $ac_mid; then
18754 ac_mid
=`expr 2 '*' $ac_mid + 1`
18756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.
$ac_ext >&5
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18772 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try
='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18812 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18819 rm -f conftest.
$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18823 grep -v '^ *+' conftest.er1
>conftest.err
18825 cat conftest.err
>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; } &&
18834 { ac_try
='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18840 ac_lo
=$ac_mid; break
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.
$ac_ext >&5
18845 ac_hi
=`expr '(' $ac_mid ')' - 1`
18846 if test $ac_mid -le $ac_hi; then
18850 ac_mid
=`expr 2 '*' $ac_mid`
18852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.
$ac_ext >&5
18860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 # Binary search between lo and hi bounds.
18864 while test "x$ac_lo" != "x$ac_hi"; do
18865 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18866 cat >conftest.
$ac_ext <<_ACEOF
18869 cat confdefs.h
>>conftest.
$ac_ext
18870 cat >>conftest.
$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18876 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18883 rm -f conftest.
$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>conftest.er1
18887 grep -v '^ *+' conftest.er1
>conftest.err
18889 cat conftest.err
>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try
='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.
$ac_ext >&5
18909 ac_lo
=`expr '(' $ac_mid ')' + 1`
18911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18914 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18915 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18916 See \`config.log' for more details." >&5
18917 echo "$as_me: error: cannot compute sizeof (size_t), 77
18918 See \`config.log' for more details." >&2;}
18919 { (exit 1); exit 1; }; } ;;
18922 if test "$cross_compiling" = yes; then
18923 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18924 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18925 { (exit 1); exit 1; }; }
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 $ac_includes_default
18934 long longval () { return (long) (sizeof (size_t)); }
18935 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18937 #include <stdlib.h>
18942 FILE *f = fopen ("conftest.val", "w");
18945 if (((long) (sizeof (size_t))) < 0)
18947 long i = longval ();
18948 if (i != ((long) (sizeof (size_t))))
18950 fprintf (f, "%ld\n", i);
18954 unsigned long i = ulongval ();
18955 if (i != ((long) (sizeof (size_t))))
18957 fprintf (f, "%lu\n", i);
18959 exit (ferror (f) || fclose (f) != 0);
18965 rm -f conftest
$ac_exeext
18966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18967 (eval $ac_link) 2>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_cv_sizeof_size_t
=`cat conftest.val`
18978 echo "$as_me: program exited with status $ac_status" >&5
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.
$ac_ext >&5
18982 ( exit $ac_status )
18983 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18984 See \`config.log' for more details." >&5
18985 echo "$as_me: error: cannot compute sizeof (size_t), 77
18986 See \`config.log' for more details." >&2;}
18987 { (exit 1); exit 1; }; }
18989 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18994 ac_cv_sizeof_size_t
=0
18997 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18998 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18999 cat >>confdefs.h
<<_ACEOF
19000 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19007 echo "$as_me:$LINENO: checking for long long" >&5
19008 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19009 if test "${ac_cv_type_long_long+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 cat >conftest.
$ac_ext <<_ACEOF
19015 cat confdefs.h
>>conftest.
$ac_ext
19016 cat >>conftest.
$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19022 if ((long long *) 0)
19024 if (sizeof (long long))
19030 rm -f conftest.
$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try
='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_cv_type_long_long
=yes
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.
$ac_ext >&5
19056 ac_cv_type_long_long
=no
19058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19063 echo "$as_me:$LINENO: checking size of long long" >&5
19064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19065 if test "${ac_cv_sizeof_long_long+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 if test "$ac_cv_type_long_long" = yes; then
19069 # The cast to unsigned long works around a bug in the HP C Compiler
19070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19072 # This bug is HP SR number 8606223364.
19073 if test "$cross_compiling" = yes; then
19074 # Depending upon the size, compute the lo and hi bounds.
19075 cat >conftest.
$ac_ext <<_ACEOF
19078 cat confdefs.h
>>conftest.
$ac_ext
19079 cat >>conftest.
$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19085 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19092 rm -f conftest.
$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1
>conftest.err
19098 cat conftest.err
>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try
='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19115 cat >conftest.
$ac_ext <<_ACEOF
19118 cat confdefs.h
>>conftest.
$ac_ext
19119 cat >>conftest.
$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19125 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19132 rm -f conftest.
$ac_objext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19134 (eval $ac_compile) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1
>conftest.err
19138 cat conftest.err
>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try
='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 ac_hi
=$ac_mid; break
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.
$ac_ext >&5
19158 ac_lo
=`expr $ac_mid + 1`
19159 if test $ac_lo -le $ac_mid; then
19163 ac_mid
=`expr 2 '*' $ac_mid + 1`
19165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.
$ac_ext >&5
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try
='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19211 cat >conftest.
$ac_ext <<_ACEOF
19214 cat confdefs.h
>>conftest.
$ac_ext
19215 cat >>conftest.
$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19228 rm -f conftest.
$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_lo
=$ac_mid; break
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_hi
=`expr '(' $ac_mid ')' - 1`
19255 if test $ac_mid -le $ac_hi; then
19259 ac_mid
=`expr 2 '*' $ac_mid`
19261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.
$ac_ext >&5
19269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19272 # Binary search between lo and hi bounds.
19273 while test "x$ac_lo" != "x$ac_hi"; do
19274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19275 cat >conftest.
$ac_ext <<_ACEOF
19278 cat confdefs.h
>>conftest.
$ac_ext
19279 cat >>conftest.
$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 $ac_includes_default
19285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19292 rm -f conftest.
$ac_objext
19293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19294 (eval $ac_compile) 2>conftest.er1
19296 grep -v '^ *+' conftest.er1
>conftest.err
19298 cat conftest.err
>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } &&
19301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try
='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.
$ac_ext >&5
19318 ac_lo
=`expr '(' $ac_mid ')' + 1`
19320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19323 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19325 See \`config.log' for more details." >&5
19326 echo "$as_me: error: cannot compute sizeof (long long), 77
19327 See \`config.log' for more details." >&2;}
19328 { (exit 1); exit 1; }; } ;;
19331 if test "$cross_compiling" = yes; then
19332 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19333 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19334 { (exit 1); exit 1; }; }
19336 cat >conftest.
$ac_ext <<_ACEOF
19339 cat confdefs.h
>>conftest.
$ac_ext
19340 cat >>conftest.
$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342 $ac_includes_default
19343 long longval () { return (long) (sizeof (long long)); }
19344 unsigned long ulongval () { return (long) (sizeof (long long)); }
19346 #include <stdlib.h>
19351 FILE *f = fopen ("conftest.val", "w");
19354 if (((long) (sizeof (long long))) < 0)
19356 long i = longval ();
19357 if (i != ((long) (sizeof (long long))))
19359 fprintf (f, "%ld\n", i);
19363 unsigned long i = ulongval ();
19364 if (i != ((long) (sizeof (long long))))
19366 fprintf (f, "%lu\n", i);
19368 exit (ferror (f) || fclose (f) != 0);
19374 rm -f conftest
$ac_exeext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19376 (eval $ac_link) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_cv_sizeof_long_long
=`cat conftest.val`
19387 echo "$as_me: program exited with status $ac_status" >&5
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.
$ac_ext >&5
19391 ( exit $ac_status )
19392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19393 See \`config.log' for more details." >&5
19394 echo "$as_me: error: cannot compute sizeof (long long), 77
19395 See \`config.log' for more details." >&2;}
19396 { (exit 1); exit 1; }; }
19398 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19403 ac_cv_sizeof_long_long
=0
19406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19407 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19408 cat >>confdefs.h
<<_ACEOF
19409 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19415 echo "$as_me:$LINENO: checking for long long" >&5
19416 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19417 if test "${ac_cv_type_long_long+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19430 if ((long long *) 0)
19432 if (sizeof (long long))
19438 rm -f conftest.
$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>conftest.er1
19442 grep -v '^ *+' conftest.er1
>conftest.err
19444 cat conftest.err
>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try
='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_type_long_long
=yes
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.
$ac_ext >&5
19464 ac_cv_type_long_long
=no
19466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19468 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19469 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19471 echo "$as_me:$LINENO: checking size of long long" >&5
19472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19473 if test "${ac_cv_sizeof_long_long+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 if test "$ac_cv_type_long_long" = yes; then
19477 # The cast to unsigned long works around a bug in the HP C Compiler
19478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19480 # This bug is HP SR number 8606223364.
19481 if test "$cross_compiling" = yes; then
19482 # Depending upon the size, compute the lo and hi bounds.
19483 cat >conftest.
$ac_ext <<_ACEOF
19486 cat confdefs.h
>>conftest.
$ac_ext
19487 cat >>conftest.
$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19500 rm -f conftest.
$ac_objext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502 (eval $ac_compile) 2>conftest.er1
19504 grep -v '^ *+' conftest.er1
>conftest.err
19506 cat conftest.err
>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try
='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19540 rm -f conftest.
$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19544 grep -v '^ *+' conftest.er1
>conftest.err
19546 cat conftest.err
>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try
='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_hi
=$ac_mid; break
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 ac_lo
=`expr $ac_mid + 1`
19567 if test $ac_lo -le $ac_mid; then
19571 ac_mid
=`expr 2 '*' $ac_mid + 1`
19573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.
$ac_ext >&5
19579 cat >conftest.
$ac_ext <<_ACEOF
19582 cat confdefs.h
>>conftest.
$ac_ext
19583 cat >>conftest.
$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19596 rm -f conftest.
$ac_objext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19598 (eval $ac_compile) 2>conftest.er1
19600 grep -v '^ *+' conftest.er1
>conftest.err
19602 cat conftest.err
>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try
='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19619 cat >conftest.
$ac_ext <<_ACEOF
19622 cat confdefs.h
>>conftest.
$ac_ext
19623 cat >>conftest.
$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19636 rm -f conftest.
$ac_objext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19638 (eval $ac_compile) 2>conftest.er1
19640 grep -v '^ *+' conftest.er1
>conftest.err
19642 cat conftest.err
>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try
='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_lo
=$ac_mid; break
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.
$ac_ext >&5
19662 ac_hi
=`expr '(' $ac_mid ')' - 1`
19663 if test $ac_mid -le $ac_hi; then
19667 ac_mid
=`expr 2 '*' $ac_mid`
19669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.
$ac_ext >&5
19677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19680 # Binary search between lo and hi bounds.
19681 while test "x$ac_lo" != "x$ac_hi"; do
19682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19683 cat >conftest.
$ac_ext <<_ACEOF
19686 cat confdefs.h
>>conftest.
$ac_ext
19687 cat >>conftest.
$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19700 rm -f conftest.
$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>conftest.er1
19704 grep -v '^ *+' conftest.er1
>conftest.err
19706 cat conftest.err
>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try
='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.
$ac_ext >&5
19726 ac_lo
=`expr '(' $ac_mid ')' + 1`
19728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19731 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19733 See \`config.log' for more details." >&5
19734 echo "$as_me: error: cannot compute sizeof (long long), 77
19735 See \`config.log' for more details." >&2;}
19736 { (exit 1); exit 1; }; } ;;
19739 if test "$cross_compiling" = yes; then
19740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19742 { (exit 1); exit 1; }; }
19744 cat >conftest.
$ac_ext <<_ACEOF
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 $ac_includes_default
19751 long longval () { return (long) (sizeof (long long)); }
19752 unsigned long ulongval () { return (long) (sizeof (long long)); }
19754 #include <stdlib.h>
19759 FILE *f = fopen ("conftest.val", "w");
19762 if (((long) (sizeof (long long))) < 0)
19764 long i = longval ();
19765 if (i != ((long) (sizeof (long long))))
19767 fprintf (f, "%ld\n", i);
19771 unsigned long i = ulongval ();
19772 if (i != ((long) (sizeof (long long))))
19774 fprintf (f, "%lu\n", i);
19776 exit (ferror (f) || fclose (f) != 0);
19782 rm -f conftest
$ac_exeext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19784 (eval $ac_link) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_sizeof_long_long
=`cat conftest.val`
19795 echo "$as_me: program exited with status $ac_status" >&5
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.
$ac_ext >&5
19799 ( exit $ac_status )
19800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19801 See \`config.log' for more details." >&5
19802 echo "$as_me: error: cannot compute sizeof (long long), 77
19803 See \`config.log' for more details." >&2;}
19804 { (exit 1); exit 1; }; }
19806 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19811 ac_cv_sizeof_long_long
=0
19814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19815 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19816 cat >>confdefs.h
<<_ACEOF
19817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19821 if test "$ac_cv_sizeof_long_long" != "0"; then
19822 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19826 echo "$as_me:$LINENO: checking for long long" >&5
19827 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19828 if test "${ac_cv_type_long_long+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 cat >conftest.
$ac_ext <<_ACEOF
19834 cat confdefs.h
>>conftest.
$ac_ext
19835 cat >>conftest.
$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 $ac_includes_default
19841 if ((long long *) 0)
19843 if (sizeof (long long))
19849 rm -f conftest.
$ac_objext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19851 (eval $ac_compile) 2>conftest.er1
19853 grep -v '^ *+' conftest.er1
>conftest.err
19855 cat conftest.err
>&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } &&
19858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860 (eval $ac_try) 2>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; } &&
19864 { ac_try
='test -s conftest.$ac_objext'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_type_long_long
=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19875 ac_cv_type_long_long
=no
19877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19879 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19880 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19882 echo "$as_me:$LINENO: checking size of long long" >&5
19883 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19884 if test "${ac_cv_sizeof_long_long+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 if test "$ac_cv_type_long_long" = yes; then
19888 # The cast to unsigned long works around a bug in the HP C Compiler
19889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19891 # This bug is HP SR number 8606223364.
19892 if test "$cross_compiling" = yes; then
19893 # Depending upon the size, compute the lo and hi bounds.
19894 cat >conftest.
$ac_ext <<_ACEOF
19897 cat confdefs.h
>>conftest.
$ac_ext
19898 cat >>conftest.
$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19904 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19911 rm -f conftest.
$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19915 grep -v '^ *+' conftest.er1
>conftest.err
19917 cat conftest.err
>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try
='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19934 cat >conftest.
$ac_ext <<_ACEOF
19937 cat confdefs.h
>>conftest.
$ac_ext
19938 cat >>conftest.
$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 $ac_includes_default
19944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19951 rm -f conftest.
$ac_objext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19953 (eval $ac_compile) 2>conftest.er1
19955 grep -v '^ *+' conftest.er1
>conftest.err
19957 cat conftest.err
>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } &&
19960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; } &&
19966 { ac_try
='test -s conftest.$ac_objext'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; }; then
19972 ac_hi
=$ac_mid; break
19974 echo "$as_me: failed program was:" >&5
19975 sed 's/^/| /' conftest.
$ac_ext >&5
19977 ac_lo
=`expr $ac_mid + 1`
19978 if test $ac_lo -le $ac_mid; then
19982 ac_mid
=`expr 2 '*' $ac_mid + 1`
19984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.
$ac_ext >&5
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
20000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20007 rm -f conftest.
$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 (eval $ac_compile) 2>conftest.er1
20011 grep -v '^ *+' conftest.er1
>conftest.err
20013 cat conftest.err
>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try
='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20030 cat >conftest.
$ac_ext <<_ACEOF
20033 cat confdefs.h
>>conftest.
$ac_ext
20034 cat >>conftest.
$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20040 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20047 rm -f conftest.
$ac_objext
20048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20049 (eval $ac_compile) 2>conftest.er1
20051 grep -v '^ *+' conftest.er1
>conftest.err
20053 cat conftest.err
>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } &&
20056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; } &&
20062 { ac_try
='test -s conftest.$ac_objext'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; }; then
20068 ac_lo
=$ac_mid; break
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20073 ac_hi
=`expr '(' $ac_mid ')' - 1`
20074 if test $ac_mid -le $ac_hi; then
20078 ac_mid
=`expr 2 '*' $ac_mid`
20080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.
$ac_ext >&5
20088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20091 # Binary search between lo and hi bounds.
20092 while test "x$ac_lo" != "x$ac_hi"; do
20093 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20094 cat >conftest.
$ac_ext <<_ACEOF
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 $ac_includes_default
20104 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20111 rm -f conftest.
$ac_objext
20112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20113 (eval $ac_compile) 2>conftest.er1
20115 grep -v '^ *+' conftest.er1
>conftest.err
20117 cat conftest.err
>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
20120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try
='test -s conftest.$ac_objext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 ac_lo
=`expr '(' $ac_mid ')' + 1`
20139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20142 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20144 See \`config.log' for more details." >&5
20145 echo "$as_me: error: cannot compute sizeof (long long), 77
20146 See \`config.log' for more details." >&2;}
20147 { (exit 1); exit 1; }; } ;;
20150 if test "$cross_compiling" = yes; then
20151 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20152 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20153 { (exit 1); exit 1; }; }
20155 cat >conftest.
$ac_ext <<_ACEOF
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 long longval () { return (long) (sizeof (long long)); }
20163 unsigned long ulongval () { return (long) (sizeof (long long)); }
20165 #include <stdlib.h>
20170 FILE *f = fopen ("conftest.val", "w");
20173 if (((long) (sizeof (long long))) < 0)
20175 long i = longval ();
20176 if (i != ((long) (sizeof (long long))))
20178 fprintf (f, "%ld\n", i);
20182 unsigned long i = ulongval ();
20183 if (i != ((long) (sizeof (long long))))
20185 fprintf (f, "%lu\n", i);
20187 exit (ferror (f) || fclose (f) != 0);
20193 rm -f conftest
$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_sizeof_long_long
=`cat conftest.val`
20206 echo "$as_me: program exited with status $ac_status" >&5
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.
$ac_ext >&5
20210 ( exit $ac_status )
20211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20212 See \`config.log' for more details." >&5
20213 echo "$as_me: error: cannot compute sizeof (long long), 77
20214 See \`config.log' for more details." >&2;}
20215 { (exit 1); exit 1; }; }
20217 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20222 ac_cv_sizeof_long_long
=0
20225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20226 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20227 cat >>confdefs.h
<<_ACEOF
20228 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20234 echo "$as_me:$LINENO: checking for wchar_t" >&5
20235 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20236 if test "${ac_cv_type_wchar_t+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20246 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20247 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20248 # error "fake wchar_t"
20250 #ifdef HAVE_WCHAR_H
20252 # include <stddef.h>
20254 # include <wchar.h>
20256 #ifdef HAVE_STDLIB_H
20257 # include <stdlib.h>
20268 if (sizeof (wchar_t))
20274 rm -f conftest.
$ac_objext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20276 (eval $ac_compile) 2>conftest.er1
20278 grep -v '^ *+' conftest.er1
>conftest.err
20280 cat conftest.err
>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try
='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20295 ac_cv_type_wchar_t
=yes
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 ac_cv_type_wchar_t
=no
20302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20304 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20305 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20307 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20308 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20309 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 if test "$ac_cv_type_wchar_t" = yes; then
20313 # The cast to unsigned long works around a bug in the HP C Compiler
20314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20316 # This bug is HP SR number 8606223364.
20317 if test "$cross_compiling" = yes; then
20318 # Depending upon the size, compute the lo and hi bounds.
20319 cat >conftest.
$ac_ext <<_ACEOF
20322 cat confdefs.h
>>conftest.
$ac_ext
20323 cat >>conftest.
$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20326 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20327 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20328 # error "fake wchar_t"
20330 #ifdef HAVE_WCHAR_H
20332 # include <stddef.h>
20334 # include <wchar.h>
20336 #ifdef HAVE_STDLIB_H
20337 # include <stdlib.h>
20346 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20353 rm -f conftest.
$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20357 grep -v '^ *+' conftest.er1
>conftest.err
20359 cat conftest.err
>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try
='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20383 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20384 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20385 # error "fake wchar_t"
20387 #ifdef HAVE_WCHAR_H
20389 # include <stddef.h>
20391 # include <wchar.h>
20393 #ifdef HAVE_STDLIB_H
20394 # include <stdlib.h>
20403 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20410 rm -f conftest.
$ac_objext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20412 (eval $ac_compile) 2>conftest.er1
20414 grep -v '^ *+' conftest.er1
>conftest.err
20416 cat conftest.err
>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } &&
20419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; } &&
20425 { ac_try
='test -s conftest.$ac_objext'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; }; then
20431 ac_hi
=$ac_mid; break
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.
$ac_ext >&5
20436 ac_lo
=`expr $ac_mid + 1`
20437 if test $ac_lo -le $ac_mid; then
20441 ac_mid
=`expr 2 '*' $ac_mid + 1`
20443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.
$ac_ext >&5
20449 cat >conftest.
$ac_ext <<_ACEOF
20452 cat confdefs.h
>>conftest.
$ac_ext
20453 cat >>conftest.
$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20458 # error "fake wchar_t"
20460 #ifdef HAVE_WCHAR_H
20462 # include <stddef.h>
20464 # include <wchar.h>
20466 #ifdef HAVE_STDLIB_H
20467 # include <stdlib.h>
20476 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20483 rm -f conftest.
$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>conftest.er1
20487 grep -v '^ *+' conftest.er1
>conftest.err
20489 cat conftest.err
>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; } &&
20498 { ac_try
='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20506 cat >conftest.
$ac_ext <<_ACEOF
20509 cat confdefs.h
>>conftest.
$ac_ext
20510 cat >>conftest.
$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20515 # error "fake wchar_t"
20517 #ifdef HAVE_WCHAR_H
20519 # include <stddef.h>
20521 # include <wchar.h>
20523 #ifdef HAVE_STDLIB_H
20524 # include <stdlib.h>
20533 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20540 rm -f conftest.
$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20544 grep -v '^ *+' conftest.er1
>conftest.err
20546 cat conftest.err
>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try
='test -s conftest.$ac_objext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_lo
=$ac_mid; break
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_hi
=`expr '(' $ac_mid ')' - 1`
20567 if test $ac_mid -le $ac_hi; then
20571 ac_mid
=`expr 2 '*' $ac_mid`
20573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 # Binary search between lo and hi bounds.
20585 while test "x$ac_lo" != "x$ac_hi"; do
20586 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20587 cat >conftest.
$ac_ext <<_ACEOF
20590 cat confdefs.h
>>conftest.
$ac_ext
20591 cat >>conftest.
$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20596 # error "fake wchar_t"
20598 #ifdef HAVE_WCHAR_H
20600 # include <stddef.h>
20602 # include <wchar.h>
20604 #ifdef HAVE_STDLIB_H
20605 # include <stdlib.h>
20614 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20621 rm -f conftest.
$ac_objext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20623 (eval $ac_compile) 2>conftest.er1
20625 grep -v '^ *+' conftest.er1
>conftest.err
20627 cat conftest.err
>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } &&
20630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; } &&
20636 { ac_try
='test -s conftest.$ac_objext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.
$ac_ext >&5
20647 ac_lo
=`expr '(' $ac_mid ')' + 1`
20649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20652 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20654 See \`config.log' for more details." >&5
20655 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20656 See \`config.log' for more details." >&2;}
20657 { (exit 1); exit 1; }; } ;;
20660 if test "$cross_compiling" = yes; then
20661 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20662 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20663 { (exit 1); exit 1; }; }
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20674 # error "fake wchar_t"
20676 #ifdef HAVE_WCHAR_H
20678 # include <stddef.h>
20680 # include <wchar.h>
20682 #ifdef HAVE_STDLIB_H
20683 # include <stdlib.h>
20689 long longval () { return (long) (sizeof (wchar_t)); }
20690 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20692 #include <stdlib.h>
20697 FILE *f = fopen ("conftest.val", "w");
20700 if (((long) (sizeof (wchar_t))) < 0)
20702 long i = longval ();
20703 if (i != ((long) (sizeof (wchar_t))))
20705 fprintf (f, "%ld\n", i);
20709 unsigned long i = ulongval ();
20710 if (i != ((long) (sizeof (wchar_t))))
20712 fprintf (f, "%lu\n", i);
20714 exit (ferror (f) || fclose (f) != 0);
20720 rm -f conftest
$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20733 echo "$as_me: program exited with status $ac_status" >&5
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20737 ( exit $ac_status )
20738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20739 See \`config.log' for more details." >&5
20740 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20741 See \`config.log' for more details." >&2;}
20742 { (exit 1); exit 1; }; }
20744 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20749 ac_cv_sizeof_wchar_t
=0
20752 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20753 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20754 cat >>confdefs.h
<<_ACEOF
20755 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20759 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20765 echo "$as_me:$LINENO: checking for va_copy" >&5
20766 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20767 if test "${wx_cv_func_va_copy+set}" = set; then
20768 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 cat >conftest.
$ac_ext <<_ACEOF
20773 #include <stdarg.h>
20774 void foo(char *f, ...)
20788 rm -f conftest.
$ac_objext conftest
$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try
='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 wx_cv_func_va_copy
=yes
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.
$ac_ext >&5
20814 wx_cv_func_va_copy
=no
20817 rm -f conftest.err conftest.
$ac_objext \
20818 conftest
$ac_exeext conftest.
$ac_ext
20822 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20823 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20825 if test $wx_cv_func_va_copy = "yes"; then
20826 cat >>confdefs.h
<<\_ACEOF
20827 #define HAVE_VA_COPY 1
20831 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20832 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20833 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 if test "$cross_compiling" = yes; then
20838 wx_cv_type_va_list_lvalue
=yes
20841 cat >conftest.
$ac_ext <<_ACEOF
20843 #include <stdarg.h>
20844 int foo(char *f, ...)
20849 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20857 return foo("hi", 17);
20860 rm -f conftest
$ac_exeext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20862 (eval $ac_link) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 wx_cv_type_va_list_lvalue
=yes
20873 echo "$as_me: program exited with status $ac_status" >&5
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 ( exit $ac_status )
20878 wx_cv_type_va_list_lvalue
=no
20880 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20885 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20886 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20888 if test $wx_cv_type_va_list_lvalue != "yes"; then
20889 cat >>confdefs.h
<<\_ACEOF
20890 #define VA_LIST_IS_ARRAY 1
20896 # Check whether --enable-largefile or --disable-largefile was given.
20897 if test "${enable_largefile+set}" = set; then
20898 enableval
="$enable_largefile"
20901 if test "$enable_largefile" != no
; then
20904 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20905 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20906 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20907 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 cat >conftest.
$ac_ext <<_ACEOF
20913 cat confdefs.h
>>conftest.
$ac_ext
20914 cat >>conftest.
$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #define _FILE_OFFSET_BITS 64
20917 #include <sys/types.h>
20922 unsigned int field: sizeof(off_t) == 8;
20929 rm -f conftest.
$ac_objext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20931 (eval $ac_compile) 2>conftest.er1
20933 grep -v '^ *+' conftest.er1
>conftest.err
20935 cat conftest.err
>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; } &&
20944 { ac_try
='test -s conftest.$ac_objext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 ac_cv_sys_file_offset_bits
=64
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.
$ac_ext >&5
20955 ac_cv_sys_file_offset_bits
=no
20957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20961 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20964 if test "$ac_cv_sys_file_offset_bits" != no
; then
20966 cat >>confdefs.h
<<_ACEOF
20967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20972 if test "x$wx_largefile" != "xyes"; then
20974 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20976 if test "${ac_cv_sys_large_files+set}" = set; then
20977 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 cat >conftest.
$ac_ext <<_ACEOF
20983 cat confdefs.h
>>conftest.
$ac_ext
20984 cat >>conftest.
$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 #define _LARGE_FILES 1
20987 #include <sys/types.h>
20992 unsigned int field: sizeof(off_t) == 8;
20999 rm -f conftest.
$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21003 grep -v '^ *+' conftest.er1
>conftest.err
21005 cat conftest.err
>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; } &&
21014 { ac_try
='test -s conftest.$ac_objext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 ac_cv_sys_large_files
=1
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 ac_cv_sys_large_files
=no
21027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21031 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21032 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21034 if test "$ac_cv_sys_large_files" != no
; then
21036 cat >>confdefs.h
<<_ACEOF
21037 #define _LARGE_FILES $ac_cv_sys_large_files
21044 echo "$as_me:$LINENO: checking if large file support is available" >&5
21045 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21046 if test "x$wx_largefile" = "xyes"; then
21047 cat >>confdefs.h
<<\_ACEOF
21048 #define HAVE_LARGEFILE_SUPPORT 1
21052 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21053 echo "${ECHO_T}$wx_largefile" >&6
21057 if test "x$wx_largefile" = "xyes"; then
21058 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21059 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21061 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21062 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21063 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21064 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 ac_cpp
='$CXXCPP $CPPFLAGS'
21072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21087 #ifndef __STDC_EXT__
21095 rm -f conftest.
$ac_objext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21097 (eval $ac_compile) 2>conftest.er1
21099 grep -v '^ *+' conftest.er1
>conftest.err
21101 cat conftest.err
>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } &&
21104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try
='test -s conftest.$ac_objext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 wx_cv_STDC_EXT_required
=no
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.
$ac_ext >&5
21121 wx_cv_STDC_EXT_required
=yes
21124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21126 ac_cpp
='$CPP $CPPFLAGS'
21127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21134 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21135 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21136 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21137 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
21141 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
21143 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21144 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21145 if test "${ac_cv_sys_largefile_source+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 ac_cv_sys_largefile_source
=no
21150 cat >conftest.
$ac_ext <<_ACEOF
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21165 rm -f conftest.
$ac_objext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21167 (eval $ac_compile) 2>conftest.er1
21169 grep -v '^ *+' conftest.er1
>conftest.err
21171 cat conftest.err
>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } &&
21174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try
='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21193 cat >conftest.
$ac_ext <<_ACEOF
21196 cat confdefs.h
>>conftest.
$ac_ext
21197 cat >>conftest.
$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 #define _LARGEFILE_SOURCE 1
21209 rm -f conftest.
$ac_objext
21210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21211 (eval $ac_compile) 2>conftest.er1
21213 grep -v '^ *+' conftest.er1
>conftest.err
21215 cat conftest.err
>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } &&
21218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; } &&
21224 { ac_try
='test -s conftest.$ac_objext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 ac_cv_sys_largefile_source
=1; break
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.
$ac_ext >&5
21236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21240 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21241 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21242 if test "$ac_cv_sys_largefile_source" != no
; then
21244 cat >>confdefs.h
<<_ACEOF
21245 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21251 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21252 # in glibc 2.1.3, but that breaks too many other things.
21253 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21254 echo "$as_me:$LINENO: checking for fseeko" >&5
21255 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21256 if test "${ac_cv_func_fseeko+set}" = set; then
21257 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 cat >conftest.
$ac_ext <<_ACEOF
21262 cat confdefs.h
>>conftest.
$ac_ext
21263 cat >>conftest.
$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21269 return fseeko && fseeko (stdin, 0, 0);
21274 rm -f conftest.
$ac_objext conftest
$ac_exeext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21276 (eval $ac_link) 2>conftest.er1
21278 grep -v '^ *+' conftest.er1
>conftest.err
21280 cat conftest.err
>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; } &&
21289 { ac_try
='test -s conftest$ac_exeext'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; }; then
21295 ac_cv_func_fseeko
=yes
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.
$ac_ext >&5
21300 ac_cv_func_fseeko
=no
21302 rm -f conftest.err conftest.
$ac_objext \
21303 conftest
$ac_exeext conftest.
$ac_ext
21305 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21306 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21307 if test $ac_cv_func_fseeko = yes; then
21309 cat >>confdefs.h
<<\_ACEOF
21310 #define HAVE_FSEEKO 1
21315 if test "$ac_cv_sys_largefile_source" != no
; then
21316 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21318 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21321 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21322 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21323 if test "${ac_cv_c_bigendian+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_cv_c_bigendian
=unknown
21327 # See if sys/param.h defines the BYTE_ORDER macro.
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 #include <sys/types.h>
21335 #include <sys/param.h>
21340 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21341 bogus endian macros
21347 rm -f conftest.
$ac_objext
21348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21349 (eval $ac_compile) 2>conftest.er1
21351 grep -v '^ *+' conftest.er1
>conftest.err
21353 cat conftest.err
>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } &&
21356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; } &&
21362 { ac_try
='test -s conftest.$ac_objext'
21363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364 (eval $ac_try) 2>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); }; }; then
21368 # It does; now see whether it defined to BIG_ENDIAN or not.
21369 cat >conftest.
$ac_ext <<_ACEOF
21372 cat confdefs.h
>>conftest.
$ac_ext
21373 cat >>conftest.
$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <sys/types.h>
21376 #include <sys/param.h>
21381 #if BYTE_ORDER != BIG_ENDIAN
21388 rm -f conftest.
$ac_objext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 (eval $ac_compile) 2>conftest.er1
21392 grep -v '^ *+' conftest.er1
>conftest.err
21394 cat conftest.err
>&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; } &&
21403 { ac_try
='test -s conftest.$ac_objext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_c_bigendian
=yes
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.
$ac_ext >&5
21414 ac_cv_c_bigendian
=no
21416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.
$ac_ext >&5
21422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21423 if test $ac_cv_c_bigendian = unknown
; then
21424 if test "$cross_compiling" = yes; then
21425 ac_cv_c_bigendian
=unknown
21427 cat >conftest.
$ac_ext <<_ACEOF
21430 cat confdefs.h
>>conftest.
$ac_ext
21431 cat >>conftest.
$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21434 /* Are we little or big endian? From Harbison&Steele. */
21438 char c[sizeof (long)];
21441 exit (u.c[sizeof (long) - 1] == 1);
21444 rm -f conftest
$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_c_bigendian
=no
21457 echo "$as_me: program exited with status $ac_status" >&5
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 ( exit $ac_status )
21462 ac_cv_c_bigendian
=yes
21464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21468 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21469 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21470 if test $ac_cv_c_bigendian = unknown
; then
21471 { 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
21472 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;}
21474 if test $ac_cv_c_bigendian = yes; then
21475 cat >>confdefs.h
<<\_ACEOF
21476 #define WORDS_BIGENDIAN 1
21483 ac_cpp
='$CXXCPP $CPPFLAGS'
21484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21487 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21488 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21489 if test -z "$CXXCPP"; then
21490 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 # Double quotes because CXXCPP needs to be expanded
21494 for CXXCPP
in "$CXX -E" "/lib/cpp"
21496 ac_preproc_ok
=false
21497 for ac_cxx_preproc_warn_flag
in '' yes
21499 # Use a header file that comes with gcc, so configuring glibc
21500 # with a fresh cross-compiler works.
21501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21502 # <limits.h> exists even on freestanding compilers.
21503 # On the NeXT, cc -E runs the code through the compiler's parser,
21504 # not just through cpp. "Syntax error" is here to catch this case.
21505 cat >conftest.
$ac_ext <<_ACEOF
21508 cat confdefs.h
>>conftest.
$ac_ext
21509 cat >>conftest.
$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21512 # include <limits.h>
21514 # include <assert.h>
21518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21521 grep -v '^ *+' conftest.er1
>conftest.err
21523 cat conftest.err
>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } >/dev
/null
; then
21526 if test -s conftest.err
; then
21527 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21528 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21535 if test -z "$ac_cpp_err"; then
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 # Broken: fails on valid input.
21544 rm -f conftest.err conftest.
$ac_ext
21546 # OK, works on sane cases. Now check whether non-existent headers
21547 # can be detected and how.
21548 cat >conftest.
$ac_ext <<_ACEOF
21551 cat confdefs.h
>>conftest.
$ac_ext
21552 cat >>conftest.
$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 #include <ac_nonexistent.h>
21556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21559 grep -v '^ *+' conftest.er1
>conftest.err
21561 cat conftest.err
>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } >/dev
/null
; then
21564 if test -s conftest.err
; then
21565 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21566 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21573 if test -z "$ac_cpp_err"; then
21574 # Broken: success on invalid input.
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.
$ac_ext >&5
21580 # Passes both tests.
21584 rm -f conftest.err conftest.
$ac_ext
21587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21588 rm -f conftest.err conftest.
$ac_ext
21589 if $ac_preproc_ok; then
21594 ac_cv_prog_CXXCPP
=$CXXCPP
21597 CXXCPP
=$ac_cv_prog_CXXCPP
21599 ac_cv_prog_CXXCPP
=$CXXCPP
21601 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21602 echo "${ECHO_T}$CXXCPP" >&6
21603 ac_preproc_ok
=false
21604 for ac_cxx_preproc_warn_flag
in '' yes
21606 # Use a header file that comes with gcc, so configuring glibc
21607 # with a fresh cross-compiler works.
21608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21609 # <limits.h> exists even on freestanding compilers.
21610 # On the NeXT, cc -E runs the code through the compiler's parser,
21611 # not just through cpp. "Syntax error" is here to catch this case.
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21619 # include <limits.h>
21621 # include <assert.h>
21625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21628 grep -v '^ *+' conftest.er1
>conftest.err
21630 cat conftest.err
>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } >/dev
/null
; then
21633 if test -s conftest.err
; then
21634 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21635 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21642 if test -z "$ac_cpp_err"; then
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.
$ac_ext >&5
21648 # Broken: fails on valid input.
21651 rm -f conftest.err conftest.
$ac_ext
21653 # OK, works on sane cases. Now check whether non-existent headers
21654 # can be detected and how.
21655 cat >conftest.
$ac_ext <<_ACEOF
21658 cat confdefs.h
>>conftest.
$ac_ext
21659 cat >>conftest.
$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 #include <ac_nonexistent.h>
21663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21666 grep -v '^ *+' conftest.er1
>conftest.err
21668 cat conftest.err
>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } >/dev
/null
; then
21671 if test -s conftest.err
; then
21672 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21673 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21680 if test -z "$ac_cpp_err"; then
21681 # Broken: success on invalid input.
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.
$ac_ext >&5
21687 # Passes both tests.
21691 rm -f conftest.err conftest.
$ac_ext
21694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21695 rm -f conftest.err conftest.
$ac_ext
21696 if $ac_preproc_ok; then
21699 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21700 See \`config.log' for more details." >&5
21701 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21702 See \`config.log' for more details." >&2;}
21703 { (exit 1); exit 1; }; }
21707 ac_cpp
='$CXXCPP $CPPFLAGS'
21708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21717 ac_cpp
='$CXXCPP $CPPFLAGS'
21718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21724 for ac_header
in iostream
21726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21728 echo "$as_me:$LINENO: checking for $ac_header" >&5
21729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21736 # Is the header compilable?
21737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21739 cat >conftest.
$ac_ext <<_ACEOF
21742 cat confdefs.h
>>conftest.
$ac_ext
21743 cat >>conftest.
$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 $ac_includes_default
21746 #include <$ac_header>
21748 rm -f conftest.
$ac_objext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21750 (eval $ac_compile) 2>conftest.er1
21752 grep -v '^ *+' conftest.er1
>conftest.err
21754 cat conftest.err
>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; } &&
21763 { ac_try
='test -s conftest.$ac_objext'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; }; then
21769 ac_header_compiler
=yes
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.
$ac_ext >&5
21774 ac_header_compiler
=no
21776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21778 echo "${ECHO_T}$ac_header_compiler" >&6
21780 # Is the header present?
21781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21783 cat >conftest.
$ac_ext <<_ACEOF
21786 cat confdefs.h
>>conftest.
$ac_ext
21787 cat >>conftest.
$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 #include <$ac_header>
21791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21794 grep -v '^ *+' conftest.er1
>conftest.err
21796 cat conftest.err
>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } >/dev
/null
; then
21799 if test -s conftest.err
; then
21800 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21801 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21808 if test -z "$ac_cpp_err"; then
21809 ac_header_preproc
=yes
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.
$ac_ext >&5
21814 ac_header_preproc
=no
21816 rm -f conftest.err conftest.
$ac_ext
21817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21818 echo "${ECHO_T}$ac_header_preproc" >&6
21820 # So? What about this header?
21821 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21827 ac_header_preproc
=yes
21830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21844 ## ----------------------------------------- ##
21845 ## Report this to wx-dev@lists.wxwidgets.org ##
21846 ## ----------------------------------------- ##
21849 sed "s/^/$as_me: WARNING: /" >&2
21852 echo "$as_me:$LINENO: checking for $ac_header" >&5
21853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 eval "$as_ac_Header=\$ac_header_preproc"
21859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21864 cat >>confdefs.h
<<_ACEOF
21865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21873 if test "$ac_cv_header_iostream" = "yes" ; then
21876 cat >>confdefs.h
<<\_ACEOF
21877 #define wxUSE_IOSTREAMH 1
21883 ac_cpp
='$CPP $CPPFLAGS'
21884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21891 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21892 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21893 if test "${wx_cv_cpp_bool+set}" = set; then
21894 echo $ECHO_N "(cached) $ECHO_C" >&6
21900 ac_cpp
='$CXXCPP $CPPFLAGS'
21901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21906 cat >conftest.
$ac_ext <<_ACEOF
21909 cat confdefs.h
>>conftest.
$ac_ext
21910 cat >>conftest.
$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21926 rm -f conftest.
$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1
>conftest.err
21932 cat conftest.err
>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try
='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.
$ac_ext >&5
21959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21962 ac_cpp
='$CPP $CPPFLAGS'
21963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21969 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21970 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21972 if test "$wx_cv_cpp_bool" = "yes"; then
21973 cat >>confdefs.h
<<\_ACEOF
21974 #define HAVE_BOOL 1
21981 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21982 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21983 if test "${wx_cv_explicit+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 ac_cpp
='$CXXCPP $CPPFLAGS'
21991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21996 cat >conftest.
$ac_ext <<_ACEOF
21999 cat confdefs.h
>>conftest.
$ac_ext
22000 cat >>conftest.
$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22003 class Foo { public: explicit Foo(int) {} };
22015 rm -f conftest.
$ac_objext
22016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22017 (eval $ac_compile) 2>conftest.er1
22019 grep -v '^ *+' conftest.er1
>conftest.err
22021 cat conftest.err
>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } &&
22024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22026 (eval $ac_try) 2>&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); }; } &&
22030 { ac_try
='test -s conftest.$ac_objext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22037 cat >conftest.
$ac_ext <<_ACEOF
22040 cat confdefs.h
>>conftest.
$ac_ext
22041 cat >>conftest.
$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22044 class Foo { public: explicit Foo(int) {} };
22045 static void TakeFoo(const Foo& foo) { }
22058 rm -f conftest.
$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060 (eval $ac_compile) 2>conftest.er1
22062 grep -v '^ *+' conftest.er1
>conftest.err
22064 cat conftest.err
>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; } &&
22073 { ac_try
='test -s conftest.$ac_objext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.
$ac_ext >&5
22087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.
$ac_ext >&5
22096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22099 ac_cpp
='$CPP $CPPFLAGS'
22100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22106 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22107 echo "${ECHO_T}$wx_cv_explicit" >&6
22109 if test "$wx_cv_explicit" = "yes"; then
22110 cat >>confdefs.h
<<\_ACEOF
22111 #define HAVE_EXPLICIT 1
22117 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22118 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22119 if test "${ac_cv_cxx_const_cast+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 ac_cpp
='$CXXCPP $CPPFLAGS'
22126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22140 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22145 rm -f conftest.
$ac_objext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22147 (eval $ac_compile) 2>conftest.er1
22149 grep -v '^ *+' conftest.er1
>conftest.err
22151 cat conftest.err
>&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } &&
22154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156 (eval $ac_try) 2>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); }; } &&
22160 { ac_try
='test -s conftest.$ac_objext'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_cxx_const_cast
=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 ac_cv_cxx_const_cast
=no
22173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22175 ac_cpp
='$CPP $CPPFLAGS'
22176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22182 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22183 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22184 if test "$ac_cv_cxx_const_cast" = yes; then
22186 cat >>confdefs.h
<<\_ACEOF
22187 #define HAVE_CONST_CAST
22192 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22193 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22194 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22195 echo $ECHO_N "(cached) $ECHO_C" >&6
22200 ac_cpp
='$CXXCPP $CPPFLAGS'
22201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 #include <typeinfo>
22212 class Base { public : Base () {} virtual void f () = 0;};
22213 class Derived : public Base { public : Derived () {} virtual void f () {} };
22214 class Unrelated { public : Unrelated () {} };
22215 int g (Unrelated&) { return 0; }
22220 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22225 rm -f conftest.
$ac_objext
22226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227 (eval $ac_compile) 2>conftest.er1
22229 grep -v '^ *+' conftest.er1
>conftest.err
22231 cat conftest.err
>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; } &&
22240 { ac_try
='test -s conftest.$ac_objext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_cxx_reinterpret_cast
=yes
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.
$ac_ext >&5
22251 ac_cv_cxx_reinterpret_cast
=no
22253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22255 ac_cpp
='$CPP $CPPFLAGS'
22256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22262 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22263 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22264 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22266 cat >>confdefs.h
<<\_ACEOF
22267 #define HAVE_REINTERPRET_CAST
22272 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22273 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22274 if test "${ac_cv_cxx_static_cast+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22280 ac_cpp
='$CXXCPP $CPPFLAGS'
22281 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22285 cat >conftest.
$ac_ext <<_ACEOF
22288 cat confdefs.h
>>conftest.
$ac_ext
22289 cat >>conftest.
$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22291 #include <typeinfo>
22292 class Base { public : Base () {} virtual void f () = 0; };
22293 class Derived : public Base { public : Derived () {} virtual void f () {} };
22294 int g (Derived&) { return 0; }
22299 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22304 rm -f conftest.
$ac_objext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22306 (eval $ac_compile) 2>conftest.er1
22308 grep -v '^ *+' conftest.er1
>conftest.err
22310 cat conftest.err
>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; } &&
22319 { ac_try
='test -s conftest.$ac_objext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 ac_cv_cxx_static_cast
=yes
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.
$ac_ext >&5
22330 ac_cv_cxx_static_cast
=no
22332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22334 ac_cpp
='$CPP $CPPFLAGS'
22335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22341 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22342 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22343 if test "$ac_cv_cxx_static_cast" = yes; then
22345 cat >>confdefs.h
<<\_ACEOF
22346 #define HAVE_STATIC_CAST
22352 if test "x$SUNCXX" = xyes
; then
22353 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22356 if test "x$SUNCC" = xyes
; then
22357 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22360 if test "x$SGICC" = "xyes"; then
22361 CFLAGS
="$CFLAGS -woff 3970"
22363 if test "x$SGICXX" = "xyes"; then
22364 CXXFLAGS
="$CXXFLAGS -woff 3970"
22367 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22369 ac_cpp
='$CXXCPP $CPPFLAGS'
22370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22375 if test "$wxUSE_UNICODE" = "yes"; then
22376 std_string
="std::wstring"
22377 char_type
="wchar_t"
22379 std_string
="std::string"
22383 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22384 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22385 cat >conftest.
$ac_ext <<_ACEOF
22388 cat confdefs.h
>>conftest.
$ac_ext
22389 cat >>conftest.
$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22400 rm -f conftest.
$ac_objext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22402 (eval $ac_compile) 2>conftest.er1
22404 grep -v '^ *+' conftest.er1
>conftest.err
22406 cat conftest.err
>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } &&
22409 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411 (eval $ac_try) 2>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; } &&
22415 { ac_try
='test -s conftest.$ac_objext'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; }; then
22421 echo "$as_me:$LINENO: result: yes" >&5
22422 echo "${ECHO_T}yes" >&6
22423 cat >>confdefs.h
<<\_ACEOF
22424 #define HAVE_STD_WSTRING 1
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 echo "$as_me:$LINENO: result: no" >&5
22432 echo "${ECHO_T}no" >&6
22433 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22434 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22435 cat >conftest.
$ac_ext <<_ACEOF
22438 cat confdefs.h
>>conftest.
$ac_ext
22439 cat >>conftest.
$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22442 #ifdef HAVE_WCHAR_H
22444 # include <stddef.h>
22446 # include <wchar.h>
22448 #ifdef HAVE_STDLIB_H
22449 # include <stdlib.h>
22457 std::basic_string<$char_type> foo;
22458 const $char_type* dummy = foo.c_str();
22463 rm -f conftest.
$ac_objext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22465 (eval $ac_compile) 2>conftest.er1
22467 grep -v '^ *+' conftest.er1
>conftest.err
22469 cat conftest.err
>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try
='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 echo "$as_me:$LINENO: result: yes" >&5
22485 echo "${ECHO_T}yes" >&6
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 echo "$as_me:$LINENO: result: no" >&5
22491 echo "${ECHO_T}no" >&6
22492 if test "$wxUSE_STL" = "yes"; then
22493 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22494 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22495 { (exit 1); exit 1; }; }
22496 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22497 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22498 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22499 { (exit 1); exit 1; }; }
22501 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22502 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22503 wxUSE_STD_STRING
=no
22508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22514 ac_cpp
='$CPP $CPPFLAGS'
22515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22521 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22523 ac_cpp
='$CXXCPP $CPPFLAGS'
22524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22529 echo "$as_me:$LINENO: checking for std::istream" >&5
22530 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22531 if test "${ac_cv_type_std__istream+set}" = set; then
22532 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 cat >conftest.
$ac_ext <<_ACEOF
22537 cat confdefs.h
>>conftest.
$ac_ext
22538 cat >>conftest.
$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 #include <iostream>
22545 if ((std::istream *) 0)
22547 if (sizeof (std::istream))
22553 rm -f conftest.
$ac_objext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>conftest.er1
22557 grep -v '^ *+' conftest.er1
>conftest.err
22559 cat conftest.err
>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } &&
22562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try
='test -s conftest.$ac_objext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 ac_cv_type_std__istream
=yes
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.
$ac_ext >&5
22579 ac_cv_type_std__istream
=no
22581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22583 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22584 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22585 if test $ac_cv_type_std__istream = yes; then
22587 cat >>confdefs.h
<<_ACEOF
22588 #define HAVE_STD__ISTREAM 1
22593 wxUSE_STD_IOSTREAM
=no
22595 echo "$as_me:$LINENO: checking for std::ostream" >&5
22596 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22597 if test "${ac_cv_type_std__ostream+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <iostream>
22611 if ((std::ostream *) 0)
22613 if (sizeof (std::ostream))
22619 rm -f conftest.
$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22623 grep -v '^ *+' conftest.er1
>conftest.err
22625 cat conftest.err
>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try
='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_type_std__ostream
=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.
$ac_ext >&5
22645 ac_cv_type_std__ostream
=no
22647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22649 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22650 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22651 if test $ac_cv_type_std__ostream = yes; then
22653 cat >>confdefs.h
<<_ACEOF
22654 #define HAVE_STD__OSTREAM 1
22659 wxUSE_STD_IOSTREAM
=no
22663 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22664 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22665 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22666 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22667 { (exit 1); exit 1; }; }
22669 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22670 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22675 ac_cpp
='$CPP $CPPFLAGS'
22676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22682 if test "$wxUSE_STL" = "yes"; then
22684 ac_cpp
='$CXXCPP $CPPFLAGS'
22685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22690 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22691 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22692 cat >conftest.
$ac_ext <<_ACEOF
22695 cat confdefs.h
>>conftest.
$ac_ext
22696 cat >>conftest.
$ac_ext <<_ACEOF
22697 /* end confdefs.h. */
22699 #include <functional>
22700 #include <algorithm>
22706 std::vector<int> moo;
22707 std::list<int> foo;
22708 std::vector<int>::iterator it =
22709 std::find_if(moo.begin(), moo.end(),
22710 std::bind2nd(std::less<int>(), 3));
22715 rm -f conftest.
$ac_objext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>conftest.er1
22719 grep -v '^ *+' conftest.er1
>conftest.err
22721 cat conftest.err
>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try
='test -s conftest.$ac_objext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 echo "$as_me:$LINENO: result: yes" >&5
22737 echo "${ECHO_T}yes" >&6
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.
$ac_ext >&5
22742 echo "$as_me:$LINENO: result: no" >&5
22743 echo "${ECHO_T}no" >&6
22744 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22745 echo "$as_me: error: Basic STL functionality missing" >&2;}
22746 { (exit 1); exit 1; }; }
22748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22750 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22751 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22752 cat >conftest.
$ac_ext <<_ACEOF
22755 cat confdefs.h
>>conftest.
$ac_ext
22756 cat >>conftest.
$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22762 std::string foo, bar;
22764 foo.compare(1, 1, bar);
22765 foo.compare(1, 1, bar, 1, 1);
22767 foo.compare(1, 1, "");
22768 foo.compare(1, 1, "", 2);
22773 rm -f conftest.
$ac_objext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22775 (eval $ac_compile) 2>conftest.er1
22777 grep -v '^ *+' conftest.er1
>conftest.err
22779 cat conftest.err
>&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22784 (eval $ac_try) 2>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; } &&
22788 { ac_try
='test -s conftest.$ac_objext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 echo "$as_me:$LINENO: result: yes" >&5
22795 echo "${ECHO_T}yes" >&6
22796 cat >>confdefs.h
<<\_ACEOF
22797 #define HAVE_STD_STRING_COMPARE 1
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.
$ac_ext >&5
22804 echo "$as_me:$LINENO: result: no" >&5
22805 echo "${ECHO_T}no" >&6
22807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22809 if test "${ac_cv_header_hash_map+set}" = set; then
22810 echo "$as_me:$LINENO: checking for hash_map" >&5
22811 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22812 if test "${ac_cv_header_hash_map+set}" = set; then
22813 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22816 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22818 # Is the header compilable?
22819 echo "$as_me:$LINENO: checking hash_map usability" >&5
22820 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 #include <hash_map>
22830 rm -f conftest.
$ac_objext
22831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22832 (eval $ac_compile) 2>conftest.er1
22834 grep -v '^ *+' conftest.er1
>conftest.err
22836 cat conftest.err
>&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; } &&
22845 { ac_try
='test -s conftest.$ac_objext'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; }; then
22851 ac_header_compiler
=yes
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.
$ac_ext >&5
22856 ac_header_compiler
=no
22858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22860 echo "${ECHO_T}$ac_header_compiler" >&6
22862 # Is the header present?
22863 echo "$as_me:$LINENO: checking hash_map presence" >&5
22864 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22865 cat >conftest.
$ac_ext <<_ACEOF
22868 cat confdefs.h
>>conftest.
$ac_ext
22869 cat >>conftest.
$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22871 #include <hash_map>
22873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22876 grep -v '^ *+' conftest.er1
>conftest.err
22878 cat conftest.err
>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } >/dev
/null
; then
22881 if test -s conftest.err
; then
22882 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22883 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22890 if test -z "$ac_cpp_err"; then
22891 ac_header_preproc
=yes
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.
$ac_ext >&5
22896 ac_header_preproc
=no
22898 rm -f conftest.err conftest.
$ac_ext
22899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22900 echo "${ECHO_T}$ac_header_preproc" >&6
22902 # So? What about this header?
22903 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22905 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22906 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22908 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22909 ac_header_preproc
=yes
22912 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22913 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22914 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22915 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22916 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22917 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22918 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22919 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22920 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22921 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22922 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22923 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22926 ## ----------------------------------------- ##
22927 ## Report this to wx-dev@lists.wxwidgets.org ##
22928 ## ----------------------------------------- ##
22931 sed "s/^/$as_me: WARNING: /" >&2
22934 echo "$as_me:$LINENO: checking for hash_map" >&5
22935 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22936 if test "${ac_cv_header_hash_map+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22939 ac_cv_header_hash_map
=$ac_header_preproc
22941 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22942 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22945 if test $ac_cv_header_hash_map = yes; then
22946 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22947 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22948 cat >conftest.
$ac_ext <<_ACEOF
22951 cat confdefs.h
>>conftest.
$ac_ext
22952 cat >>conftest.
$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22954 #include <hash_map>
22955 #include <hash_set>
22959 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22960 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22965 rm -f conftest.
$ac_objext
22966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22967 (eval $ac_compile) 2>conftest.er1
22969 grep -v '^ *+' conftest.er1
>conftest.err
22971 cat conftest.err
>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } &&
22974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; } &&
22980 { ac_try
='test -s conftest.$ac_objext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 echo "$as_me:$LINENO: result: yes" >&5
22987 echo "${ECHO_T}yes" >&6
22988 cat >>confdefs.h
<<\_ACEOF
22989 #define HAVE_HASH_MAP 1
22992 cat >>confdefs.h
<<\_ACEOF
22993 #define HAVE_STD_HASH_MAP 1
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.
$ac_ext >&5
23000 echo "$as_me:$LINENO: result: no" >&5
23001 echo "${ECHO_T}no" >&6
23003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23009 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23010 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23011 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23012 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23016 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23018 # Is the header compilable?
23019 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23020 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23021 cat >conftest.
$ac_ext <<_ACEOF
23024 cat confdefs.h
>>conftest.
$ac_ext
23025 cat >>conftest.
$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 $ac_includes_default
23028 #include <ext/hash_map>
23030 rm -f conftest.
$ac_objext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23032 (eval $ac_compile) 2>conftest.er1
23034 grep -v '^ *+' conftest.er1
>conftest.err
23036 cat conftest.err
>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; } &&
23045 { ac_try
='test -s conftest.$ac_objext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_header_compiler
=yes
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.
$ac_ext >&5
23056 ac_header_compiler
=no
23058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23060 echo "${ECHO_T}$ac_header_compiler" >&6
23062 # Is the header present?
23063 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23064 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23065 cat >conftest.
$ac_ext <<_ACEOF
23068 cat confdefs.h
>>conftest.
$ac_ext
23069 cat >>conftest.
$ac_ext <<_ACEOF
23070 /* end confdefs.h. */
23071 #include <ext/hash_map>
23073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23076 grep -v '^ *+' conftest.er1
>conftest.err
23078 cat conftest.err
>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } >/dev
/null
; then
23081 if test -s conftest.err
; then
23082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23083 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23090 if test -z "$ac_cpp_err"; then
23091 ac_header_preproc
=yes
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.
$ac_ext >&5
23096 ac_header_preproc
=no
23098 rm -f conftest.err conftest.
$ac_ext
23099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23100 echo "${ECHO_T}$ac_header_preproc" >&6
23102 # So? What about this header?
23103 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23105 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23106 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23107 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23108 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23109 ac_header_preproc
=yes
23112 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23113 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23114 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23115 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23116 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23117 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23118 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23119 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23120 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23121 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23122 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23123 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23126 ## ----------------------------------------- ##
23127 ## Report this to wx-dev@lists.wxwidgets.org ##
23128 ## ----------------------------------------- ##
23131 sed "s/^/$as_me: WARNING: /" >&2
23134 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23139 ac_cv_header_ext_hash_map
=$ac_header_preproc
23141 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23142 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23145 if test $ac_cv_header_ext_hash_map = yes; then
23146 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23147 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23148 cat >conftest.
$ac_ext <<_ACEOF
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 #include <ext/hash_map>
23155 #include <ext/hash_set>
23159 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23160 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23165 rm -f conftest.
$ac_objext
23166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23167 (eval $ac_compile) 2>conftest.er1
23169 grep -v '^ *+' conftest.er1
>conftest.err
23171 cat conftest.err
>&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); } &&
23174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; } &&
23180 { ac_try
='test -s conftest.$ac_objext'
23181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182 (eval $ac_try) 2>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); }; }; then
23186 echo "$as_me:$LINENO: result: yes" >&5
23187 echo "${ECHO_T}yes" >&6
23188 cat >>confdefs.h
<<\_ACEOF
23189 #define HAVE_EXT_HASH_MAP 1
23192 cat >>confdefs.h
<<\_ACEOF
23193 #define HAVE_GNU_CXX_HASH_MAP 1
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.
$ac_ext >&5
23200 echo "$as_me:$LINENO: result: no" >&5
23201 echo "${ECHO_T}no" >&6
23203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23210 ac_cpp
='$CPP $CPPFLAGS'
23211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23219 /usr/local/include \
23221 /usr/Motif-2.1/include \
23222 /usr/Motif-1.2/include \
23223 /usr/include/Motif1.2 \
23226 /usr/openwin/include \
23230 /usr/X11R6/include \
23231 /usr/X11R6.4/include \
23232 /usr/X11R5/include \
23233 /usr/X11R4/include \
23235 /usr/include/X11R6 \
23236 /usr/include/X11R5 \
23237 /usr/include/X11R4 \
23239 /usr/local/X11R6/include \
23240 /usr/local/X11R5/include \
23241 /usr/local/X11R4/include \
23243 /usr/local/include/X11R6 \
23244 /usr/local/include/X11R5 \
23245 /usr/local/include/X11R4 \
23249 /usr/local/X11/include \
23250 /usr/local/include/X11 \
23252 /usr/XFree86/include/X11 \
23255 /usr/openwin/share/include"
23257 echo "$as_me:$LINENO: checking for libraries directory" >&5
23258 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23262 if test "${wx_cv_std_libpath+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23267 for e
in a so sl dylib dll.a
; do
23269 if test -f $libc; then
23272 cat >conftest.
$ac_ext <<_ACEOF
23273 int main() { return 0; }
23275 rm -f conftest.
$ac_objext conftest
$ac_exeext
23276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23277 (eval $ac_link) 2>conftest.er1
23279 grep -v '^ *+' conftest.er1
>conftest.err
23281 cat conftest.err
>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } &&
23284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try
='test -s conftest$ac_exeext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.
$ac_ext >&5
23302 rm -f conftest.err conftest.
$ac_objext \
23303 conftest
$ac_exeext conftest.
$ac_ext
23305 if test "x$wx_cv_std_libpath" != "x"; then
23311 if test "x$wx_cv_std_libpath" = "x"; then
23312 wx_cv_std_libpath
="lib"
23321 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23322 wx_cv_std_libpath
="lib/64"
23324 wx_cv_std_libpath
="lib"
23329 if test "$ac_cv_sizeof_void_p" = 8 -a \
23330 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23331 wx_cv_std_libpath
="lib64"
23333 wx_cv_std_libpath
="lib"
23338 wx_cv_std_libpath
="lib";
23342 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23343 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23345 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23347 if test "$build" != "$host" -a "$GCC" = yes; then
23348 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23349 cross_root
=`dirname $cross_root`
23350 cross_root
=`dirname $cross_root`
23352 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23353 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23355 if test -z "$PKG_CONFIG_PATH"; then
23356 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23357 export PKG_CONFIG_PATH
23360 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23363 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23365 if test -f "$ac_dir/X11/Intrinsic.h"; then
23366 ac_find_includes
=$ac_dir
23371 x_includes
=$ac_find_includes
23373 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23376 for ac_dir
in $SEARCH_LIB;
23378 for ac_extension
in a so sl dylib dll.a
; do
23379 if test -f "$ac_dir/libXt.$ac_extension"; then
23380 ac_find_libraries
=$ac_dir
23386 x_libraries
=$ac_find_libraries
23392 cat >confcache
<<\_ACEOF
23393 # This file is a shell script that caches the results of configure
23394 # tests run on this system so they can be shared between configure
23395 # scripts and configure runs, see configure's option --config-cache.
23396 # It is not useful on other systems. If it contains results you don't
23397 # want to keep, you may remove or edit it.
23399 # config.status only pays attention to the cache file if you give it
23400 # the --recheck option to rerun configure.
23402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23404 # following values.
23408 # The following way of writing the cache mishandles newlines in values,
23409 # but we know of no workaround that is simple, portable, and efficient.
23410 # So, don't put newlines in cache variables' values.
23411 # Ultrix sh set writes to stderr and can't be redirected directly,
23412 # and sets the high bit in the cache file unless we assign to the vars.
23415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23417 # `set' does not quote correctly, so add quotes (double-quote
23418 # substitution turns \\\\ into \\, and sed turns \\ into \).
23421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23424 # `set' quotes correctly as required by POSIX, so do not add quotes.
23426 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23435 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23437 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23438 if test -w $cache_file; then
23439 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23440 cat confcache
>$cache_file
23442 echo "not updating unwritable cache $cache_file"
23447 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23448 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23449 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23450 if test "${wx_cv_lib_glibc21+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 cat >conftest.
$ac_ext <<_ACEOF
23457 cat confdefs.h
>>conftest.
$ac_ext
23458 cat >>conftest.
$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 #include <features.h>
23465 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23473 rm -f conftest.
$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23477 grep -v '^ *+' conftest.er1
>conftest.err
23479 cat conftest.err
>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try
='test -s conftest.$ac_objext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23495 wx_cv_lib_glibc21
=yes
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.
$ac_ext >&5
23502 wx_cv_lib_glibc21
=no
23506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23509 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23510 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23511 if test "$wx_cv_lib_glibc21" = "yes"; then
23512 cat >>confdefs.h
<<\_ACEOF
23513 #define wxHAVE_GLIBC2 1
23519 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23520 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23521 cat >>confdefs.h
<<\_ACEOF
23522 #define _GNU_SOURCE 1
23530 if test "$wxUSE_REGEX" != "no"; then
23531 cat >>confdefs.h
<<\_ACEOF
23532 #define wxUSE_REGEX 1
23536 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23537 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23538 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23539 wxUSE_REGEX
=builtin
23542 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23543 if test "${ac_cv_header_regex_h+set}" = set; then
23544 echo "$as_me:$LINENO: checking for regex.h" >&5
23545 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23546 if test "${ac_cv_header_regex_h+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23550 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23552 # Is the header compilable?
23553 echo "$as_me:$LINENO: checking regex.h usability" >&5
23554 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23555 cat >conftest.
$ac_ext <<_ACEOF
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23564 rm -f conftest.
$ac_objext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23566 (eval $ac_compile) 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try
='test -s conftest.$ac_objext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_header_compiler
=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.
$ac_ext >&5
23590 ac_header_compiler
=no
23592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23594 echo "${ECHO_T}$ac_header_compiler" >&6
23596 # Is the header present?
23597 echo "$as_me:$LINENO: checking regex.h presence" >&5
23598 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23599 cat >conftest.
$ac_ext <<_ACEOF
23602 cat confdefs.h
>>conftest.
$ac_ext
23603 cat >>conftest.
$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23610 grep -v '^ *+' conftest.er1
>conftest.err
23612 cat conftest.err
>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } >/dev
/null
; then
23615 if test -s conftest.err
; then
23616 ac_cpp_err
=$ac_c_preproc_warn_flag
23617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23624 if test -z "$ac_cpp_err"; then
23625 ac_header_preproc
=yes
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.
$ac_ext >&5
23630 ac_header_preproc
=no
23632 rm -f conftest.err conftest.
$ac_ext
23633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23634 echo "${ECHO_T}$ac_header_preproc" >&6
23636 # So? What about this header?
23637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23639 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23640 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23641 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23642 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23643 ac_header_preproc
=yes
23646 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23647 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23648 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23649 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23650 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23651 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23652 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23653 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23654 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23655 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23656 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23657 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23660 ## ----------------------------------------- ##
23661 ## Report this to wx-dev@lists.wxwidgets.org ##
23662 ## ----------------------------------------- ##
23665 sed "s/^/$as_me: WARNING: /" >&2
23668 echo "$as_me:$LINENO: checking for regex.h" >&5
23669 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23670 if test "${ac_cv_header_regex_h+set}" = set; then
23671 echo $ECHO_N "(cached) $ECHO_C" >&6
23673 ac_cv_header_regex_h
=$ac_header_preproc
23675 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23676 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23679 if test $ac_cv_header_regex_h = yes; then
23681 for ac_func
in regcomp
23683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23684 echo "$as_me:$LINENO: checking for $ac_func" >&5
23685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23686 if eval "test \"\${$as_ac_var+set}\" = set"; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 cat >conftest.
$ac_ext <<_ACEOF
23692 cat confdefs.h
>>conftest.
$ac_ext
23693 cat >>conftest.
$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23697 #define $ac_func innocuous_$ac_func
23699 /* System header to define __stub macros and hopefully few prototypes,
23700 which can conflict with char $ac_func (); below.
23701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23702 <limits.h> exists even on freestanding compilers. */
23705 # include <limits.h>
23707 # include <assert.h>
23712 /* Override any gcc2 internal prototype to avoid an error. */
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23720 /* The GNU C library defines this for functions which it implements
23721 to always fail with ENOSYS. Some functions are actually named
23722 something starting with __ and the normal name is an alias. */
23723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23726 char (*f) () = $ac_func;
23735 return f != $ac_func;
23740 rm -f conftest.
$ac_objext conftest
$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>conftest.er1
23744 grep -v '^ *+' conftest.er1
>conftest.err
23746 cat conftest.err
>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try
='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 eval "$as_ac_var=yes"
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23766 eval "$as_ac_var=no"
23768 rm -f conftest.err conftest.
$ac_objext \
23769 conftest
$ac_exeext conftest.
$ac_ext
23771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23773 if test `eval echo '${'$as_ac_var'}'` = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23785 if test "x$ac_cv_func_regcomp" != "xyes"; then
23786 if test "$wxUSE_REGEX" = "sys" ; then
23787 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23788 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23789 { (exit 1); exit 1; }; }
23791 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23792 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23793 wxUSE_REGEX
=builtin
23797 cat >>confdefs.h
<<\_ACEOF
23798 #define WX_NO_REGEX_ADVANCED 1
23807 if test "$wxUSE_ZLIB" != "no" ; then
23808 cat >>confdefs.h
<<\_ACEOF
23809 #define wxUSE_ZLIB 1
23813 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23814 if test "$USE_DARWIN" = 1; then
23815 system_zlib_h_ok
="yes"
23817 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23818 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23819 if test "${ac_cv_header_zlib_h+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 if test "$cross_compiling" = yes; then
23823 unset ac_cv_header_zlib_h
23826 cat >conftest.
$ac_ext <<_ACEOF
23829 cat confdefs.h
>>conftest.
$ac_ext
23830 cat >>conftest.
$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23838 FILE *f=fopen("conftestval", "w");
23841 ZLIB_VERSION[0] == '1' &&
23842 (ZLIB_VERSION[2] > '1' ||
23843 (ZLIB_VERSION[2] == '1' &&
23844 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23849 rm -f conftest
$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 ac_cv_header_zlib_h
=`cat conftestval`
23862 echo "$as_me: program exited with status $ac_status" >&5
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.
$ac_ext >&5
23866 ( exit $ac_status )
23867 ac_cv_header_zlib_h
=no
23869 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23873 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23875 if test "${ac_cv_header_zlib_h+set}" = set; then
23876 echo "$as_me:$LINENO: checking for zlib.h" >&5
23877 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23878 if test "${ac_cv_header_zlib_h+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23882 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23884 # Is the header compilable?
23885 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23886 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23887 cat >conftest.
$ac_ext <<_ACEOF
23890 cat confdefs.h
>>conftest.
$ac_ext
23891 cat >>conftest.
$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 $ac_includes_default
23896 rm -f conftest.
$ac_objext
23897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23898 (eval $ac_compile) 2>conftest.er1
23900 grep -v '^ *+' conftest.er1
>conftest.err
23902 cat conftest.err
>&5
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); } &&
23905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try
='test -s conftest.$ac_objext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 ac_header_compiler
=yes
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.
$ac_ext >&5
23922 ac_header_compiler
=no
23924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23926 echo "${ECHO_T}$ac_header_compiler" >&6
23928 # Is the header present?
23929 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23930 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23931 cat >conftest.
$ac_ext <<_ACEOF
23934 cat confdefs.h
>>conftest.
$ac_ext
23935 cat >>conftest.
$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23942 grep -v '^ *+' conftest.er1
>conftest.err
23944 cat conftest.err
>&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } >/dev
/null
; then
23947 if test -s conftest.err
; then
23948 ac_cpp_err
=$ac_c_preproc_warn_flag
23949 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23956 if test -z "$ac_cpp_err"; then
23957 ac_header_preproc
=yes
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.
$ac_ext >&5
23962 ac_header_preproc
=no
23964 rm -f conftest.err conftest.
$ac_ext
23965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23966 echo "${ECHO_T}$ac_header_preproc" >&6
23968 # So? What about this header?
23969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23971 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23972 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23973 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23974 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23975 ac_header_preproc
=yes
23978 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23979 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23981 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23983 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23985 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23987 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23989 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23992 ## ----------------------------------------- ##
23993 ## Report this to wx-dev@lists.wxwidgets.org ##
23994 ## ----------------------------------------- ##
23997 sed "s/^/$as_me: WARNING: /" >&2
24000 echo "$as_me:$LINENO: checking for zlib.h" >&5
24001 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24002 if test "${ac_cv_header_zlib_h+set}" = set; then
24003 echo $ECHO_N "(cached) $ECHO_C" >&6
24005 ac_cv_header_zlib_h
=$ac_header_preproc
24007 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24008 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24014 system_zlib_h_ok
=$ac_cv_header_zlib_h
24017 if test "$system_zlib_h_ok" = "yes"; then
24018 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24019 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24020 if test "${ac_cv_lib_z_deflate+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 ac_check_lib_save_LIBS
=$LIBS
24025 cat >conftest.
$ac_ext <<_ACEOF
24028 cat confdefs.h
>>conftest.
$ac_ext
24029 cat >>conftest.
$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24032 /* Override any gcc2 internal prototype to avoid an error. */
24036 /* We use char because int might match the return type of a gcc2
24037 builtin and then its argument prototype would still apply. */
24047 rm -f conftest.
$ac_objext conftest
$ac_exeext
24048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24049 (eval $ac_link) 2>conftest.er1
24051 grep -v '^ *+' conftest.er1
>conftest.err
24053 cat conftest.err
>&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } &&
24056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; } &&
24062 { ac_try
='test -s conftest$ac_exeext'
24063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064 (eval $ac_try) 2>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24068 ac_cv_lib_z_deflate
=yes
24070 echo "$as_me: failed program was:" >&5
24071 sed 's/^/| /' conftest.
$ac_ext >&5
24073 ac_cv_lib_z_deflate
=no
24075 rm -f conftest.err conftest.
$ac_objext \
24076 conftest
$ac_exeext conftest.
$ac_ext
24077 LIBS
=$ac_check_lib_save_LIBS
24079 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24080 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24081 if test $ac_cv_lib_z_deflate = yes; then
24087 if test "x$ZLIB_LINK" = "x" ; then
24088 if test "$wxUSE_ZLIB" = "sys" ; then
24089 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24090 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24091 { (exit 1); exit 1; }; }
24093 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24094 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24105 if test "$wxUSE_LIBPNG" != "no" ; then
24106 cat >>confdefs.h
<<\_ACEOF
24107 #define wxUSE_LIBPNG 1
24111 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24112 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24113 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24117 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24118 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24119 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24120 wxUSE_LIBPNG
=builtin
24123 if test "$wxUSE_MGL" != 1 ; then
24124 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24125 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24126 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24127 if test "${ac_cv_header_png_h+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 if test "$cross_compiling" = yes; then
24131 unset ac_cv_header_png_h
24134 cat >conftest.
$ac_ext <<_ACEOF
24137 cat confdefs.h
>>conftest.
$ac_ext
24138 cat >>conftest.
$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24146 FILE *f=fopen("conftestval", "w");
24149 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24154 rm -f conftest
$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156 (eval $ac_link) 2>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; }; then
24165 ac_cv_header_png_h
=`cat conftestval`
24167 echo "$as_me: program exited with status $ac_status" >&5
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.
$ac_ext >&5
24171 ( exit $ac_status )
24172 ac_cv_header_png_h
=no
24174 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24178 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24179 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24180 if test "${ac_cv_header_png_h+set}" = set; then
24181 echo "$as_me:$LINENO: checking for png.h" >&5
24182 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24183 if test "${ac_cv_header_png_h+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24186 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24187 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24189 # Is the header compilable?
24190 echo "$as_me:$LINENO: checking png.h usability" >&5
24191 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24192 cat >conftest.
$ac_ext <<_ACEOF
24195 cat confdefs.h
>>conftest.
$ac_ext
24196 cat >>conftest.
$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198 $ac_includes_default
24201 rm -f conftest.
$ac_objext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24203 (eval $ac_compile) 2>conftest.er1
24205 grep -v '^ *+' conftest.er1
>conftest.err
24207 cat conftest.err
>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } &&
24210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; } &&
24216 { ac_try
='test -s conftest.$ac_objext'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; }; then
24222 ac_header_compiler
=yes
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.
$ac_ext >&5
24227 ac_header_compiler
=no
24229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24231 echo "${ECHO_T}$ac_header_compiler" >&6
24233 # Is the header present?
24234 echo "$as_me:$LINENO: checking png.h presence" >&5
24235 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24236 cat >conftest.
$ac_ext <<_ACEOF
24239 cat confdefs.h
>>conftest.
$ac_ext
24240 cat >>conftest.
$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24247 grep -v '^ *+' conftest.er1
>conftest.err
24249 cat conftest.err
>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } >/dev
/null
; then
24252 if test -s conftest.err
; then
24253 ac_cpp_err
=$ac_c_preproc_warn_flag
24254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24261 if test -z "$ac_cpp_err"; then
24262 ac_header_preproc
=yes
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.
$ac_ext >&5
24267 ac_header_preproc
=no
24269 rm -f conftest.err conftest.
$ac_ext
24270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24271 echo "${ECHO_T}$ac_header_preproc" >&6
24273 # So? What about this header?
24274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24276 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24277 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24278 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24279 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24280 ac_header_preproc
=yes
24283 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24284 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24285 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24286 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24287 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24288 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24289 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24290 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24291 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24292 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24293 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24294 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24297 ## ----------------------------------------- ##
24298 ## Report this to wx-dev@lists.wxwidgets.org ##
24299 ## ----------------------------------------- ##
24302 sed "s/^/$as_me: WARNING: /" >&2
24305 echo "$as_me:$LINENO: checking for png.h" >&5
24306 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24307 if test "${ac_cv_header_png_h+set}" = set; then
24308 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 ac_cv_header_png_h
=$ac_header_preproc
24312 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24313 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24319 if test "$ac_cv_header_png_h" = "yes"; then
24320 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24321 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24322 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24325 ac_check_lib_save_LIBS
=$LIBS
24326 LIBS
="-lpng -lz -lm $LIBS"
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24334 /* Override any gcc2 internal prototype to avoid an error. */
24338 /* We use char because int might match the return type of a gcc2
24339 builtin and then its argument prototype would still apply. */
24340 char png_check_sig ();
24349 rm -f conftest.
$ac_objext conftest
$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24353 grep -v '^ *+' conftest.er1
>conftest.err
24355 cat conftest.err
>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try
='test -s conftest$ac_exeext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 ac_cv_lib_png_png_check_sig
=yes
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.
$ac_ext >&5
24375 ac_cv_lib_png_png_check_sig
=no
24377 rm -f conftest.err conftest.
$ac_objext \
24378 conftest
$ac_exeext conftest.
$ac_ext
24379 LIBS
=$ac_check_lib_save_LIBS
24381 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24382 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24383 if test $ac_cv_lib_png_png_check_sig = yes; then
24384 PNG_LINK
=" -lpng -lz"
24389 if test "x$PNG_LINK" = "x" ; then
24390 if test "$wxUSE_LIBPNG" = "sys" ; then
24391 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24392 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24393 { (exit 1); exit 1; }; }
24395 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24396 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24397 wxUSE_LIBPNG
=builtin
24405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24410 if test "$wxUSE_LIBJPEG" != "no" ; then
24411 cat >>confdefs.h
<<\_ACEOF
24412 #define wxUSE_LIBJPEG 1
24416 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24417 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24418 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24422 if test "$wxUSE_MGL" != 1 ; then
24423 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24424 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24425 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24426 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24429 cat >conftest.
$ac_ext <<_ACEOF
24432 cat confdefs.h
>>conftest.
$ac_ext
24433 cat >>conftest.
$ac_ext <<_ACEOF
24434 /* end confdefs.h. */
24436 #undef HAVE_STDLIB_H
24438 #include <jpeglib.h>
24449 rm -f conftest.
$ac_objext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24451 (eval $ac_compile) 2>conftest.er1
24453 grep -v '^ *+' conftest.er1
>conftest.err
24455 cat conftest.err
>&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } &&
24458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try
='test -s conftest.$ac_objext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_cv_header_jpeglib_h
=yes
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.
$ac_ext >&5
24475 ac_cv_header_jpeglib_h
=no
24478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24482 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24483 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24485 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24486 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24487 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24488 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24489 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 ac_check_lib_save_LIBS
=$LIBS
24492 LIBS
="-ljpeg $LIBS"
24493 cat >conftest.
$ac_ext <<_ACEOF
24496 cat confdefs.h
>>conftest.
$ac_ext
24497 cat >>conftest.
$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24500 /* Override any gcc2 internal prototype to avoid an error. */
24504 /* We use char because int might match the return type of a gcc2
24505 builtin and then its argument prototype would still apply. */
24506 char jpeg_read_header ();
24510 jpeg_read_header ();
24515 rm -f conftest.
$ac_objext conftest
$ac_exeext
24516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24517 (eval $ac_link) 2>conftest.er1
24519 grep -v '^ *+' conftest.er1
>conftest.err
24521 cat conftest.err
>&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } &&
24524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try
='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 ac_cv_lib_jpeg_jpeg_read_header
=yes
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.
$ac_ext >&5
24541 ac_cv_lib_jpeg_jpeg_read_header
=no
24543 rm -f conftest.err conftest.
$ac_objext \
24544 conftest
$ac_exeext conftest.
$ac_ext
24545 LIBS
=$ac_check_lib_save_LIBS
24547 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24548 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24549 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24550 JPEG_LINK
=" -ljpeg"
24555 if test "x$JPEG_LINK" = "x" ; then
24556 if test "$wxUSE_LIBJPEG" = "sys" ; then
24557 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24558 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24559 { (exit 1); exit 1; }; }
24561 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24562 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24563 wxUSE_LIBJPEG
=builtin
24574 TIFF_PREREQ_LINKS
=-lm
24575 if test "$wxUSE_LIBTIFF" != "no" ; then
24576 cat >>confdefs.h
<<\_ACEOF
24577 #define wxUSE_LIBTIFF 1
24581 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24582 if test "$wxUSE_LIBJPEG" = "sys"; then
24583 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24585 if test "$wxUSE_ZLIB" = "sys"; then
24586 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24588 if test "${ac_cv_header_tiffio_h+set}" = set; then
24589 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24590 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24591 if test "${ac_cv_header_tiffio_h+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24595 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24597 # Is the header compilable?
24598 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24599 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24600 cat >conftest.
$ac_ext <<_ACEOF
24603 cat confdefs.h
>>conftest.
$ac_ext
24604 cat >>conftest.
$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 $ac_includes_default
24607 #include <tiffio.h>
24609 rm -f conftest.
$ac_objext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24611 (eval $ac_compile) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try
='test -s conftest.$ac_objext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_header_compiler
=yes
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.
$ac_ext >&5
24635 ac_header_compiler
=no
24637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24639 echo "${ECHO_T}$ac_header_compiler" >&6
24641 # Is the header present?
24642 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24643 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24644 cat >conftest.
$ac_ext <<_ACEOF
24647 cat confdefs.h
>>conftest.
$ac_ext
24648 cat >>conftest.
$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <tiffio.h>
24652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24655 grep -v '^ *+' conftest.er1
>conftest.err
24657 cat conftest.err
>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } >/dev
/null
; then
24660 if test -s conftest.err
; then
24661 ac_cpp_err
=$ac_c_preproc_warn_flag
24662 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24669 if test -z "$ac_cpp_err"; then
24670 ac_header_preproc
=yes
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.
$ac_ext >&5
24675 ac_header_preproc
=no
24677 rm -f conftest.err conftest.
$ac_ext
24678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24679 echo "${ECHO_T}$ac_header_preproc" >&6
24681 # So? What about this header?
24682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24684 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24685 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24686 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24687 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24688 ac_header_preproc
=yes
24691 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24692 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24693 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24694 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24695 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24696 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24697 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24698 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24699 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24700 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24701 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24702 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24705 ## ----------------------------------------- ##
24706 ## Report this to wx-dev@lists.wxwidgets.org ##
24707 ## ----------------------------------------- ##
24710 sed "s/^/$as_me: WARNING: /" >&2
24713 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24714 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24715 if test "${ac_cv_header_tiffio_h+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 ac_cv_header_tiffio_h
=$ac_header_preproc
24720 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24721 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24724 if test $ac_cv_header_tiffio_h = yes; then
24726 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24727 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24728 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 ac_check_lib_save_LIBS
=$LIBS
24732 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24733 cat >conftest.
$ac_ext <<_ACEOF
24736 cat confdefs.h
>>conftest.
$ac_ext
24737 cat >>conftest.
$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24740 /* Override any gcc2 internal prototype to avoid an error. */
24744 /* We use char because int might match the return type of a gcc2
24745 builtin and then its argument prototype would still apply. */
24755 rm -f conftest.
$ac_objext conftest
$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757 (eval $ac_link) 2>conftest.er1
24759 grep -v '^ *+' conftest.er1
>conftest.err
24761 cat conftest.err
>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } &&
24764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; } &&
24770 { ac_try
='test -s conftest$ac_exeext'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; }; then
24776 ac_cv_lib_tiff_TIFFError
=yes
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.
$ac_ext >&5
24781 ac_cv_lib_tiff_TIFFError
=no
24783 rm -f conftest.err conftest.
$ac_objext \
24784 conftest
$ac_exeext conftest.
$ac_ext
24785 LIBS
=$ac_check_lib_save_LIBS
24787 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24788 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24789 if test $ac_cv_lib_tiff_TIFFError = yes; then
24790 TIFF_LINK
=" -ltiff"
24799 if test "x$TIFF_LINK" = "x" ; then
24800 if test "$wxUSE_LIBTIFF" = "sys" ; then
24801 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24802 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24803 { (exit 1); exit 1; }; }
24805 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24806 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24807 wxUSE_LIBTIFF
=builtin
24816 if test "$wxUSE_WCHAR_T" != "yes"; then
24817 if test "$wxUSE_EXPAT" != "no"; then
24818 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24819 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24822 if test "$wxUSE_XML" != "no"; then
24823 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24824 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24829 if test "$wxUSE_EXPAT" != "no"; then
24831 cat >>confdefs.h
<<\_ACEOF
24832 #define wxUSE_EXPAT 1
24835 cat >>confdefs.h
<<\_ACEOF
24836 #define wxUSE_XML 1
24840 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24841 if test "${ac_cv_header_expat_h+set}" = set; then
24842 echo "$as_me:$LINENO: checking for expat.h" >&5
24843 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24844 if test "${ac_cv_header_expat_h+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24848 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24850 # Is the header compilable?
24851 echo "$as_me:$LINENO: checking expat.h usability" >&5
24852 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24853 cat >conftest.
$ac_ext <<_ACEOF
24856 cat confdefs.h
>>conftest.
$ac_ext
24857 cat >>conftest.
$ac_ext <<_ACEOF
24858 /* end confdefs.h. */
24859 $ac_includes_default
24862 rm -f conftest.
$ac_objext
24863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24864 (eval $ac_compile) 2>conftest.er1
24866 grep -v '^ *+' conftest.er1
>conftest.err
24868 cat conftest.err
>&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873 (eval $ac_try) 2>&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); }; } &&
24877 { ac_try
='test -s conftest.$ac_objext'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; }; then
24883 ac_header_compiler
=yes
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.
$ac_ext >&5
24888 ac_header_compiler
=no
24890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24892 echo "${ECHO_T}$ac_header_compiler" >&6
24894 # Is the header present?
24895 echo "$as_me:$LINENO: checking expat.h presence" >&5
24896 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24897 cat >conftest.
$ac_ext <<_ACEOF
24900 cat confdefs.h
>>conftest.
$ac_ext
24901 cat >>conftest.
$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24908 grep -v '^ *+' conftest.er1
>conftest.err
24910 cat conftest.err
>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } >/dev
/null
; then
24913 if test -s conftest.err
; then
24914 ac_cpp_err
=$ac_c_preproc_warn_flag
24915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24922 if test -z "$ac_cpp_err"; then
24923 ac_header_preproc
=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.
$ac_ext >&5
24928 ac_header_preproc
=no
24930 rm -f conftest.err conftest.
$ac_ext
24931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24932 echo "${ECHO_T}$ac_header_preproc" >&6
24934 # So? What about this header?
24935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24937 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24938 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24939 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24940 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24941 ac_header_preproc
=yes
24944 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24945 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24946 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24947 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24948 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24949 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24950 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24951 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24952 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24953 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24954 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24955 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24958 ## ----------------------------------------- ##
24959 ## Report this to wx-dev@lists.wxwidgets.org ##
24960 ## ----------------------------------------- ##
24963 sed "s/^/$as_me: WARNING: /" >&2
24966 echo "$as_me:$LINENO: checking for expat.h" >&5
24967 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24968 if test "${ac_cv_header_expat_h+set}" = set; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 ac_cv_header_expat_h
=$ac_header_preproc
24973 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24974 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24977 if test $ac_cv_header_expat_h = yes; then
24982 if test "x$found_expat_h" = "x1"; then
24983 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24984 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24985 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 ac_cpp
='$CXXCPP $CPPFLAGS'
24993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24997 cat >conftest.
$ac_ext <<_ACEOF
25000 cat confdefs.h
>>conftest.
$ac_ext
25001 cat >>conftest.
$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25012 rm -f conftest.
$ac_objext
25013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25014 (eval $ac_compile) 2>conftest.er1
25016 grep -v '^ *+' conftest.er1
>conftest.err
25018 cat conftest.err
>&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); } &&
25021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; } &&
25027 { ac_try
='test -s conftest.$ac_objext'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; }; then
25033 wx_cv_expat_is_not_broken
=yes
25035 echo "$as_me: failed program was:" >&5
25036 sed 's/^/| /' conftest.
$ac_ext >&5
25038 wx_cv_expat_is_not_broken
=no
25041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25043 ac_cpp
='$CPP $CPPFLAGS'
25044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25051 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25052 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25053 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25054 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25055 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25056 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 ac_check_lib_save_LIBS
=$LIBS
25060 LIBS
="-lexpat $LIBS"
25061 cat >conftest.
$ac_ext <<_ACEOF
25064 cat confdefs.h
>>conftest.
$ac_ext
25065 cat >>conftest.
$ac_ext <<_ACEOF
25066 /* end confdefs.h. */
25068 /* Override any gcc2 internal prototype to avoid an error. */
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25074 char XML_ParserCreate ();
25078 XML_ParserCreate ();
25083 rm -f conftest.
$ac_objext conftest
$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 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); } &&
25092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25094 (eval $ac_try) 2>&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; } &&
25098 { ac_try
='test -s conftest$ac_exeext'
25099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25100 (eval $ac_try) 2>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; }; then
25104 ac_cv_lib_expat_XML_ParserCreate
=yes
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.
$ac_ext >&5
25109 ac_cv_lib_expat_XML_ParserCreate
=no
25111 rm -f conftest.err conftest.
$ac_objext \
25112 conftest
$ac_exeext conftest.
$ac_ext
25113 LIBS
=$ac_check_lib_save_LIBS
25115 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25116 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25117 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25118 EXPAT_LINK
=" -lexpat"
25123 if test "x$EXPAT_LINK" = "x" ; then
25124 if test "$wxUSE_EXPAT" = "sys" ; then
25125 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25126 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25127 { (exit 1); exit 1; }; }
25129 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25130 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25131 wxUSE_EXPAT
=builtin
25137 if test "$wxUSE_EXPAT" = "builtin" ; then
25140 subdirs
="$subdirs src/expat"
25147 if test "$wxUSE_LIBMSPACK" != "no"; then
25148 if test "${ac_cv_header_mspack_h+set}" = set; then
25149 echo "$as_me:$LINENO: checking for mspack.h" >&5
25150 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25151 if test "${ac_cv_header_mspack_h+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25155 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25157 # Is the header compilable?
25158 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25159 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25160 cat >conftest.
$ac_ext <<_ACEOF
25163 cat confdefs.h
>>conftest.
$ac_ext
25164 cat >>conftest.
$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 $ac_includes_default
25167 #include <mspack.h>
25169 rm -f conftest.
$ac_objext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25171 (eval $ac_compile) 2>conftest.er1
25173 grep -v '^ *+' conftest.er1
>conftest.err
25175 cat conftest.err
>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; } &&
25184 { ac_try
='test -s conftest.$ac_objext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_header_compiler
=yes
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.
$ac_ext >&5
25195 ac_header_compiler
=no
25197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25199 echo "${ECHO_T}$ac_header_compiler" >&6
25201 # Is the header present?
25202 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25203 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25204 cat >conftest.
$ac_ext <<_ACEOF
25207 cat confdefs.h
>>conftest.
$ac_ext
25208 cat >>conftest.
$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 #include <mspack.h>
25212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25215 grep -v '^ *+' conftest.er1
>conftest.err
25217 cat conftest.err
>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } >/dev
/null
; then
25220 if test -s conftest.err
; then
25221 ac_cpp_err
=$ac_c_preproc_warn_flag
25222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25229 if test -z "$ac_cpp_err"; then
25230 ac_header_preproc
=yes
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.
$ac_ext >&5
25235 ac_header_preproc
=no
25237 rm -f conftest.err conftest.
$ac_ext
25238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25239 echo "${ECHO_T}$ac_header_preproc" >&6
25241 # So? What about this header?
25242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25244 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25245 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25246 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25247 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25248 ac_header_preproc
=yes
25251 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25252 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25253 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25254 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25255 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25256 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25258 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25260 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25261 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25262 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25265 ## ----------------------------------------- ##
25266 ## Report this to wx-dev@lists.wxwidgets.org ##
25267 ## ----------------------------------------- ##
25270 sed "s/^/$as_me: WARNING: /" >&2
25273 echo "$as_me:$LINENO: checking for mspack.h" >&5
25274 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25275 if test "${ac_cv_header_mspack_h+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 ac_cv_header_mspack_h
=$ac_header_preproc
25280 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25281 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25284 if test $ac_cv_header_mspack_h = yes; then
25289 if test "x$found_mspack_h" = "x1"; then
25290 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25291 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25292 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 ac_check_lib_save_LIBS
=$LIBS
25296 LIBS
="-lmspack $LIBS"
25297 cat >conftest.
$ac_ext <<_ACEOF
25300 cat confdefs.h
>>conftest.
$ac_ext
25301 cat >>conftest.
$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25304 /* Override any gcc2 internal prototype to avoid an error. */
25308 /* We use char because int might match the return type of a gcc2
25309 builtin and then its argument prototype would still apply. */
25310 char mspack_create_chm_decompressor ();
25314 mspack_create_chm_decompressor ();
25319 rm -f conftest.
$ac_objext conftest
$ac_exeext
25320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25321 (eval $ac_link) 2>conftest.er1
25323 grep -v '^ *+' conftest.er1
>conftest.err
25325 cat conftest.err
>&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } &&
25328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try
='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25340 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.
$ac_ext >&5
25345 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25347 rm -f conftest.err conftest.
$ac_objext \
25348 conftest
$ac_exeext conftest.
$ac_ext
25349 LIBS
=$ac_check_lib_save_LIBS
25351 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25352 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25353 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25354 MSPACK_LINK
=" -lmspack"
25358 if test "x$MSPACK_LINK" = "x" ; then
25363 if test "$wxUSE_LIBMSPACK" != "no"; then
25364 cat >>confdefs.h
<<\_ACEOF
25365 #define wxUSE_LIBMSPACK 1
25379 if test "$USE_WIN32" = 1 ; then
25381 for ac_header
in w32api.h
25383 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25385 echo "$as_me:$LINENO: checking for $ac_header" >&5
25386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25393 # Is the header compilable?
25394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25396 cat >conftest.
$ac_ext <<_ACEOF
25399 cat confdefs.h
>>conftest.
$ac_ext
25400 cat >>conftest.
$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402 $ac_includes_default
25403 #include <$ac_header>
25405 rm -f conftest.
$ac_objext
25406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25407 (eval $ac_compile) 2>conftest.er1
25409 grep -v '^ *+' conftest.er1
>conftest.err
25411 cat conftest.err
>&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } &&
25414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416 (eval $ac_try) 2>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); }; } &&
25420 { ac_try
='test -s conftest.$ac_objext'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; }; then
25426 ac_header_compiler
=yes
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.
$ac_ext >&5
25431 ac_header_compiler
=no
25433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25435 echo "${ECHO_T}$ac_header_compiler" >&6
25437 # Is the header present?
25438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25440 cat >conftest.
$ac_ext <<_ACEOF
25443 cat confdefs.h
>>conftest.
$ac_ext
25444 cat >>conftest.
$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 #include <$ac_header>
25448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25451 grep -v '^ *+' conftest.er1
>conftest.err
25453 cat conftest.err
>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } >/dev
/null
; then
25456 if test -s conftest.err
; then
25457 ac_cpp_err
=$ac_c_preproc_warn_flag
25458 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25465 if test -z "$ac_cpp_err"; then
25466 ac_header_preproc
=yes
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.
$ac_ext >&5
25471 ac_header_preproc
=no
25473 rm -f conftest.err conftest.
$ac_ext
25474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25475 echo "${ECHO_T}$ac_header_preproc" >&6
25477 # So? What about this header?
25478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25484 ac_header_preproc
=yes
25487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25501 ## ----------------------------------------- ##
25502 ## Report this to wx-dev@lists.wxwidgets.org ##
25503 ## ----------------------------------------- ##
25506 sed "s/^/$as_me: WARNING: /" >&2
25509 echo "$as_me:$LINENO: checking for $ac_header" >&5
25510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25514 eval "$as_ac_Header=\$ac_header_preproc"
25516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25521 cat >>confdefs.h
<<_ACEOF
25522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25529 if test "${ac_cv_header_windows_h+set}" = set; then
25530 echo "$as_me:$LINENO: checking for windows.h" >&5
25531 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25532 if test "${ac_cv_header_windows_h+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25536 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25538 # Is the header compilable?
25539 echo "$as_me:$LINENO: checking windows.h usability" >&5
25540 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25541 cat >conftest.
$ac_ext <<_ACEOF
25544 cat confdefs.h
>>conftest.
$ac_ext
25545 cat >>conftest.
$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 $ac_includes_default
25548 #include <windows.h>
25550 rm -f conftest.
$ac_objext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25552 (eval $ac_compile) 2>conftest.er1
25554 grep -v '^ *+' conftest.er1
>conftest.err
25556 cat conftest.err
>&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try
='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 ac_header_compiler
=yes
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.
$ac_ext >&5
25576 ac_header_compiler
=no
25578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25580 echo "${ECHO_T}$ac_header_compiler" >&6
25582 # Is the header present?
25583 echo "$as_me:$LINENO: checking windows.h presence" >&5
25584 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25585 cat >conftest.
$ac_ext <<_ACEOF
25588 cat confdefs.h
>>conftest.
$ac_ext
25589 cat >>conftest.
$ac_ext <<_ACEOF
25590 /* end confdefs.h. */
25591 #include <windows.h>
25593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25594 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25596 grep -v '^ *+' conftest.er1
>conftest.err
25598 cat conftest.err
>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } >/dev
/null
; then
25601 if test -s conftest.err
; then
25602 ac_cpp_err
=$ac_c_preproc_warn_flag
25603 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25610 if test -z "$ac_cpp_err"; then
25611 ac_header_preproc
=yes
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.
$ac_ext >&5
25616 ac_header_preproc
=no
25618 rm -f conftest.err conftest.
$ac_ext
25619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25620 echo "${ECHO_T}$ac_header_preproc" >&6
25622 # So? What about this header?
25623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25625 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25626 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25628 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25629 ac_header_preproc
=yes
25632 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25633 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25634 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25635 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25636 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25637 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25638 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25639 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25640 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25641 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25642 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25643 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25646 ## ----------------------------------------- ##
25647 ## Report this to wx-dev@lists.wxwidgets.org ##
25648 ## ----------------------------------------- ##
25651 sed "s/^/$as_me: WARNING: /" >&2
25654 echo "$as_me:$LINENO: checking for windows.h" >&5
25655 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25656 if test "${ac_cv_header_windows_h+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 ac_cv_header_windows_h
=$ac_header_preproc
25661 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25662 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25665 if test $ac_cv_header_windows_h = yes; then
25669 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25670 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25671 { (exit 1); exit 1; }; }
25677 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25679 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25680 LIBS
="$LIBS -loleacc"
25685 LIBS
="$LIBS -lkernel32 -luser32"
25686 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
25689 if test "$wxUSE_ODBC" = "sys" ; then
25692 if test "$wxUSE_ODBC" = "yes" ; then
25693 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25694 cat >>confdefs.h
<<\_ACEOF
25695 #define wxUSE_ODBC 1
25700 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25701 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25703 WIN32INSTALL
=win32install
25706 if test "$wxUSE_GUI" = "yes"; then
25716 if test "$wxUSE_COCOA" = 1 ; then
25717 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25718 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25719 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25720 wxUSE_PRINTING_ARCHITECTURE
=no
25722 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25723 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25724 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25725 wxUSE_DRAG_AND_DROP
=no
25727 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25728 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25729 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25734 if test "$wxUSE_MSW" = 1 ; then
25740 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25744 if test "$wxUSE_GTK" = 1; then
25745 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25746 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25748 gtk_version_cached
=1
25749 if test "${wx_cv_lib_gtk+set}" = set; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 gtk_version_cached
=0
25754 echo "$as_me:$LINENO: result: " >&5
25755 echo "${ECHO_T}" >&6
25758 if test "$wxUSE_THREADS" = "yes"; then
25759 GTK_MODULES
=gthread
25763 if test "x$wxGTK_VERSION" != "x1"
25767 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25772 # Check whether --enable-gtktest or --disable-gtktest was given.
25773 if test "${enable_gtktest+set}" = set; then
25774 enableval
="$enable_gtktest"
25780 pkg_config_args
=gtk
+-2.0
25781 for module
in .
$GTK_MODULES
25785 pkg_config_args
="$pkg_config_args gthread-2.0"
25792 # Extract the first word of "pkg-config", so it can be a program name with args.
25793 set dummy pkg
-config; ac_word
=$2
25794 echo "$as_me:$LINENO: checking for $ac_word" >&5
25795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 case $PKG_CONFIG in
25801 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25805 for as_dir
in $PATH
25808 test -z "$as_dir" && as_dir
=.
25809 for ac_exec_ext
in '' $ac_executable_extensions; do
25810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25811 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25818 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25822 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25824 if test -n "$PKG_CONFIG"; then
25825 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25826 echo "${ECHO_T}$PKG_CONFIG" >&6
25828 echo "$as_me:$LINENO: result: no" >&5
25829 echo "${ECHO_T}no" >&6
25833 if test x
$PKG_CONFIG != xno
; then
25834 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25837 echo "*** pkg-config too old; version 0.7 or better required."
25845 min_gtk_version
=2.0.0
25846 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25847 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25849 if test x
$PKG_CONFIG != xno
; then
25850 ## don't try to run the test against uninstalled libtool libs
25851 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25852 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25856 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25863 if test x
"$no_gtk" = x
; then
25864 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25865 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25866 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25868 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25870 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25872 if test "x$enable_gtktest" = "xyes" ; then
25873 ac_save_CFLAGS
="$CFLAGS"
25874 ac_save_LIBS
="$LIBS"
25875 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25876 LIBS
="$GTK_LIBS $LIBS"
25878 if test "$cross_compiling" = yes; then
25879 echo $ac_n "cross compiling; assumed OK... $ac_c"
25881 cat >conftest.
$ac_ext <<_ACEOF
25884 cat confdefs.h
>>conftest.
$ac_ext
25885 cat >>conftest.
$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25888 #include <gtk/gtk.h>
25890 #include <stdlib.h>
25895 int major, minor, micro;
25898 system ("touch conf.gtktest");
25900 /* HP/UX 9 (%@#!) writes to sscanf strings */
25901 tmp_version = g_strdup("$min_gtk_version");
25902 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25903 printf("%s, bad version string\n", "$min_gtk_version");
25907 if ((gtk_major_version != $gtk_config_major_version) ||
25908 (gtk_minor_version != $gtk_config_minor_version) ||
25909 (gtk_micro_version != $gtk_config_micro_version))
25911 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25912 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25913 gtk_major_version, gtk_minor_version, gtk_micro_version);
25914 printf ("*** was found! If pkg-config was correct, then it is best\n");
25915 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25916 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25917 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25918 printf("*** required on your system.\n");
25919 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25920 printf("*** to point to the correct configuration files\n");
25922 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25923 (gtk_minor_version != GTK_MINOR_VERSION) ||
25924 (gtk_micro_version != GTK_MICRO_VERSION))
25926 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25927 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25928 printf("*** library (version %d.%d.%d)\n",
25929 gtk_major_version, gtk_minor_version, gtk_micro_version);
25933 if ((gtk_major_version > major) ||
25934 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25935 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25941 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25942 gtk_major_version, gtk_minor_version, gtk_micro_version);
25943 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25944 major, minor, micro);
25945 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25947 printf("*** If you have already installed a sufficiently new version, this error\n");
25948 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25949 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25950 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25951 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25952 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25953 printf("*** so that the correct libraries are found at run-time))\n");
25960 rm -f conftest
$ac_exeext
25961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25962 (eval $ac_link) 2>&5
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; }; then
25973 echo "$as_me: program exited with status $ac_status" >&5
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.
$ac_ext >&5
25977 ( exit $ac_status )
25980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25982 CFLAGS
="$ac_save_CFLAGS"
25983 LIBS
="$ac_save_LIBS"
25986 if test "x$no_gtk" = x
; then
25987 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25988 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25991 echo "$as_me:$LINENO: result: no" >&5
25992 echo "${ECHO_T}no" >&6
25993 if test "$PKG_CONFIG" = "no" ; then
25994 echo "*** A new enough version of pkg-config was not found."
25995 echo "*** See http://pkgconfig.sourceforge.net"
25997 if test -f conf.gtktest
; then
26000 echo "*** Could not run GTK+ test program, checking why..."
26001 ac_save_CFLAGS
="$CFLAGS"
26002 ac_save_LIBS
="$LIBS"
26003 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26004 LIBS
="$LIBS $GTK_LIBS"
26005 cat >conftest.
$ac_ext <<_ACEOF
26008 cat confdefs.h
>>conftest.
$ac_ext
26009 cat >>conftest.
$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26012 #include <gtk/gtk.h>
26018 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26023 rm -f conftest.
$ac_objext conftest
$ac_exeext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26025 (eval $ac_link) 2>conftest.er1
26027 grep -v '^ *+' conftest.er1
>conftest.err
26029 cat conftest.err
>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try
='test -s conftest$ac_exeext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 echo "*** The test program compiled, but did not run. This usually means"
26045 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26046 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26047 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26048 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26049 echo "*** is required on your system"
26051 echo "*** If you have an old version installed, it is best to remove it, although"
26052 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.
$ac_ext >&5
26057 echo "*** The test program failed to compile or link. See the file config.log for the"
26058 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26060 rm -f conftest.err conftest.
$ac_objext \
26061 conftest
$ac_exeext conftest.
$ac_ext
26062 CFLAGS
="$ac_save_CFLAGS"
26063 LIBS
="$ac_save_LIBS"
26077 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26078 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26079 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26081 if test "$wxUSE_SHARED" != "yes"; then
26082 GTK_LIBS
="$GTK_LIBS -lX11"
26087 if test -z "$wx_cv_lib_gtk"; then
26088 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26090 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26091 if test "${with_gtk_prefix+set}" = set; then
26092 withval
="$with_gtk_prefix"
26093 gtk_config_prefix
="$withval"
26095 gtk_config_prefix
=""
26098 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26099 if test "${with_gtk_exec_prefix+set}" = set; then
26100 withval
="$with_gtk_exec_prefix"
26101 gtk_config_exec_prefix
="$withval"
26103 gtk_config_exec_prefix
=""
26105 # Check whether --enable-gtktest or --disable-gtktest was given.
26106 if test "${enable_gtktest+set}" = set; then
26107 enableval
="$enable_gtktest"
26113 for module
in .
$GTK_MODULES
26117 gtk_config_args
="$gtk_config_args gthread"
26122 if test x
$gtk_config_exec_prefix != x
; then
26123 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26124 if test x
${GTK_CONFIG+set} != xset
; then
26125 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26128 if test x
$gtk_config_prefix != x
; then
26129 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26130 if test x
${GTK_CONFIG+set} != xset
; then
26131 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26135 # Extract the first word of "gtk-config", so it can be a program name with args.
26136 set dummy gtk
-config; ac_word
=$2
26137 echo "$as_me:$LINENO: checking for $ac_word" >&5
26138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26139 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 case $GTK_CONFIG in
26144 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26148 for as_dir
in $PATH
26151 test -z "$as_dir" && as_dir
=.
26152 for ac_exec_ext
in '' $ac_executable_extensions; do
26153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26154 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26161 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26165 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26167 if test -n "$GTK_CONFIG"; then
26168 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26169 echo "${ECHO_T}$GTK_CONFIG" >&6
26171 echo "$as_me:$LINENO: result: no" >&5
26172 echo "${ECHO_T}no" >&6
26175 min_gtk_version
=1.2.7
26176 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26177 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26179 if test "$GTK_CONFIG" = "no" ; then
26182 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26183 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26184 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26186 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26188 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26190 if test "x$enable_gtktest" = "xyes" ; then
26191 ac_save_CFLAGS
="$CFLAGS"
26192 ac_save_LIBS
="$LIBS"
26193 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26194 LIBS
="$GTK_LIBS $LIBS"
26196 if test "$cross_compiling" = yes; then
26197 echo $ac_n "cross compiling; assumed OK... $ac_c"
26199 cat >conftest.
$ac_ext <<_ACEOF
26202 cat confdefs.h
>>conftest.
$ac_ext
26203 cat >>conftest.
$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26206 #include <gtk/gtk.h>
26208 #include <stdlib.h>
26213 int major, minor, micro;
26216 system ("touch conf.gtktest");
26218 /* HP/UX 9 (%@#!) writes to sscanf strings */
26219 tmp_version = g_strdup("$min_gtk_version");
26220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26221 printf("%s, bad version string\n", "$min_gtk_version");
26225 if ((gtk_major_version != $gtk_config_major_version) ||
26226 (gtk_minor_version != $gtk_config_minor_version) ||
26227 (gtk_micro_version != $gtk_config_micro_version))
26229 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26230 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26231 gtk_major_version, gtk_minor_version, gtk_micro_version);
26232 printf ("*** was found! If gtk-config was correct, then it is best\n");
26233 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26234 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26235 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26236 printf("*** required on your system.\n");
26237 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26238 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26239 printf("*** before re-running configure\n");
26241 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26242 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26243 (gtk_minor_version != GTK_MINOR_VERSION) ||
26244 (gtk_micro_version != GTK_MICRO_VERSION))
26246 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26247 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26248 printf("*** library (version %d.%d.%d)\n",
26249 gtk_major_version, gtk_minor_version, gtk_micro_version);
26251 #endif /* defined (GTK_MAJOR_VERSION) ... */
26254 if ((gtk_major_version > major) ||
26255 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26256 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26262 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26263 gtk_major_version, gtk_minor_version, gtk_micro_version);
26264 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26265 major, minor, micro);
26266 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26268 printf("*** If you have already installed a sufficiently new version, this error\n");
26269 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26270 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26271 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26272 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26273 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26274 printf("*** so that the correct libraries are found at run-time))\n");
26281 rm -f conftest
$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26294 echo "$as_me: program exited with status $ac_status" >&5
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.
$ac_ext >&5
26298 ( exit $ac_status )
26301 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26303 CFLAGS
="$ac_save_CFLAGS"
26304 LIBS
="$ac_save_LIBS"
26307 if test "x$no_gtk" = x
; then
26308 echo "$as_me:$LINENO: result: yes" >&5
26309 echo "${ECHO_T}yes" >&6
26310 wx_cv_lib_gtk
=1.2.7
26312 echo "$as_me:$LINENO: result: no" >&5
26313 echo "${ECHO_T}no" >&6
26314 if test "$GTK_CONFIG" = "no" ; then
26315 echo "*** The gtk-config script installed by GTK could not be found"
26316 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26317 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26318 echo "*** full path to gtk-config."
26320 if test -f conf.gtktest
; then
26323 echo "*** Could not run GTK test program, checking why..."
26324 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26325 LIBS
="$LIBS $GTK_LIBS"
26326 cat >conftest.
$ac_ext <<_ACEOF
26329 cat confdefs.h
>>conftest.
$ac_ext
26330 cat >>conftest.
$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26333 #include <gtk/gtk.h>
26339 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26344 rm -f conftest.
$ac_objext conftest
$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>conftest.er1
26348 grep -v '^ *+' conftest.er1
>conftest.err
26350 cat conftest.err
>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; } &&
26359 { ac_try
='test -s conftest$ac_exeext'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; }; then
26365 echo "*** The test program compiled, but did not run. This usually means"
26366 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26367 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26370 echo "*** is required on your system"
26372 echo "*** If you have an old version installed, it is best to remove it, although"
26373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26375 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26376 echo "*** came with the system with the command"
26378 echo "*** rpm --erase --nodeps gtk gtk-devel"
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26383 echo "*** The test program failed to compile or link. See the file config.log for the"
26384 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26385 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26386 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26388 rm -f conftest.err conftest.
$ac_objext \
26389 conftest
$ac_exeext conftest.
$ac_ext
26390 CFLAGS
="$ac_save_CFLAGS"
26391 LIBS
="$ac_save_LIBS"
26403 if test -z "$wx_cv_lib_gtk"; then
26405 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26406 if test "${with_gtk_prefix+set}" = set; then
26407 withval
="$with_gtk_prefix"
26408 gtk_config_prefix
="$withval"
26410 gtk_config_prefix
=""
26413 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26414 if test "${with_gtk_exec_prefix+set}" = set; then
26415 withval
="$with_gtk_exec_prefix"
26416 gtk_config_exec_prefix
="$withval"
26418 gtk_config_exec_prefix
=""
26420 # Check whether --enable-gtktest or --disable-gtktest was given.
26421 if test "${enable_gtktest+set}" = set; then
26422 enableval
="$enable_gtktest"
26428 for module
in .
$GTK_MODULES
26432 gtk_config_args
="$gtk_config_args gthread"
26437 if test x
$gtk_config_exec_prefix != x
; then
26438 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26439 if test x
${GTK_CONFIG+set} != xset
; then
26440 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26443 if test x
$gtk_config_prefix != x
; then
26444 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26445 if test x
${GTK_CONFIG+set} != xset
; then
26446 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26450 # Extract the first word of "gtk-config", so it can be a program name with args.
26451 set dummy gtk
-config; ac_word
=$2
26452 echo "$as_me:$LINENO: checking for $ac_word" >&5
26453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26454 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 case $GTK_CONFIG in
26459 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26463 for as_dir
in $PATH
26466 test -z "$as_dir" && as_dir
=.
26467 for ac_exec_ext
in '' $ac_executable_extensions; do
26468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26469 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26476 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26480 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26482 if test -n "$GTK_CONFIG"; then
26483 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26484 echo "${ECHO_T}$GTK_CONFIG" >&6
26486 echo "$as_me:$LINENO: result: no" >&5
26487 echo "${ECHO_T}no" >&6
26490 min_gtk_version
=1.2.3
26491 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26492 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26494 if test "$GTK_CONFIG" = "no" ; then
26497 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26498 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26499 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26501 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26503 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26505 if test "x$enable_gtktest" = "xyes" ; then
26506 ac_save_CFLAGS
="$CFLAGS"
26507 ac_save_LIBS
="$LIBS"
26508 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26509 LIBS
="$GTK_LIBS $LIBS"
26511 if test "$cross_compiling" = yes; then
26512 echo $ac_n "cross compiling; assumed OK... $ac_c"
26514 cat >conftest.
$ac_ext <<_ACEOF
26517 cat confdefs.h
>>conftest.
$ac_ext
26518 cat >>conftest.
$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26521 #include <gtk/gtk.h>
26523 #include <stdlib.h>
26528 int major, minor, micro;
26531 system ("touch conf.gtktest");
26533 /* HP/UX 9 (%@#!) writes to sscanf strings */
26534 tmp_version = g_strdup("$min_gtk_version");
26535 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26536 printf("%s, bad version string\n", "$min_gtk_version");
26540 if ((gtk_major_version != $gtk_config_major_version) ||
26541 (gtk_minor_version != $gtk_config_minor_version) ||
26542 (gtk_micro_version != $gtk_config_micro_version))
26544 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26545 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26546 gtk_major_version, gtk_minor_version, gtk_micro_version);
26547 printf ("*** was found! If gtk-config was correct, then it is best\n");
26548 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26549 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26550 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26551 printf("*** required on your system.\n");
26552 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26553 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26554 printf("*** before re-running configure\n");
26556 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26557 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26558 (gtk_minor_version != GTK_MINOR_VERSION) ||
26559 (gtk_micro_version != GTK_MICRO_VERSION))
26561 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26562 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26563 printf("*** library (version %d.%d.%d)\n",
26564 gtk_major_version, gtk_minor_version, gtk_micro_version);
26566 #endif /* defined (GTK_MAJOR_VERSION) ... */
26569 if ((gtk_major_version > major) ||
26570 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26571 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26577 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26578 gtk_major_version, gtk_minor_version, gtk_micro_version);
26579 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26580 major, minor, micro);
26581 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26583 printf("*** If you have already installed a sufficiently new version, this error\n");
26584 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26585 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26586 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26587 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26588 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26589 printf("*** so that the correct libraries are found at run-time))\n");
26596 rm -f conftest
$ac_exeext
26597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26598 (eval $ac_link) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26609 echo "$as_me: program exited with status $ac_status" >&5
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.
$ac_ext >&5
26613 ( exit $ac_status )
26616 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26618 CFLAGS
="$ac_save_CFLAGS"
26619 LIBS
="$ac_save_LIBS"
26622 if test "x$no_gtk" = x
; then
26623 echo "$as_me:$LINENO: result: yes" >&5
26624 echo "${ECHO_T}yes" >&6
26625 wx_cv_lib_gtk
=1.2.3
26627 echo "$as_me:$LINENO: result: no" >&5
26628 echo "${ECHO_T}no" >&6
26629 if test "$GTK_CONFIG" = "no" ; then
26630 echo "*** The gtk-config script installed by GTK could not be found"
26631 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26632 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26633 echo "*** full path to gtk-config."
26635 if test -f conf.gtktest
; then
26638 echo "*** Could not run GTK test program, checking why..."
26639 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26640 LIBS
="$LIBS $GTK_LIBS"
26641 cat >conftest.
$ac_ext <<_ACEOF
26644 cat confdefs.h
>>conftest.
$ac_ext
26645 cat >>conftest.
$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26648 #include <gtk/gtk.h>
26654 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26659 rm -f conftest.
$ac_objext conftest
$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661 (eval $ac_link) 2>conftest.er1
26663 grep -v '^ *+' conftest.er1
>conftest.err
26665 cat conftest.err
>&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; } &&
26674 { ac_try
='test -s conftest$ac_exeext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 echo "*** The test program compiled, but did not run. This usually means"
26681 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26682 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26683 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26684 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26685 echo "*** is required on your system"
26687 echo "*** If you have an old version installed, it is best to remove it, although"
26688 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26690 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26691 echo "*** came with the system with the command"
26693 echo "*** rpm --erase --nodeps gtk gtk-devel"
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.
$ac_ext >&5
26698 echo "*** The test program failed to compile or link. See the file config.log for the"
26699 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26700 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26701 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26703 rm -f conftest.err conftest.
$ac_objext \
26704 conftest
$ac_exeext conftest.
$ac_ext
26705 CFLAGS
="$ac_save_CFLAGS"
26706 LIBS
="$ac_save_LIBS"
26721 if test -z "$wx_cv_lib_gtk"; then
26724 wx_cv_cflags_gtk
=$GTK_CFLAGS
26725 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26732 if test "$gtk_version_cached" = 1; then
26733 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26734 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26737 case "$wx_cv_lib_gtk" in
26746 *) { { echo "$as_me:$LINENO: error:
26747 The development files for GTK+ were not found. For GTK+ 2, please
26748 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26749 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26750 and that the version is 1.2.3 or above. Also check that the
26751 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26752 --libs' are in the LD_LIBRARY_PATH or equivalent.
26754 echo "$as_me: error:
26755 The development files for GTK+ were not found. For GTK+ 2, please
26756 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26757 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26758 and that the version is 1.2.3 or above. Also check that the
26759 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26760 --libs' are in the LD_LIBRARY_PATH or equivalent.
26762 { (exit 1); exit 1; }; }
26766 if test "$WXGTK20" = 1; then
26767 save_CFLAGS
="$CFLAGS"
26769 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26770 LIBS
="$LIBS $wx_cv_libs_gtk"
26772 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26773 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26774 cat >conftest.
$ac_ext <<_ACEOF
26777 cat confdefs.h
>>conftest.
$ac_ext
26778 cat >>conftest.
$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26781 #include <gtk/gtk.h>
26787 void *f = gtk_icon_size_lookup;
26793 rm -f conftest.
$ac_objext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26795 (eval $ac_compile) 2>conftest.er1
26797 grep -v '^ *+' conftest.er1
>conftest.err
26799 cat conftest.err
>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try
='test -s conftest.$ac_objext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
26815 echo "$as_me:$LINENO: result: no" >&5
26816 echo "${ECHO_T}no" >&6
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.
$ac_ext >&5
26823 cat >>confdefs.h
<<\_ACEOF
26824 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26827 echo "$as_me:$LINENO: result: yes" >&5
26828 echo "${ECHO_T}yes" >&6
26831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26833 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26834 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26835 cat >conftest.
$ac_ext <<_ACEOF
26838 cat confdefs.h
>>conftest.
$ac_ext
26839 cat >>conftest.
$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26842 #include <gtk/gtk.h>
26848 #if !GTK_CHECK_VERSION(2,4,0)
26856 rm -f conftest.
$ac_objext
26857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26858 (eval $ac_compile) 2>conftest.er1
26860 grep -v '^ *+' conftest.er1
>conftest.err
26862 cat conftest.err
>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } &&
26865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; } &&
26871 { ac_try
='test -s conftest.$ac_objext'
26872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26873 (eval $ac_try) 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26878 cat >>confdefs.h
<<\_ACEOF
26879 #define __WXGTK24__ 1
26882 echo "$as_me:$LINENO: result: yes" >&5
26883 echo "${ECHO_T}yes" >&6
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.
$ac_ext >&5
26890 echo "$as_me:$LINENO: result: no" >&5
26891 echo "${ECHO_T}no" >&6
26894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26896 CFLAGS
="$save_CFLAGS"
26899 if test "$wxUSE_UNICODE" = "yes"; then
26900 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26901 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26906 if test "$USE_DARWIN" != 1; then
26908 for ac_func
in poll
26910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26911 echo "$as_me:$LINENO: checking for $ac_func" >&5
26912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26913 if eval "test \"\${$as_ac_var+set}\" = set"; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 cat >conftest.
$ac_ext <<_ACEOF
26919 cat confdefs.h
>>conftest.
$ac_ext
26920 cat >>conftest.
$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26924 #define $ac_func innocuous_$ac_func
26926 /* System header to define __stub macros and hopefully few prototypes,
26927 which can conflict with char $ac_func (); below.
26928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26929 <limits.h> exists even on freestanding compilers. */
26932 # include <limits.h>
26934 # include <assert.h>
26939 /* Override any gcc2 internal prototype to avoid an error. */
26944 /* We use char because int might match the return type of a gcc2
26945 builtin and then its argument prototype would still apply. */
26947 /* The GNU C library defines this for functions which it implements
26948 to always fail with ENOSYS. Some functions are actually named
26949 something starting with __ and the normal name is an alias. */
26950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26953 char (*f) () = $ac_func;
26962 return f != $ac_func;
26967 rm -f conftest.
$ac_objext conftest
$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>conftest.er1
26971 grep -v '^ *+' conftest.er1
>conftest.err
26973 cat conftest.err
>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try
='test -s conftest$ac_exeext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 eval "$as_ac_var=yes"
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.
$ac_ext >&5
26993 eval "$as_ac_var=no"
26995 rm -f conftest.err conftest.
$ac_objext \
26996 conftest
$ac_exeext conftest.
$ac_ext
26998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27000 if test `eval echo '${'$as_ac_var'}'` = yes; then
27001 cat >>confdefs.h
<<_ACEOF
27002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27010 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27011 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27013 AFMINSTALL
=afminstall
27017 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27018 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27019 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 ac_check_lib_save_LIBS
=$LIBS
27024 cat >conftest.
$ac_ext <<_ACEOF
27027 cat confdefs.h
>>conftest.
$ac_ext
27028 cat >>conftest.
$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27031 /* Override any gcc2 internal prototype to avoid an error. */
27035 /* We use char because int might match the return type of a gcc2
27036 builtin and then its argument prototype would still apply. */
27037 char gdk_im_open ();
27046 rm -f conftest.
$ac_objext conftest
$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048 (eval $ac_link) 2>conftest.er1
27050 grep -v '^ *+' conftest.er1
>conftest.err
27052 cat conftest.err
>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try
='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_gdk_gdk_im_open
=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.
$ac_ext >&5
27072 ac_cv_lib_gdk_gdk_im_open
=no
27074 rm -f conftest.err conftest.
$ac_objext \
27075 conftest
$ac_exeext conftest.
$ac_ext
27076 LIBS
=$ac_check_lib_save_LIBS
27078 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27079 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27080 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27081 cat >>confdefs.h
<<\_ACEOF
27089 if test "$wxUSE_GPE" = "yes"; then
27090 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27091 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27094 for ac_dir
in $SEARCH_LIB;
27096 for ac_extension
in a so sl dylib dll.a
; do
27097 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27098 ac_find_libraries
=$ac_dir
27104 if test "$ac_find_libraries" != "" ; then
27106 if test "$ac_find_libraries" = "default location"; then
27109 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27111 if test $result = 0; then
27114 ac_path_to_link
=" -L$ac_find_libraries"
27118 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27120 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27121 echo "${ECHO_T}found in $ac_find_libraries" >&6
27123 echo "$as_me:$LINENO: result: not found" >&5
27124 echo "${ECHO_T}not found" >&6
27130 if test "$wxUSE_MGL" = 1; then
27131 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27132 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27133 if test "x$MGL_ROOT" = x
; then
27134 echo "$as_me:$LINENO: result: not found" >&5
27135 echo "${ECHO_T}not found" >&6
27136 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27137 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27138 { (exit 1); exit 1; }; }
27140 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27141 echo "${ECHO_T}$MGL_ROOT" >&6
27144 echo "$as_me:$LINENO: checking for libmgl location" >&5
27145 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27148 if test "x$wxUSE_SHARED" = xyes
; then
27149 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27151 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27155 mgl_os_candidates
="dos32/dj2"
27158 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27159 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27160 { (exit 1); exit 1; }; }
27166 for mgl_os_i
in $mgl_os_candidates ; do
27167 if test "x$mgl_os" = x
; then
27168 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27169 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27170 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27175 if test "x$mgl_lib_type" = x
; then
27176 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27177 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27178 mgl_lib_type
=release
27185 if test "x$mgl_os" = x
; then
27186 echo "$as_me:$LINENO: result: not found" >&5
27187 echo "${ECHO_T}not found" >&6
27188 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27189 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27190 { (exit 1); exit 1; }; }
27192 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27193 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27195 wxUSE_UNIVERSAL
="yes"
27197 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27198 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27200 AFMINSTALL
=afminstall
27205 if test "$wxUSE_MICROWIN" = 1; then
27206 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27207 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27208 if test "x$MICROWINDOWS" = x
; then
27209 echo "$as_me:$LINENO: result: not found" >&5
27210 echo "${ECHO_T}not found" >&6
27211 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27212 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27213 { (exit 1); exit 1; }; }
27215 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27216 echo "${ECHO_T}$MICROWINDOWS" >&6
27219 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27220 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27221 echo "${ECHO_T}MicroWindows' libraries found." >&6
27223 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27224 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27225 { (exit 1); exit 1; }; }
27228 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27229 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27231 wxUSE_UNIVERSAL
="yes"
27233 AFMINSTALL
=afminstall
27235 GUIDIST
=MICROWIN_DIST
27237 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27240 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27242 if test "x$ac_path_x_has_been_run" != xyes
; then
27243 echo "$as_me:$LINENO: checking for X" >&5
27244 echo $ECHO_N "checking for X... $ECHO_C" >&6
27246 ac_path_x_has_been_run
=yes
27248 # Check whether --with-x or --without-x was given.
27249 if test "${with_x+set}" = set; then
27253 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27254 if test "x$with_x" = xno
; then
27255 # The user explicitly disabled X.
27258 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27259 # Both variables are already set.
27262 if test "${ac_cv_have_x+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 # One or both of the vars are not set, and there is no cached value.
27266 ac_x_includes
=no ac_x_libraries
=no
27267 rm -fr conftest.dir
27268 if mkdir conftest.dir
; then
27270 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27271 cat >Imakefile
<<'_ACEOF'
27273 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27275 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27277 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27278 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27279 for ac_extension
in a so sl
; do
27280 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27281 test -f $ac_im_libdir/libX11.
$ac_extension; then
27282 ac_im_usrlibdir
=$ac_im_libdir; break
27285 # Screen out bogus values from the imake configuration. They are
27286 # bogus both because they are the default anyway, and because
27287 # using them would break gcc on systems where it needs fixed includes.
27288 case $ac_im_incroot in
27290 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27292 case $ac_im_usrlibdir in
27293 /usr
/lib
| /lib
) ;;
27294 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27298 rm -fr conftest.dir
27301 # Standard set of common directories for X headers.
27302 # Check X11 before X11Rn because it is often a symlink to the current release.
27314 /usr/local/X11/include
27315 /usr/local/X11R6/include
27316 /usr/local/X11R5/include
27317 /usr/local/X11R4/include
27319 /usr/local/include/X11
27320 /usr/local/include/X11R6
27321 /usr/local/include/X11R5
27322 /usr/local/include/X11R4
27326 /usr/XFree86/include/X11
27330 /usr/unsupported/include
27331 /usr/athena/include
27332 /usr/local/x11r5/include
27333 /usr/lpp/Xamples/include
27335 /usr/openwin/include
27336 /usr/openwin/share/include'
27338 if test "$ac_x_includes" = no
; then
27339 # Guess where to find include files, by looking for a specified header file.
27340 # First, try using that file with no special directory specified.
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 #include <X11/Intrinsic.h>
27349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27352 grep -v '^ *+' conftest.er1
>conftest.err
27354 cat conftest.err
>&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } >/dev
/null
; then
27357 if test -s conftest.err
; then
27358 ac_cpp_err
=$ac_c_preproc_warn_flag
27359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27366 if test -z "$ac_cpp_err"; then
27367 # We can compile using X headers with no special include directory.
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.
$ac_ext >&5
27373 for ac_dir
in $ac_x_header_dirs; do
27374 if test -r "$ac_dir/X11/Intrinsic.h"; then
27375 ac_x_includes
=$ac_dir
27380 rm -f conftest.err conftest.
$ac_ext
27381 fi # $ac_x_includes = no
27383 if test "$ac_x_libraries" = no
; then
27384 # Check for the libraries.
27385 # See if we find them without any special options.
27386 # Don't add to $LIBS permanently.
27389 cat >conftest.
$ac_ext <<_ACEOF
27392 cat confdefs.h
>>conftest.
$ac_ext
27393 cat >>conftest.
$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <X11/Intrinsic.h>
27404 rm -f conftest.
$ac_objext conftest
$ac_exeext
27405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27406 (eval $ac_link) 2>conftest.er1
27408 grep -v '^ *+' conftest.er1
>conftest.err
27410 cat conftest.err
>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } &&
27413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; } &&
27419 { ac_try
='test -s conftest$ac_exeext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27426 # We can link X programs with no special library path.
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.
$ac_ext >&5
27433 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27435 # Don't even attempt the hair of trying to link an X program!
27436 for ac_extension
in a so sl
; do
27437 if test -r $ac_dir/libXt.
$ac_extension; then
27438 ac_x_libraries
=$ac_dir
27444 rm -f conftest.err conftest.
$ac_objext \
27445 conftest
$ac_exeext conftest.
$ac_ext
27446 fi # $ac_x_libraries = no
27448 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27449 # Didn't find X anywhere. Cache the known absence of X.
27450 ac_cv_have_x
="have_x=no"
27452 # Record where we found X for the cache.
27453 ac_cv_have_x
="have_x=yes \
27454 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27459 eval "$ac_cv_have_x"
27462 if test "$have_x" != yes; then
27463 echo "$as_me:$LINENO: result: $have_x" >&5
27464 echo "${ECHO_T}$have_x" >&6
27467 # If each of the values was on the command line, it overrides each guess.
27468 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27469 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27470 # Update the cache value to reflect the command line values.
27471 ac_cv_have_x
="have_x=yes \
27472 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27473 # It might be that x_includes is empty (headers are found in the
27474 # standard search path. Then output the corresponding message
27475 ac_out_x_includes
=$x_includes
27476 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
27477 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27478 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27482 if test "$no_x" = yes; then
27483 # Not all programs may use this symbol, but it does not hurt to define it.
27485 cat >>confdefs.h
<<\_ACEOF
27486 #define X_DISPLAY_MISSING 1
27489 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27491 if test -n "$x_includes"; then
27492 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27495 # It would also be nice to do this for all -L options, not just this one.
27496 if test -n "$x_libraries"; then
27497 X_LIBS
="$X_LIBS -L$x_libraries"
27498 # For Solaris; some versions of Sun CC require a space after -R and
27499 # others require no space. Words are not sufficient . . . .
27500 case `(uname -sr) 2>/dev/null` in
27502 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27503 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27504 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27505 cat >conftest.
$ac_ext <<_ACEOF
27508 cat confdefs.h
>>conftest.
$ac_ext
27509 cat >>conftest.
$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27520 rm -f conftest.
$ac_objext conftest
$ac_exeext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27522 (eval $ac_link) 2>conftest.er1
27524 grep -v '^ *+' conftest.er1
>conftest.err
27526 cat conftest.err
>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27531 (eval $ac_try) 2>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; } &&
27535 { ac_try
='test -s conftest$ac_exeext'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; }; then
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.
$ac_ext >&5
27548 rm -f conftest.err conftest.
$ac_objext \
27549 conftest
$ac_exeext conftest.
$ac_ext
27550 if test $ac_R_nospace = yes; then
27551 echo "$as_me:$LINENO: result: no" >&5
27552 echo "${ECHO_T}no" >&6
27553 X_LIBS
="$X_LIBS -R$x_libraries"
27555 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27556 cat >conftest.
$ac_ext <<_ACEOF
27559 cat confdefs.h
>>conftest.
$ac_ext
27560 cat >>conftest.
$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27571 rm -f conftest.
$ac_objext conftest
$ac_exeext
27572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27573 (eval $ac_link) 2>conftest.er1
27575 grep -v '^ *+' conftest.er1
>conftest.err
27577 cat conftest.err
>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } &&
27580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try
='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.
$ac_ext >&5
27599 rm -f conftest.err conftest.
$ac_objext \
27600 conftest
$ac_exeext conftest.
$ac_ext
27601 if test $ac_R_space = yes; then
27602 echo "$as_me:$LINENO: result: yes" >&5
27603 echo "${ECHO_T}yes" >&6
27604 X_LIBS
="$X_LIBS -R $x_libraries"
27606 echo "$as_me:$LINENO: result: neither works" >&5
27607 echo "${ECHO_T}neither works" >&6
27610 LIBS
=$ac_xsave_LIBS
27614 # Check for system-dependent libraries X programs must link with.
27615 # Do this before checking for the system-independent R6 libraries
27616 # (-lICE), since we may need -lsocket or whatever for X linking.
27618 if test "$ISC" = yes; then
27619 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27621 # Martyn Johnson says this is needed for Ultrix, if the X
27622 # libraries were built with DECnet support. And Karl Berry says
27623 # the Alpha needs dnet_stub (dnet does not exist).
27624 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27632 /* Override any gcc2 internal prototype to avoid an error. */
27636 /* We use char because int might match the return type of a gcc2
27637 builtin and then its argument prototype would still apply. */
27638 char XOpenDisplay ();
27647 rm -f conftest.
$ac_objext conftest
$ac_exeext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27649 (eval $ac_link) 2>conftest.er1
27651 grep -v '^ *+' conftest.er1
>conftest.err
27653 cat conftest.err
>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } &&
27656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; } &&
27662 { ac_try
='test -s conftest$ac_exeext'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; }; then
27670 echo "$as_me: failed program was:" >&5
27671 sed 's/^/| /' conftest.
$ac_ext >&5
27673 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27674 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27675 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27678 ac_check_lib_save_LIBS
=$LIBS
27679 LIBS
="-ldnet $LIBS"
27680 cat >conftest.
$ac_ext <<_ACEOF
27683 cat confdefs.h
>>conftest.
$ac_ext
27684 cat >>conftest.
$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27687 /* Override any gcc2 internal prototype to avoid an error. */
27691 /* We use char because int might match the return type of a gcc2
27692 builtin and then its argument prototype would still apply. */
27702 rm -f conftest.
$ac_objext conftest
$ac_exeext
27703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27704 (eval $ac_link) 2>conftest.er1
27706 grep -v '^ *+' conftest.er1
>conftest.err
27708 cat conftest.err
>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try
='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_lib_dnet_dnet_ntoa
=yes
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.
$ac_ext >&5
27728 ac_cv_lib_dnet_dnet_ntoa
=no
27730 rm -f conftest.err conftest.
$ac_objext \
27731 conftest
$ac_exeext conftest.
$ac_ext
27732 LIBS
=$ac_check_lib_save_LIBS
27734 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27735 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27736 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27737 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27740 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27741 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27742 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27743 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 ac_check_lib_save_LIBS
=$LIBS
27747 LIBS
="-ldnet_stub $LIBS"
27748 cat >conftest.
$ac_ext <<_ACEOF
27751 cat confdefs.h
>>conftest.
$ac_ext
27752 cat >>conftest.
$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27755 /* Override any gcc2 internal prototype to avoid an error. */
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27770 rm -f conftest.
$ac_objext conftest
$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>conftest.er1
27774 grep -v '^ *+' conftest.er1
>conftest.err
27776 cat conftest.err
>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try
='test -s conftest$ac_exeext'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; }; then
27791 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.
$ac_ext >&5
27796 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27798 rm -f conftest.err conftest.
$ac_objext \
27799 conftest
$ac_exeext conftest.
$ac_ext
27800 LIBS
=$ac_check_lib_save_LIBS
27802 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27803 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27804 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27805 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27810 rm -f conftest.err conftest.
$ac_objext \
27811 conftest
$ac_exeext conftest.
$ac_ext
27812 LIBS
="$ac_xsave_LIBS"
27814 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27815 # to get the SysV transport functions.
27816 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27818 # The nsl library prevents programs from opening the X display
27819 # on Irix 5.2, according to T.E. Dickey.
27820 # The functions gethostbyname, getservbyname, and inet_addr are
27821 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27822 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27823 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27824 if test "${ac_cv_func_gethostbyname+set}" = set; then
27825 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 cat >conftest.
$ac_ext <<_ACEOF
27830 cat confdefs.h
>>conftest.
$ac_ext
27831 cat >>conftest.
$ac_ext <<_ACEOF
27832 /* end confdefs.h. */
27833 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27835 #define gethostbyname innocuous_gethostbyname
27837 /* System header to define __stub macros and hopefully few prototypes,
27838 which can conflict with char gethostbyname (); below.
27839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27840 <limits.h> exists even on freestanding compilers. */
27843 # include <limits.h>
27845 # include <assert.h>
27848 #undef gethostbyname
27850 /* Override any gcc2 internal prototype to avoid an error. */
27855 /* We use char because int might match the return type of a gcc2
27856 builtin and then its argument prototype would still apply. */
27857 char gethostbyname ();
27858 /* The GNU C library defines this for functions which it implements
27859 to always fail with ENOSYS. Some functions are actually named
27860 something starting with __ and the normal name is an alias. */
27861 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27864 char (*f) () = gethostbyname;
27873 return f != gethostbyname;
27878 rm -f conftest.
$ac_objext conftest
$ac_exeext
27879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27880 (eval $ac_link) 2>conftest.er1
27882 grep -v '^ *+' conftest.er1
>conftest.err
27884 cat conftest.err
>&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } &&
27887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } &&
27893 { ac_try
='test -s conftest$ac_exeext'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; }; then
27899 ac_cv_func_gethostbyname
=yes
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.
$ac_ext >&5
27904 ac_cv_func_gethostbyname
=no
27906 rm -f conftest.err conftest.
$ac_objext \
27907 conftest
$ac_exeext conftest.
$ac_ext
27909 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27910 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27912 if test $ac_cv_func_gethostbyname = no
; then
27913 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27914 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27915 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 ac_check_lib_save_LIBS
=$LIBS
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27927 /* Override any gcc2 internal prototype to avoid an error. */
27931 /* We use char because int might match the return type of a gcc2
27932 builtin and then its argument prototype would still apply. */
27933 char gethostbyname ();
27942 rm -f conftest.
$ac_objext conftest
$ac_exeext
27943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27944 (eval $ac_link) 2>conftest.er1
27946 grep -v '^ *+' conftest.er1
>conftest.err
27948 cat conftest.err
>&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } &&
27951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try
='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_cv_lib_nsl_gethostbyname
=yes
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.
$ac_ext >&5
27968 ac_cv_lib_nsl_gethostbyname
=no
27970 rm -f conftest.err conftest.
$ac_objext \
27971 conftest
$ac_exeext conftest.
$ac_ext
27972 LIBS
=$ac_check_lib_save_LIBS
27974 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27975 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27976 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27980 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27981 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27982 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27983 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 ac_check_lib_save_LIBS
=$LIBS
27988 cat >conftest.
$ac_ext <<_ACEOF
27991 cat confdefs.h
>>conftest.
$ac_ext
27992 cat >>conftest.
$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27995 /* Override any gcc2 internal prototype to avoid an error. */
27999 /* We use char because int might match the return type of a gcc2
28000 builtin and then its argument prototype would still apply. */
28001 char gethostbyname ();
28010 rm -f conftest.
$ac_objext conftest
$ac_exeext
28011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28012 (eval $ac_link) 2>conftest.er1
28014 grep -v '^ *+' conftest.er1
>conftest.err
28016 cat conftest.err
>&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } &&
28019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try
='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 ac_cv_lib_bsd_gethostbyname
=yes
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.
$ac_ext >&5
28036 ac_cv_lib_bsd_gethostbyname
=no
28038 rm -f conftest.err conftest.
$ac_objext \
28039 conftest
$ac_exeext conftest.
$ac_ext
28040 LIBS
=$ac_check_lib_save_LIBS
28042 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28043 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28044 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28052 # socket/setsockopt and other routines are undefined under SCO ODT
28053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28054 # on later versions), says Simon Leinen: it contains gethostby*
28055 # variants that don't use the name server (or something). -lsocket
28056 # must be given before -lnsl if both are needed. We assume that
28057 # if connect needs -lnsl, so does gethostbyname.
28058 echo "$as_me:$LINENO: checking for connect" >&5
28059 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28060 if test "${ac_cv_func_connect+set}" = set; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28063 cat >conftest.
$ac_ext <<_ACEOF
28066 cat confdefs.h
>>conftest.
$ac_ext
28067 cat >>conftest.
$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28071 #define connect innocuous_connect
28073 /* System header to define __stub macros and hopefully few prototypes,
28074 which can conflict with char connect (); below.
28075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28076 <limits.h> exists even on freestanding compilers. */
28079 # include <limits.h>
28081 # include <assert.h>
28086 /* Override any gcc2 internal prototype to avoid an error. */
28091 /* We use char because int might match the return type of a gcc2
28092 builtin and then its argument prototype would still apply. */
28094 /* The GNU C library defines this for functions which it implements
28095 to always fail with ENOSYS. Some functions are actually named
28096 something starting with __ and the normal name is an alias. */
28097 #if defined (__stub_connect) || defined (__stub___connect)
28100 char (*f) () = connect;
28109 return f != connect;
28114 rm -f conftest.
$ac_objext conftest
$ac_exeext
28115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28116 (eval $ac_link) 2>conftest.er1
28118 grep -v '^ *+' conftest.er1
>conftest.err
28120 cat conftest.err
>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } &&
28123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try
='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 ac_cv_func_connect
=yes
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.
$ac_ext >&5
28140 ac_cv_func_connect
=no
28142 rm -f conftest.err conftest.
$ac_objext \
28143 conftest
$ac_exeext conftest.
$ac_ext
28145 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28146 echo "${ECHO_T}$ac_cv_func_connect" >&6
28148 if test $ac_cv_func_connect = no
; then
28149 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28150 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28151 if test "${ac_cv_lib_socket_connect+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28154 ac_check_lib_save_LIBS
=$LIBS
28155 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28156 cat >conftest.
$ac_ext <<_ACEOF
28159 cat confdefs.h
>>conftest.
$ac_ext
28160 cat >>conftest.
$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28163 /* Override any gcc2 internal prototype to avoid an error. */
28167 /* We use char because int might match the return type of a gcc2
28168 builtin and then its argument prototype would still apply. */
28178 rm -f conftest.
$ac_objext conftest
$ac_exeext
28179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28180 (eval $ac_link) 2>conftest.er1
28182 grep -v '^ *+' conftest.er1
>conftest.err
28184 cat conftest.err
>&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } &&
28187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28189 (eval $ac_try) 2>&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; } &&
28193 { ac_try
='test -s conftest$ac_exeext'
28194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28195 (eval $ac_try) 2>&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); }; }; then
28199 ac_cv_lib_socket_connect
=yes
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.
$ac_ext >&5
28204 ac_cv_lib_socket_connect
=no
28206 rm -f conftest.err conftest.
$ac_objext \
28207 conftest
$ac_exeext conftest.
$ac_ext
28208 LIBS
=$ac_check_lib_save_LIBS
28210 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28211 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28212 if test $ac_cv_lib_socket_connect = yes; then
28213 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28218 # Guillermo Gomez says -lposix is necessary on A/UX.
28219 echo "$as_me:$LINENO: checking for remove" >&5
28220 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28221 if test "${ac_cv_func_remove+set}" = set; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28224 cat >conftest.
$ac_ext <<_ACEOF
28227 cat confdefs.h
>>conftest.
$ac_ext
28228 cat >>conftest.
$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28232 #define remove innocuous_remove
28234 /* System header to define __stub macros and hopefully few prototypes,
28235 which can conflict with char remove (); below.
28236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28237 <limits.h> exists even on freestanding compilers. */
28240 # include <limits.h>
28242 # include <assert.h>
28247 /* Override any gcc2 internal prototype to avoid an error. */
28252 /* We use char because int might match the return type of a gcc2
28253 builtin and then its argument prototype would still apply. */
28255 /* The GNU C library defines this for functions which it implements
28256 to always fail with ENOSYS. Some functions are actually named
28257 something starting with __ and the normal name is an alias. */
28258 #if defined (__stub_remove) || defined (__stub___remove)
28261 char (*f) () = remove;
28270 return f != remove;
28275 rm -f conftest.
$ac_objext conftest
$ac_exeext
28276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28277 (eval $ac_link) 2>conftest.er1
28279 grep -v '^ *+' conftest.er1
>conftest.err
28281 cat conftest.err
>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } &&
28284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28286 (eval $ac_try) 2>&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; } &&
28290 { ac_try
='test -s conftest$ac_exeext'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; }; then
28296 ac_cv_func_remove
=yes
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.
$ac_ext >&5
28301 ac_cv_func_remove
=no
28303 rm -f conftest.err conftest.
$ac_objext \
28304 conftest
$ac_exeext conftest.
$ac_ext
28306 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28307 echo "${ECHO_T}$ac_cv_func_remove" >&6
28309 if test $ac_cv_func_remove = no
; then
28310 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28311 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28312 if test "${ac_cv_lib_posix_remove+set}" = set; then
28313 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 ac_check_lib_save_LIBS
=$LIBS
28316 LIBS
="-lposix $LIBS"
28317 cat >conftest.
$ac_ext <<_ACEOF
28320 cat confdefs.h
>>conftest.
$ac_ext
28321 cat >>conftest.
$ac_ext <<_ACEOF
28322 /* end confdefs.h. */
28324 /* Override any gcc2 internal prototype to avoid an error. */
28328 /* We use char because int might match the return type of a gcc2
28329 builtin and then its argument prototype would still apply. */
28339 rm -f conftest.
$ac_objext conftest
$ac_exeext
28340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28341 (eval $ac_link) 2>conftest.er1
28343 grep -v '^ *+' conftest.er1
>conftest.err
28345 cat conftest.err
>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } &&
28348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; } &&
28354 { ac_try
='test -s conftest$ac_exeext'
28355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28356 (eval $ac_try) 2>&5
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); }; }; then
28360 ac_cv_lib_posix_remove
=yes
28362 echo "$as_me: failed program was:" >&5
28363 sed 's/^/| /' conftest.
$ac_ext >&5
28365 ac_cv_lib_posix_remove
=no
28367 rm -f conftest.err conftest.
$ac_objext \
28368 conftest
$ac_exeext conftest.
$ac_ext
28369 LIBS
=$ac_check_lib_save_LIBS
28371 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28372 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28373 if test $ac_cv_lib_posix_remove = yes; then
28374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28379 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28380 echo "$as_me:$LINENO: checking for shmat" >&5
28381 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28382 if test "${ac_cv_func_shmat+set}" = set; then
28383 echo $ECHO_N "(cached) $ECHO_C" >&6
28385 cat >conftest.
$ac_ext <<_ACEOF
28388 cat confdefs.h
>>conftest.
$ac_ext
28389 cat >>conftest.
$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28391 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28393 #define shmat innocuous_shmat
28395 /* System header to define __stub macros and hopefully few prototypes,
28396 which can conflict with char shmat (); below.
28397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28398 <limits.h> exists even on freestanding compilers. */
28401 # include <limits.h>
28403 # include <assert.h>
28408 /* Override any gcc2 internal prototype to avoid an error. */
28413 /* We use char because int might match the return type of a gcc2
28414 builtin and then its argument prototype would still apply. */
28416 /* The GNU C library defines this for functions which it implements
28417 to always fail with ENOSYS. Some functions are actually named
28418 something starting with __ and the normal name is an alias. */
28419 #if defined (__stub_shmat) || defined (__stub___shmat)
28422 char (*f) () = shmat;
28436 rm -f conftest.
$ac_objext conftest
$ac_exeext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28438 (eval $ac_link) 2>conftest.er1
28440 grep -v '^ *+' conftest.er1
>conftest.err
28442 cat conftest.err
>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); } &&
28445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try
='test -s conftest$ac_exeext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_func_shmat
=yes
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.
$ac_ext >&5
28462 ac_cv_func_shmat
=no
28464 rm -f conftest.err conftest.
$ac_objext \
28465 conftest
$ac_exeext conftest.
$ac_ext
28467 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28468 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28470 if test $ac_cv_func_shmat = no
; then
28471 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28472 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28473 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28476 ac_check_lib_save_LIBS
=$LIBS
28478 cat >conftest.
$ac_ext <<_ACEOF
28481 cat confdefs.h
>>conftest.
$ac_ext
28482 cat >>conftest.
$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28485 /* Override any gcc2 internal prototype to avoid an error. */
28489 /* We use char because int might match the return type of a gcc2
28490 builtin and then its argument prototype would still apply. */
28500 rm -f conftest.
$ac_objext conftest
$ac_exeext
28501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28502 (eval $ac_link) 2>conftest.er1
28504 grep -v '^ *+' conftest.er1
>conftest.err
28506 cat conftest.err
>&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try
='test -s conftest$ac_exeext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 ac_cv_lib_ipc_shmat
=yes
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.
$ac_ext >&5
28526 ac_cv_lib_ipc_shmat
=no
28528 rm -f conftest.err conftest.
$ac_objext \
28529 conftest
$ac_exeext conftest.
$ac_ext
28530 LIBS
=$ac_check_lib_save_LIBS
28532 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28533 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28534 if test $ac_cv_lib_ipc_shmat = yes; then
28535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28541 # Check for libraries that X11R6 Xt/Xaw programs need.
28542 ac_save_LDFLAGS
=$LDFLAGS
28543 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28544 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28545 # check for ICE first), but we must link in the order -lSM -lICE or
28546 # we get undefined symbols. So assume we have SM if we have ICE.
28547 # These have to be linked with before -lX11, unlike the other
28548 # libraries we check for below, so use a different variable.
28549 # John Interrante, Karl Berry
28550 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28551 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28552 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28555 ac_check_lib_save_LIBS
=$LIBS
28556 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28557 cat >conftest.
$ac_ext <<_ACEOF
28560 cat confdefs.h
>>conftest.
$ac_ext
28561 cat >>conftest.
$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28564 /* Override any gcc2 internal prototype to avoid an error. */
28568 /* We use char because int might match the return type of a gcc2
28569 builtin and then its argument prototype would still apply. */
28570 char IceConnectionNumber ();
28574 IceConnectionNumber ();
28579 rm -f conftest.
$ac_objext conftest
$ac_exeext
28580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28581 (eval $ac_link) 2>conftest.er1
28583 grep -v '^ *+' conftest.er1
>conftest.err
28585 cat conftest.err
>&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } &&
28588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try
='test -s conftest$ac_exeext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 ac_cv_lib_ICE_IceConnectionNumber
=yes
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.
$ac_ext >&5
28605 ac_cv_lib_ICE_IceConnectionNumber
=no
28607 rm -f conftest.err conftest.
$ac_objext \
28608 conftest
$ac_exeext conftest.
$ac_ext
28609 LIBS
=$ac_check_lib_save_LIBS
28611 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28612 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28613 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28614 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28617 LDFLAGS
=$ac_save_LDFLAGS
28622 if test "$no_x" = "yes"; then
28623 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28624 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28625 { (exit 1); exit 1; }; }
28628 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28629 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28630 AFMINSTALL
=afminstall
28631 COMPILED_X_PROGRAM
=0
28635 if test "$wxUSE_X11" = 1; then
28636 if test "$wxUSE_NANOX" = "yes"; then
28637 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28638 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28639 if test "x$MICROWIN" = x
; then
28640 echo "$as_me:$LINENO: result: not found" >&5
28641 echo "${ECHO_T}not found" >&6
28642 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28643 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28644 { (exit 1); exit 1; }; }
28646 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28647 echo "${ECHO_T}$MICROWIN" >&6
28648 cat >>confdefs.h
<<\_ACEOF
28649 #define wxUSE_NANOX 1
28655 if test "$wxUSE_UNICODE" = "yes"; then
28659 if test -z "$PKG_CONFIG"; then
28660 # Extract the first word of "pkg-config", so it can be a program name with args.
28661 set dummy pkg
-config; ac_word
=$2
28662 echo "$as_me:$LINENO: checking for $ac_word" >&5
28663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28664 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 case $PKG_CONFIG in
28669 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28673 for as_dir
in $PATH
28676 test -z "$as_dir" && as_dir
=.
28677 for ac_exec_ext
in '' $ac_executable_extensions; do
28678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28679 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28692 if test -n "$PKG_CONFIG"; then
28693 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28694 echo "${ECHO_T}$PKG_CONFIG" >&6
28696 echo "$as_me:$LINENO: result: no" >&5
28697 echo "${ECHO_T}no" >&6
28702 if test "$PKG_CONFIG" = "no" ; then
28703 echo "*** The pkg-config script could not be found. Make sure it is"
28704 echo "*** in your path, or set the PKG_CONFIG environment variable"
28705 echo "*** to the full path to pkg-config."
28706 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28708 PKG_CONFIG_MIN_VERSION
=0.9.0
28709 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28710 echo "$as_me:$LINENO: checking for pangox" >&5
28711 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28713 if $PKG_CONFIG --exists "pangox" ; then
28714 echo "$as_me:$LINENO: result: yes" >&5
28715 echo "${ECHO_T}yes" >&6
28718 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28719 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28720 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28721 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28722 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28724 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28725 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28726 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28727 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28728 echo "${ECHO_T}$PANGOX_LIBS" >&6
28732 ## If we have a custom action on failure, don't print errors, but
28733 ## do set a variable so people can do so.
28734 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28741 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28742 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28746 if test $succeeded = yes; then
28748 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28749 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28753 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28754 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28755 { (exit 1); exit 1; }; }
28763 if test -z "$PKG_CONFIG"; then
28764 # Extract the first word of "pkg-config", so it can be a program name with args.
28765 set dummy pkg
-config; ac_word
=$2
28766 echo "$as_me:$LINENO: checking for $ac_word" >&5
28767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28771 case $PKG_CONFIG in
28773 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28777 for as_dir
in $PATH
28780 test -z "$as_dir" && as_dir
=.
28781 for ac_exec_ext
in '' $ac_executable_extensions; do
28782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28783 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28790 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28794 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28796 if test -n "$PKG_CONFIG"; then
28797 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28798 echo "${ECHO_T}$PKG_CONFIG" >&6
28800 echo "$as_me:$LINENO: result: no" >&5
28801 echo "${ECHO_T}no" >&6
28806 if test "$PKG_CONFIG" = "no" ; then
28807 echo "*** The pkg-config script could not be found. Make sure it is"
28808 echo "*** in your path, or set the PKG_CONFIG environment variable"
28809 echo "*** to the full path to pkg-config."
28810 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28812 PKG_CONFIG_MIN_VERSION
=0.9.0
28813 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28814 echo "$as_me:$LINENO: checking for pangoft2" >&5
28815 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28817 if $PKG_CONFIG --exists "pangoft2" ; then
28818 echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6
28822 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28823 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28824 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28825 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28826 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28828 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28829 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28830 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28831 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28832 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28836 ## If we have a custom action on failure, don't print errors, but
28837 ## do set a variable so people can do so.
28838 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28845 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28846 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28850 if test $succeeded = yes; then
28852 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28853 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28857 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28858 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28859 wxUSE_PRINTING_ARCHITECTURE
="no"
28867 if test -z "$PKG_CONFIG"; then
28868 # Extract the first word of "pkg-config", so it can be a program name with args.
28869 set dummy pkg
-config; ac_word
=$2
28870 echo "$as_me:$LINENO: checking for $ac_word" >&5
28871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28873 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 case $PKG_CONFIG in
28877 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28881 for as_dir
in $PATH
28884 test -z "$as_dir" && as_dir
=.
28885 for ac_exec_ext
in '' $ac_executable_extensions; do
28886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28887 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28898 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28900 if test -n "$PKG_CONFIG"; then
28901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28902 echo "${ECHO_T}$PKG_CONFIG" >&6
28904 echo "$as_me:$LINENO: result: no" >&5
28905 echo "${ECHO_T}no" >&6
28910 if test "$PKG_CONFIG" = "no" ; then
28911 echo "*** The pkg-config script could not be found. Make sure it is"
28912 echo "*** in your path, or set the PKG_CONFIG environment variable"
28913 echo "*** to the full path to pkg-config."
28914 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28916 PKG_CONFIG_MIN_VERSION
=0.9.0
28917 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28918 echo "$as_me:$LINENO: checking for pangoxft" >&5
28919 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28921 if $PKG_CONFIG --exists "pangoxft" ; then
28922 echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6
28926 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28927 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28928 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28929 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28930 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28932 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28933 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28934 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28935 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28936 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28940 ## If we have a custom action on failure, don't print errors, but
28941 ## do set a variable so people can do so.
28942 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28949 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28950 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28954 if test $succeeded = yes; then
28956 cat >>confdefs.h
<<\_ACEOF
28957 #define HAVE_PANGO_XFT 1
28960 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28965 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28966 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28971 save_CFLAGS
="$CFLAGS"
28973 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28974 LIBS
="$LIBS $PANGOX_LIBS"
28976 for ac_func
in pango_font_family_is_monospace
28978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28979 echo "$as_me:$LINENO: checking for $ac_func" >&5
28980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28981 if eval "test \"\${$as_ac_var+set}\" = set"; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28984 cat >conftest.
$ac_ext <<_ACEOF
28987 cat confdefs.h
>>conftest.
$ac_ext
28988 cat >>conftest.
$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
29000 # include <limits.h>
29002 # include <assert.h>
29007 /* Override any gcc2 internal prototype to avoid an error. */
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29021 char (*f) () = $ac_func;
29030 return f != $ac_func;
29035 rm -f conftest.
$ac_objext conftest
$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29039 grep -v '^ *+' conftest.er1
>conftest.err
29041 cat conftest.err
>&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try
='test -s conftest$ac_exeext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 eval "$as_ac_var=yes"
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.
$ac_ext >&5
29061 eval "$as_ac_var=no"
29063 rm -f conftest.err conftest.
$ac_objext \
29064 conftest
$ac_exeext conftest.
$ac_ext
29066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29068 if test `eval echo '${'$as_ac_var'}'` = yes; then
29069 cat >>confdefs.h
<<_ACEOF
29070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29076 CFLAGS
="$save_CFLAGS"
29080 wxUSE_UNIVERSAL
="yes"
29082 if test "$wxUSE_NANOX" = "yes"; then
29083 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29084 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"
29085 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29087 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29094 if test "$wxUSE_MOTIF" = 1; then
29095 if test "$wxUSE_UNICODE" = "yes"; then
29096 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29097 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29098 { (exit 1); exit 1; }; }
29101 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29102 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29105 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29107 if test -f "$ac_dir/Xm/Xm.h"; then
29108 ac_find_includes
=$ac_dir
29113 if test "$ac_find_includes" != "" ; then
29114 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29115 echo "${ECHO_T}found in $ac_find_includes" >&6
29117 if test "x$ac_find_includes" = "x/usr/include"; then
29118 ac_path_to_include
=""
29120 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29122 if test $result = 0; then
29123 ac_path_to_include
=""
29125 ac_path_to_include
=" -I$ac_find_includes"
29129 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29131 save_CFLAGS
=$CFLAGS
29132 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29134 cat >conftest.
$ac_ext <<_ACEOF
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29148 version = xmUseVersion;
29154 rm -f conftest.
$ac_objext
29155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29156 (eval $ac_compile) 2>conftest.er1
29158 grep -v '^ *+' conftest.er1
>conftest.err
29160 cat conftest.err
>&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); } &&
29163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; } &&
29169 { ac_try
='test -s conftest.$ac_objext'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29176 echo "$as_me:$LINENO: result: found in default search path" >&5
29177 echo "${ECHO_T}found in default search path" >&6
29178 COMPILED_X_PROGRAM
=1
29181 echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.
$ac_ext >&5
29185 echo "$as_me:$LINENO: result: no" >&5
29186 echo "${ECHO_T}no" >&6
29187 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29188 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29189 { (exit 1); exit 1; }; }
29193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29195 CFLAGS
=$save_CFLAGS
29199 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29200 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29203 for ac_dir
in $SEARCH_LIB;
29205 for ac_extension
in a so sl dylib dll.a
; do
29206 if test -f "$ac_dir/libXm.$ac_extension"; then
29207 ac_find_libraries
=$ac_dir
29214 if test "x$ac_find_libraries" != "x" ; then
29215 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29216 echo "${ECHO_T}found in $ac_find_libraries" >&6
29219 if test "$ac_find_libraries" = "default location"; then
29222 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29224 if test $result = 0; then
29227 ac_path_to_link
=" -L$ac_find_libraries"
29231 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29233 save_CFLAGS
=$CFLAGS
29234 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29236 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29238 cat >conftest.
$ac_ext <<_ACEOF
29241 cat confdefs.h
>>conftest.
$ac_ext
29242 cat >>conftest.
$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29252 version = xmUseVersion;
29258 rm -f conftest.
$ac_objext conftest
$ac_exeext
29259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29260 (eval $ac_link) 2>conftest.er1
29262 grep -v '^ *+' conftest.er1
>conftest.err
29264 cat conftest.err
>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } &&
29267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try
='test -s conftest$ac_exeext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29280 echo "$as_me:$LINENO: result: found in default search path" >&5
29281 echo "${ECHO_T}found in default search path" >&6
29282 COMPILED_X_PROGRAM
=1
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.
$ac_ext >&5
29289 echo "$as_me:$LINENO: result: no" >&5
29290 echo "${ECHO_T}no" >&6
29291 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29292 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29293 { (exit 1); exit 1; }; }
29297 rm -f conftest.err conftest.
$ac_objext \
29298 conftest
$ac_exeext conftest.
$ac_ext
29300 CFLAGS
=$save_CFLAGS
29304 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29305 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29309 for libp
in "" " -lXp"; do
29310 if test "$libs_found" = "0"; then
29311 for libsm_ice
in "" " -lSM -lICE"; do
29312 if test "$libs_found" = "0"; then
29314 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29315 save_CFLAGS
=$CFLAGS
29316 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29318 cat >conftest.
$ac_ext <<_ACEOF
29321 cat confdefs.h
>>conftest.
$ac_ext
29322 cat >>conftest.
$ac_ext <<_ACEOF
29323 /* end confdefs.h. */
29326 #include <Xm/List.h>
29332 XmString string = NULL;
29335 XmListAddItem(w, string, position);
29341 rm -f conftest.
$ac_objext conftest
$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343 (eval $ac_link) 2>conftest.er1
29345 grep -v '^ *+' conftest.er1
>conftest.err
29347 cat conftest.err
>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try
='test -s conftest$ac_exeext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29364 libsm_ice_link
="$libsm_ice"
29365 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29366 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.
$ac_ext >&5
29376 rm -f conftest.err conftest.
$ac_objext \
29377 conftest
$ac_exeext conftest.
$ac_ext
29380 CFLAGS
=$save_CFLAGS
29386 if test "$libs_found" = "0"; then
29387 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29388 echo "${ECHO_T}can't find the right libraries" >&6
29389 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29390 echo "$as_me: error: can't link a simple motif program" >&2;}
29391 { (exit 1); exit 1; }; }
29394 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29395 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29396 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 ac_check_lib_save_LIBS
=$LIBS
29401 cat >conftest.
$ac_ext <<_ACEOF
29404 cat confdefs.h
>>conftest.
$ac_ext
29405 cat >>conftest.
$ac_ext <<_ACEOF
29406 /* end confdefs.h. */
29408 /* Override any gcc2 internal prototype to avoid an error. */
29412 /* We use char because int might match the return type of a gcc2
29413 builtin and then its argument prototype would still apply. */
29414 char SgCreateList ();
29423 rm -f conftest.
$ac_objext conftest
$ac_exeext
29424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29425 (eval $ac_link) 2>conftest.er1
29427 grep -v '^ *+' conftest.er1
>conftest.err
29429 cat conftest.err
>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } &&
29432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29434 (eval $ac_try) 2>&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; } &&
29438 { ac_try
='test -s conftest$ac_exeext'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; }; then
29444 ac_cv_lib_Sgm_SgCreateList
=yes
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.
$ac_ext >&5
29449 ac_cv_lib_Sgm_SgCreateList
=no
29451 rm -f conftest.err conftest.
$ac_objext \
29452 conftest
$ac_exeext conftest.
$ac_ext
29453 LIBS
=$ac_check_lib_save_LIBS
29455 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29456 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29457 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29458 libsgm_link
=" -lSgm"
29462 save_CFLAGS
=$CFLAGS
29463 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29465 echo "$as_me:$LINENO: checking for Motif 2" >&5
29466 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29467 if test "${wx_cv_lib_motif2+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 cat >conftest.
$ac_ext <<_ACEOF
29473 cat confdefs.h
>>conftest.
$ac_ext
29474 cat >>conftest.
$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29483 #if XmVersion < 2000
29491 rm -f conftest.
$ac_objext
29492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29493 (eval $ac_compile) 2>conftest.er1
29495 grep -v '^ *+' conftest.er1
>conftest.err
29497 cat conftest.err
>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } &&
29500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; } &&
29506 { ac_try
='test -s conftest.$ac_objext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 wx_cv_lib_motif2
="yes"
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.
$ac_ext >&5
29517 wx_cv_lib_motif2
="no"
29519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29521 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29522 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29523 if test "$wx_cv_lib_motif2" = "yes"; then
29524 cat >>confdefs.h
<<\_ACEOF
29525 #define __WXMOTIF20__ 1
29529 cat >>confdefs.h
<<\_ACEOF
29530 #define __WXMOTIF20__ 0
29535 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29536 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29537 if test "${wx_cv_lib_lesstif+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29540 cat >conftest.
$ac_ext <<_ACEOF
29543 cat confdefs.h
>>conftest.
$ac_ext
29544 cat >>conftest.
$ac_ext <<_ACEOF
29545 /* end confdefs.h. */
29553 #if !defined(LesstifVersion) || LesstifVersion <= 0
29561 rm -f conftest.
$ac_objext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29563 (eval $ac_compile) 2>conftest.er1
29565 grep -v '^ *+' conftest.er1
>conftest.err
29567 cat conftest.err
>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } &&
29570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29572 (eval $ac_try) 2>&5
29574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575 (exit $ac_status); }; } &&
29576 { ac_try
='test -s conftest.$ac_objext'
29577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29578 (eval $ac_try) 2>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); }; }; then
29582 wx_cv_lib_lesstif
="yes"
29584 echo "$as_me: failed program was:" >&5
29585 sed 's/^/| /' conftest.
$ac_ext >&5
29587 wx_cv_lib_lesstif
="no"
29589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29592 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29593 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29594 if test "$wx_cv_lib_lesstif" = "yes"; then
29595 cat >>confdefs.h
<<\_ACEOF
29596 #define __WXLESSTIF__ 1
29600 cat >>confdefs.h
<<\_ACEOF
29601 #define __WXLESSTIF__ 0
29606 CFLAGS
=$save_CFLAGS
29608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29613 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29614 if test "$wxUSE_LIBXPM" = "sys"; then
29615 echo "$as_me:$LINENO: checking for Xpm library" >&5
29616 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29619 for ac_dir
in $SEARCH_LIB;
29621 for ac_extension
in a so sl dylib dll.a
; do
29622 if test -f "$ac_dir/libXpm.$ac_extension"; then
29623 ac_find_libraries
=$ac_dir
29629 if test "$ac_find_libraries" != "" ; then
29631 if test "$ac_find_libraries" = "default location"; then
29634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29636 if test $result = 0; then
29639 ac_path_to_link
=" -L$ac_find_libraries"
29643 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29644 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29645 echo "${ECHO_T}found in $ac_find_libraries" >&6
29647 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29648 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29649 if test "${wx_cv_x11_xpm_h+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29653 save_CFLAGS
=$CFLAGS
29654 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29656 cat >conftest.
$ac_ext <<_ACEOF
29659 cat confdefs.h
>>conftest.
$ac_ext
29660 cat >>conftest.
$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29663 #include <X11/xpm.h>
29670 version = XpmLibraryVersion();
29676 rm -f conftest.
$ac_objext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29678 (eval $ac_compile) 2>conftest.er1
29680 grep -v '^ *+' conftest.er1
>conftest.err
29682 cat conftest.err
>&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } &&
29685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try
='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_x11_xpm_h
=yes
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.
$ac_ext >&5
29705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29707 CFLAGS
=$save_CFLAGS
29711 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29712 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29714 if test $wx_cv_x11_xpm_h = "yes"; then
29715 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29716 cat >>confdefs.h
<<\_ACEOF
29717 #define wxHAVE_LIB_XPM 1
29721 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29722 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29728 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29729 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29730 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29731 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 ac_check_lib_save_LIBS
=$LIBS
29734 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29735 cat >conftest.
$ac_ext <<_ACEOF
29738 cat confdefs.h
>>conftest.
$ac_ext
29739 cat >>conftest.
$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29742 /* Override any gcc2 internal prototype to avoid an error. */
29746 /* We use char because int might match the return type of a gcc2
29747 builtin and then its argument prototype would still apply. */
29748 char XShapeQueryExtension ();
29752 XShapeQueryExtension ();
29757 rm -f conftest.
$ac_objext conftest
$ac_exeext
29758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29759 (eval $ac_link) 2>conftest.er1
29761 grep -v '^ *+' conftest.er1
>conftest.err
29763 cat conftest.err
>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); } &&
29766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; } &&
29772 { ac_try
='test -s conftest$ac_exeext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29778 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29780 echo "$as_me: failed program was:" >&5
29781 sed 's/^/| /' conftest.
$ac_ext >&5
29783 ac_cv_lib_Xext_XShapeQueryExtension
=no
29785 rm -f conftest.err conftest.
$ac_objext \
29786 conftest
$ac_exeext conftest.
$ac_ext
29787 LIBS
=$ac_check_lib_save_LIBS
29789 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29790 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29791 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29793 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29799 if test "$wxHAVE_XEXT_LIB" = 1; then
29800 save_CFLAGS
="$CFLAGS"
29801 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29803 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29804 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29805 cat >conftest.
$ac_ext <<_ACEOF
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29812 #include <X11/Xlib.h>
29813 #include <X11/extensions/shape.h>
29819 int dummy1, dummy2;
29820 XShapeQueryExtension((Display*)NULL,
29821 (int*)NULL, (int*)NULL);
29827 rm -f conftest.
$ac_objext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29829 (eval $ac_compile) 2>conftest.er1
29831 grep -v '^ *+' conftest.er1
>conftest.err
29833 cat conftest.err
>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try
='test -s conftest.$ac_objext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29849 cat >>confdefs.h
<<\_ACEOF
29850 #define HAVE_XSHAPE 1
29853 echo "$as_me:$LINENO: result: found" >&5
29854 echo "${ECHO_T}found" >&6
29857 echo "$as_me: failed program was:" >&5
29858 sed 's/^/| /' conftest.
$ac_ext >&5
29861 echo "$as_me:$LINENO: result: not found" >&5
29862 echo "${ECHO_T}not found" >&6
29865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29866 CFLAGS
="$save_CFLAGS"
29871 if test "$wxUSE_MAC" = 1; then
29872 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29873 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29874 if test "$GCC" = yes; then
29875 echo "$as_me:$LINENO: result: gcc" >&5
29876 echo "${ECHO_T}gcc" >&6
29877 CPPFLAGS_PASCAL
="-fpascal-strings"
29878 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29879 echo "$as_me:$LINENO: result: xlc" >&5
29880 echo "${ECHO_T}xlc" >&6
29881 CPPFLAGS_PASCAL
="-qmacpstr"
29883 echo "$as_me:$LINENO: result: none" >&5
29884 echo "${ECHO_T}none" >&6
29887 if test "x$wxUSE_UNIX" = "xyes"; then
29888 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29890 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29895 WXBASEPORT
="_carbon"
29898 if test "$wxUSE_COCOA" = 1; then
29903 if test "$wxUSE_PM" = 1; then
29906 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29907 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29908 if test "${wx_cv_spbcdata+set}" = set; then
29909 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 cat >conftest.
$ac_ext <<_ACEOF
29915 cat confdefs.h
>>conftest.
$ac_ext
29916 cat >>conftest.
$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29932 rm -f conftest.
$ac_objext
29933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29934 (eval $ac_compile) 2>conftest.er1
29936 grep -v '^ *+' conftest.er1
>conftest.err
29938 cat conftest.err
>&5
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); } &&
29941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; } &&
29947 { ac_try
='test -s conftest.$ac_objext'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; }; then
29955 echo "$as_me: failed program was:" >&5
29956 sed 's/^/| /' conftest.
$ac_ext >&5
29961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29965 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29966 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29968 if test $wx_cv_spbcdata = "yes"; then
29969 cat >>confdefs.h
<<\_ACEOF
29970 #define HAVE_SPBCDATA 1
29976 if test "$TOOLKIT" = "PM" ; then
29979 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29982 if test "$wxUSE_UNIVERSAL" = "yes"; then
29983 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29987 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29988 DISTDIR
="wx\$(TOOLKIT)"
29994 if test "$USE_WIN32" = 1 ; then
29998 GUIDIST
="BASE_DIST"
30003 if test "$wxUSE_GUI" = "yes"; then
30004 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30006 for ac_header
in X
11/Xlib.h
30008 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30010 echo "$as_me:$LINENO: checking for $ac_header" >&5
30011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30018 # Is the header compilable?
30019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30021 cat >conftest.
$ac_ext <<_ACEOF
30024 cat confdefs.h
>>conftest.
$ac_ext
30025 cat >>conftest.
$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30027 $ac_includes_default
30028 #include <$ac_header>
30030 rm -f conftest.
$ac_objext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30032 (eval $ac_compile) 2>conftest.er1
30034 grep -v '^ *+' conftest.er1
>conftest.err
30036 cat conftest.err
>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; } &&
30045 { ac_try
='test -s conftest.$ac_objext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 ac_header_compiler
=yes
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.
$ac_ext >&5
30056 ac_header_compiler
=no
30058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30060 echo "${ECHO_T}$ac_header_compiler" >&6
30062 # Is the header present?
30063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30065 cat >conftest.
$ac_ext <<_ACEOF
30068 cat confdefs.h
>>conftest.
$ac_ext
30069 cat >>conftest.
$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30071 #include <$ac_header>
30073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30076 grep -v '^ *+' conftest.er1
>conftest.err
30078 cat conftest.err
>&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } >/dev
/null
; then
30081 if test -s conftest.err
; then
30082 ac_cpp_err
=$ac_c_preproc_warn_flag
30083 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30090 if test -z "$ac_cpp_err"; then
30091 ac_header_preproc
=yes
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.
$ac_ext >&5
30096 ac_header_preproc
=no
30098 rm -f conftest.err conftest.
$ac_ext
30099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30100 echo "${ECHO_T}$ac_header_preproc" >&6
30102 # So? What about this header?
30103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30109 ac_header_preproc
=yes
30112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30126 ## ----------------------------------------- ##
30127 ## Report this to wx-dev@lists.wxwidgets.org ##
30128 ## ----------------------------------------- ##
30131 sed "s/^/$as_me: WARNING: /" >&2
30134 echo "$as_me:$LINENO: checking for $ac_header" >&5
30135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30137 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 eval "$as_ac_Header=\$ac_header_preproc"
30141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30146 cat >>confdefs.h
<<_ACEOF
30147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30155 for ac_header
in X
11/XKBlib.h
30157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30158 echo "$as_me:$LINENO: checking for $ac_header" >&5
30159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30163 cat >conftest.
$ac_ext <<_ACEOF
30166 cat confdefs.h
>>conftest.
$ac_ext
30167 cat >>conftest.
$ac_ext <<_ACEOF
30168 /* end confdefs.h. */
30170 #if HAVE_X11_XLIB_H
30171 #include <X11/Xlib.h>
30175 #include <$ac_header>
30177 rm -f conftest.
$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30181 grep -v '^ *+' conftest.er1
>conftest.err
30183 cat conftest.err
>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; } &&
30192 { ac_try
='test -s conftest.$ac_objext'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; }; then
30198 eval "$as_ac_Header=yes"
30200 echo "$as_me: failed program was:" >&5
30201 sed 's/^/| /' conftest.
$ac_ext >&5
30203 eval "$as_ac_Header=no"
30205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30210 cat >>confdefs.h
<<_ACEOF
30211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30226 if test "$TOOLKIT" != "MSW" ; then
30228 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30230 if test "${ac_cv_header_sql_h+set}" = set; then
30231 echo "$as_me:$LINENO: checking for sql.h" >&5
30232 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30233 if test "${ac_cv_header_sql_h+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30236 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30237 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30239 # Is the header compilable?
30240 echo "$as_me:$LINENO: checking sql.h usability" >&5
30241 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30242 cat >conftest.
$ac_ext <<_ACEOF
30245 cat confdefs.h
>>conftest.
$ac_ext
30246 cat >>conftest.
$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248 $ac_includes_default
30251 rm -f conftest.
$ac_objext
30252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30253 (eval $ac_compile) 2>conftest.er1
30255 grep -v '^ *+' conftest.er1
>conftest.err
30257 cat conftest.err
>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } &&
30260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; } &&
30266 { ac_try
='test -s conftest.$ac_objext'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; }; then
30272 ac_header_compiler
=yes
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.
$ac_ext >&5
30277 ac_header_compiler
=no
30279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30281 echo "${ECHO_T}$ac_header_compiler" >&6
30283 # Is the header present?
30284 echo "$as_me:$LINENO: checking sql.h presence" >&5
30285 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30286 cat >conftest.
$ac_ext <<_ACEOF
30289 cat confdefs.h
>>conftest.
$ac_ext
30290 cat >>conftest.
$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30297 grep -v '^ *+' conftest.er1
>conftest.err
30299 cat conftest.err
>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } >/dev
/null
; then
30302 if test -s conftest.err
; then
30303 ac_cpp_err
=$ac_c_preproc_warn_flag
30304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30311 if test -z "$ac_cpp_err"; then
30312 ac_header_preproc
=yes
30314 echo "$as_me: failed program was:" >&5
30315 sed 's/^/| /' conftest.
$ac_ext >&5
30317 ac_header_preproc
=no
30319 rm -f conftest.err conftest.
$ac_ext
30320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30321 echo "${ECHO_T}$ac_header_preproc" >&6
30323 # So? What about this header?
30324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30326 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30327 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30328 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30329 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30330 ac_header_preproc
=yes
30333 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30334 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30335 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30336 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30337 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30338 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30339 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30340 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30341 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30342 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30343 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30344 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30347 ## ----------------------------------------- ##
30348 ## Report this to wx-dev@lists.wxwidgets.org ##
30349 ## ----------------------------------------- ##
30352 sed "s/^/$as_me: WARNING: /" >&2
30355 echo "$as_me:$LINENO: checking for sql.h" >&5
30356 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30357 if test "${ac_cv_header_sql_h+set}" = set; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 ac_cv_header_sql_h
=$ac_header_preproc
30362 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30363 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30366 if test $ac_cv_header_sql_h = yes; then
30371 if test "x$found_sql_h" = "x1" ; then
30372 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30373 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30374 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30375 echo $ECHO_N "(cached) $ECHO_C" >&6
30377 ac_check_lib_save_LIBS
=$LIBS
30378 LIBS
="-liodbc $LIBS"
30379 cat >conftest.
$ac_ext <<_ACEOF
30382 cat confdefs.h
>>conftest.
$ac_ext
30383 cat >>conftest.
$ac_ext <<_ACEOF
30384 /* end confdefs.h. */
30386 /* Override any gcc2 internal prototype to avoid an error. */
30390 /* We use char because int might match the return type of a gcc2
30391 builtin and then its argument prototype would still apply. */
30392 char SQLAllocEnv ();
30401 rm -f conftest.
$ac_objext conftest
$ac_exeext
30402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30403 (eval $ac_link) 2>conftest.er1
30405 grep -v '^ *+' conftest.er1
>conftest.err
30407 cat conftest.err
>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); } &&
30410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; } &&
30416 { ac_try
='test -s conftest$ac_exeext'
30417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30418 (eval $ac_try) 2>&5
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); }; }; then
30422 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.
$ac_ext >&5
30427 ac_cv_lib_iodbc_SQLAllocEnv
=no
30429 rm -f conftest.err conftest.
$ac_objext \
30430 conftest
$ac_exeext conftest.
$ac_ext
30431 LIBS
=$ac_check_lib_save_LIBS
30433 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30434 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30435 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30436 ODBC_LINK
=" -liodbc"
30439 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30440 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30441 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30442 echo $ECHO_N "(cached) $ECHO_C" >&6
30444 ac_check_lib_save_LIBS
=$LIBS
30445 LIBS
="-lunixodbc $LIBS"
30446 cat >conftest.
$ac_ext <<_ACEOF
30449 cat confdefs.h
>>conftest.
$ac_ext
30450 cat >>conftest.
$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30453 /* Override any gcc2 internal prototype to avoid an error. */
30457 /* We use char because int might match the return type of a gcc2
30458 builtin and then its argument prototype would still apply. */
30459 char SQLAllocEnv ();
30468 rm -f conftest.
$ac_objext conftest
$ac_exeext
30469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30470 (eval $ac_link) 2>conftest.er1
30472 grep -v '^ *+' conftest.er1
>conftest.err
30474 cat conftest.err
>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } &&
30477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; } &&
30483 { ac_try
='test -s conftest$ac_exeext'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30491 echo "$as_me: failed program was:" >&5
30492 sed 's/^/| /' conftest.
$ac_ext >&5
30494 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30496 rm -f conftest.err conftest.
$ac_objext \
30497 conftest
$ac_exeext conftest.
$ac_ext
30498 LIBS
=$ac_check_lib_save_LIBS
30500 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30501 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30502 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30503 ODBC_LINK
=" -lunixodbc"
30506 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30507 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30508 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30511 ac_check_lib_save_LIBS
=$LIBS
30512 LIBS
="-lodbc $LIBS"
30513 cat >conftest.
$ac_ext <<_ACEOF
30516 cat confdefs.h
>>conftest.
$ac_ext
30517 cat >>conftest.
$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30520 /* Override any gcc2 internal prototype to avoid an error. */
30524 /* We use char because int might match the return type of a gcc2
30525 builtin and then its argument prototype would still apply. */
30526 char SQLAllocEnv ();
30535 rm -f conftest.
$ac_objext conftest
$ac_exeext
30536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30537 (eval $ac_link) 2>conftest.er1
30539 grep -v '^ *+' conftest.er1
>conftest.err
30541 cat conftest.err
>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); } &&
30544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; } &&
30550 { ac_try
='test -s conftest$ac_exeext'
30551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30552 (eval $ac_try) 2>&5
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); }; }; then
30556 ac_cv_lib_odbc_SQLAllocEnv
=yes
30558 echo "$as_me: failed program was:" >&5
30559 sed 's/^/| /' conftest.
$ac_ext >&5
30561 ac_cv_lib_odbc_SQLAllocEnv
=no
30563 rm -f conftest.err conftest.
$ac_objext \
30564 conftest
$ac_exeext conftest.
$ac_ext
30565 LIBS
=$ac_check_lib_save_LIBS
30567 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30568 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30569 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30570 ODBC_LINK
=" -lodbc"
30580 if test "x$ODBC_LINK" = "x" ; then
30581 if test "$wxUSE_ODBC" = "sys" ; then
30582 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30583 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30584 { (exit 1); exit 1; }; }
30586 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30587 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30595 if test "$wxUSE_ODBC" = "builtin" ; then
30596 cat >>confdefs.h
<<\_ACEOF
30597 #define wxUSE_BUILTIN_IODBC 1
30603 if test "$wxUSE_ODBC" != "no" ; then
30604 cat >>confdefs.h
<<\_ACEOF
30605 #define wxUSE_ODBC 1
30608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30610 WXODBCFLAG
="-D_IODBC_"
30614 if test "$wxUSE_DISPLAY" = "yes"; then
30615 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30616 echo "$as_me:$LINENO: checking for Xinerama" >&5
30617 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30620 for ac_dir
in $SEARCH_LIB;
30622 for ac_extension
in a so sl dylib dll.a
; do
30623 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30624 ac_find_libraries
=$ac_dir
30630 if test "$ac_find_libraries" != "" ; then
30632 if test "$ac_find_libraries" = "default location"; then
30635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30637 if test $result = 0; then
30640 ac_path_to_link
=" -L$ac_find_libraries"
30644 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30645 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30648 echo "$as_me:$LINENO: result: yes" >&5
30649 echo "${ECHO_T}yes" >&6
30651 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30652 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30655 for ac_dir
in $SEARCH_LIB;
30657 for ac_extension
in a so sl dylib dll.a
; do
30658 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30659 ac_find_libraries
=$ac_dir
30665 if test "$ac_find_libraries" != "" ; then
30666 echo "$as_me:$LINENO: result: yes" >&5
30667 echo "${ECHO_T}yes" >&6
30669 for ac_header
in X
11/extensions
/xf86vmode.h
30671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30672 echo "$as_me:$LINENO: checking for $ac_header" >&5
30673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30677 cat >conftest.
$ac_ext <<_ACEOF
30680 cat confdefs.h
>>conftest.
$ac_ext
30681 cat >>conftest.
$ac_ext <<_ACEOF
30682 /* end confdefs.h. */
30684 #if HAVE_X11_XLIB_H
30685 #include <X11/Xlib.h>
30689 #include <$ac_header>
30691 rm -f conftest.
$ac_objext
30692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30693 (eval $ac_compile) 2>conftest.er1
30695 grep -v '^ *+' conftest.er1
>conftest.err
30697 cat conftest.err
>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } &&
30700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; } &&
30706 { ac_try
='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712 eval "$as_ac_Header=yes"
30714 echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.
$ac_ext >&5
30717 eval "$as_ac_Header=no"
30719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30724 cat >>confdefs.h
<<_ACEOF
30725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30728 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30735 echo "$as_me:$LINENO: result: no" >&5
30736 echo "${ECHO_T}no" >&6
30740 echo "$as_me:$LINENO: result: no" >&5
30741 echo "${ECHO_T}no" >&6
30742 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30743 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30746 elif test "$wxUSE_MSW" = 1; then
30749 for ac_header
in multimon.h ddraw.h
30751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30752 echo "$as_me:$LINENO: checking for $ac_header" >&5
30753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30755 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 cat >conftest.
$ac_ext <<_ACEOF
30760 cat confdefs.h
>>conftest.
$ac_ext
30761 cat >>conftest.
$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30763 #include <windows.h>
30765 #include <$ac_header>
30767 rm -f conftest.
$ac_objext
30768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30769 (eval $ac_compile) 2>conftest.er1
30771 grep -v '^ *+' conftest.er1
>conftest.err
30773 cat conftest.err
>&5
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); } &&
30776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; } &&
30782 { ac_try
='test -s conftest.$ac_objext'
30783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30784 (eval $ac_try) 2>&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 eval "$as_ac_Header=yes"
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.
$ac_ext >&5
30793 eval "$as_ac_Header=no"
30795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30800 cat >>confdefs.h
<<_ACEOF
30801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30807 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30808 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30819 if test "$wxUSE_OPENGL" = "yes"; then
30820 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30821 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30822 elif test "$wxUSE_MSW" = 1; then
30823 OPENGL_LIBS
="-lopengl32 -lglu32"
30828 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30830 if test -f "$ac_dir/GL/gl.h"; then
30831 ac_find_includes
=$ac_dir
30836 if test "$ac_find_includes" != "" ; then
30837 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30838 echo "${ECHO_T}found in $ac_find_includes" >&6
30840 if test "x$ac_find_includes" = "x/usr/include"; then
30841 ac_path_to_include
=""
30843 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30845 if test $result = 0; then
30846 ac_path_to_include
=""
30848 ac_path_to_include
=" -I$ac_find_includes"
30852 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30855 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30856 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30857 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30858 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30862 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30864 # Is the header compilable?
30865 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30866 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30867 cat >conftest.
$ac_ext <<_ACEOF
30870 cat confdefs.h
>>conftest.
$ac_ext
30871 cat >>conftest.
$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873 $ac_includes_default
30876 rm -f conftest.
$ac_objext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30878 (eval $ac_compile) 2>conftest.er1
30880 grep -v '^ *+' conftest.er1
>conftest.err
30882 cat conftest.err
>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; } &&
30891 { ac_try
='test -s conftest.$ac_objext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897 ac_header_compiler
=yes
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.
$ac_ext >&5
30902 ac_header_compiler
=no
30904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30906 echo "${ECHO_T}$ac_header_compiler" >&6
30908 # Is the header present?
30909 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30910 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30911 cat >conftest.
$ac_ext <<_ACEOF
30914 cat confdefs.h
>>conftest.
$ac_ext
30915 cat >>conftest.
$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30920 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30922 grep -v '^ *+' conftest.er1
>conftest.err
30924 cat conftest.err
>&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } >/dev
/null
; then
30927 if test -s conftest.err
; then
30928 ac_cpp_err
=$ac_c_preproc_warn_flag
30929 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30936 if test -z "$ac_cpp_err"; then
30937 ac_header_preproc
=yes
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.
$ac_ext >&5
30942 ac_header_preproc
=no
30944 rm -f conftest.err conftest.
$ac_ext
30945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30946 echo "${ECHO_T}$ac_header_preproc" >&6
30948 # So? What about this header?
30949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30951 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30952 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30953 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30954 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30955 ac_header_preproc
=yes
30958 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30959 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30960 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30961 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30962 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30963 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30965 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30967 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30968 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30969 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30972 ## ----------------------------------------- ##
30973 ## Report this to wx-dev@lists.wxwidgets.org ##
30974 ## ----------------------------------------- ##
30977 sed "s/^/$as_me: WARNING: /" >&2
30980 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30981 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30982 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30983 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 ac_cv_header_GL_gl_h
=$ac_header_preproc
30987 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30988 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30991 if test $ac_cv_header_GL_gl_h = yes; then
30995 echo "$as_me:$LINENO: checking for -lGL" >&5
30996 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30999 for ac_dir
in $SEARCH_LIB;
31001 for ac_extension
in a so sl dylib dll.a
; do
31002 if test -f "$ac_dir/libGL.$ac_extension"; then
31003 ac_find_libraries
=$ac_dir
31009 if test "$ac_find_libraries" != "" ; then
31010 echo "$as_me:$LINENO: result: yes" >&5
31011 echo "${ECHO_T}yes" >&6
31014 if test "$ac_find_libraries" = "default location"; then
31017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31019 if test $result = 0; then
31022 ac_path_to_link
=" -L$ac_find_libraries"
31026 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31027 LDFLAGS_GL
="$ac_path_to_link"
31030 echo "$as_me:$LINENO: checking for -lGLU" >&5
31031 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31034 for ac_dir
in $SEARCH_LIB;
31036 for ac_extension
in a so sl dylib dll.a
; do
31037 if test -f "$ac_dir/libGLU.$ac_extension"; then
31038 ac_find_libraries
=$ac_dir
31044 if test "$ac_find_libraries" != "" ; then
31046 if test "$ac_find_libraries" = "default location"; then
31049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31051 if test $result = 0; then
31054 ac_path_to_link
=" -L$ac_find_libraries"
31058 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31059 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31060 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31064 OPENGL_LIBS
="-lGL -lGLU"
31065 echo "$as_me:$LINENO: result: yes" >&5
31066 echo "${ECHO_T}yes" >&6
31068 echo "$as_me:$LINENO: result: no" >&5
31069 echo "${ECHO_T}no" >&6
31072 echo "$as_me:$LINENO: result: no" >&5
31073 echo "${ECHO_T}no" >&6
31076 if test "$found_gl" != 1; then
31077 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31078 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31081 for ac_dir
in $SEARCH_LIB;
31083 for ac_extension
in a so sl dylib dll.a
; do
31084 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31085 ac_find_libraries
=$ac_dir
31091 if test "$ac_find_libraries" != "" ; then
31093 if test "$ac_find_libraries" = "default location"; then
31096 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31098 if test $result = 0; then
31101 ac_path_to_link
=" -L$ac_find_libraries"
31105 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31106 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31107 echo "$as_me:$LINENO: result: yes" >&5
31108 echo "${ECHO_T}yes" >&6
31110 echo "$as_me:$LINENO: result: no" >&5
31111 echo "${ECHO_T}no" >&6
31119 if test "x$OPENGL_LIBS" = "x"; then
31120 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31121 echo "$as_me: error: OpenGL libraries not available" >&2;}
31122 { (exit 1); exit 1; }; }
31126 if test "$wxUSE_OPENGL" = "yes"; then
31128 cat >>confdefs.h
<<\_ACEOF
31129 #define wxUSE_OPENGL 1
31132 cat >>confdefs.h
<<\_ACEOF
31133 #define wxUSE_GLCANVAS 1
31136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31141 if test -n "$TOOLKIT" ; then
31142 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31147 if test "$wxUSE_SHARED" = "yes"; then
31151 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31152 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31157 if test "$wxUSE_SHARED" = "yes"; then
31160 found_versioning
=no
31163 if test $found_versioning = no
; then
31164 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31165 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31166 if test "${wx_cv_version_script+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 echo "VER_1 { *; };" >conftest.sym
31171 echo "int main() { return 0; }" >conftest.cpp
31174 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31175 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; } ; then
31181 if test -s conftest.stderr
; then
31182 wx_cv_version_script
=no
31184 wx_cv_version_script
=yes
31187 wx_cv_version_script
=no
31190 if test $wx_cv_version_script = yes
31192 echo "struct B { virtual ~B() { } }; \
31193 struct D : public B { }; \
31194 void F() { D d; }" > conftest.cpp
31197 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31198 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31200 (eval $ac_try) 2>&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); }; } &&
31205 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31206 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; }
31214 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31215 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }
31222 wx_cv_version_script
=yes
31224 wx_cv_version_script
=no
31229 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31230 rm -f conftest1.output conftest2.output conftest3.output
31233 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31234 echo "${ECHO_T}$wx_cv_version_script" >&6
31235 if test $wx_cv_version_script = yes ; then
31236 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31242 *-*-linux* | *-*-gnu* )
31243 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31244 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31248 if test "$GCC" = yes ; then
31249 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31251 saveLdflags
="$LDFLAGS"
31252 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31253 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31254 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31255 cat >conftest.
$ac_ext <<_ACEOF
31258 cat confdefs.h
>>conftest.
$ac_ext
31259 cat >>conftest.
$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31270 rm -f conftest.
$ac_objext conftest
$ac_exeext
31271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31272 (eval $ac_link) 2>conftest.er1
31274 grep -v '^ *+' conftest.er1
>conftest.err
31276 cat conftest.err
>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); } &&
31279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try
='test -s conftest$ac_exeext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31292 echo "$as_me:$LINENO: result: yes" >&5
31293 echo "${ECHO_T}yes" >&6
31294 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31295 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.
$ac_ext >&5
31302 echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6
31304 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31305 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31306 LDFLAGS
="$saveLdflags -Wl,-R,/"
31307 cat >conftest.
$ac_ext <<_ACEOF
31310 cat confdefs.h
>>conftest.
$ac_ext
31311 cat >>conftest.
$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31322 rm -f conftest.
$ac_objext conftest
$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31326 grep -v '^ *+' conftest.er1
>conftest.err
31328 cat conftest.err
>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; } &&
31337 { ac_try
='test -s conftest$ac_exeext'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31344 echo "$as_me:$LINENO: result: yes" >&5
31345 echo "${ECHO_T}yes" >&6
31346 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31347 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.
$ac_ext >&5
31354 echo "$as_me:$LINENO: result: no" >&5
31355 echo "${ECHO_T}no" >&6
31358 rm -f conftest.err conftest.
$ac_objext \
31359 conftest
$ac_exeext conftest.
$ac_ext
31362 rm -f conftest.err conftest.
$ac_objext \
31363 conftest
$ac_exeext conftest.
$ac_ext
31364 LDFLAGS
="$saveLdflags"
31366 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31367 WXCONFIG_RPATH
="-R\$libdir"
31372 install_name_tool
=`which install_name_tool`
31373 if test "$install_name_tool" -a -x "$install_name_tool"; then
31374 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31375 cat <<EOF >change-install-names
31377 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31378 inst_cmd="install_name_tool "
31379 for i in \${libnames} ; do
31380 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31384 chmod +x change
-install-names
31388 *-*-cygwin* | *-*-mingw32* )
31389 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31393 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31394 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31399 if test $wxUSE_RPATH = "no"; then
31400 SAMPLES_RPATH_FLAG
=''
31401 SAMPLES_RPATH_POSTLINK
=''
31409 config_linkage_component
="-static"
31416 lib_unicode_suffix
=
31418 if test "$wxUSE_UNICODE" = "yes"; then
31419 lib_unicode_suffix
=u
31420 WX_CHARTYPE
="unicode"
31425 WX_DEBUGTYPE
="release"
31427 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31429 WX_DEBUGTYPE
="debug"
31433 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31434 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31437 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31441 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31443 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31445 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31447 if test "$cross_compiling" = "yes"; then
31448 HOST_SUFFIX
="-$host_alias"
31449 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31450 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31453 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31454 if test "${TOOLKIT_DIR}" = "os2"; then
31455 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31457 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31462 if test "$wxUSE_COCOA" = 1; then
31466 ac_cpp
='$CPP $CPPFLAGS'
31467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31473 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31474 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31475 cat >conftest.
$ac_ext <<_ACEOF
31478 cat confdefs.h
>>conftest.
$ac_ext
31479 cat >>conftest.
$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481 #include <AppKit/NSEvent.h>
31482 #include <CoreFoundation/CoreFoundation.h>
31492 rm -f conftest.
$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494 (eval $ac_compile) 2>conftest.er1
31496 grep -v '^ *+' conftest.er1
>conftest.err
31498 cat conftest.err
>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; } &&
31507 { ac_try
='test -s conftest.$ac_objext'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; }; then
31513 echo "$as_me:$LINENO: result: no" >&5
31514 echo "${ECHO_T}no" >&6
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.
$ac_ext >&5
31519 echo "$as_me:$LINENO: result: yes" >&5
31520 echo "${ECHO_T}yes" >&6
31521 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31522 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31523 cat >conftest.
$ac_ext <<_ACEOF
31526 cat confdefs.h
>>conftest.
$ac_ext
31527 cat >>conftest.
$ac_ext <<_ACEOF
31528 /* end confdefs.h. */
31529 #define __Point__ 1
31530 #include <AppKit/NSEvent.h>
31531 #include <CoreFoundation/CoreFoundation.h>
31541 rm -f conftest.
$ac_objext
31542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31543 (eval $ac_compile) 2>conftest.er1
31545 grep -v '^ *+' conftest.er1
>conftest.err
31547 cat conftest.err
>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } &&
31550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; } &&
31556 { ac_try
='test -s conftest.$ac_objext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 echo "$as_me:$LINENO: result: yes" >&5
31563 echo "${ECHO_T}yes" >&6
31564 cat >>confdefs.h
<<\_ACEOF
31565 #define __Point__ 1
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31573 { { echo "$as_me:$LINENO: error: no
31574 See \`config.log' for more details." >&5
31575 echo "$as_me: error: no
31576 See \`config.log' for more details." >&2;}
31577 { (exit 1); exit 1; }; }
31580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31585 ac_cpp
='$CPP $CPPFLAGS'
31586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31593 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31594 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31596 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31598 # Extract the first word of "Rez", so it can be a program name with args.
31599 set dummy Rez
; ac_word
=$2
31600 echo "$as_me:$LINENO: checking for $ac_word" >&5
31601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31602 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31605 if test -n "$RESCOMP"; then
31606 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31609 for as_dir
in $PATH
31612 test -z "$as_dir" && as_dir
=.
31613 for ac_exec_ext
in '' $ac_executable_extensions; do
31614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31615 ac_cv_prog_RESCOMP
="Rez"
31616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31622 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31625 RESCOMP
=$ac_cv_prog_RESCOMP
31626 if test -n "$RESCOMP"; then
31627 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31628 echo "${ECHO_T}$RESCOMP" >&6
31630 echo "$as_me:$LINENO: result: no" >&5
31631 echo "${ECHO_T}no" >&6
31634 # Extract the first word of "DeRez", so it can be a program name with args.
31635 set dummy DeRez
; ac_word
=$2
31636 echo "$as_me:$LINENO: checking for $ac_word" >&5
31637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31638 if test "${ac_cv_prog_DEREZ+set}" = set; then
31639 echo $ECHO_N "(cached) $ECHO_C" >&6
31641 if test -n "$DEREZ"; then
31642 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31645 for as_dir
in $PATH
31648 test -z "$as_dir" && as_dir
=.
31649 for ac_exec_ext
in '' $ac_executable_extensions; do
31650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31651 ac_cv_prog_DEREZ
="DeRez"
31652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31658 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31661 DEREZ
=$ac_cv_prog_DEREZ
31662 if test -n "$DEREZ"; then
31663 echo "$as_me:$LINENO: result: $DEREZ" >&5
31664 echo "${ECHO_T}$DEREZ" >&6
31666 echo "$as_me:$LINENO: result: no" >&5
31667 echo "${ECHO_T}no" >&6
31670 # Extract the first word of "SetFile", so it can be a program name with args.
31671 set dummy SetFile
; ac_word
=$2
31672 echo "$as_me:$LINENO: checking for $ac_word" >&5
31673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31674 if test "${ac_cv_prog_SETFILE+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 if test -n "$SETFILE"; then
31678 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31681 for as_dir
in $PATH
31684 test -z "$as_dir" && as_dir
=.
31685 for ac_exec_ext
in '' $ac_executable_extensions; do
31686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31687 ac_cv_prog_SETFILE
="SetFile"
31688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31694 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31697 SETFILE
=$ac_cv_prog_SETFILE
31698 if test -n "$SETFILE"; then
31699 echo "$as_me:$LINENO: result: $SETFILE" >&5
31700 echo "${ECHO_T}$SETFILE" >&6
31702 echo "$as_me:$LINENO: result: no" >&5
31703 echo "${ECHO_T}no" >&6
31707 MACSETFILE
="\$(SETFILE)"
31709 if test "$wxUSE_MAC" = 1; then
31710 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31712 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31714 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31715 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31719 MACRESWXCONFIG
="@true"
31721 if test "$wxUSE_PM" = 1; then
31722 MACRESCOMP
="emxbind -ep"
31730 echo "$as_me:$LINENO: checking for mode_t" >&5
31731 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31732 if test "${ac_cv_type_mode_t+set}" = set; then
31733 echo $ECHO_N "(cached) $ECHO_C" >&6
31735 cat >conftest.
$ac_ext <<_ACEOF
31738 cat confdefs.h
>>conftest.
$ac_ext
31739 cat >>conftest.
$ac_ext <<_ACEOF
31740 /* end confdefs.h. */
31741 $ac_includes_default
31747 if (sizeof (mode_t))
31753 rm -f conftest.
$ac_objext
31754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31755 (eval $ac_compile) 2>conftest.er1
31757 grep -v '^ *+' conftest.er1
>conftest.err
31759 cat conftest.err
>&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } &&
31762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try
='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 ac_cv_type_mode_t
=yes
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.
$ac_ext >&5
31779 ac_cv_type_mode_t
=no
31781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31783 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31784 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31785 if test $ac_cv_type_mode_t = yes; then
31789 cat >>confdefs.h
<<_ACEOF
31795 echo "$as_me:$LINENO: checking for off_t" >&5
31796 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31797 if test "${ac_cv_type_off_t+set}" = set; then
31798 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 cat >conftest.
$ac_ext <<_ACEOF
31803 cat confdefs.h
>>conftest.
$ac_ext
31804 cat >>conftest.
$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 $ac_includes_default
31812 if (sizeof (off_t))
31818 rm -f conftest.
$ac_objext
31819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31820 (eval $ac_compile) 2>conftest.er1
31822 grep -v '^ *+' conftest.er1
>conftest.err
31824 cat conftest.err
>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } &&
31827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try
='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 ac_cv_type_off_t
=yes
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.
$ac_ext >&5
31844 ac_cv_type_off_t
=no
31846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31848 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31849 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31850 if test $ac_cv_type_off_t = yes; then
31854 cat >>confdefs.h
<<_ACEOF
31860 echo "$as_me:$LINENO: checking for pid_t" >&5
31861 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31862 if test "${ac_cv_type_pid_t+set}" = set; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 cat >conftest.
$ac_ext <<_ACEOF
31868 cat confdefs.h
>>conftest.
$ac_ext
31869 cat >>conftest.
$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871 $ac_includes_default
31877 if (sizeof (pid_t))
31883 rm -f conftest.
$ac_objext
31884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31885 (eval $ac_compile) 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } &&
31892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; } &&
31898 { ac_try
='test -s conftest.$ac_objext'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31904 ac_cv_type_pid_t
=yes
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.
$ac_ext >&5
31909 ac_cv_type_pid_t
=no
31911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31913 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31914 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31915 if test $ac_cv_type_pid_t = yes; then
31919 cat >>confdefs.h
<<_ACEOF
31925 echo "$as_me:$LINENO: checking for size_t" >&5
31926 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31927 if test "${ac_cv_type_size_t+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31930 cat >conftest.
$ac_ext <<_ACEOF
31933 cat confdefs.h
>>conftest.
$ac_ext
31934 cat >>conftest.
$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31936 $ac_includes_default
31942 if (sizeof (size_t))
31948 rm -f conftest.
$ac_objext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31950 (eval $ac_compile) 2>conftest.er1
31952 grep -v '^ *+' conftest.er1
>conftest.err
31954 cat conftest.err
>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31963 { ac_try
='test -s conftest.$ac_objext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 ac_cv_type_size_t
=yes
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.
$ac_ext >&5
31974 ac_cv_type_size_t
=no
31976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31978 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31979 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31980 if test $ac_cv_type_size_t = yes; then
31984 cat >>confdefs.h
<<_ACEOF
31985 #define size_t unsigned
31990 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31991 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31992 if test "${ac_cv_type_uid_t+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 cat >conftest.
$ac_ext <<_ACEOF
31998 cat confdefs.h
>>conftest.
$ac_ext
31999 cat >>conftest.
$ac_ext <<_ACEOF
32000 /* end confdefs.h. */
32001 #include <sys/types.h>
32004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32005 $EGREP "uid_t" >/dev
/null
2>&1; then
32006 ac_cv_type_uid_t
=yes
32008 ac_cv_type_uid_t
=no
32013 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32014 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32015 if test $ac_cv_type_uid_t = no
; then
32017 cat >>confdefs.h
<<\_ACEOF
32022 cat >>confdefs.h
<<\_ACEOF
32029 echo "$as_me:$LINENO: checking for ssize_t" >&5
32030 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32031 if test "${ac_cv_type_ssize_t+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 cat >conftest.
$ac_ext <<_ACEOF
32037 cat confdefs.h
>>conftest.
$ac_ext
32038 cat >>conftest.
$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32040 $ac_includes_default
32046 if (sizeof (ssize_t))
32052 rm -f conftest.
$ac_objext
32053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32054 (eval $ac_compile) 2>conftest.er1
32056 grep -v '^ *+' conftest.er1
>conftest.err
32058 cat conftest.err
>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } &&
32061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; } &&
32067 { ac_try
='test -s conftest.$ac_objext'
32068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32069 (eval $ac_try) 2>&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); }; }; then
32073 ac_cv_type_ssize_t
=yes
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.
$ac_ext >&5
32078 ac_cv_type_ssize_t
=no
32080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32082 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32083 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32084 if test $ac_cv_type_ssize_t = yes; then
32086 cat >>confdefs.h
<<_ACEOF
32087 #define HAVE_SSIZE_T 1
32097 ac_cpp
='$CXXCPP $CPPFLAGS'
32098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32102 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32103 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32104 if test "${wx_cv_size_t_is_uint+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 cat >conftest.
$ac_ext <<_ACEOF
32111 cat confdefs.h
>>conftest.
$ac_ext
32112 cat >>conftest.
$ac_ext <<_ACEOF
32113 /* end confdefs.h. */
32114 #include <stddef.h>
32121 struct Foo { void foo(size_t); void foo(unsigned int); };
32129 rm -f conftest.
$ac_objext
32130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32131 (eval $ac_compile) 2>conftest.er1
32133 grep -v '^ *+' conftest.er1
>conftest.err
32135 cat conftest.err
>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; } &&
32144 { ac_try
='test -s conftest.$ac_objext'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; }; then
32150 wx_cv_size_t_is_uint
=no
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.
$ac_ext >&5
32155 wx_cv_size_t_is_uint
=yes
32158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32162 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32163 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32165 if test "$wx_cv_size_t_is_uint" = "yes"; then
32166 cat >>confdefs.h
<<\_ACEOF
32167 #define wxSIZE_T_IS_UINT 1
32171 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32172 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32173 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32174 echo $ECHO_N "(cached) $ECHO_C" >&6
32176 cat >conftest.
$ac_ext <<_ACEOF
32179 cat confdefs.h
>>conftest.
$ac_ext
32180 cat >>conftest.
$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182 #include <stddef.h>
32189 struct Foo { void foo(size_t); void foo(unsigned long); };
32197 rm -f conftest.
$ac_objext
32198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32199 (eval $ac_compile) 2>conftest.er1
32201 grep -v '^ *+' conftest.er1
>conftest.err
32203 cat conftest.err
>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try
='test -s conftest.$ac_objext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 wx_cv_size_t_is_ulong
=no
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.
$ac_ext >&5
32223 wx_cv_size_t_is_ulong
=yes
32226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32229 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32230 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32232 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32233 cat >>confdefs.h
<<\_ACEOF
32234 #define wxSIZE_T_IS_ULONG 1
32241 ac_cpp
='$CPP $CPPFLAGS'
32242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32248 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32249 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32250 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32254 cat >conftest.
$ac_ext <<_ACEOF
32257 cat confdefs.h
>>conftest.
$ac_ext
32258 cat >>conftest.
$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32273 rm -f conftest.
$ac_objext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 (eval $ac_compile) 2>conftest.er1
32277 grep -v '^ *+' conftest.er1
>conftest.err
32279 cat conftest.err
>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try
='test -s conftest.$ac_objext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32295 wx_cv_struct_pw_gecos
=yes
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.
$ac_ext >&5
32302 wx_cv_struct_pw_gecos
=no
32306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32310 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32311 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32313 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32314 cat >>confdefs.h
<<\_ACEOF
32315 #define HAVE_PW_GECOS 1
32321 if test "$wxUSE_WCHAR_T" = "yes"; then
32322 cat >>confdefs.h
<<\_ACEOF
32323 #define wxUSE_WCHAR_T 1
32330 for ac_func
in wcslen
32332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32333 echo "$as_me:$LINENO: checking for $ac_func" >&5
32334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32335 if eval "test \"\${$as_ac_var+set}\" = set"; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 cat >conftest.
$ac_ext <<_ACEOF
32341 cat confdefs.h
>>conftest.
$ac_ext
32342 cat >>conftest.
$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32346 #define $ac_func innocuous_$ac_func
32348 /* System header to define __stub macros and hopefully few prototypes,
32349 which can conflict with char $ac_func (); below.
32350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32351 <limits.h> exists even on freestanding compilers. */
32354 # include <limits.h>
32356 # include <assert.h>
32361 /* Override any gcc2 internal prototype to avoid an error. */
32366 /* We use char because int might match the return type of a gcc2
32367 builtin and then its argument prototype would still apply. */
32369 /* The GNU C library defines this for functions which it implements
32370 to always fail with ENOSYS. Some functions are actually named
32371 something starting with __ and the normal name is an alias. */
32372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32375 char (*f) () = $ac_func;
32384 return f != $ac_func;
32389 rm -f conftest.
$ac_objext conftest
$ac_exeext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32391 (eval $ac_link) 2>conftest.er1
32393 grep -v '^ *+' conftest.er1
>conftest.err
32395 cat conftest.err
>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } &&
32398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try
='test -s conftest$ac_exeext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32410 eval "$as_ac_var=yes"
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.
$ac_ext >&5
32415 eval "$as_ac_var=no"
32417 rm -f conftest.err conftest.
$ac_objext \
32418 conftest
$ac_exeext conftest.
$ac_ext
32420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32422 if test `eval echo '${'$as_ac_var'}'` = yes; then
32423 cat >>confdefs.h
<<_ACEOF
32424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32431 if test "$WCSLEN_FOUND" = 0; then
32432 if test "$TOOLKIT" = "MSW"; then
32433 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32434 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32435 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 ac_check_lib_save_LIBS
=$LIBS
32439 LIBS
="-lmsvcrt $LIBS"
32440 cat >conftest.
$ac_ext <<_ACEOF
32443 cat confdefs.h
>>conftest.
$ac_ext
32444 cat >>conftest.
$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32447 /* Override any gcc2 internal prototype to avoid an error. */
32451 /* We use char because int might match the return type of a gcc2
32452 builtin and then its argument prototype would still apply. */
32462 rm -f conftest.
$ac_objext conftest
$ac_exeext
32463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32464 (eval $ac_link) 2>conftest.er1
32466 grep -v '^ *+' conftest.er1
>conftest.err
32468 cat conftest.err
>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } &&
32471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; } &&
32477 { ac_try
='test -s conftest$ac_exeext'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }; then
32483 ac_cv_lib_msvcrt_wcslen
=yes
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.
$ac_ext >&5
32488 ac_cv_lib_msvcrt_wcslen
=no
32490 rm -f conftest.err conftest.
$ac_objext \
32491 conftest
$ac_exeext conftest.
$ac_ext
32492 LIBS
=$ac_check_lib_save_LIBS
32494 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32495 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32496 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32501 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32502 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32503 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 ac_check_lib_save_LIBS
=$LIBS
32508 cat >conftest.
$ac_ext <<_ACEOF
32511 cat confdefs.h
>>conftest.
$ac_ext
32512 cat >>conftest.
$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32515 /* Override any gcc2 internal prototype to avoid an error. */
32519 /* We use char because int might match the return type of a gcc2
32520 builtin and then its argument prototype would still apply. */
32530 rm -f conftest.
$ac_objext conftest
$ac_exeext
32531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32532 (eval $ac_link) 2>conftest.er1
32534 grep -v '^ *+' conftest.er1
>conftest.err
32536 cat conftest.err
>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } &&
32539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; } &&
32545 { ac_try
='test -s conftest$ac_exeext'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 ac_cv_lib_w_wcslen
=yes
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.
$ac_ext >&5
32556 ac_cv_lib_w_wcslen
=no
32558 rm -f conftest.err conftest.
$ac_objext \
32559 conftest
$ac_exeext conftest.
$ac_ext
32560 LIBS
=$ac_check_lib_save_LIBS
32562 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32563 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32564 if test $ac_cv_lib_w_wcslen = yes; then
32574 if test "$WCSLEN_FOUND" = 1; then
32575 cat >>confdefs.h
<<\_ACEOF
32576 #define HAVE_WCSLEN 1
32581 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32582 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32585 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32586 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32587 if test "${ac_cv_type_mbstate_t+set}" = set; then
32588 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 cat >conftest.
$ac_ext <<_ACEOF
32593 cat confdefs.h
>>conftest.
$ac_ext
32594 cat >>conftest.
$ac_ext <<_ACEOF
32595 /* end confdefs.h. */
32601 if ((mbstate_t *) 0)
32603 if (sizeof (mbstate_t))
32609 rm -f conftest.
$ac_objext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32611 (eval $ac_compile) 2>conftest.er1
32613 grep -v '^ *+' conftest.er1
>conftest.err
32615 cat conftest.err
>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32624 { ac_try
='test -s conftest.$ac_objext'
32625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626 (eval $ac_try) 2>&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); }; }; then
32630 ac_cv_type_mbstate_t
=yes
32632 echo "$as_me: failed program was:" >&5
32633 sed 's/^/| /' conftest.
$ac_ext >&5
32635 ac_cv_type_mbstate_t
=no
32637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32639 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32640 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32641 if test $ac_cv_type_mbstate_t = yes; then
32643 cat >>confdefs.h
<<_ACEOF
32644 #define HAVE_MBSTATE_T 1
32648 for ac_func
in wcsrtombs
32650 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32651 echo "$as_me:$LINENO: checking for $ac_func" >&5
32652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32653 if eval "test \"\${$as_ac_var+set}\" = set"; then
32654 echo $ECHO_N "(cached) $ECHO_C" >&6
32656 cat >conftest.
$ac_ext <<_ACEOF
32659 cat confdefs.h
>>conftest.
$ac_ext
32660 cat >>conftest.
$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32664 #define $ac_func innocuous_$ac_func
32666 /* System header to define __stub macros and hopefully few prototypes,
32667 which can conflict with char $ac_func (); below.
32668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32669 <limits.h> exists even on freestanding compilers. */
32672 # include <limits.h>
32674 # include <assert.h>
32679 /* Override any gcc2 internal prototype to avoid an error. */
32684 /* We use char because int might match the return type of a gcc2
32685 builtin and then its argument prototype would still apply. */
32687 /* The GNU C library defines this for functions which it implements
32688 to always fail with ENOSYS. Some functions are actually named
32689 something starting with __ and the normal name is an alias. */
32690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32693 char (*f) () = $ac_func;
32702 return f != $ac_func;
32707 rm -f conftest.
$ac_objext conftest
$ac_exeext
32708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32709 (eval $ac_link) 2>conftest.er1
32711 grep -v '^ *+' conftest.er1
>conftest.err
32713 cat conftest.err
>&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); } &&
32716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; } &&
32722 { ac_try
='test -s conftest$ac_exeext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 eval "$as_ac_var=yes"
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.
$ac_ext >&5
32733 eval "$as_ac_var=no"
32735 rm -f conftest.err conftest.
$ac_objext \
32736 conftest
$ac_exeext conftest.
$ac_ext
32738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32740 if test `eval echo '${'$as_ac_var'}'` = yes; then
32741 cat >>confdefs.h
<<_ACEOF
32742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32751 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32752 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32758 ac_cpp
='$CXXCPP $CPPFLAGS'
32759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32766 for ac_func
in snprintf vsnprintf
32768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 cat >conftest.
$ac_ext <<_ACEOF
32777 cat confdefs.h
>>conftest.
$ac_ext
32778 cat >>conftest.
$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define $ac_func innocuous_$ac_func
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char $ac_func (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32790 # include <limits.h>
32792 # include <assert.h>
32797 /* Override any gcc2 internal prototype to avoid an error. */
32802 /* We use char because int might match the return type of a gcc2
32803 builtin and then its argument prototype would still apply. */
32805 /* The GNU C library defines this for functions which it implements
32806 to always fail with ENOSYS. Some functions are actually named
32807 something starting with __ and the normal name is an alias. */
32808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32811 char (*f) () = $ac_func;
32820 return f != $ac_func;
32825 rm -f conftest.
$ac_objext conftest
$ac_exeext
32826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32827 (eval $ac_link) 2>conftest.er1
32829 grep -v '^ *+' conftest.er1
>conftest.err
32831 cat conftest.err
>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } &&
32834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; } &&
32840 { ac_try
='test -s conftest$ac_exeext'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; }; then
32846 eval "$as_ac_var=yes"
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.
$ac_ext >&5
32851 eval "$as_ac_var=no"
32853 rm -f conftest.err conftest.
$ac_objext \
32854 conftest
$ac_exeext conftest.
$ac_ext
32856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32858 if test `eval echo '${'$as_ac_var'}'` = yes; then
32859 cat >>confdefs.h
<<_ACEOF
32860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32867 if test "$ac_cv_func_vsnprintf" = "yes"; then
32868 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32869 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32870 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 cat >conftest.
$ac_ext <<_ACEOF
32877 cat confdefs.h
>>conftest.
$ac_ext
32878 cat >>conftest.
$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32882 #include <stdarg.h>
32884 #if __MSL__ >= 0x6000
32886 using namespace std;
32896 vsnprintf(buf, 10u, "%s", ap);
32902 rm -f conftest.
$ac_objext
32903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32904 (eval $ac_compile) 2>conftest.er1
32906 grep -v '^ *+' conftest.er1
>conftest.err
32908 cat conftest.err
>&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } &&
32911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; } &&
32917 { ac_try
='test -s conftest.$ac_objext'
32918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32919 (eval $ac_try) 2>&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); }; }; then
32923 wx_cv_func_vsnprintf_decl
=yes
32925 echo "$as_me: failed program was:" >&5
32926 sed 's/^/| /' conftest.
$ac_ext >&5
32928 wx_cv_func_vsnprintf_decl
=no
32931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32935 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32936 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32938 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32939 cat >>confdefs.h
<<\_ACEOF
32940 #define HAVE_VSNPRINTF_DECL 1
32944 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32945 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32946 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32958 #include <stdarg.h>
32960 #if __MSL__ >= 0x6000
32962 using namespace std;
32972 const char *fmt = "%s";
32973 vsnprintf(buf, 10u, fmt, ap);
32979 rm -f conftest.
$ac_objext
32980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32981 (eval $ac_compile) 2>conftest.er1
32983 grep -v '^ *+' conftest.er1
>conftest.err
32985 cat conftest.err
>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } &&
32988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try
='test -s conftest.$ac_objext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 wx_cv_func_broken_vsnprintf_decl
=no
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.
$ac_ext >&5
33005 wx_cv_func_broken_vsnprintf_decl
=yes
33008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33012 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33013 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33015 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33016 cat >>confdefs.h
<<\_ACEOF
33017 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33024 if test "$ac_cv_func_snprintf" = "yes"; then
33025 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33026 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33027 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 cat >conftest.
$ac_ext <<_ACEOF
33034 cat confdefs.h
>>conftest.
$ac_ext
33035 cat >>conftest.
$ac_ext <<_ACEOF
33036 /* end confdefs.h. */
33039 #include <stdarg.h>
33041 #if __MSL__ >= 0x6000
33043 using namespace std;
33052 snprintf(buf, 10u, "%s", "wx");
33058 rm -f conftest.
$ac_objext
33059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33060 (eval $ac_compile) 2>conftest.er1
33062 grep -v '^ *+' conftest.er1
>conftest.err
33064 cat conftest.err
>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); } &&
33067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; } &&
33073 { ac_try
='test -s conftest.$ac_objext'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }; then
33079 wx_cv_func_snprintf_decl
=yes
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.
$ac_ext >&5
33084 wx_cv_func_snprintf_decl
=no
33087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33091 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33092 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33094 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33095 cat >>confdefs.h
<<\_ACEOF
33096 #define HAVE_SNPRINTF_DECL 1
33100 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33101 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33102 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33114 #include <stdarg.h>
33116 #if __MSL__ >= 0x6000
33118 using namespace std;
33127 const char *fmt = "%s";
33128 snprintf(buf, 10u, fmt, "wx");
33134 rm -f conftest.
$ac_objext
33135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33136 (eval $ac_compile) 2>conftest.er1
33138 grep -v '^ *+' conftest.er1
>conftest.err
33140 cat conftest.err
>&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } &&
33143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33145 (eval $ac_try) 2>&5
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); }; } &&
33149 { ac_try
='test -s conftest.$ac_objext'
33150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33151 (eval $ac_try) 2>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); }; }; then
33155 wx_cv_func_broken_snprintf_decl
=no
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.
$ac_ext >&5
33160 wx_cv_func_broken_snprintf_decl
=yes
33163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33167 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33168 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33170 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33171 cat >>confdefs.h
<<\_ACEOF
33172 #define HAVE_BROKEN_SNPRINTF_DECL 1
33179 if test "$wxUSE_UNICODE" = yes; then
33186 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33189 echo "$as_me:$LINENO: checking for $ac_func" >&5
33190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33191 if eval "test \"\${$as_ac_var+set}\" = set"; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 cat >conftest.
$ac_ext <<_ACEOF
33197 cat confdefs.h
>>conftest.
$ac_ext
33198 cat >>conftest.
$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33202 #define $ac_func innocuous_$ac_func
33204 /* System header to define __stub macros and hopefully few prototypes,
33205 which can conflict with char $ac_func (); below.
33206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33207 <limits.h> exists even on freestanding compilers. */
33210 # include <limits.h>
33212 # include <assert.h>
33217 /* Override any gcc2 internal prototype to avoid an error. */
33222 /* We use char because int might match the return type of a gcc2
33223 builtin and then its argument prototype would still apply. */
33225 /* The GNU C library defines this for functions which it implements
33226 to always fail with ENOSYS. Some functions are actually named
33227 something starting with __ and the normal name is an alias. */
33228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33231 char (*f) () = $ac_func;
33240 return f != $ac_func;
33245 rm -f conftest.
$ac_objext conftest
$ac_exeext
33246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33247 (eval $ac_link) 2>conftest.er1
33249 grep -v '^ *+' conftest.er1
>conftest.err
33251 cat conftest.err
>&5
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); } &&
33254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33256 (eval $ac_try) 2>&5
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); }; } &&
33260 { ac_try
='test -s conftest$ac_exeext'
33261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33262 (eval $ac_try) 2>&5
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); }; }; then
33266 eval "$as_ac_var=yes"
33268 echo "$as_me: failed program was:" >&5
33269 sed 's/^/| /' conftest.
$ac_ext >&5
33271 eval "$as_ac_var=no"
33273 rm -f conftest.err conftest.
$ac_objext \
33274 conftest
$ac_exeext conftest.
$ac_ext
33276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33278 if test `eval echo '${'$as_ac_var'}'` = yes; then
33279 cat >>confdefs.h
<<_ACEOF
33280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33287 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33288 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33289 cat >conftest.
$ac_ext <<_ACEOF
33292 cat confdefs.h
>>conftest.
$ac_ext
33293 cat >>conftest.
$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33304 rm -f conftest.
$ac_objext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33306 (eval $ac_compile) 2>conftest.er1
33308 grep -v '^ *+' conftest.er1
>conftest.err
33310 cat conftest.err
>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } &&
33313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315 (eval $ac_try) 2>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); }; } &&
33319 { ac_try
='test -s conftest.$ac_objext'
33320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33321 (eval $ac_try) 2>&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); }; }; then
33325 echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6
33327 cat >>confdefs.h
<<\_ACEOF
33328 #define HAVE__VSNWPRINTF 1
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.
$ac_ext >&5
33335 echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6
33338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33342 ac_cpp
='$CPP $CPPFLAGS'
33343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33348 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33350 for ac_func
in fnmatch
33352 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33353 echo "$as_me:$LINENO: checking for $ac_func" >&5
33354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33355 if eval "test \"\${$as_ac_var+set}\" = set"; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 cat >conftest.
$ac_ext <<_ACEOF
33361 cat confdefs.h
>>conftest.
$ac_ext
33362 cat >>conftest.
$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33366 #define $ac_func innocuous_$ac_func
33368 /* System header to define __stub macros and hopefully few prototypes,
33369 which can conflict with char $ac_func (); below.
33370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33371 <limits.h> exists even on freestanding compilers. */
33374 # include <limits.h>
33376 # include <assert.h>
33381 /* Override any gcc2 internal prototype to avoid an error. */
33386 /* We use char because int might match the return type of a gcc2
33387 builtin and then its argument prototype would still apply. */
33389 /* The GNU C library defines this for functions which it implements
33390 to always fail with ENOSYS. Some functions are actually named
33391 something starting with __ and the normal name is an alias. */
33392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33395 char (*f) () = $ac_func;
33404 return f != $ac_func;
33409 rm -f conftest.
$ac_objext conftest
$ac_exeext
33410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33411 (eval $ac_link) 2>conftest.er1
33413 grep -v '^ *+' conftest.er1
>conftest.err
33415 cat conftest.err
>&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); } &&
33418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420 (eval $ac_try) 2>&5
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); }; } &&
33424 { ac_try
='test -s conftest$ac_exeext'
33425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426 (eval $ac_try) 2>&5
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; }; then
33430 eval "$as_ac_var=yes"
33432 echo "$as_me: failed program was:" >&5
33433 sed 's/^/| /' conftest.
$ac_ext >&5
33435 eval "$as_ac_var=no"
33437 rm -f conftest.err conftest.
$ac_objext \
33438 conftest
$ac_exeext conftest.
$ac_ext
33440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33442 if test `eval echo '${'$as_ac_var'}'` = yes; then
33443 cat >>confdefs.h
<<_ACEOF
33444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33452 if test "$wxUSE_FILE" = "yes"; then
33454 for ac_func
in fsync
33456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33457 echo "$as_me:$LINENO: checking for $ac_func" >&5
33458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33459 if eval "test \"\${$as_ac_var+set}\" = set"; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33462 cat >conftest.
$ac_ext <<_ACEOF
33465 cat confdefs.h
>>conftest.
$ac_ext
33466 cat >>conftest.
$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33470 #define $ac_func innocuous_$ac_func
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33478 # include <limits.h>
33480 # include <assert.h>
33485 /* Override any gcc2 internal prototype to avoid an error. */
33490 /* We use char because int might match the return type of a gcc2
33491 builtin and then its argument prototype would still apply. */
33493 /* The GNU C library defines this for functions which it implements
33494 to always fail with ENOSYS. Some functions are actually named
33495 something starting with __ and the normal name is an alias. */
33496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33499 char (*f) () = $ac_func;
33508 return f != $ac_func;
33513 rm -f conftest.
$ac_objext conftest
$ac_exeext
33514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33515 (eval $ac_link) 2>conftest.er1
33517 grep -v '^ *+' conftest.er1
>conftest.err
33519 cat conftest.err
>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; } &&
33528 { ac_try
='test -s conftest$ac_exeext'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; }; then
33534 eval "$as_ac_var=yes"
33536 echo "$as_me: failed program was:" >&5
33537 sed 's/^/| /' conftest.
$ac_ext >&5
33539 eval "$as_ac_var=no"
33541 rm -f conftest.err conftest.
$ac_objext \
33542 conftest
$ac_exeext conftest.
$ac_ext
33544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h
<<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33557 if test "$TOOLKIT" != "MSW"; then
33563 ac_cpp
='$CXXCPP $CPPFLAGS'
33564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33571 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33572 if test "${with_libiconv_prefix+set}" = set; then
33573 withval
="$with_libiconv_prefix"
33575 for dir
in `echo "$withval" | tr : ' '`; do
33576 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33577 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33582 echo "$as_me:$LINENO: checking for iconv" >&5
33583 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33584 if test "${am_cv_func_iconv+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33588 am_cv_func_iconv
="no, consider installing GNU libiconv"
33590 cat >conftest.
$ac_ext <<_ACEOF
33593 cat confdefs.h
>>conftest.
$ac_ext
33594 cat >>conftest.
$ac_ext <<_ACEOF
33595 /* end confdefs.h. */
33596 #include <stdlib.h>
33601 iconv_t cd = iconv_open("","");
33602 iconv(cd,NULL,NULL,NULL,NULL);
33608 rm -f conftest.
$ac_objext conftest
$ac_exeext
33609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33610 (eval $ac_link) 2>conftest.er1
33612 grep -v '^ *+' conftest.er1
>conftest.err
33614 cat conftest.err
>&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); } &&
33617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; } &&
33623 { ac_try
='test -s conftest$ac_exeext'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; }; then
33629 am_cv_func_iconv
=yes
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.
$ac_ext >&5
33635 rm -f conftest.err conftest.
$ac_objext \
33636 conftest
$ac_exeext conftest.
$ac_ext
33637 if test "$am_cv_func_iconv" != yes; then
33638 am_save_LIBS
="$LIBS"
33639 LIBS
="$LIBS -liconv"
33640 cat >conftest.
$ac_ext <<_ACEOF
33643 cat confdefs.h
>>conftest.
$ac_ext
33644 cat >>conftest.
$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 #include <stdlib.h>
33651 iconv_t cd = iconv_open("","");
33652 iconv(cd,NULL,NULL,NULL,NULL);
33658 rm -f conftest.
$ac_objext conftest
$ac_exeext
33659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33660 (eval $ac_link) 2>conftest.er1
33662 grep -v '^ *+' conftest.er1
>conftest.err
33664 cat conftest.err
>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } &&
33667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; } &&
33673 { ac_try
='test -s conftest$ac_exeext'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; }; then
33679 am_cv_lib_iconv
=yes
33680 am_cv_func_iconv
=yes
33682 echo "$as_me: failed program was:" >&5
33683 sed 's/^/| /' conftest.
$ac_ext >&5
33686 rm -f conftest.err conftest.
$ac_objext \
33687 conftest
$ac_exeext conftest.
$ac_ext
33688 LIBS
="$am_save_LIBS"
33692 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33693 echo "${ECHO_T}$am_cv_func_iconv" >&6
33694 if test "$am_cv_func_iconv" = yes; then
33696 cat >>confdefs.h
<<\_ACEOF
33697 #define HAVE_ICONV 1
33700 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33701 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33702 if test "${wx_cv_func_iconv_const+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 cat >conftest.
$ac_ext <<_ACEOF
33708 cat confdefs.h
>>conftest.
$ac_ext
33709 cat >>conftest.
$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33712 #include <stdlib.h>
33718 #if defined(__STDC__) || defined(__cplusplus)
33719 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33732 rm -f conftest.
$ac_objext
33733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33734 (eval $ac_compile) 2>conftest.er1
33736 grep -v '^ *+' conftest.er1
>conftest.err
33738 cat conftest.err
>&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); } &&
33741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33743 (eval $ac_try) 2>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; } &&
33747 { ac_try
='test -s conftest.$ac_objext'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; }; then
33753 wx_cv_func_iconv_const
="no"
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.
$ac_ext >&5
33758 wx_cv_func_iconv_const
="yes"
33761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33764 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33765 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33768 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33769 iconv_const
="const"
33773 cat >>confdefs.h
<<_ACEOF
33774 #define ICONV_CONST $iconv_const
33779 if test "$am_cv_lib_iconv" = yes; then
33784 LIBS
="$LIBICONV $LIBS"
33786 ac_cpp
='$CPP $CPPFLAGS'
33787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33792 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33794 for ac_func
in sigaction
33796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33797 echo "$as_me:$LINENO: checking for $ac_func" >&5
33798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33799 if eval "test \"\${$as_ac_var+set}\" = set"; then
33800 echo $ECHO_N "(cached) $ECHO_C" >&6
33802 cat >conftest.
$ac_ext <<_ACEOF
33805 cat confdefs.h
>>conftest.
$ac_ext
33806 cat >>conftest.
$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33810 #define $ac_func innocuous_$ac_func
33812 /* System header to define __stub macros and hopefully few prototypes,
33813 which can conflict with char $ac_func (); below.
33814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33815 <limits.h> exists even on freestanding compilers. */
33818 # include <limits.h>
33820 # include <assert.h>
33825 /* Override any gcc2 internal prototype to avoid an error. */
33830 /* We use char because int might match the return type of a gcc2
33831 builtin and then its argument prototype would still apply. */
33833 /* The GNU C library defines this for functions which it implements
33834 to always fail with ENOSYS. Some functions are actually named
33835 something starting with __ and the normal name is an alias. */
33836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33839 char (*f) () = $ac_func;
33848 return f != $ac_func;
33853 rm -f conftest.
$ac_objext conftest
$ac_exeext
33854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33855 (eval $ac_link) 2>conftest.er1
33857 grep -v '^ *+' conftest.er1
>conftest.err
33859 cat conftest.err
>&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } &&
33862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864 (eval $ac_try) 2>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); }; } &&
33868 { ac_try
='test -s conftest$ac_exeext'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; }; then
33874 eval "$as_ac_var=yes"
33876 echo "$as_me: failed program was:" >&5
33877 sed 's/^/| /' conftest.
$ac_ext >&5
33879 eval "$as_ac_var=no"
33881 rm -f conftest.err conftest.
$ac_objext \
33882 conftest
$ac_exeext conftest.
$ac_ext
33884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33886 if test `eval echo '${'$as_ac_var'}'` = yes; then
33887 cat >>confdefs.h
<<_ACEOF
33888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33895 if test "$ac_cv_func_sigaction" = "no"; then
33896 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33897 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33898 wxUSE_ON_FATAL_EXCEPTION
=no
33901 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33905 ac_cpp
='$CXXCPP $CPPFLAGS'
33906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33911 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33912 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33913 if test "${wx_cv_type_sa_handler+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 cat >conftest.
$ac_ext <<_ACEOF
33920 cat confdefs.h
>>conftest.
$ac_ext
33921 cat >>conftest.
$ac_ext <<_ACEOF
33922 /* end confdefs.h. */
33923 #include <signal.h>
33928 extern void testSigHandler(int);
33930 struct sigaction sa;
33931 sa.sa_handler = testSigHandler;
33937 rm -f conftest.
$ac_objext
33938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33939 (eval $ac_compile) 2>conftest.er1
33941 grep -v '^ *+' conftest.er1
>conftest.err
33943 cat conftest.err
>&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } &&
33946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; } &&
33952 { ac_try
='test -s conftest.$ac_objext'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; }; then
33959 wx_cv_type_sa_handler
=int
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.
$ac_ext >&5
33966 wx_cv_type_sa_handler
=void
33969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33972 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33973 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33976 ac_cpp
='$CPP $CPPFLAGS'
33977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33982 cat >>confdefs.h
<<_ACEOF
33983 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33989 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33993 ac_cpp
='$CXXCPP $CPPFLAGS'
33994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33999 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34000 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34001 if test "${wx_cv_func_backtrace+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 cat >conftest.
$ac_ext <<_ACEOF
34008 cat confdefs.h
>>conftest.
$ac_ext
34009 cat >>conftest.
$ac_ext <<_ACEOF
34010 /* end confdefs.h. */
34011 #include <execinfo.h>
34019 backtrace(trace, 1);
34020 messages = backtrace_symbols(trace, 1);
34026 rm -f conftest.
$ac_objext
34027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34028 (eval $ac_compile) 2>conftest.er1
34030 grep -v '^ *+' conftest.er1
>conftest.err
34032 cat conftest.err
>&5
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); } &&
34035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; } &&
34041 { ac_try
='test -s conftest.$ac_objext'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; }; then
34047 wx_cv_func_backtrace
=yes
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.
$ac_ext >&5
34052 wx_cv_func_backtrace
=no
34055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34059 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34060 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34063 if test "$wx_cv_func_backtrace" = "no"; then
34064 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34065 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34066 wxUSE_STACKWALKER
=no
34068 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34069 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34070 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.
$ac_ext <<_ACEOF
34077 cat confdefs.h
>>conftest.
$ac_ext
34078 cat >>conftest.
$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 #include <cxxabi.h>
34086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34092 rm -f conftest.
$ac_objext conftest
$ac_exeext
34093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34094 (eval $ac_link) 2>conftest.er1
34096 grep -v '^ *+' conftest.er1
>conftest.err
34098 cat conftest.err
>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } &&
34101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try
='test -s conftest$ac_exeext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 wx_cv_func_cxa_demangle
=yes
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.
$ac_ext >&5
34118 wx_cv_func_cxa_demangle
=no
34121 rm -f conftest.err conftest.
$ac_objext \
34122 conftest
$ac_exeext conftest.
$ac_ext
34126 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34127 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34129 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34130 cat >>confdefs.h
<<\_ACEOF
34131 #define HAVE_CXA_DEMANGLE 1
34138 ac_cpp
='$CPP $CPPFLAGS'
34139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34145 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34146 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34147 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34148 wxUSE_STACKWALKER
=no
34154 for ac_func
in mkstemp mktemp
34156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34157 echo "$as_me:$LINENO: checking for $ac_func" >&5
34158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34159 if eval "test \"\${$as_ac_var+set}\" = set"; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 cat >conftest.
$ac_ext <<_ACEOF
34165 cat confdefs.h
>>conftest.
$ac_ext
34166 cat >>conftest.
$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34170 #define $ac_func innocuous_$ac_func
34172 /* System header to define __stub macros and hopefully few prototypes,
34173 which can conflict with char $ac_func (); below.
34174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34175 <limits.h> exists even on freestanding compilers. */
34178 # include <limits.h>
34180 # include <assert.h>
34185 /* Override any gcc2 internal prototype to avoid an error. */
34190 /* We use char because int might match the return type of a gcc2
34191 builtin and then its argument prototype would still apply. */
34193 /* The GNU C library defines this for functions which it implements
34194 to always fail with ENOSYS. Some functions are actually named
34195 something starting with __ and the normal name is an alias. */
34196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34199 char (*f) () = $ac_func;
34208 return f != $ac_func;
34213 rm -f conftest.
$ac_objext conftest
$ac_exeext
34214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34215 (eval $ac_link) 2>conftest.er1
34217 grep -v '^ *+' conftest.er1
>conftest.err
34219 cat conftest.err
>&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } &&
34222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; } &&
34228 { ac_try
='test -s conftest$ac_exeext'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; }; then
34234 eval "$as_ac_var=yes"
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.
$ac_ext >&5
34239 eval "$as_ac_var=no"
34241 rm -f conftest.err conftest.
$ac_objext \
34242 conftest
$ac_exeext conftest.
$ac_ext
34244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34246 if test `eval echo '${'$as_ac_var'}'` = yes; then
34247 cat >>confdefs.h
<<_ACEOF
34248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34255 echo "$as_me:$LINENO: checking for statfs" >&5
34256 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34257 if test "${wx_cv_func_statfs+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 cat >conftest.
$ac_ext <<_ACEOF
34263 cat confdefs.h
>>conftest.
$ac_ext
34264 cat >>conftest.
$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34267 #if defined(__BSD__)
34268 #include <sys/param.h>
34269 #include <sys/mount.h>
34271 #include <sys/vfs.h>
34289 rm -f conftest.
$ac_objext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34291 (eval $ac_compile) 2>conftest.er1
34293 grep -v '^ *+' conftest.er1
>conftest.err
34295 cat conftest.err
>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try
='test -s conftest.$ac_objext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 wx_cv_func_statfs
=yes
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.
$ac_ext >&5
34315 wx_cv_func_statfs
=no
34318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34321 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34322 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34324 if test "$wx_cv_func_statfs" = "yes"; then
34328 ac_cpp
='$CXXCPP $CPPFLAGS'
34329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34333 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34334 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34335 if test "${wx_cv_func_statfs_decl+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.
$ac_ext <<_ACEOF
34341 cat confdefs.h
>>conftest.
$ac_ext
34342 cat >>conftest.
$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34345 #if defined(__BSD__)
34346 #include <sys/param.h>
34347 #include <sys/mount.h>
34349 #include <sys/vfs.h>
34363 rm -f conftest.
$ac_objext
34364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34365 (eval $ac_compile) 2>conftest.er1
34367 grep -v '^ *+' conftest.er1
>conftest.err
34369 cat conftest.err
>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); } &&
34372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
34378 { ac_try
='test -s conftest.$ac_objext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34384 wx_cv_func_statfs_decl
=yes
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.
$ac_ext >&5
34389 wx_cv_func_statfs_decl
=no
34392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34395 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34396 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34398 ac_cpp
='$CPP $CPPFLAGS'
34399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34404 if test "$wx_cv_func_statfs_decl" = "yes"; then
34405 cat >>confdefs.h
<<\_ACEOF
34406 #define HAVE_STATFS_DECL 1
34411 wx_cv_type_statvfs_t
="struct statfs"
34412 cat >>confdefs.h
<<\_ACEOF
34413 #define HAVE_STATFS 1
34417 echo "$as_me:$LINENO: checking for statvfs" >&5
34418 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34419 if test "${wx_cv_func_statvfs+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34422 cat >conftest.
$ac_ext <<_ACEOF
34425 cat confdefs.h
>>conftest.
$ac_ext
34426 cat >>conftest.
$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34429 #include <stddef.h>
34430 #include <sys/statvfs.h>
34436 statvfs("/", NULL);
34442 rm -f conftest.
$ac_objext
34443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34444 (eval $ac_compile) 2>conftest.er1
34446 grep -v '^ *+' conftest.er1
>conftest.err
34448 cat conftest.err
>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try
='test -s conftest.$ac_objext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 wx_cv_func_statvfs
=yes
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.
$ac_ext >&5
34468 wx_cv_func_statvfs
=no
34471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34474 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34475 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34477 if test "$wx_cv_func_statvfs" = "yes"; then
34481 ac_cpp
='$CXXCPP $CPPFLAGS'
34482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34487 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34488 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34489 if test "${wx_cv_type_statvfs_t+set}" = set; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 cat >conftest.
$ac_ext <<_ACEOF
34495 cat confdefs.h
>>conftest.
$ac_ext
34496 cat >>conftest.
$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34499 #include <sys/statvfs.h>
34516 rm -f conftest.
$ac_objext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34518 (eval $ac_compile) 2>conftest.er1
34520 grep -v '^ *+' conftest.er1
>conftest.err
34522 cat conftest.err
>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try
='test -s conftest.$ac_objext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537 wx_cv_type_statvfs_t
=statvfs_t
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.
$ac_ext >&5
34543 cat >conftest.
$ac_ext <<_ACEOF
34546 cat confdefs.h
>>conftest.
$ac_ext
34547 cat >>conftest.
$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34550 #include <sys/statvfs.h>
34567 rm -f conftest.
$ac_objext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34569 (eval $ac_compile) 2>conftest.er1
34571 grep -v '^ *+' conftest.er1
>conftest.err
34573 cat conftest.err
>&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34578 (eval $ac_try) 2>&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try
='test -s conftest.$ac_objext'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; }; then
34588 wx_cv_type_statvfs_t
="struct statvfs"
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.
$ac_ext >&5
34593 wx_cv_type_statvfs_t
="unknown"
34596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34603 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34604 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34607 ac_cpp
='$CPP $CPPFLAGS'
34608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34613 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34614 cat >>confdefs.h
<<\_ACEOF
34615 #define HAVE_STATVFS 1
34620 wx_cv_type_statvfs_t
="unknown"
34624 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34625 cat >>confdefs.h
<<_ACEOF
34626 #define WX_STATFS_T $wx_cv_type_statvfs_t
34630 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34631 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34634 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34637 for ac_func
in fcntl flock
34639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34640 echo "$as_me:$LINENO: checking for $ac_func" >&5
34641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34642 if eval "test \"\${$as_ac_var+set}\" = set"; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 cat >conftest.
$ac_ext <<_ACEOF
34648 cat confdefs.h
>>conftest.
$ac_ext
34649 cat >>conftest.
$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34653 #define $ac_func innocuous_$ac_func
34655 /* System header to define __stub macros and hopefully few prototypes,
34656 which can conflict with char $ac_func (); below.
34657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34658 <limits.h> exists even on freestanding compilers. */
34661 # include <limits.h>
34663 # include <assert.h>
34668 /* Override any gcc2 internal prototype to avoid an error. */
34673 /* We use char because int might match the return type of a gcc2
34674 builtin and then its argument prototype would still apply. */
34676 /* The GNU C library defines this for functions which it implements
34677 to always fail with ENOSYS. Some functions are actually named
34678 something starting with __ and the normal name is an alias. */
34679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34682 char (*f) () = $ac_func;
34691 return f != $ac_func;
34696 rm -f conftest.
$ac_objext conftest
$ac_exeext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34698 (eval $ac_link) 2>conftest.er1
34700 grep -v '^ *+' conftest.er1
>conftest.err
34702 cat conftest.err
>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } &&
34705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; } &&
34711 { ac_try
='test -s conftest$ac_exeext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
34717 eval "$as_ac_var=yes"
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.
$ac_ext >&5
34722 eval "$as_ac_var=no"
34724 rm -f conftest.err conftest.
$ac_objext \
34725 conftest
$ac_exeext conftest.
$ac_ext
34727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34729 if test `eval echo '${'$as_ac_var'}'` = yes; then
34730 cat >>confdefs.h
<<_ACEOF
34731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34738 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34739 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34740 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34741 wxUSE_SNGLINST_CHECKER
=no
34746 for ac_func
in timegm
34748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34749 echo "$as_me:$LINENO: checking for $ac_func" >&5
34750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34751 if eval "test \"\${$as_ac_var+set}\" = set"; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 cat >conftest.
$ac_ext <<_ACEOF
34757 cat confdefs.h
>>conftest.
$ac_ext
34758 cat >>conftest.
$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34762 #define $ac_func innocuous_$ac_func
34764 /* System header to define __stub macros and hopefully few prototypes,
34765 which can conflict with char $ac_func (); below.
34766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34767 <limits.h> exists even on freestanding compilers. */
34770 # include <limits.h>
34772 # include <assert.h>
34777 /* Override any gcc2 internal prototype to avoid an error. */
34782 /* We use char because int might match the return type of a gcc2
34783 builtin and then its argument prototype would still apply. */
34785 /* The GNU C library defines this for functions which it implements
34786 to always fail with ENOSYS. Some functions are actually named
34787 something starting with __ and the normal name is an alias. */
34788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34791 char (*f) () = $ac_func;
34800 return f != $ac_func;
34805 rm -f conftest.
$ac_objext conftest
$ac_exeext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34807 (eval $ac_link) 2>conftest.er1
34809 grep -v '^ *+' conftest.er1
>conftest.err
34811 cat conftest.err
>&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34816 (eval $ac_try) 2>&5
34818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819 (exit $ac_status); }; } &&
34820 { ac_try
='test -s conftest$ac_exeext'
34821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34822 (eval $ac_try) 2>&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); }; }; then
34826 eval "$as_ac_var=yes"
34828 echo "$as_me: failed program was:" >&5
34829 sed 's/^/| /' conftest.
$ac_ext >&5
34831 eval "$as_ac_var=no"
34833 rm -f conftest.err conftest.
$ac_objext \
34834 conftest
$ac_exeext conftest.
$ac_ext
34836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34838 if test `eval echo '${'$as_ac_var'}'` = yes; then
34839 cat >>confdefs.h
<<_ACEOF
34840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34849 for ac_func
in putenv setenv
34851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34852 echo "$as_me:$LINENO: checking for $ac_func" >&5
34853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34854 if eval "test \"\${$as_ac_var+set}\" = set"; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 cat >conftest.
$ac_ext <<_ACEOF
34860 cat confdefs.h
>>conftest.
$ac_ext
34861 cat >>conftest.
$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34865 #define $ac_func innocuous_$ac_func
34867 /* System header to define __stub macros and hopefully few prototypes,
34868 which can conflict with char $ac_func (); below.
34869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870 <limits.h> exists even on freestanding compilers. */
34873 # include <limits.h>
34875 # include <assert.h>
34880 /* Override any gcc2 internal prototype to avoid an error. */
34885 /* We use char because int might match the return type of a gcc2
34886 builtin and then its argument prototype would still apply. */
34888 /* The GNU C library defines this for functions which it implements
34889 to always fail with ENOSYS. Some functions are actually named
34890 something starting with __ and the normal name is an alias. */
34891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34894 char (*f) () = $ac_func;
34903 return f != $ac_func;
34908 rm -f conftest.
$ac_objext conftest
$ac_exeext
34909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34910 (eval $ac_link) 2>conftest.er1
34912 grep -v '^ *+' conftest.er1
>conftest.err
34914 cat conftest.err
>&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } &&
34917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34919 (eval $ac_try) 2>&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); }; } &&
34923 { ac_try
='test -s conftest$ac_exeext'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; }; then
34929 eval "$as_ac_var=yes"
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.
$ac_ext >&5
34934 eval "$as_ac_var=no"
34936 rm -f conftest.err conftest.
$ac_objext \
34937 conftest
$ac_exeext conftest.
$ac_ext
34939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34941 if test `eval echo '${'$as_ac_var'}'` = yes; then
34942 cat >>confdefs.h
<<_ACEOF
34943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34950 HAVE_SOME_SLEEP_FUNC
=0
34951 if test "$USE_BEOS" = 1; then
34952 cat >>confdefs.h
<<\_ACEOF
34953 #define HAVE_SLEEP 1
34956 HAVE_SOME_SLEEP_FUNC
=1
34959 if test "$USE_DARWIN" = 1; then
34960 cat >>confdefs.h
<<\_ACEOF
34961 #define HAVE_USLEEP 1
34964 HAVE_SOME_SLEEP_FUNC
=1
34967 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34970 for ac_func
in nanosleep
34972 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34973 echo "$as_me:$LINENO: checking for $ac_func" >&5
34974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_var+set}\" = set"; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34978 cat >conftest.
$ac_ext <<_ACEOF
34981 cat confdefs.h
>>conftest.
$ac_ext
34982 cat >>conftest.
$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34986 #define $ac_func innocuous_$ac_func
34988 /* System header to define __stub macros and hopefully few prototypes,
34989 which can conflict with char $ac_func (); below.
34990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34991 <limits.h> exists even on freestanding compilers. */
34994 # include <limits.h>
34996 # include <assert.h>
35001 /* Override any gcc2 internal prototype to avoid an error. */
35006 /* We use char because int might match the return type of a gcc2
35007 builtin and then its argument prototype would still apply. */
35009 /* The GNU C library defines this for functions which it implements
35010 to always fail with ENOSYS. Some functions are actually named
35011 something starting with __ and the normal name is an alias. */
35012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35015 char (*f) () = $ac_func;
35024 return f != $ac_func;
35029 rm -f conftest.
$ac_objext conftest
$ac_exeext
35030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35031 (eval $ac_link) 2>conftest.er1
35033 grep -v '^ *+' conftest.er1
>conftest.err
35035 cat conftest.err
>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } &&
35038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; } &&
35044 { ac_try
='test -s conftest$ac_exeext'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; }; then
35050 eval "$as_ac_var=yes"
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.
$ac_ext >&5
35055 eval "$as_ac_var=no"
35057 rm -f conftest.err conftest.
$ac_objext \
35058 conftest
$ac_exeext conftest.
$ac_ext
35060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35062 if test `eval echo '${'$as_ac_var'}'` = yes; then
35063 cat >>confdefs.h
<<_ACEOF
35064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35066 cat >>confdefs.h
<<\_ACEOF
35067 #define HAVE_NANOSLEEP 1
35072 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35073 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35074 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35075 echo $ECHO_N "(cached) $ECHO_C" >&6
35077 ac_check_lib_save_LIBS
=$LIBS
35078 LIBS
="-lposix4 $LIBS"
35079 cat >conftest.
$ac_ext <<_ACEOF
35082 cat confdefs.h
>>conftest.
$ac_ext
35083 cat >>conftest.
$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35086 /* Override any gcc2 internal prototype to avoid an error. */
35090 /* We use char because int might match the return type of a gcc2
35091 builtin and then its argument prototype would still apply. */
35101 rm -f conftest.
$ac_objext conftest
$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35105 grep -v '^ *+' conftest.er1
>conftest.err
35107 cat conftest.err
>&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; } &&
35116 { ac_try
='test -s conftest$ac_exeext'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; }; then
35122 ac_cv_lib_posix4_nanosleep
=yes
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.
$ac_ext >&5
35127 ac_cv_lib_posix4_nanosleep
=no
35129 rm -f conftest.err conftest.
$ac_objext \
35130 conftest
$ac_exeext conftest.
$ac_ext
35131 LIBS
=$ac_check_lib_save_LIBS
35133 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35134 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35135 if test $ac_cv_lib_posix4_nanosleep = yes; then
35137 cat >>confdefs.h
<<\_ACEOF
35138 #define HAVE_NANOSLEEP 1
35141 POSIX4_LINK
=" -lposix4"
35146 for ac_func
in usleep
35148 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35149 echo "$as_me:$LINENO: checking for $ac_func" >&5
35150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35151 if eval "test \"\${$as_ac_var+set}\" = set"; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 cat >conftest.
$ac_ext <<_ACEOF
35157 cat confdefs.h
>>conftest.
$ac_ext
35158 cat >>conftest.
$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define $ac_func innocuous_$ac_func
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char $ac_func (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35170 # include <limits.h>
35172 # include <assert.h>
35177 /* Override any gcc2 internal prototype to avoid an error. */
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35191 char (*f) () = $ac_func;
35200 return f != $ac_func;
35205 rm -f conftest.
$ac_objext conftest
$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35209 grep -v '^ *+' conftest.er1
>conftest.err
35211 cat conftest.err
>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try
='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 eval "$as_ac_var=yes"
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.
$ac_ext >&5
35231 eval "$as_ac_var=no"
35233 rm -f conftest.err conftest.
$ac_objext \
35234 conftest
$ac_exeext conftest.
$ac_ext
35236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35238 if test `eval echo '${'$as_ac_var'}'` = yes; then
35239 cat >>confdefs.h
<<_ACEOF
35240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35242 cat >>confdefs.h
<<\_ACEOF
35243 #define HAVE_USLEEP 1
35247 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35248 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35266 for ac_func
in uname gethostname
35268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35269 echo "$as_me:$LINENO: checking for $ac_func" >&5
35270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35271 if eval "test \"\${$as_ac_var+set}\" = set"; then
35272 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 cat >conftest.
$ac_ext <<_ACEOF
35277 cat confdefs.h
>>conftest.
$ac_ext
35278 cat >>conftest.
$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35282 #define $ac_func innocuous_$ac_func
35284 /* System header to define __stub macros and hopefully few prototypes,
35285 which can conflict with char $ac_func (); below.
35286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35287 <limits.h> exists even on freestanding compilers. */
35290 # include <limits.h>
35292 # include <assert.h>
35297 /* Override any gcc2 internal prototype to avoid an error. */
35302 /* We use char because int might match the return type of a gcc2
35303 builtin and then its argument prototype would still apply. */
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35311 char (*f) () = $ac_func;
35320 return f != $ac_func;
35325 rm -f conftest.
$ac_objext conftest
$ac_exeext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35327 (eval $ac_link) 2>conftest.er1
35329 grep -v '^ *+' conftest.er1
>conftest.err
35331 cat conftest.err
>&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35336 (eval $ac_try) 2>&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); }; } &&
35340 { ac_try
='test -s conftest$ac_exeext'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; }; then
35346 eval "$as_ac_var=yes"
35348 echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.
$ac_ext >&5
35351 eval "$as_ac_var=no"
35353 rm -f conftest.err conftest.
$ac_objext \
35354 conftest
$ac_exeext conftest.
$ac_ext
35356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35358 if test `eval echo '${'$as_ac_var'}'` = yes; then
35359 cat >>confdefs.h
<<_ACEOF
35360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35370 ac_cpp
='$CXXCPP $CPPFLAGS'
35371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35377 for ac_func
in strtok_r
35379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35380 echo "$as_me:$LINENO: checking for $ac_func" >&5
35381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35382 if eval "test \"\${$as_ac_var+set}\" = set"; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35385 cat >conftest.
$ac_ext <<_ACEOF
35388 cat confdefs.h
>>conftest.
$ac_ext
35389 cat >>conftest.
$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35393 #define $ac_func innocuous_$ac_func
35395 /* System header to define __stub macros and hopefully few prototypes,
35396 which can conflict with char $ac_func (); below.
35397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35398 <limits.h> exists even on freestanding compilers. */
35401 # include <limits.h>
35403 # include <assert.h>
35408 /* Override any gcc2 internal prototype to avoid an error. */
35413 /* We use char because int might match the return type of a gcc2
35414 builtin and then its argument prototype would still apply. */
35416 /* The GNU C library defines this for functions which it implements
35417 to always fail with ENOSYS. Some functions are actually named
35418 something starting with __ and the normal name is an alias. */
35419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35422 char (*f) () = $ac_func;
35431 return f != $ac_func;
35436 rm -f conftest.
$ac_objext conftest
$ac_exeext
35437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35438 (eval $ac_link) 2>conftest.er1
35440 grep -v '^ *+' conftest.er1
>conftest.err
35442 cat conftest.err
>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } &&
35445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; } &&
35451 { ac_try
='test -s conftest$ac_exeext'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; }; then
35457 eval "$as_ac_var=yes"
35459 echo "$as_me: failed program was:" >&5
35460 sed 's/^/| /' conftest.
$ac_ext >&5
35462 eval "$as_ac_var=no"
35464 rm -f conftest.err conftest.
$ac_objext \
35465 conftest
$ac_exeext conftest.
$ac_ext
35467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35469 if test `eval echo '${'$as_ac_var'}'` = yes; then
35470 cat >>confdefs.h
<<_ACEOF
35471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35479 ac_cpp
='$CPP $CPPFLAGS'
35480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35487 for ac_func
in inet_addr
35489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35490 echo "$as_me:$LINENO: checking for $ac_func" >&5
35491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35492 if eval "test \"\${$as_ac_var+set}\" = set"; then
35493 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 cat >conftest.
$ac_ext <<_ACEOF
35498 cat confdefs.h
>>conftest.
$ac_ext
35499 cat >>conftest.
$ac_ext <<_ACEOF
35500 /* end confdefs.h. */
35501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35503 #define $ac_func innocuous_$ac_func
35505 /* System header to define __stub macros and hopefully few prototypes,
35506 which can conflict with char $ac_func (); below.
35507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35508 <limits.h> exists even on freestanding compilers. */
35511 # include <limits.h>
35513 # include <assert.h>
35518 /* Override any gcc2 internal prototype to avoid an error. */
35523 /* We use char because int might match the return type of a gcc2
35524 builtin and then its argument prototype would still apply. */
35526 /* The GNU C library defines this for functions which it implements
35527 to always fail with ENOSYS. Some functions are actually named
35528 something starting with __ and the normal name is an alias. */
35529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35532 char (*f) () = $ac_func;
35541 return f != $ac_func;
35546 rm -f conftest.
$ac_objext conftest
$ac_exeext
35547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35548 (eval $ac_link) 2>conftest.er1
35550 grep -v '^ *+' conftest.er1
>conftest.err
35552 cat conftest.err
>&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); } &&
35555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35557 (eval $ac_try) 2>&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); }; } &&
35561 { ac_try
='test -s conftest$ac_exeext'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; }; then
35567 eval "$as_ac_var=yes"
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.
$ac_ext >&5
35572 eval "$as_ac_var=no"
35574 rm -f conftest.err conftest.
$ac_objext \
35575 conftest
$ac_exeext conftest.
$ac_ext
35577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35579 if test `eval echo '${'$as_ac_var'}'` = yes; then
35580 cat >>confdefs.h
<<_ACEOF
35581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35583 cat >>confdefs.h
<<\_ACEOF
35584 #define HAVE_INET_ADDR 1
35589 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35590 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35591 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35594 ac_check_lib_save_LIBS
=$LIBS
35596 cat >conftest.
$ac_ext <<_ACEOF
35599 cat confdefs.h
>>conftest.
$ac_ext
35600 cat >>conftest.
$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35603 /* Override any gcc2 internal prototype to avoid an error. */
35607 /* We use char because int might match the return type of a gcc2
35608 builtin and then its argument prototype would still apply. */
35618 rm -f conftest.
$ac_objext conftest
$ac_exeext
35619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35620 (eval $ac_link) 2>conftest.er1
35622 grep -v '^ *+' conftest.er1
>conftest.err
35624 cat conftest.err
>&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } &&
35627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; } &&
35633 { ac_try
='test -s conftest$ac_exeext'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; }; then
35639 ac_cv_lib_nsl_inet_addr
=yes
35641 echo "$as_me: failed program was:" >&5
35642 sed 's/^/| /' conftest.
$ac_ext >&5
35644 ac_cv_lib_nsl_inet_addr
=no
35646 rm -f conftest.err conftest.
$ac_objext \
35647 conftest
$ac_exeext conftest.
$ac_ext
35648 LIBS
=$ac_check_lib_save_LIBS
35650 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35651 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35652 if test $ac_cv_lib_nsl_inet_addr = yes; then
35656 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35657 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35658 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35659 echo $ECHO_N "(cached) $ECHO_C" >&6
35661 ac_check_lib_save_LIBS
=$LIBS
35662 LIBS
="-lresolv $LIBS"
35663 cat >conftest.
$ac_ext <<_ACEOF
35666 cat confdefs.h
>>conftest.
$ac_ext
35667 cat >>conftest.
$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35670 /* Override any gcc2 internal prototype to avoid an error. */
35674 /* We use char because int might match the return type of a gcc2
35675 builtin and then its argument prototype would still apply. */
35685 rm -f conftest.
$ac_objext conftest
$ac_exeext
35686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35687 (eval $ac_link) 2>conftest.er1
35689 grep -v '^ *+' conftest.er1
>conftest.err
35691 cat conftest.err
>&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } &&
35694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35696 (eval $ac_try) 2>&5
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); }; } &&
35700 { ac_try
='test -s conftest$ac_exeext'
35701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35702 (eval $ac_try) 2>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); }; }; then
35706 ac_cv_lib_resolv_inet_addr
=yes
35708 echo "$as_me: failed program was:" >&5
35709 sed 's/^/| /' conftest.
$ac_ext >&5
35711 ac_cv_lib_resolv_inet_addr
=no
35713 rm -f conftest.err conftest.
$ac_objext \
35714 conftest
$ac_exeext conftest.
$ac_ext
35715 LIBS
=$ac_check_lib_save_LIBS
35717 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35718 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35719 if test $ac_cv_lib_resolv_inet_addr = yes; then
35723 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35724 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35725 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35726 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 ac_check_lib_save_LIBS
=$LIBS
35729 LIBS
="-lsocket $LIBS"
35730 cat >conftest.
$ac_ext <<_ACEOF
35733 cat confdefs.h
>>conftest.
$ac_ext
35734 cat >>conftest.
$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35737 /* Override any gcc2 internal prototype to avoid an error. */
35741 /* We use char because int might match the return type of a gcc2
35742 builtin and then its argument prototype would still apply. */
35752 rm -f conftest.
$ac_objext conftest
$ac_exeext
35753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35754 (eval $ac_link) 2>conftest.er1
35756 grep -v '^ *+' conftest.er1
>conftest.err
35758 cat conftest.err
>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } &&
35761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35763 (eval $ac_try) 2>&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); }; } &&
35767 { ac_try
='test -s conftest$ac_exeext'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; }; then
35773 ac_cv_lib_socket_inet_addr
=yes
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.
$ac_ext >&5
35778 ac_cv_lib_socket_inet_addr
=no
35780 rm -f conftest.err conftest.
$ac_objext \
35781 conftest
$ac_exeext conftest.
$ac_ext
35782 LIBS
=$ac_check_lib_save_LIBS
35784 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35785 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35786 if test $ac_cv_lib_socket_inet_addr = yes; then
35806 for ac_func
in inet_aton
35808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35809 echo "$as_me:$LINENO: checking for $ac_func" >&5
35810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35811 if eval "test \"\${$as_ac_var+set}\" = set"; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 cat >conftest.
$ac_ext <<_ACEOF
35817 cat confdefs.h
>>conftest.
$ac_ext
35818 cat >>conftest.
$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35822 #define $ac_func innocuous_$ac_func
35824 /* System header to define __stub macros and hopefully few prototypes,
35825 which can conflict with char $ac_func (); below.
35826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35827 <limits.h> exists even on freestanding compilers. */
35830 # include <limits.h>
35832 # include <assert.h>
35837 /* Override any gcc2 internal prototype to avoid an error. */
35842 /* We use char because int might match the return type of a gcc2
35843 builtin and then its argument prototype would still apply. */
35845 /* The GNU C library defines this for functions which it implements
35846 to always fail with ENOSYS. Some functions are actually named
35847 something starting with __ and the normal name is an alias. */
35848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35851 char (*f) () = $ac_func;
35860 return f != $ac_func;
35865 rm -f conftest.
$ac_objext conftest
$ac_exeext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35867 (eval $ac_link) 2>conftest.er1
35869 grep -v '^ *+' conftest.er1
>conftest.err
35871 cat conftest.err
>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try
='test -s conftest$ac_exeext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35886 eval "$as_ac_var=yes"
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.
$ac_ext >&5
35891 eval "$as_ac_var=no"
35893 rm -f conftest.err conftest.
$ac_objext \
35894 conftest
$ac_exeext conftest.
$ac_ext
35896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35898 if test `eval echo '${'$as_ac_var'}'` = yes; then
35899 cat >>confdefs.h
<<_ACEOF
35900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35902 cat >>confdefs.h
<<\_ACEOF
35903 #define HAVE_INET_ATON 1
35908 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35909 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35910 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35911 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35914 ac_check_lib_save_LIBS
=$LIBS
35915 LIBS
="-l$INET_LINK $LIBS"
35916 cat >conftest.
$ac_ext <<_ACEOF
35919 cat confdefs.h
>>conftest.
$ac_ext
35920 cat >>conftest.
$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35923 /* Override any gcc2 internal prototype to avoid an error. */
35927 /* We use char because int might match the return type of a gcc2
35928 builtin and then its argument prototype would still apply. */
35938 rm -f conftest.
$ac_objext conftest
$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35942 grep -v '^ *+' conftest.er1
>conftest.err
35944 cat conftest.err
>&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try
='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_Lib=yes"
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.
$ac_ext >&5
35964 eval "$as_ac_Lib=no"
35966 rm -f conftest.err conftest.
$ac_objext \
35967 conftest
$ac_exeext conftest.
$ac_ext
35968 LIBS
=$ac_check_lib_save_LIBS
35970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35971 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35972 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35973 cat >>confdefs.h
<<\_ACEOF
35974 #define HAVE_INET_ATON 1
35984 if test "x$INET_LINK" != "x"; then
35985 cat >>confdefs.h
<<\_ACEOF
35986 #define HAVE_INET_ADDR 1
35989 INET_LINK
=" -l$INET_LINK"
35997 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35998 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35999 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36002 ac_check_lib_save_LIBS
=$LIBS
36004 cat >conftest.
$ac_ext <<_ACEOF
36007 cat confdefs.h
>>conftest.
$ac_ext
36008 cat >>conftest.
$ac_ext <<_ACEOF
36009 /* end confdefs.h. */
36011 /* Override any gcc2 internal prototype to avoid an error. */
36015 /* We use char because int might match the return type of a gcc2
36016 builtin and then its argument prototype would still apply. */
36026 rm -f conftest.
$ac_objext conftest
$ac_exeext
36027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36028 (eval $ac_link) 2>conftest.er1
36030 grep -v '^ *+' conftest.er1
>conftest.err
36032 cat conftest.err
>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } &&
36035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; } &&
36041 { ac_try
='test -s conftest$ac_exeext'
36042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36043 (eval $ac_try) 2>&5
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); }; }; then
36047 ac_cv_lib_esd_esd_close
=yes
36049 echo "$as_me: failed program was:" >&5
36050 sed 's/^/| /' conftest.
$ac_ext >&5
36052 ac_cv_lib_esd_esd_close
=no
36054 rm -f conftest.err conftest.
$ac_objext \
36055 conftest
$ac_exeext conftest.
$ac_ext
36056 LIBS
=$ac_check_lib_save_LIBS
36058 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36059 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36060 if test $ac_cv_lib_esd_esd_close = yes; then
36063 for ac_header
in esd.h
36065 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36067 echo "$as_me:$LINENO: checking for $ac_header" >&5
36068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36070 echo $ECHO_N "(cached) $ECHO_C" >&6
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36075 # Is the header compilable?
36076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36078 cat >conftest.
$ac_ext <<_ACEOF
36081 cat confdefs.h
>>conftest.
$ac_ext
36082 cat >>conftest.
$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 $ac_includes_default
36085 #include <$ac_header>
36087 rm -f conftest.
$ac_objext
36088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36089 (eval $ac_compile) 2>conftest.er1
36091 grep -v '^ *+' conftest.er1
>conftest.err
36093 cat conftest.err
>&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } &&
36096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098 (eval $ac_try) 2>&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); }; } &&
36102 { ac_try
='test -s conftest.$ac_objext'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; }; then
36108 ac_header_compiler
=yes
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.
$ac_ext >&5
36113 ac_header_compiler
=no
36115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36117 echo "${ECHO_T}$ac_header_compiler" >&6
36119 # Is the header present?
36120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36122 cat >conftest.
$ac_ext <<_ACEOF
36125 cat confdefs.h
>>conftest.
$ac_ext
36126 cat >>conftest.
$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36128 #include <$ac_header>
36130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36133 grep -v '^ *+' conftest.er1
>conftest.err
36135 cat conftest.err
>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } >/dev
/null
; then
36138 if test -s conftest.err
; then
36139 ac_cpp_err
=$ac_c_preproc_warn_flag
36140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36147 if test -z "$ac_cpp_err"; then
36148 ac_header_preproc
=yes
36150 echo "$as_me: failed program was:" >&5
36151 sed 's/^/| /' conftest.
$ac_ext >&5
36153 ac_header_preproc
=no
36155 rm -f conftest.err conftest.
$ac_ext
36156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36157 echo "${ECHO_T}$ac_header_preproc" >&6
36159 # So? What about this header?
36160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36166 ac_header_preproc
=yes
36169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36183 ## ----------------------------------------- ##
36184 ## Report this to wx-dev@lists.wxwidgets.org ##
36185 ## ----------------------------------------- ##
36188 sed "s/^/$as_me: WARNING: /" >&2
36191 echo "$as_me:$LINENO: checking for $ac_header" >&5
36192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36194 echo $ECHO_N "(cached) $ECHO_C" >&6
36196 eval "$as_ac_Header=\$ac_header_preproc"
36198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36203 cat >>confdefs.h
<<_ACEOF
36204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36207 EXTRALIBS_ESD
="-lesd"
36218 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36219 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36220 cat >conftest.
$ac_ext <<_ACEOF
36223 cat confdefs.h
>>conftest.
$ac_ext
36224 cat >>conftest.
$ac_ext <<_ACEOF
36225 /* end confdefs.h. */
36227 #include <linux/cdrom.h>
36230 #include <sys/cdio.h>
36236 struct cdrom_tocentry entry, old_entry;
36241 rm -f conftest.
$ac_objext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36243 (eval $ac_compile) 2>conftest.er1
36245 grep -v '^ *+' conftest.er1
>conftest.err
36247 cat conftest.err
>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try
='test -s conftest.$ac_objext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 echo "$as_me:$LINENO: result: yes" >&5
36263 echo "${ECHO_T}yes" >&6
36264 cat >>confdefs.h
<<\_ACEOF
36265 #define HAVE_KNOWN_CDROM_INTERFACE 1
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.
$ac_ext >&5
36272 echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6
36275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36278 cat >confcache
<<\_ACEOF
36279 # This file is a shell script that caches the results of configure
36280 # tests run on this system so they can be shared between configure
36281 # scripts and configure runs, see configure's option --config-cache.
36282 # It is not useful on other systems. If it contains results you don't
36283 # want to keep, you may remove or edit it.
36285 # config.status only pays attention to the cache file if you give it
36286 # the --recheck option to rerun configure.
36288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36290 # following values.
36294 # The following way of writing the cache mishandles newlines in values,
36295 # but we know of no workaround that is simple, portable, and efficient.
36296 # So, don't put newlines in cache variables' values.
36297 # Ultrix sh set writes to stderr and can't be redirected directly,
36298 # and sets the high bit in the cache file unless we assign to the vars.
36301 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36303 # `set' does not quote correctly, so add quotes (double-quote
36304 # substitution turns \\\\ into \\, and sed turns \\ into \).
36307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36310 # `set' quotes correctly as required by POSIX, so do not add quotes.
36312 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36321 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36323 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36324 if test -w $cache_file; then
36325 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36326 cat confcache
>$cache_file
36328 echo "not updating unwritable cache $cache_file"
36335 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36341 if test "$wxUSE_THREADS" = "yes" ; then
36342 if test "$USE_BEOS" = 1; then
36343 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36344 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36349 if test "$wxUSE_THREADS" = "yes" ; then
36352 THREAD_OPTS
="-pthread"
36354 *-*-solaris2* | *-*-sunos4* )
36355 if test "x$GCC" = "xyes"; then
36356 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36358 THREAD_OPTS
="-mt $THREAD_OPTS"
36362 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36364 *-*-darwin* | *-*-cygwin* )
36368 THREAD_OPTS
="pthreads"
36371 if test "x$GCC" = "xyes"; then
36372 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36380 if test "x$GCC" = "xyes"; then
36386 if test "x$GCC" != "xyes"; then
36387 THREAD_OPTS
="-Ethread"
36392 THREAD_OPTS
="$THREAD_OPTS pthread none"
36395 for flag
in $THREAD_OPTS; do
36398 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36399 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36403 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36404 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36405 THREADS_CFLAGS
="$flag"
36409 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36410 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36411 THREADS_LINK
="-l$flag"
36416 save_CFLAGS
="$CFLAGS"
36417 LIBS
="$THREADS_LINK $LIBS"
36418 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36420 cat >conftest.
$ac_ext <<_ACEOF
36423 cat confdefs.h
>>conftest.
$ac_ext
36424 cat >>conftest.
$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426 #include <pthread.h>
36430 pthread_create(0,0,0,0);
36435 rm -f conftest.
$ac_objext conftest
$ac_exeext
36436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36437 (eval $ac_link) 2>conftest.er1
36439 grep -v '^ *+' conftest.er1
>conftest.err
36441 cat conftest.err
>&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } &&
36444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36446 (eval $ac_try) 2>&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); }; } &&
36450 { ac_try
='test -s conftest$ac_exeext'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; }; then
36458 echo "$as_me: failed program was:" >&5
36459 sed 's/^/| /' conftest.
$ac_ext >&5
36462 rm -f conftest.err conftest.
$ac_objext \
36463 conftest
$ac_exeext conftest.
$ac_ext
36466 CFLAGS
="$save_CFLAGS"
36468 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36469 echo "${ECHO_T}$THREADS_OK" >&6
36470 if test "x$THREADS_OK" = "xyes"; then
36478 if test "x$THREADS_OK" != "xyes"; then
36480 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36481 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36483 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36484 LIBS
="$THREADS_LINK $LIBS"
36486 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36487 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36491 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36492 flag
="-D_THREAD_SAFE"
36495 flag
="-D_THREAD_SAFE"
36498 flag
="-D_REENTRANT"
36499 if test "x$GCC" != "xyes"; then
36500 flag
="$flag -D_RWSTD_MULTI_THREAD"
36503 *solaris
* | alpha
*-osf*)
36504 flag
="-D_REENTRANT"
36507 echo "$as_me:$LINENO: result: ${flag}" >&5
36508 echo "${ECHO_T}${flag}" >&6
36509 if test "x$flag" != xno
; then
36510 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36513 if test "x$THREADS_CFLAGS" != "x"; then
36514 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
36515 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
36520 if test "$wxUSE_THREADS" = "yes" ; then
36522 for ac_func
in thr_setconcurrency
36524 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36525 echo "$as_me:$LINENO: checking for $ac_func" >&5
36526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36527 if eval "test \"\${$as_ac_var+set}\" = set"; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36530 cat >conftest.
$ac_ext <<_ACEOF
36533 cat confdefs.h
>>conftest.
$ac_ext
36534 cat >>conftest.
$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36538 #define $ac_func innocuous_$ac_func
36540 /* System header to define __stub macros and hopefully few prototypes,
36541 which can conflict with char $ac_func (); below.
36542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36543 <limits.h> exists even on freestanding compilers. */
36546 # include <limits.h>
36548 # include <assert.h>
36553 /* Override any gcc2 internal prototype to avoid an error. */
36558 /* We use char because int might match the return type of a gcc2
36559 builtin and then its argument prototype would still apply. */
36561 /* The GNU C library defines this for functions which it implements
36562 to always fail with ENOSYS. Some functions are actually named
36563 something starting with __ and the normal name is an alias. */
36564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36567 char (*f) () = $ac_func;
36576 return f != $ac_func;
36581 rm -f conftest.
$ac_objext conftest
$ac_exeext
36582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36583 (eval $ac_link) 2>conftest.er1
36585 grep -v '^ *+' conftest.er1
>conftest.err
36587 cat conftest.err
>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } &&
36590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; } &&
36596 { ac_try
='test -s conftest$ac_exeext'
36597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36598 (eval $ac_try) 2>&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); }; }; then
36602 eval "$as_ac_var=yes"
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.
$ac_ext >&5
36607 eval "$as_ac_var=no"
36609 rm -f conftest.err conftest.
$ac_objext \
36610 conftest
$ac_exeext conftest.
$ac_ext
36612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36614 if test `eval echo '${'$as_ac_var'}'` = yes; then
36615 cat >>confdefs.h
<<_ACEOF
36616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36623 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36624 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36625 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36629 cat >conftest.
$ac_ext <<_ACEOF
36632 cat confdefs.h
>>conftest.
$ac_ext
36633 cat >>conftest.
$ac_ext <<_ACEOF
36634 /* end confdefs.h. */
36635 #include <pthread.h>
36636 void ThreadCleanupFunc(void *p);
36643 pthread_cleanup_push(ThreadCleanupFunc, p);
36644 pthread_cleanup_pop(0);
36650 rm -f conftest.
$ac_objext
36651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36652 (eval $ac_compile) 2>conftest.er1
36654 grep -v '^ *+' conftest.er1
>conftest.err
36656 cat conftest.err
>&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } &&
36659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36661 (eval $ac_try) 2>&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); }; } &&
36665 { ac_try
='test -s conftest.$ac_objext'
36666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36667 (eval $ac_try) 2>&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); }; }; then
36672 wx_cv_func_pthread_cleanup
=yes
36675 echo "$as_me: failed program was:" >&5
36676 sed 's/^/| /' conftest.
$ac_ext >&5
36679 wx_cv_func_pthread_cleanup
=no
36683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36686 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36687 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36688 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36689 cat >>confdefs.h
<<\_ACEOF
36690 #define wxHAVE_PTHREAD_CLEANUP 1
36696 for ac_header
in sched.h
36698 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36700 echo "$as_me:$LINENO: checking for $ac_header" >&5
36701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36708 # Is the header compilable?
36709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36711 cat >conftest.
$ac_ext <<_ACEOF
36714 cat confdefs.h
>>conftest.
$ac_ext
36715 cat >>conftest.
$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 $ac_includes_default
36718 #include <$ac_header>
36720 rm -f conftest.
$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722 (eval $ac_compile) 2>conftest.er1
36724 grep -v '^ *+' conftest.er1
>conftest.err
36726 cat conftest.err
>&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36731 (eval $ac_try) 2>&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); }; } &&
36735 { ac_try
='test -s conftest.$ac_objext'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; }; then
36741 ac_header_compiler
=yes
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.
$ac_ext >&5
36746 ac_header_compiler
=no
36748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36750 echo "${ECHO_T}$ac_header_compiler" >&6
36752 # Is the header present?
36753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36755 cat >conftest.
$ac_ext <<_ACEOF
36758 cat confdefs.h
>>conftest.
$ac_ext
36759 cat >>conftest.
$ac_ext <<_ACEOF
36760 /* end confdefs.h. */
36761 #include <$ac_header>
36763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36766 grep -v '^ *+' conftest.er1
>conftest.err
36768 cat conftest.err
>&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } >/dev
/null
; then
36771 if test -s conftest.err
; then
36772 ac_cpp_err
=$ac_c_preproc_warn_flag
36773 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36780 if test -z "$ac_cpp_err"; then
36781 ac_header_preproc
=yes
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.
$ac_ext >&5
36786 ac_header_preproc
=no
36788 rm -f conftest.err conftest.
$ac_ext
36789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36790 echo "${ECHO_T}$ac_header_preproc" >&6
36792 # So? What about this header?
36793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36799 ac_header_preproc
=yes
36802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36816 ## ----------------------------------------- ##
36817 ## Report this to wx-dev@lists.wxwidgets.org ##
36818 ## ----------------------------------------- ##
36821 sed "s/^/$as_me: WARNING: /" >&2
36824 echo "$as_me:$LINENO: checking for $ac_header" >&5
36825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36827 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 eval "$as_ac_Header=\$ac_header_preproc"
36831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36836 cat >>confdefs.h
<<_ACEOF
36837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36844 if test "$ac_cv_header_sched_h" = "yes"; then
36845 echo "$as_me:$LINENO: checking for sched_yield" >&5
36846 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36847 if test "${ac_cv_func_sched_yield+set}" = set; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 cat >conftest.
$ac_ext <<_ACEOF
36853 cat confdefs.h
>>conftest.
$ac_ext
36854 cat >>conftest.
$ac_ext <<_ACEOF
36855 /* end confdefs.h. */
36856 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36858 #define sched_yield innocuous_sched_yield
36860 /* System header to define __stub macros and hopefully few prototypes,
36861 which can conflict with char sched_yield (); below.
36862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36863 <limits.h> exists even on freestanding compilers. */
36866 # include <limits.h>
36868 # include <assert.h>
36873 /* Override any gcc2 internal prototype to avoid an error. */
36878 /* We use char because int might match the return type of a gcc2
36879 builtin and then its argument prototype would still apply. */
36880 char sched_yield ();
36881 /* The GNU C library defines this for functions which it implements
36882 to always fail with ENOSYS. Some functions are actually named
36883 something starting with __ and the normal name is an alias. */
36884 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36887 char (*f) () = sched_yield;
36896 return f != sched_yield;
36901 rm -f conftest.
$ac_objext conftest
$ac_exeext
36902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36903 (eval $ac_link) 2>conftest.er1
36905 grep -v '^ *+' conftest.er1
>conftest.err
36907 cat conftest.err
>&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); } &&
36910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; } &&
36916 { ac_try
='test -s conftest$ac_exeext'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; }; then
36922 ac_cv_func_sched_yield
=yes
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.
$ac_ext >&5
36927 ac_cv_func_sched_yield
=no
36929 rm -f conftest.err conftest.
$ac_objext \
36930 conftest
$ac_exeext conftest.
$ac_ext
36932 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36933 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36934 if test $ac_cv_func_sched_yield = yes; then
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define HAVE_SCHED_YIELD 1
36941 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36942 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36943 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36944 echo $ECHO_N "(cached) $ECHO_C" >&6
36946 ac_check_lib_save_LIBS
=$LIBS
36947 LIBS
="-lposix4 $LIBS"
36948 cat >conftest.
$ac_ext <<_ACEOF
36951 cat confdefs.h
>>conftest.
$ac_ext
36952 cat >>conftest.
$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36955 /* Override any gcc2 internal prototype to avoid an error. */
36959 /* We use char because int might match the return type of a gcc2
36960 builtin and then its argument prototype would still apply. */
36961 char sched_yield ();
36970 rm -f conftest.
$ac_objext conftest
$ac_exeext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36972 (eval $ac_link) 2>conftest.er1
36974 grep -v '^ *+' conftest.er1
>conftest.err
36976 cat conftest.err
>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try
='test -s conftest$ac_exeext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 ac_cv_lib_posix4_sched_yield
=yes
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.
$ac_ext >&5
36996 ac_cv_lib_posix4_sched_yield
=no
36998 rm -f conftest.err conftest.
$ac_objext \
36999 conftest
$ac_exeext conftest.
$ac_ext
37000 LIBS
=$ac_check_lib_save_LIBS
37002 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37003 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37004 if test $ac_cv_lib_posix4_sched_yield = yes; then
37005 cat >>confdefs.h
<<\_ACEOF
37006 #define HAVE_SCHED_YIELD 1
37008 POSIX4_LINK
=" -lposix4"
37010 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37011 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37022 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37023 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37024 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 cat >conftest.
$ac_ext <<_ACEOF
37030 cat confdefs.h
>>conftest.
$ac_ext
37031 cat >>conftest.
$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37035 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37037 /* System header to define __stub macros and hopefully few prototypes,
37038 which can conflict with char pthread_attr_getschedpolicy (); below.
37039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37040 <limits.h> exists even on freestanding compilers. */
37043 # include <limits.h>
37045 # include <assert.h>
37048 #undef pthread_attr_getschedpolicy
37050 /* Override any gcc2 internal prototype to avoid an error. */
37055 /* We use char because int might match the return type of a gcc2
37056 builtin and then its argument prototype would still apply. */
37057 char pthread_attr_getschedpolicy ();
37058 /* The GNU C library defines this for functions which it implements
37059 to always fail with ENOSYS. Some functions are actually named
37060 something starting with __ and the normal name is an alias. */
37061 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37064 char (*f) () = pthread_attr_getschedpolicy;
37073 return f != pthread_attr_getschedpolicy;
37078 rm -f conftest.
$ac_objext conftest
$ac_exeext
37079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37080 (eval $ac_link) 2>conftest.er1
37082 grep -v '^ *+' conftest.er1
>conftest.err
37084 cat conftest.err
>&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); } &&
37087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try
='test -s conftest$ac_exeext'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; }; then
37099 ac_cv_func_pthread_attr_getschedpolicy
=yes
37101 echo "$as_me: failed program was:" >&5
37102 sed 's/^/| /' conftest.
$ac_ext >&5
37104 ac_cv_func_pthread_attr_getschedpolicy
=no
37106 rm -f conftest.err conftest.
$ac_objext \
37107 conftest
$ac_exeext conftest.
$ac_ext
37109 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37110 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37111 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37112 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37113 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37114 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37115 echo $ECHO_N "(cached) $ECHO_C" >&6
37117 cat >conftest.
$ac_ext <<_ACEOF
37120 cat confdefs.h
>>conftest.
$ac_ext
37121 cat >>conftest.
$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37125 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37127 /* System header to define __stub macros and hopefully few prototypes,
37128 which can conflict with char pthread_attr_setschedparam (); below.
37129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37130 <limits.h> exists even on freestanding compilers. */
37133 # include <limits.h>
37135 # include <assert.h>
37138 #undef pthread_attr_setschedparam
37140 /* Override any gcc2 internal prototype to avoid an error. */
37145 /* We use char because int might match the return type of a gcc2
37146 builtin and then its argument prototype would still apply. */
37147 char pthread_attr_setschedparam ();
37148 /* The GNU C library defines this for functions which it implements
37149 to always fail with ENOSYS. Some functions are actually named
37150 something starting with __ and the normal name is an alias. */
37151 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37154 char (*f) () = pthread_attr_setschedparam;
37163 return f != pthread_attr_setschedparam;
37168 rm -f conftest.
$ac_objext conftest
$ac_exeext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37170 (eval $ac_link) 2>conftest.er1
37172 grep -v '^ *+' conftest.er1
>conftest.err
37174 cat conftest.err
>&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37179 (eval $ac_try) 2>&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); }; } &&
37183 { ac_try
='test -s conftest$ac_exeext'
37184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37185 (eval $ac_try) 2>&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); }; }; then
37189 ac_cv_func_pthread_attr_setschedparam
=yes
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.
$ac_ext >&5
37194 ac_cv_func_pthread_attr_setschedparam
=no
37196 rm -f conftest.err conftest.
$ac_objext \
37197 conftest
$ac_exeext conftest.
$ac_ext
37199 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37200 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37201 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37202 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37203 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37204 if test "${ac_cv_func_sched_get_priority_max+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 sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37215 #define sched_get_priority_max innocuous_sched_get_priority_max
37217 /* System header to define __stub macros and hopefully few prototypes,
37218 which can conflict with char sched_get_priority_max (); 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>
37228 #undef sched_get_priority_max
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. */
37237 char sched_get_priority_max ();
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_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37244 char (*f) () = sched_get_priority_max;
37253 return f != sched_get_priority_max;
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_c_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 ac_cv_func_sched_get_priority_max
=yes
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.
$ac_ext >&5
37284 ac_cv_func_sched_get_priority_max
=no
37286 rm -f conftest.err conftest.
$ac_objext \
37287 conftest
$ac_exeext conftest.
$ac_ext
37289 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37290 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37291 if test $ac_cv_func_sched_get_priority_max = yes; then
37294 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37295 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37296 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37297 echo $ECHO_N "(cached) $ECHO_C" >&6
37299 ac_check_lib_save_LIBS
=$LIBS
37300 LIBS
="-lposix4 $LIBS"
37301 cat >conftest.
$ac_ext <<_ACEOF
37304 cat confdefs.h
>>conftest.
$ac_ext
37305 cat >>conftest.
$ac_ext <<_ACEOF
37306 /* end confdefs.h. */
37308 /* Override any gcc2 internal prototype to avoid an error. */
37312 /* We use char because int might match the return type of a gcc2
37313 builtin and then its argument prototype would still apply. */
37314 char sched_get_priority_max ();
37318 sched_get_priority_max ();
37323 rm -f conftest.
$ac_objext conftest
$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>conftest.er1
37327 grep -v '^ *+' conftest.er1
>conftest.err
37329 cat conftest.err
>&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); } &&
37332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } &&
37338 { ac_try
='test -s conftest$ac_exeext'
37339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37340 (eval $ac_try) 2>&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); }; }; then
37344 ac_cv_lib_posix4_sched_get_priority_max
=yes
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.
$ac_ext >&5
37349 ac_cv_lib_posix4_sched_get_priority_max
=no
37351 rm -f conftest.err conftest.
$ac_objext \
37352 conftest
$ac_exeext conftest.
$ac_ext
37353 LIBS
=$ac_check_lib_save_LIBS
37355 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37356 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37357 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37360 POSIX4_LINK
=" -lposix4"
37374 if test "$HAVE_PRIOR_FUNCS" = 1; then
37375 cat >>confdefs.h
<<\_ACEOF
37376 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37380 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37381 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37384 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37385 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37386 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 cat >conftest.
$ac_ext <<_ACEOF
37392 cat confdefs.h
>>conftest.
$ac_ext
37393 cat >>conftest.
$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define pthread_cancel innocuous_pthread_cancel
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char pthread_cancel (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37405 # include <limits.h>
37407 # include <assert.h>
37410 #undef pthread_cancel
37412 /* Override any gcc2 internal prototype to avoid an error. */
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37419 char pthread_cancel ();
37420 /* The GNU C library defines this for functions which it implements
37421 to always fail with ENOSYS. Some functions are actually named
37422 something starting with __ and the normal name is an alias. */
37423 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37426 char (*f) () = pthread_cancel;
37435 return f != pthread_cancel;
37440 rm -f conftest.
$ac_objext conftest
$ac_exeext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37442 (eval $ac_link) 2>conftest.er1
37444 grep -v '^ *+' conftest.er1
>conftest.err
37446 cat conftest.err
>&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37455 { ac_try
='test -s conftest$ac_exeext'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; }; then
37461 ac_cv_func_pthread_cancel
=yes
37463 echo "$as_me: failed program was:" >&5
37464 sed 's/^/| /' conftest.
$ac_ext >&5
37466 ac_cv_func_pthread_cancel
=no
37468 rm -f conftest.err conftest.
$ac_objext \
37469 conftest
$ac_exeext conftest.
$ac_ext
37471 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37472 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37473 if test $ac_cv_func_pthread_cancel = yes; then
37474 cat >>confdefs.h
<<\_ACEOF
37475 #define HAVE_PTHREAD_CANCEL 1
37479 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37480 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37484 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37485 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37486 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 cat >conftest.
$ac_ext <<_ACEOF
37492 cat confdefs.h
>>conftest.
$ac_ext
37493 cat >>conftest.
$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37497 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37499 /* System header to define __stub macros and hopefully few prototypes,
37500 which can conflict with char pthread_attr_setstacksize (); below.
37501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37502 <limits.h> exists even on freestanding compilers. */
37505 # include <limits.h>
37507 # include <assert.h>
37510 #undef pthread_attr_setstacksize
37512 /* Override any gcc2 internal prototype to avoid an error. */
37517 /* We use char because int might match the return type of a gcc2
37518 builtin and then its argument prototype would still apply. */
37519 char pthread_attr_setstacksize ();
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37526 char (*f) () = pthread_attr_setstacksize;
37535 return f != pthread_attr_setstacksize;
37540 rm -f conftest.
$ac_objext conftest
$ac_exeext
37541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37542 (eval $ac_link) 2>conftest.er1
37544 grep -v '^ *+' conftest.er1
>conftest.err
37546 cat conftest.err
>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } &&
37549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; } &&
37555 { ac_try
='test -s conftest$ac_exeext'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; }; then
37561 ac_cv_func_pthread_attr_setstacksize
=yes
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.
$ac_ext >&5
37566 ac_cv_func_pthread_attr_setstacksize
=no
37568 rm -f conftest.err conftest.
$ac_objext \
37569 conftest
$ac_exeext conftest.
$ac_ext
37571 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37572 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37573 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37574 cat >>confdefs.h
<<\_ACEOF
37575 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37582 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37583 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37584 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 cat >conftest.
$ac_ext <<_ACEOF
37591 cat confdefs.h
>>conftest.
$ac_ext
37592 cat >>conftest.
$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594 #include <pthread.h>
37599 pthread_mutexattr_t attr;
37600 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37606 rm -f conftest.
$ac_objext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37608 (eval $ac_compile) 2>conftest.er1
37610 grep -v '^ *+' conftest.er1
>conftest.err
37612 cat conftest.err
>&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } &&
37615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; } &&
37621 { ac_try
='test -s conftest.$ac_objext'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; }; then
37627 wx_cv_type_pthread_mutexattr_t
=yes
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.
$ac_ext >&5
37632 wx_cv_type_pthread_mutexattr_t
=no
37635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37638 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37639 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37641 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37642 cat >>confdefs.h
<<\_ACEOF
37643 #define HAVE_PTHREAD_MUTEXATTR_T 1
37647 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37648 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37649 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37653 cat >conftest.
$ac_ext <<_ACEOF
37656 cat confdefs.h
>>conftest.
$ac_ext
37657 cat >>conftest.
$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37659 #include <pthread.h>
37664 pthread_mutexattr_t attr;
37665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37671 rm -f conftest.
$ac_objext
37672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37673 (eval $ac_compile) 2>conftest.er1
37675 grep -v '^ *+' conftest.er1
>conftest.err
37677 cat conftest.err
>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); } &&
37680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try
='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.
$ac_ext >&5
37697 wx_cv_func_pthread_mutexattr_settype_decl
=no
37700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37703 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37704 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37705 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37706 cat >>confdefs.h
<<\_ACEOF
37707 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37712 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37713 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37714 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37718 cat >conftest.
$ac_ext <<_ACEOF
37721 cat confdefs.h
>>conftest.
$ac_ext
37722 cat >>conftest.
$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 #include <pthread.h>
37729 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37735 rm -f conftest.
$ac_objext
37736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37737 (eval $ac_compile) 2>conftest.er1
37739 grep -v '^ *+' conftest.er1
>conftest.err
37741 cat conftest.err
>&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); } &&
37744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; } &&
37750 { ac_try
='test -s conftest.$ac_objext'
37751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37752 (eval $ac_try) 2>&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); }; }; then
37757 wx_cv_type_pthread_rec_mutex_init
=yes
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.
$ac_ext >&5
37764 wx_cv_type_pthread_rec_mutex_init
=no
37768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37771 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37772 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37773 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37774 cat >>confdefs.h
<<\_ACEOF
37775 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37779 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37780 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37786 if test "$wxUSE_THREADS" = "yes" ; then
37789 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37790 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37791 if test "${wx_cv_cflags_mthread+set}" = set; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 CFLAGS_OLD
="$CFLAGS"
37796 CFLAGS
="$CFLAGS -mthreads"
37797 cat >conftest.
$ac_ext <<_ACEOF
37800 cat confdefs.h
>>conftest.
$ac_ext
37801 cat >>conftest.
$ac_ext <<_ACEOF
37802 /* end confdefs.h. */
37812 rm -f conftest.
$ac_objext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37814 (eval $ac_compile) 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_c_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_objext'
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 wx_cv_cflags_mthread
=yes
37835 echo "$as_me: failed program was:" >&5
37836 sed 's/^/| /' conftest.
$ac_ext >&5
37838 wx_cv_cflags_mthread
=no
37841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37845 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37846 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37848 if test "$wx_cv_cflags_mthread" = "yes"; then
37849 CXXFLAGS
="$CXXFLAGS -mthreads"
37850 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37851 LDFLAGS
="$LDFLAGS -mthreads"
37853 CFLAGS
="$CFLAGS_OLD"
37857 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37858 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37859 LDFLAGS
="$LDFLAGS -Zmt"
37865 if test "$wxUSE_THREADS" = "yes"; then
37866 cat >>confdefs.h
<<\_ACEOF
37867 #define wxUSE_THREADS 1
37871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37873 if test "$ac_cv_func_strtok_r" = "yes"; then
37874 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37875 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37876 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37877 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
37878 echo "$as_me:$LINENO: result: yes" >&5
37879 echo "${ECHO_T}yes" >&6
37881 echo "$as_me:$LINENO: result: no" >&5
37882 echo "${ECHO_T}no" >&6
37887 if test "$WXGTK20" = 1 ; then
37888 cat >>confdefs.h
<<_ACEOF
37889 #define __WXGTK20__ $WXGTK20
37895 if test "$WXGTK12" = 1 ; then
37896 cat >>confdefs.h
<<_ACEOF
37897 #define __WXGTK12__ $WXGTK12
37902 if test "$WXGTK127" = 1 ; then
37903 cat >>confdefs.h
<<_ACEOF
37904 #define __WXGTK127__ $WXGTK127
37909 if test "$WXGPE" = 1 ; then
37910 cat >>confdefs.h
<<_ACEOF
37911 #define __WXGPE__ $WXGPE
37918 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37923 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37924 wxUSE_DEBUG_INFO
=yes
37925 if test "$GCC" = yes; then
37930 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37931 cat >>confdefs.h
<<\_ACEOF
37935 WXDEBUG_DEFINE
="-D__WXDEBUG__"
37937 if test "$wxUSE_GTK" = 1 ; then
37938 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
37942 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37943 cat >>confdefs.h
<<\_ACEOF
37944 #define wxUSE_MEMORY_TRACING 1
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37951 cat >>confdefs.h
<<\_ACEOF
37952 #define wxUSE_DEBUG_NEW_ALWAYS 1
37955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
37958 if test "$wxUSE_DMALLOC" = "yes" ; then
37959 DMALLOC_LIBS
="-ldmallocthcxx"
37963 if test "$wxUSE_PROFILE" = "yes" ; then
37968 CODE_GEN_FLAGS_CXX
=
37969 if test "$GCC" = "yes" ; then
37970 if test "$wxUSE_NO_RTTI" = "yes" ; then
37971 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
37973 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37974 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37976 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37977 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
37982 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
37985 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
37991 if test "$wxUSE_OPTIMISE" = "no" ; then
37992 if test "$GCC" = yes ; then
37996 if test "$GCC" = yes ; then
38000 i586
-*-*|i686
-*-* )
38001 OPTIMISE
="${OPTIMISE} "
38010 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
38011 cat >>confdefs.h
<<\_ACEOF
38012 #define WXWIN_COMPATIBILITY_2_2 1
38016 WXWIN_COMPATIBILITY_2_4
="yes"
38019 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
38020 cat >>confdefs.h
<<\_ACEOF
38021 #define WXWIN_COMPATIBILITY_2_4 1
38027 if test "$wxUSE_GUI" = "yes"; then
38028 cat >>confdefs.h
<<\_ACEOF
38029 #define wxUSE_GUI 1
38036 if test "$wxUSE_UNIX" = "yes"; then
38037 cat >>confdefs.h
<<\_ACEOF
38038 #define wxUSE_UNIX 1
38044 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38048 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38049 if test "$USE_DARWIN" = 1; then
38051 elif test "$USE_DOS" = 1; then
38055 for ac_func
in dlopen
38057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38058 echo "$as_me:$LINENO: checking for $ac_func" >&5
38059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38060 if eval "test \"\${$as_ac_var+set}\" = set"; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38063 cat >conftest.
$ac_ext <<_ACEOF
38066 cat confdefs.h
>>conftest.
$ac_ext
38067 cat >>conftest.
$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38071 #define $ac_func innocuous_$ac_func
38073 /* System header to define __stub macros and hopefully few prototypes,
38074 which can conflict with char $ac_func (); below.
38075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38076 <limits.h> exists even on freestanding compilers. */
38079 # include <limits.h>
38081 # include <assert.h>
38086 /* Override any gcc2 internal prototype to avoid an error. */
38091 /* We use char because int might match the return type of a gcc2
38092 builtin and then its argument prototype would still apply. */
38094 /* The GNU C library defines this for functions which it implements
38095 to always fail with ENOSYS. Some functions are actually named
38096 something starting with __ and the normal name is an alias. */
38097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38100 char (*f) () = $ac_func;
38109 return f != $ac_func;
38114 rm -f conftest.
$ac_objext conftest
$ac_exeext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38116 (eval $ac_link) 2>conftest.er1
38118 grep -v '^ *+' conftest.er1
>conftest.err
38120 cat conftest.err
>&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } &&
38123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125 (eval $ac_try) 2>&5
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); }; } &&
38129 { ac_try
='test -s conftest$ac_exeext'
38130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 (eval $ac_try) 2>&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); }; }; then
38135 eval "$as_ac_var=yes"
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.
$ac_ext >&5
38140 eval "$as_ac_var=no"
38142 rm -f conftest.err conftest.
$ac_objext \
38143 conftest
$ac_exeext conftest.
$ac_ext
38145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38147 if test `eval echo '${'$as_ac_var'}'` = yes; then
38148 cat >>confdefs.h
<<_ACEOF
38149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38152 cat >>confdefs.h
<<\_ACEOF
38153 #define HAVE_DLOPEN 1
38160 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38161 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38162 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 ac_check_lib_save_LIBS
=$LIBS
38167 cat >conftest.
$ac_ext <<_ACEOF
38170 cat confdefs.h
>>conftest.
$ac_ext
38171 cat >>conftest.
$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38174 /* Override any gcc2 internal prototype to avoid an error. */
38178 /* We use char because int might match the return type of a gcc2
38179 builtin and then its argument prototype would still apply. */
38189 rm -f conftest.
$ac_objext conftest
$ac_exeext
38190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38191 (eval $ac_link) 2>conftest.er1
38193 grep -v '^ *+' conftest.er1
>conftest.err
38195 cat conftest.err
>&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200 (eval $ac_try) 2>&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); }; } &&
38204 { ac_try
='test -s conftest$ac_exeext'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; }; then
38210 ac_cv_lib_dl_dlopen
=yes
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.
$ac_ext >&5
38215 ac_cv_lib_dl_dlopen
=no
38217 rm -f conftest.err conftest.
$ac_objext \
38218 conftest
$ac_exeext conftest.
$ac_ext
38219 LIBS
=$ac_check_lib_save_LIBS
38221 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38222 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38223 if test $ac_cv_lib_dl_dlopen = yes; then
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define HAVE_DLOPEN 1
38230 DL_LINK
=" -ldl$DL_LINK"
38235 for ac_func
in shl_load
38237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38238 echo "$as_me:$LINENO: checking for $ac_func" >&5
38239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38240 if eval "test \"\${$as_ac_var+set}\" = set"; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 cat >conftest.
$ac_ext <<_ACEOF
38246 cat confdefs.h
>>conftest.
$ac_ext
38247 cat >>conftest.
$ac_ext <<_ACEOF
38248 /* end confdefs.h. */
38249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38251 #define $ac_func innocuous_$ac_func
38253 /* System header to define __stub macros and hopefully few prototypes,
38254 which can conflict with char $ac_func (); below.
38255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38256 <limits.h> exists even on freestanding compilers. */
38259 # include <limits.h>
38261 # include <assert.h>
38266 /* Override any gcc2 internal prototype to avoid an error. */
38271 /* We use char because int might match the return type of a gcc2
38272 builtin and then its argument prototype would still apply. */
38274 /* The GNU C library defines this for functions which it implements
38275 to always fail with ENOSYS. Some functions are actually named
38276 something starting with __ and the normal name is an alias. */
38277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38280 char (*f) () = $ac_func;
38289 return f != $ac_func;
38294 rm -f conftest.
$ac_objext conftest
$ac_exeext
38295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38296 (eval $ac_link) 2>conftest.er1
38298 grep -v '^ *+' conftest.er1
>conftest.err
38300 cat conftest.err
>&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } &&
38303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; } &&
38309 { ac_try
='test -s conftest$ac_exeext'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; }; then
38315 eval "$as_ac_var=yes"
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.
$ac_ext >&5
38320 eval "$as_ac_var=no"
38322 rm -f conftest.err conftest.
$ac_objext \
38323 conftest
$ac_exeext conftest.
$ac_ext
38325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38327 if test `eval echo '${'$as_ac_var'}'` = yes; then
38328 cat >>confdefs.h
<<_ACEOF
38329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38332 cat >>confdefs.h
<<\_ACEOF
38333 #define HAVE_SHL_LOAD 1
38340 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38341 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38342 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 ac_check_lib_save_LIBS
=$LIBS
38346 LIBS
="-lshl_load $LIBS"
38347 cat >conftest.
$ac_ext <<_ACEOF
38350 cat confdefs.h
>>conftest.
$ac_ext
38351 cat >>conftest.
$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38354 /* Override any gcc2 internal prototype to avoid an error. */
38358 /* We use char because int might match the return type of a gcc2
38359 builtin and then its argument prototype would still apply. */
38369 rm -f conftest.
$ac_objext conftest
$ac_exeext
38370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38371 (eval $ac_link) 2>conftest.er1
38373 grep -v '^ *+' conftest.er1
>conftest.err
38375 cat conftest.err
>&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38380 (eval $ac_try) 2>&5
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); }; } &&
38384 { ac_try
='test -s conftest$ac_exeext'
38385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38386 (eval $ac_try) 2>&5
38388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389 (exit $ac_status); }; }; then
38390 ac_cv_lib_shl_load_dld
=yes
38392 echo "$as_me: failed program was:" >&5
38393 sed 's/^/| /' conftest.
$ac_ext >&5
38395 ac_cv_lib_shl_load_dld
=no
38397 rm -f conftest.err conftest.
$ac_objext \
38398 conftest
$ac_exeext conftest.
$ac_ext
38399 LIBS
=$ac_check_lib_save_LIBS
38401 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38402 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38403 if test $ac_cv_lib_shl_load_dld = yes; then
38406 DL_LINK
=" -ldld$DL_LINK"
38422 if test "$HAVE_DL_FUNCS" = 1; then
38424 for ac_func
in dlerror
38426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38427 echo "$as_me:$LINENO: checking for $ac_func" >&5
38428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38429 if eval "test \"\${$as_ac_var+set}\" = set"; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 cat >conftest.
$ac_ext <<_ACEOF
38435 cat confdefs.h
>>conftest.
$ac_ext
38436 cat >>conftest.
$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38440 #define $ac_func innocuous_$ac_func
38442 /* System header to define __stub macros and hopefully few prototypes,
38443 which can conflict with char $ac_func (); below.
38444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38445 <limits.h> exists even on freestanding compilers. */
38448 # include <limits.h>
38450 # include <assert.h>
38455 /* Override any gcc2 internal prototype to avoid an error. */
38460 /* We use char because int might match the return type of a gcc2
38461 builtin and then its argument prototype would still apply. */
38463 /* The GNU C library defines this for functions which it implements
38464 to always fail with ENOSYS. Some functions are actually named
38465 something starting with __ and the normal name is an alias. */
38466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38469 char (*f) () = $ac_func;
38478 return f != $ac_func;
38483 rm -f conftest.
$ac_objext conftest
$ac_exeext
38484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38485 (eval $ac_link) 2>conftest.er1
38487 grep -v '^ *+' conftest.er1
>conftest.err
38489 cat conftest.err
>&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } &&
38492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; } &&
38498 { ac_try
='test -s conftest$ac_exeext'
38499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38500 (eval $ac_try) 2>&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); }; }; then
38504 eval "$as_ac_var=yes"
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.
$ac_ext >&5
38509 eval "$as_ac_var=no"
38511 rm -f conftest.err conftest.
$ac_objext \
38512 conftest
$ac_exeext conftest.
$ac_ext
38514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38516 if test `eval echo '${'$as_ac_var'}'` = yes; then
38517 cat >>confdefs.h
<<_ACEOF
38518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38520 cat >>confdefs.h
<<\_ACEOF
38521 #define HAVE_DLERROR 1
38526 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38527 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38528 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38531 ac_check_lib_save_LIBS
=$LIBS
38533 cat >conftest.
$ac_ext <<_ACEOF
38536 cat confdefs.h
>>conftest.
$ac_ext
38537 cat >>conftest.
$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38540 /* Override any gcc2 internal prototype to avoid an error. */
38544 /* We use char because int might match the return type of a gcc2
38545 builtin and then its argument prototype would still apply. */
38555 rm -f conftest.
$ac_objext conftest
$ac_exeext
38556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38557 (eval $ac_link) 2>conftest.er1
38559 grep -v '^ *+' conftest.er1
>conftest.err
38561 cat conftest.err
>&5
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); } &&
38564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try
='test -s conftest$ac_exeext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 ac_cv_lib_dl_dlerror
=yes
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.
$ac_ext >&5
38581 ac_cv_lib_dl_dlerror
=no
38583 rm -f conftest.err conftest.
$ac_objext \
38584 conftest
$ac_exeext conftest.
$ac_ext
38585 LIBS
=$ac_check_lib_save_LIBS
38587 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38588 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38589 if test $ac_cv_lib_dl_dlerror = yes; then
38590 cat >>confdefs.h
<<\_ACEOF
38591 #define HAVE_DLERROR 1
38604 if test "$HAVE_DL_FUNCS" = 0; then
38605 if test "$HAVE_SHL_FUNCS" = 0; then
38606 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38607 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38608 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38609 wxUSE_DYNAMIC_LOADER
=no
38610 wxUSE_DYNLIB_CLASS
=no
38612 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38613 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38620 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38621 cat >>confdefs.h
<<\_ACEOF
38622 #define wxUSE_DYNAMIC_LOADER 1
38626 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38627 cat >>confdefs.h
<<\_ACEOF
38628 #define wxUSE_DYNLIB_CLASS 1
38635 if test "$wxUSE_PLUGINS" = "yes" ; then
38636 if test "$wxUSE_SHARED" = "no" ; then
38637 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38638 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38641 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38642 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38643 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38646 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38647 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38648 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38651 if test "$wxUSE_PLUGINS" = "yes" ; then
38652 cat >>confdefs.h
<<\_ACEOF
38653 #define wxUSE_PLUGINS 1
38660 if test "$wxUSE_STL" = "yes"; then
38661 cat >>confdefs.h
<<\_ACEOF
38662 #define wxUSE_STL 1
38667 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38668 cat >>confdefs.h
<<\_ACEOF
38669 #define wxUSE_APPLE_IEEE 1
38674 if test "$wxUSE_TIMER" = "yes"; then
38675 cat >>confdefs.h
<<\_ACEOF
38676 #define wxUSE_TIMER 1
38681 if test "$USE_UNIX" = "1" ; then
38682 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38683 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38684 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38685 echo $ECHO_N "(cached) $ECHO_C" >&6
38688 cat >conftest.
$ac_ext <<_ACEOF
38691 cat confdefs.h
>>conftest.
$ac_ext
38692 cat >>conftest.
$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38695 #include <sys/soundcard.h>
38701 ioctl(0, SNDCTL_DSP_SYNC, 0);
38707 rm -f conftest.
$ac_objext conftest
$ac_exeext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38709 (eval $ac_link) 2>conftest.er1
38711 grep -v '^ *+' conftest.er1
>conftest.err
38713 cat conftest.err
>&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; } &&
38722 { ac_try
='test -s conftest$ac_exeext'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; }; then
38728 ac_cv_header_sys_soundcard
=yes
38730 echo "$as_me: failed program was:" >&5
38731 sed 's/^/| /' conftest.
$ac_ext >&5
38735 LIBS
="$saveLibs -lossaudio"
38736 cat >conftest.
$ac_ext <<_ACEOF
38739 cat confdefs.h
>>conftest.
$ac_ext
38740 cat >>conftest.
$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38743 #include <sys/soundcard.h>
38749 ioctl(0, SNDCTL_DSP_SYNC, 0);
38755 rm -f conftest.
$ac_objext conftest
$ac_exeext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38757 (eval $ac_link) 2>conftest.er1
38759 grep -v '^ *+' conftest.er1
>conftest.err
38761 cat conftest.err
>&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } &&
38764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38766 (eval $ac_try) 2>&5
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); }; } &&
38770 { ac_try
='test -s conftest$ac_exeext'
38771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38772 (eval $ac_try) 2>&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); }; }; then
38776 ac_cv_header_sys_soundcard
=yes
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.
$ac_ext >&5
38783 ac_cv_header_sys_soundcard
=no
38787 rm -f conftest.err conftest.
$ac_objext \
38788 conftest
$ac_exeext conftest.
$ac_ext
38792 rm -f conftest.err conftest.
$ac_objext \
38793 conftest
$ac_exeext conftest.
$ac_ext
38796 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38797 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38799 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38800 cat >>confdefs.h
<<\_ACEOF
38801 #define HAVE_SYS_SOUNDCARD_H 1
38805 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38809 if test "$wxUSE_SOUND" = "yes"; then
38810 if test "$USE_UNIX" = "1" ; then
38811 if test "$wxUSE_LIBSDL" != "no"; then
38813 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38814 if test "${with_sdl_prefix+set}" = set; then
38815 withval
="$with_sdl_prefix"
38816 sdl_prefix
="$withval"
38821 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38822 if test "${with_sdl_exec_prefix+set}" = set; then
38823 withval
="$with_sdl_exec_prefix"
38824 sdl_exec_prefix
="$withval"
38828 # Check whether --enable-sdltest or --disable-sdltest was given.
38829 if test "${enable_sdltest+set}" = set; then
38830 enableval
="$enable_sdltest"
38836 if test x
$sdl_exec_prefix != x
; then
38837 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38838 if test x
${SDL_CONFIG+set} != xset
; then
38839 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38842 if test x
$sdl_prefix != x
; then
38843 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38844 if test x
${SDL_CONFIG+set} != xset
; then
38845 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38850 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38851 # Extract the first word of "sdl-config", so it can be a program name with args.
38852 set dummy sdl
-config; ac_word
=$2
38853 echo "$as_me:$LINENO: checking for $ac_word" >&5
38854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38855 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38858 case $SDL_CONFIG in
38860 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38864 for as_dir
in $PATH
38867 test -z "$as_dir" && as_dir
=.
38868 for ac_exec_ext
in '' $ac_executable_extensions; do
38869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38870 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38877 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38881 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38883 if test -n "$SDL_CONFIG"; then
38884 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38885 echo "${ECHO_T}$SDL_CONFIG" >&6
38887 echo "$as_me:$LINENO: result: no" >&5
38888 echo "${ECHO_T}no" >&6
38891 min_sdl_version
=1.2.0
38892 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38893 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38895 if test "$SDL_CONFIG" = "no" ; then
38898 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
38899 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
38901 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
38902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38903 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
38904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38905 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
38906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38907 if test "x$enable_sdltest" = "xyes" ; then
38908 ac_save_CFLAGS
="$CFLAGS"
38909 ac_save_CXXFLAGS
="$CXXFLAGS"
38910 ac_save_LIBS
="$LIBS"
38911 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38912 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38913 LIBS
="$LIBS $SDL_LIBS"
38915 if test "$cross_compiling" = yes; then
38916 echo $ac_n "cross compiling; assumed OK... $ac_c"
38918 cat >conftest.
$ac_ext <<_ACEOF
38921 cat confdefs.h
>>conftest.
$ac_ext
38922 cat >>conftest.
$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38926 #include <stdlib.h>
38927 #include <string.h>
38931 my_strdup (char *str)
38937 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38938 strcpy (new_str, str);
38946 int main (int argc, char *argv[])
38948 int major, minor, micro;
38951 /* This hangs on some systems (?)
38952 system ("touch conf.sdltest");
38954 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38956 /* HP/UX 9 (%@#!) writes to sscanf strings */
38957 tmp_version = my_strdup("$min_sdl_version");
38958 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
38959 printf("%s, bad version string\n", "$min_sdl_version");
38963 if (($sdl_major_version > major) ||
38964 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38965 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38971 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38972 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38973 printf("*** best to upgrade to the required version.\n");
38974 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38975 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38976 printf("*** config.cache before re-running configure\n");
38983 rm -f conftest
$ac_exeext
38984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38985 (eval $ac_link) 2>&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38990 (eval $ac_try) 2>&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); }; }; then
38996 echo "$as_me: program exited with status $ac_status" >&5
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.
$ac_ext >&5
39000 ( exit $ac_status )
39003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39005 CFLAGS
="$ac_save_CFLAGS"
39006 CXXFLAGS
="$ac_save_CXXFLAGS"
39007 LIBS
="$ac_save_LIBS"
39010 if test "x$no_sdl" = x
; then
39011 echo "$as_me:$LINENO: result: yes" >&5
39012 echo "${ECHO_T}yes" >&6
39014 EXTRALIBS_SDL
="$SDL_LIBS"
39015 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39016 cat >>confdefs.h
<<\_ACEOF
39017 #define wxUSE_LIBSDL 1
39022 echo "$as_me:$LINENO: result: no" >&5
39023 echo "${ECHO_T}no" >&6
39024 if test "$SDL_CONFIG" = "no" ; then
39025 echo "*** The sdl-config script installed by SDL could not be found"
39026 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39027 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39028 echo "*** full path to sdl-config."
39030 if test -f conf.sdltest
; then
39033 echo "*** Could not run SDL test program, checking why..."
39034 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39035 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39036 LIBS
="$LIBS $SDL_LIBS"
39037 cat >conftest.
$ac_ext <<_ACEOF
39040 cat confdefs.h
>>conftest.
$ac_ext
39041 cat >>conftest.
$ac_ext <<_ACEOF
39042 /* end confdefs.h. */
39047 int main(int argc, char *argv[])
39050 #define main K_and_R_C_main
39060 rm -f conftest.
$ac_objext conftest
$ac_exeext
39061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39062 (eval $ac_link) 2>conftest.er1
39064 grep -v '^ *+' conftest.er1
>conftest.err
39066 cat conftest.err
>&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } &&
39069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; } &&
39075 { ac_try
='test -s conftest$ac_exeext'
39076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39077 (eval $ac_try) 2>&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); }; }; then
39081 echo "*** The test program compiled, but did not run. This usually means"
39082 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39083 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39086 echo "*** is required on your system"
39088 echo "*** If you have an old version installed, it is best to remove it, although"
39089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39091 echo "$as_me: failed program was:" >&5
39092 sed 's/^/| /' conftest.
$ac_ext >&5
39094 echo "*** The test program failed to compile or link. See the file config.log for the"
39095 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39096 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39097 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39099 rm -f conftest.err conftest.
$ac_objext \
39100 conftest
$ac_exeext conftest.
$ac_ext
39101 CFLAGS
="$ac_save_CFLAGS"
39102 CXXFLAGS
="$ac_save_CXXFLAGS"
39103 LIBS
="$ac_save_LIBS"
39114 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39120 cat >>confdefs.h
<<\_ACEOF
39121 #define wxUSE_SOUND 1
39124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39127 if test "$WXGTK20" = 1; then
39128 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39129 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39134 if test -z "$PKG_CONFIG"; then
39135 # Extract the first word of "pkg-config", so it can be a program name with args.
39136 set dummy pkg
-config; ac_word
=$2
39137 echo "$as_me:$LINENO: checking for $ac_word" >&5
39138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39139 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39142 case $PKG_CONFIG in
39144 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39148 for as_dir
in $PATH
39151 test -z "$as_dir" && as_dir
=.
39152 for ac_exec_ext
in '' $ac_executable_extensions; do
39153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39154 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39161 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39165 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39167 if test -n "$PKG_CONFIG"; then
39168 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39169 echo "${ECHO_T}$PKG_CONFIG" >&6
39171 echo "$as_me:$LINENO: result: no" >&5
39172 echo "${ECHO_T}no" >&6
39177 if test "$PKG_CONFIG" = "no" ; then
39178 echo "*** The pkg-config script could not be found. Make sure it is"
39179 echo "*** in your path, or set the PKG_CONFIG environment variable"
39180 echo "*** to the full path to pkg-config."
39181 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39183 PKG_CONFIG_MIN_VERSION
=0.9.0
39184 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39185 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39186 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39188 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39189 echo "$as_me:$LINENO: result: yes" >&5
39190 echo "${ECHO_T}yes" >&6
39193 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39194 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39195 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39196 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39197 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39199 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39200 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39201 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39202 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39203 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39205 LIBGNOMEPRINTUI_CFLAGS
=""
39206 LIBGNOMEPRINTUI_LIBS
=""
39207 ## If we have a custom action on failure, don't print errors, but
39208 ## do set a variable so people can do so.
39209 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39216 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39217 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39221 if test $succeeded = yes; then
39223 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39224 cat >>confdefs.h
<<\_ACEOF
39225 #define wxUSE_LIBGNOMEPRINT 1
39231 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39232 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39233 wxUSE_LIBGNOMEPRINT
="no"
39243 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39244 cat >>confdefs.h
<<\_ACEOF
39245 #define wxUSE_CMDLINE_PARSER 1
39250 if test "$wxUSE_STOPWATCH" = "yes"; then
39251 cat >>confdefs.h
<<\_ACEOF
39252 #define wxUSE_STOPWATCH 1
39257 if test "$wxUSE_DATETIME" = "yes"; then
39258 cat >>confdefs.h
<<\_ACEOF
39259 #define wxUSE_DATETIME 1
39264 if test "$wxUSE_FILE" = "yes"; then
39265 cat >>confdefs.h
<<\_ACEOF
39266 #define wxUSE_FILE 1
39271 if test "$wxUSE_FFILE" = "yes"; then
39272 cat >>confdefs.h
<<\_ACEOF
39273 #define wxUSE_FFILE 1
39278 if test "$wxUSE_FILESYSTEM" = "yes"; then
39279 cat >>confdefs.h
<<\_ACEOF
39280 #define wxUSE_FILESYSTEM 1
39285 if test "$wxUSE_FS_ZIP" = "yes"; then
39286 cat >>confdefs.h
<<\_ACEOF
39287 #define wxUSE_FS_ZIP 1
39292 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39293 cat >>confdefs.h
<<\_ACEOF
39294 #define wxUSE_ARCHIVE_STREAMS 1
39299 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39300 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39301 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39302 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39303 elif test "$wxUSE_ZLIB" = "no"; then
39304 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39305 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39307 cat >>confdefs.h
<<\_ACEOF
39308 #define wxUSE_ZIPSTREAM 1
39314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39315 if test "$USE_UNIX" != 1; then
39316 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39317 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39318 wxUSE_ON_FATAL_EXCEPTION
=no
39320 cat >>confdefs.h
<<\_ACEOF
39321 #define wxUSE_ON_FATAL_EXCEPTION 1
39327 if test "$wxUSE_STACKWALKER" = "yes"; then
39328 cat >>confdefs.h
<<\_ACEOF
39329 #define wxUSE_STACKWALKER 1
39334 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39335 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39336 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39337 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39338 wxUSE_DEBUGREPORT
=no
39340 cat >>confdefs.h
<<\_ACEOF
39341 #define wxUSE_DEBUGREPORT 1
39344 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39350 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39351 cat >>confdefs.h
<<\_ACEOF
39352 #define wxUSE_SNGLINST_CHECKER 1
39357 if test "$wxUSE_BUSYINFO" = "yes"; then
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define wxUSE_BUSYINFO 1
39364 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39365 cat >>confdefs.h
<<\_ACEOF
39366 #define wxUSE_STD_IOSTREAM 1
39371 if test "$wxUSE_STD_STRING" = "yes"; then
39372 cat >>confdefs.h
<<\_ACEOF
39373 #define wxUSE_STD_STRING 1
39378 if test "$wxUSE_STDPATHS" = "yes"; then
39379 cat >>confdefs.h
<<\_ACEOF
39380 #define wxUSE_STDPATHS 1
39385 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39386 cat >>confdefs.h
<<\_ACEOF
39387 #define wxUSE_TEXTBUFFER 1
39392 if test "$wxUSE_TEXTFILE" = "yes"; then
39393 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39394 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39395 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39397 cat >>confdefs.h
<<\_ACEOF
39398 #define wxUSE_TEXTFILE 1
39404 if test "$wxUSE_CONFIG" = "yes" ; then
39405 if test "$wxUSE_TEXTFILE" != "yes"; then
39406 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39407 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define wxUSE_CONFIG 1
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_CONFIG_NATIVE 1
39417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39421 if test "$wxUSE_INTL" = "yes" ; then
39422 if test "$wxUSE_FILE" != "yes"; then
39423 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39424 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39426 cat >>confdefs.h
<<\_ACEOF
39427 #define wxUSE_INTL 1
39430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39431 GUIDIST
="$GUIDIST INTL_DIST"
39435 if test "$wxUSE_LOG" = "yes"; then
39436 cat >>confdefs.h
<<\_ACEOF
39437 #define wxUSE_LOG 1
39441 if test "$wxUSE_LOGGUI" = "yes"; then
39442 cat >>confdefs.h
<<\_ACEOF
39443 #define wxUSE_LOGGUI 1
39448 if test "$wxUSE_LOGWINDOW" = "yes"; then
39449 cat >>confdefs.h
<<\_ACEOF
39450 #define wxUSE_LOGWINDOW 1
39455 if test "$wxUSE_LOGDIALOG" = "yes"; then
39456 cat >>confdefs.h
<<\_ACEOF
39457 #define wxUSE_LOG_DIALOG 1
39462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39465 if test "$wxUSE_LONGLONG" = "yes"; then
39466 cat >>confdefs.h
<<\_ACEOF
39467 #define wxUSE_LONGLONG 1
39472 if test "$wxUSE_GEOMETRY" = "yes"; then
39473 cat >>confdefs.h
<<\_ACEOF
39474 #define wxUSE_GEOMETRY 1
39479 if test "$wxUSE_STREAMS" = "yes" ; then
39480 cat >>confdefs.h
<<\_ACEOF
39481 #define wxUSE_STREAMS 1
39487 if test "$wxUSE_DATETIME" = "yes"; then
39489 for ac_func
in strptime
39491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39492 echo "$as_me:$LINENO: checking for $ac_func" >&5
39493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39494 if eval "test \"\${$as_ac_var+set}\" = set"; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39497 cat >conftest.
$ac_ext <<_ACEOF
39500 cat confdefs.h
>>conftest.
$ac_ext
39501 cat >>conftest.
$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define $ac_func innocuous_$ac_func
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char $ac_func (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39513 # include <limits.h>
39515 # include <assert.h>
39520 /* Override any gcc2 internal prototype to avoid an error. */
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39534 char (*f) () = $ac_func;
39543 return f != $ac_func;
39548 rm -f conftest.
$ac_objext conftest
$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>conftest.er1
39552 grep -v '^ *+' conftest.er1
>conftest.err
39554 cat conftest.err
>&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; } &&
39563 { ac_try
='test -s conftest$ac_exeext'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; }; then
39569 eval "$as_ac_var=yes"
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.
$ac_ext >&5
39574 eval "$as_ac_var=no"
39576 rm -f conftest.err conftest.
$ac_objext \
39577 conftest
$ac_exeext conftest.
$ac_ext
39579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39581 if test `eval echo '${'$as_ac_var'}'` = yes; then
39582 cat >>confdefs.h
<<_ACEOF
39583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39589 if test "$ac_cv_func_strptime" = "yes"; then
39590 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39591 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39592 if test "${wx_cv_func_strptime_decl+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 ac_cpp
='$CXXCPP $CPPFLAGS'
39600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39604 cat >conftest.
$ac_ext <<_ACEOF
39607 cat confdefs.h
>>conftest.
$ac_ext
39608 cat >>conftest.
$ac_ext <<_ACEOF
39609 /* end confdefs.h. */
39618 strptime("foo", "bar", &t);
39624 rm -f conftest.
$ac_objext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39626 (eval $ac_compile) 2>conftest.er1
39628 grep -v '^ *+' conftest.er1
>conftest.err
39630 cat conftest.err
>&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
39645 wx_cv_func_strptime_decl
=yes
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.
$ac_ext >&5
39650 wx_cv_func_strptime_decl
=no
39653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39655 ac_cpp
='$CPP $CPPFLAGS'
39656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39663 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39664 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39666 if test "$wx_cv_func_strptime_decl" = "yes"; then
39667 cat >>confdefs.h
<<\_ACEOF
39668 #define HAVE_STRPTIME_DECL 1
39673 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39674 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39675 if test "${wx_cv_var_timezone+set}" = set; then
39676 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. */
39699 rm -f conftest.
$ac_objext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39701 (eval $ac_compile) 2>conftest.er1
39703 grep -v '^ *+' conftest.er1
>conftest.err
39705 cat conftest.err
>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; } &&
39714 { ac_try
='test -s conftest.$ac_objext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39721 wx_cv_var_timezone
=timezone
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.
$ac_ext >&5
39728 cat >conftest.
$ac_ext <<_ACEOF
39731 cat confdefs.h
>>conftest.
$ac_ext
39732 cat >>conftest.
$ac_ext <<_ACEOF
39733 /* end confdefs.h. */
39748 rm -f conftest.
$ac_objext
39749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39750 (eval $ac_compile) 2>conftest.er1
39752 grep -v '^ *+' conftest.er1
>conftest.err
39754 cat conftest.err
>&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); } &&
39757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39759 (eval $ac_try) 2>&5
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); }; } &&
39763 { ac_try
='test -s conftest.$ac_objext'
39764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39765 (eval $ac_try) 2>&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); }; }; then
39770 wx_cv_var_timezone
=_timezone
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.
$ac_ext >&5
39777 cat >conftest.
$ac_ext <<_ACEOF
39780 cat confdefs.h
>>conftest.
$ac_ext
39781 cat >>conftest.
$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39797 rm -f conftest.
$ac_objext
39798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39799 (eval $ac_compile) 2>conftest.er1
39801 grep -v '^ *+' conftest.er1
>conftest.err
39803 cat conftest.err
>&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
39806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try
='test -s conftest.$ac_objext'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39819 wx_cv_var_timezone
=__timezone
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.
$ac_ext >&5
39826 if test "$USE_DOS" = 0 ; then
39827 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39828 echo "$as_me: WARNING: no timezone variable" >&2;}
39833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39845 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39846 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39848 if test "x$wx_cv_var_timezone" != x
; then
39849 cat >>confdefs.h
<<_ACEOF
39850 #define WX_TIMEZONE $wx_cv_var_timezone
39856 for ac_func
in localtime
39858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39859 echo "$as_me:$LINENO: checking for $ac_func" >&5
39860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39861 if eval "test \"\${$as_ac_var+set}\" = set"; then
39862 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 cat >conftest.
$ac_ext <<_ACEOF
39867 cat confdefs.h
>>conftest.
$ac_ext
39868 cat >>conftest.
$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39872 #define $ac_func innocuous_$ac_func
39874 /* System header to define __stub macros and hopefully few prototypes,
39875 which can conflict with char $ac_func (); below.
39876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39877 <limits.h> exists even on freestanding compilers. */
39880 # include <limits.h>
39882 # include <assert.h>
39887 /* Override any gcc2 internal prototype to avoid an error. */
39892 /* We use char because int might match the return type of a gcc2
39893 builtin and then its argument prototype would still apply. */
39895 /* The GNU C library defines this for functions which it implements
39896 to always fail with ENOSYS. Some functions are actually named
39897 something starting with __ and the normal name is an alias. */
39898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39901 char (*f) () = $ac_func;
39910 return f != $ac_func;
39915 rm -f conftest.
$ac_objext conftest
$ac_exeext
39916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39917 (eval $ac_link) 2>conftest.er1
39919 grep -v '^ *+' conftest.er1
>conftest.err
39921 cat conftest.err
>&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); } &&
39924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; } &&
39930 { ac_try
='test -s conftest$ac_exeext'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; }; then
39936 eval "$as_ac_var=yes"
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.
$ac_ext >&5
39941 eval "$as_ac_var=no"
39943 rm -f conftest.err conftest.
$ac_objext \
39944 conftest
$ac_exeext conftest.
$ac_ext
39946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39948 if test `eval echo '${'$as_ac_var'}'` = yes; then
39949 cat >>confdefs.h
<<_ACEOF
39950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39957 if test "$ac_cv_func_localtime" = "yes"; then
39958 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39959 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39960 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39961 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 cat >conftest.
$ac_ext <<_ACEOF
39967 cat confdefs.h
>>conftest.
$ac_ext
39968 cat >>conftest.
$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39984 rm -f conftest.
$ac_objext
39985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39986 (eval $ac_compile) 2>conftest.er1
39988 grep -v '^ *+' conftest.er1
>conftest.err
39990 cat conftest.err
>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } &&
39993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; } &&
39999 { ac_try
='test -s conftest.$ac_objext'
40000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40001 (eval $ac_try) 2>&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); }; }; then
40006 wx_cv_struct_tm_has_gmtoff
=yes
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.
$ac_ext >&5
40012 wx_cv_struct_tm_has_gmtoff
=no
40015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40018 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40019 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40022 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40023 cat >>confdefs.h
<<\_ACEOF
40024 #define WX_GMTOFF_IN_TM 1
40031 for ac_func
in gettimeofday ftime
40033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40034 echo "$as_me:$LINENO: checking for $ac_func" >&5
40035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40036 if eval "test \"\${$as_ac_var+set}\" = set"; then
40037 echo $ECHO_N "(cached) $ECHO_C" >&6
40039 cat >conftest.
$ac_ext <<_ACEOF
40042 cat confdefs.h
>>conftest.
$ac_ext
40043 cat >>conftest.
$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40047 #define $ac_func innocuous_$ac_func
40049 /* System header to define __stub macros and hopefully few prototypes,
40050 which can conflict with char $ac_func (); below.
40051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40052 <limits.h> exists even on freestanding compilers. */
40055 # include <limits.h>
40057 # include <assert.h>
40062 /* Override any gcc2 internal prototype to avoid an error. */
40067 /* We use char because int might match the return type of a gcc2
40068 builtin and then its argument prototype would still apply. */
40070 /* The GNU C library defines this for functions which it implements
40071 to always fail with ENOSYS. Some functions are actually named
40072 something starting with __ and the normal name is an alias. */
40073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40076 char (*f) () = $ac_func;
40085 return f != $ac_func;
40090 rm -f conftest.
$ac_objext conftest
$ac_exeext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40092 (eval $ac_link) 2>conftest.er1
40094 grep -v '^ *+' conftest.er1
>conftest.err
40096 cat conftest.err
>&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; } &&
40105 { ac_try
='test -s conftest$ac_exeext'
40106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40107 (eval $ac_try) 2>&5
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); }; }; then
40111 eval "$as_ac_var=yes"
40113 echo "$as_me: failed program was:" >&5
40114 sed 's/^/| /' conftest.
$ac_ext >&5
40116 eval "$as_ac_var=no"
40118 rm -f conftest.err conftest.
$ac_objext \
40119 conftest
$ac_exeext conftest.
$ac_ext
40121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40123 if test `eval echo '${'$as_ac_var'}'` = yes; then
40124 cat >>confdefs.h
<<_ACEOF
40125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 if test "$ac_cv_func_gettimeofday" = "yes"; then
40133 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40134 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40135 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40142 ac_cpp
='$CXXCPP $CPPFLAGS'
40143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40148 cat >conftest.
$ac_ext <<_ACEOF
40151 cat confdefs.h
>>conftest.
$ac_ext
40152 cat >>conftest.
$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40155 #include <sys/time.h>
40156 #include <unistd.h>
40163 gettimeofday(&tv, NULL);
40169 rm -f conftest.
$ac_objext
40170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40171 (eval $ac_compile) 2>conftest.er1
40173 grep -v '^ *+' conftest.er1
>conftest.err
40175 cat conftest.err
>&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } &&
40178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40180 (eval $ac_try) 2>&5
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); }; } &&
40184 { ac_try
='test -s conftest.$ac_objext'
40185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40186 (eval $ac_try) 2>&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); }; }; then
40190 wx_cv_func_gettimeofday_has_2_args
=yes
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.
$ac_ext >&5
40195 cat >conftest.
$ac_ext <<_ACEOF
40198 cat confdefs.h
>>conftest.
$ac_ext
40199 cat >>conftest.
$ac_ext <<_ACEOF
40200 /* end confdefs.h. */
40202 #include <sys/time.h>
40203 #include <unistd.h>
40216 rm -f conftest.
$ac_objext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40218 (eval $ac_compile) 2>conftest.er1
40220 grep -v '^ *+' conftest.er1
>conftest.err
40222 cat conftest.err
>&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try
='test -s conftest.$ac_objext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 wx_cv_func_gettimeofday_has_2_args
=no
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.
$ac_ext >&5
40243 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40244 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40245 wx_cv_func_gettimeofday_has_2_args
=unknown
40249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40254 ac_cpp
='$CPP $CPPFLAGS'
40255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40261 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40262 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40264 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40265 cat >>confdefs.h
<<\_ACEOF
40266 #define WX_GETTIMEOFDAY_NO_TZ 1
40272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40276 if test "$wxUSE_SOCKETS" = "yes"; then
40277 if test "$wxUSE_MGL" = "1"; then
40278 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40279 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40284 if test "$wxUSE_SOCKETS" = "yes"; then
40285 if test "$TOOLKIT" != "MSW"; then
40286 echo "$as_me:$LINENO: checking for socket" >&5
40287 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40288 if test "${ac_cv_func_socket+set}" = set; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 cat >conftest.
$ac_ext <<_ACEOF
40294 cat confdefs.h
>>conftest.
$ac_ext
40295 cat >>conftest.
$ac_ext <<_ACEOF
40296 /* end confdefs.h. */
40297 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40299 #define socket innocuous_socket
40301 /* System header to define __stub macros and hopefully few prototypes,
40302 which can conflict with char socket (); below.
40303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40304 <limits.h> exists even on freestanding compilers. */
40307 # include <limits.h>
40309 # include <assert.h>
40314 /* Override any gcc2 internal prototype to avoid an error. */
40319 /* We use char because int might match the return type of a gcc2
40320 builtin and then its argument prototype would still apply. */
40322 /* The GNU C library defines this for functions which it implements
40323 to always fail with ENOSYS. Some functions are actually named
40324 something starting with __ and the normal name is an alias. */
40325 #if defined (__stub_socket) || defined (__stub___socket)
40328 char (*f) () = socket;
40337 return f != socket;
40342 rm -f conftest.
$ac_objext conftest
$ac_exeext
40343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40344 (eval $ac_link) 2>conftest.er1
40346 grep -v '^ *+' conftest.er1
>conftest.err
40348 cat conftest.err
>&5
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); } &&
40351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40353 (eval $ac_try) 2>&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); }; } &&
40357 { ac_try
='test -s conftest$ac_exeext'
40358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40359 (eval $ac_try) 2>&5
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); }; }; then
40363 ac_cv_func_socket
=yes
40365 echo "$as_me: failed program was:" >&5
40366 sed 's/^/| /' conftest.
$ac_ext >&5
40368 ac_cv_func_socket
=no
40370 rm -f conftest.err conftest.
$ac_objext \
40371 conftest
$ac_exeext conftest.
$ac_ext
40373 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40374 echo "${ECHO_T}$ac_cv_func_socket" >&6
40375 if test $ac_cv_func_socket = yes; then
40379 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40380 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40381 if test "${ac_cv_lib_socket_socket+set}" = set; then
40382 echo $ECHO_N "(cached) $ECHO_C" >&6
40384 ac_check_lib_save_LIBS
=$LIBS
40385 LIBS
="-lsocket $LIBS"
40386 cat >conftest.
$ac_ext <<_ACEOF
40389 cat confdefs.h
>>conftest.
$ac_ext
40390 cat >>conftest.
$ac_ext <<_ACEOF
40391 /* end confdefs.h. */
40393 /* Override any gcc2 internal prototype to avoid an error. */
40397 /* We use char because int might match the return type of a gcc2
40398 builtin and then its argument prototype would still apply. */
40408 rm -f conftest.
$ac_objext conftest
$ac_exeext
40409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40410 (eval $ac_link) 2>conftest.er1
40412 grep -v '^ *+' conftest.er1
>conftest.err
40414 cat conftest.err
>&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } &&
40417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419 (eval $ac_try) 2>&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); }; } &&
40423 { ac_try
='test -s conftest$ac_exeext'
40424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40425 (eval $ac_try) 2>&5
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); }; }; then
40429 ac_cv_lib_socket_socket
=yes
40431 echo "$as_me: failed program was:" >&5
40432 sed 's/^/| /' conftest.
$ac_ext >&5
40434 ac_cv_lib_socket_socket
=no
40436 rm -f conftest.err conftest.
$ac_objext \
40437 conftest
$ac_exeext conftest.
$ac_ext
40438 LIBS
=$ac_check_lib_save_LIBS
40440 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40441 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40442 if test $ac_cv_lib_socket_socket = yes; then
40443 if test "$INET_LINK" != " -lsocket"; then
40444 INET_LINK
="$INET_LINK -lsocket"
40448 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40449 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40462 if test "$wxUSE_SOCKETS" = "yes" ; then
40463 if test "$TOOLKIT" != "MSW"; then
40465 ac_cpp
='$CXXCPP $CPPFLAGS'
40466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40470 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40471 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40472 if test "${wx_cv_type_getsockname3+set}" = set; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40476 cat >conftest.
$ac_ext <<_ACEOF
40479 cat confdefs.h
>>conftest.
$ac_ext
40480 cat >>conftest.
$ac_ext <<_ACEOF
40481 /* end confdefs.h. */
40483 #include <sys/types.h>
40484 #include <sys/socket.h>
40491 getsockname(0, 0, &len);
40497 rm -f conftest.
$ac_objext
40498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40499 (eval $ac_compile) 2>conftest.er1
40501 grep -v '^ *+' conftest.er1
>conftest.err
40503 cat conftest.err
>&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } &&
40506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508 (eval $ac_try) 2>&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); }; } &&
40512 { ac_try
='test -s conftest.$ac_objext'
40513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40514 (eval $ac_try) 2>&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); }; }; then
40518 wx_cv_type_getsockname3
=socklen_t
40520 echo "$as_me: failed program was:" >&5
40521 sed 's/^/| /' conftest.
$ac_ext >&5
40524 CXXFLAGS_OLD
="$CXXFLAGS"
40525 if test "$GCC" = yes ; then
40526 CXXFLAGS
="$CXXFLAGS -Werror"
40529 cat >conftest.
$ac_ext <<_ACEOF
40532 cat confdefs.h
>>conftest.
$ac_ext
40533 cat >>conftest.
$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40536 #include <sys/types.h>
40537 #include <sys/socket.h>
40544 getsockname(0, 0, &len);
40550 rm -f conftest.
$ac_objext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40552 (eval $ac_compile) 2>conftest.er1
40554 grep -v '^ *+' conftest.er1
>conftest.err
40556 cat conftest.err
>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; } &&
40565 { ac_try
='test -s conftest.$ac_objext'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; }; then
40571 wx_cv_type_getsockname3
=size_t
40573 echo "$as_me: failed program was:" >&5
40574 sed 's/^/| /' conftest.
$ac_ext >&5
40576 cat >conftest.
$ac_ext <<_ACEOF
40579 cat confdefs.h
>>conftest.
$ac_ext
40580 cat >>conftest.
$ac_ext <<_ACEOF
40581 /* end confdefs.h. */
40583 #include <sys/types.h>
40584 #include <sys/socket.h>
40591 getsockname(0, 0, &len);
40597 rm -f conftest.
$ac_objext
40598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40599 (eval $ac_compile) 2>conftest.er1
40601 grep -v '^ *+' conftest.er1
>conftest.err
40603 cat conftest.err
>&5
40604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605 (exit $ac_status); } &&
40606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40608 (eval $ac_try) 2>&5
40610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40611 (exit $ac_status); }; } &&
40612 { ac_try
='test -s conftest.$ac_objext'
40613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614 (eval $ac_try) 2>&5
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); }; }; then
40618 wx_cv_type_getsockname3
=int
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.
$ac_ext >&5
40623 wx_cv_type_getsockname3
=unknown
40626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40631 CXXFLAGS
="$CXXFLAGS_OLD"
40635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40638 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40639 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40641 if test "$wx_cv_type_getsockname3" = "unknown"; then
40643 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40644 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40646 cat >>confdefs.h
<<_ACEOF
40647 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40651 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40652 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40653 if test "${wx_cv_type_getsockopt5+set}" = set; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 cat >conftest.
$ac_ext <<_ACEOF
40660 cat confdefs.h
>>conftest.
$ac_ext
40661 cat >>conftest.
$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40664 #include <sys/types.h>
40665 #include <sys/socket.h>
40672 getsockopt(0, 0, 0, 0, &len);
40678 rm -f conftest.
$ac_objext
40679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40680 (eval $ac_compile) 2>conftest.er1
40682 grep -v '^ *+' conftest.er1
>conftest.err
40684 cat conftest.err
>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } &&
40687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; } &&
40693 { ac_try
='test -s conftest.$ac_objext'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; }; then
40699 wx_cv_type_getsockopt5
=socklen_t
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.
$ac_ext >&5
40705 CXXFLAGS_OLD
="$CXXFLAGS"
40706 if test "$GCC" = yes ; then
40707 CXXFLAGS
="$CXXFLAGS -Werror"
40710 cat >conftest.
$ac_ext <<_ACEOF
40713 cat confdefs.h
>>conftest.
$ac_ext
40714 cat >>conftest.
$ac_ext <<_ACEOF
40715 /* end confdefs.h. */
40717 #include <sys/types.h>
40718 #include <sys/socket.h>
40725 getsockopt(0, 0, 0, 0, &len);
40731 rm -f conftest.
$ac_objext
40732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40733 (eval $ac_compile) 2>conftest.er1
40735 grep -v '^ *+' conftest.er1
>conftest.err
40737 cat conftest.err
>&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } &&
40740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; } &&
40746 { ac_try
='test -s conftest.$ac_objext'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; }; then
40752 wx_cv_type_getsockopt5
=size_t
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.
$ac_ext >&5
40757 cat >conftest.
$ac_ext <<_ACEOF
40760 cat confdefs.h
>>conftest.
$ac_ext
40761 cat >>conftest.
$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40764 #include <sys/types.h>
40765 #include <sys/socket.h>
40772 getsockopt(0, 0, 0, 0, &len);
40778 rm -f conftest.
$ac_objext
40779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40780 (eval $ac_compile) 2>conftest.er1
40782 grep -v '^ *+' conftest.er1
>conftest.err
40784 cat conftest.err
>&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } &&
40787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40789 (eval $ac_try) 2>&5
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); }; } &&
40793 { ac_try
='test -s conftest.$ac_objext'
40794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40795 (eval $ac_try) 2>&5
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); }; }; then
40799 wx_cv_type_getsockopt5
=int
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.
$ac_ext >&5
40804 wx_cv_type_getsockopt5
=unknown
40807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40812 CXXFLAGS
="$CXXFLAGS_OLD"
40816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40819 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40820 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40822 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40824 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40825 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40827 cat >>confdefs.h
<<_ACEOF
40828 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40833 ac_cpp
='$CPP $CPPFLAGS'
40834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40841 if test "$wxUSE_SOCKETS" = "yes" ; then
40842 cat >>confdefs.h
<<\_ACEOF
40843 #define wxUSE_SOCKETS 1
40846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40849 if test "$wxUSE_PROTOCOL" = "yes"; then
40850 if test "$wxUSE_SOCKETS" != "yes"; then
40851 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40852 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40857 if test "$wxUSE_PROTOCOL" = "yes"; then
40858 cat >>confdefs.h
<<\_ACEOF
40859 #define wxUSE_PROTOCOL 1
40863 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40864 cat >>confdefs.h
<<\_ACEOF
40865 #define wxUSE_PROTOCOL_HTTP 1
40869 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40870 cat >>confdefs.h
<<\_ACEOF
40871 #define wxUSE_PROTOCOL_FTP 1
40875 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40876 cat >>confdefs.h
<<\_ACEOF
40877 #define wxUSE_PROTOCOL_FILE 1
40882 if test "$wxUSE_FS_INET" = "yes"; then
40883 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40884 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40889 if test "$wxUSE_URL" = "yes"; then
40890 if test "$wxUSE_PROTOCOL" != "yes"; then
40891 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40892 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40895 if test "$wxUSE_URL" = "yes"; then
40896 cat >>confdefs.h
<<\_ACEOF
40897 #define wxUSE_URL 1
40903 if test "$wxUSE_FS_INET" = "yes"; then
40904 cat >>confdefs.h
<<\_ACEOF
40905 #define wxUSE_FS_INET 1
40911 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40914 if test "$TOOLKIT" = "MSW"; then
40917 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40918 if test "$USE_DARWIN" = 1; then
40919 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40920 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40922 ac_cpp
='$CXXCPP $CPPFLAGS'
40923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40927 cat >conftest.
$ac_ext <<_ACEOF
40930 cat confdefs.h
>>conftest.
$ac_ext
40931 cat >>conftest.
$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40933 #include <IOKit/hid/IOHIDLib.h>
40937 IOHIDQueueInterface *qi = NULL;
40938 IOHIDCallbackFunction cb = NULL;
40939 qi->setEventCallout(NULL, cb, NULL, NULL);
40944 rm -f conftest.
$ac_objext
40945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40946 (eval $ac_compile) 2>conftest.er1
40948 grep -v '^ *+' conftest.er1
>conftest.err
40950 cat conftest.err
>&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } &&
40953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40955 (eval $ac_try) 2>&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); }; } &&
40959 { ac_try
='test -s conftest.$ac_objext'
40960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961 (eval $ac_try) 2>&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); }; }; then
40968 echo "$as_me: failed program was:" >&5
40969 sed 's/^/| /' conftest.
$ac_ext >&5
40972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40974 ac_cpp
='$CPP $CPPFLAGS'
40975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40979 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40980 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40985 for ac_header
in linux
/joystick.h
40987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40989 echo "$as_me:$LINENO: checking for $ac_header" >&5
40990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40992 echo $ECHO_N "(cached) $ECHO_C" >&6
40994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40997 # Is the header compilable?
40998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41000 cat >conftest.
$ac_ext <<_ACEOF
41003 cat confdefs.h
>>conftest.
$ac_ext
41004 cat >>conftest.
$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 $ac_includes_default
41007 #include <$ac_header>
41009 rm -f conftest.
$ac_objext
41010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41011 (eval $ac_compile) 2>conftest.er1
41013 grep -v '^ *+' conftest.er1
>conftest.err
41015 cat conftest.err
>&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); } &&
41018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41020 (eval $ac_try) 2>&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); }; } &&
41024 { ac_try
='test -s conftest.$ac_objext'
41025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41026 (eval $ac_try) 2>&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); }; }; then
41030 ac_header_compiler
=yes
41032 echo "$as_me: failed program was:" >&5
41033 sed 's/^/| /' conftest.
$ac_ext >&5
41035 ac_header_compiler
=no
41037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41039 echo "${ECHO_T}$ac_header_compiler" >&6
41041 # Is the header present?
41042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41044 cat >conftest.
$ac_ext <<_ACEOF
41047 cat confdefs.h
>>conftest.
$ac_ext
41048 cat >>conftest.
$ac_ext <<_ACEOF
41049 /* end confdefs.h. */
41050 #include <$ac_header>
41052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41055 grep -v '^ *+' conftest.er1
>conftest.err
41057 cat conftest.err
>&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } >/dev
/null
; then
41060 if test -s conftest.err
; then
41061 ac_cpp_err
=$ac_c_preproc_warn_flag
41062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41069 if test -z "$ac_cpp_err"; then
41070 ac_header_preproc
=yes
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.
$ac_ext >&5
41075 ac_header_preproc
=no
41077 rm -f conftest.err conftest.
$ac_ext
41078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41079 echo "${ECHO_T}$ac_header_preproc" >&6
41081 # So? What about this header?
41082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41088 ac_header_preproc
=yes
41091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41105 ## ----------------------------------------- ##
41106 ## Report this to wx-dev@lists.wxwidgets.org ##
41107 ## ----------------------------------------- ##
41110 sed "s/^/$as_me: WARNING: /" >&2
41113 echo "$as_me:$LINENO: checking for $ac_header" >&5
41114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41118 eval "$as_ac_Header=\$ac_header_preproc"
41120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41125 cat >>confdefs.h
<<_ACEOF
41126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41135 if test "$wxUSE_JOYSTICK" = "yes"; then
41136 cat >>confdefs.h
<<\_ACEOF
41137 #define wxUSE_JOYSTICK 1
41140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41142 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41143 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41149 if test "$wxUSE_FONTMAP" = "yes" ; then
41150 cat >>confdefs.h
<<\_ACEOF
41151 #define wxUSE_FONTMAP 1
41156 if test "$wxUSE_UNICODE" = "yes" ; then
41157 cat >>confdefs.h
<<\_ACEOF
41158 #define wxUSE_UNICODE 1
41162 if test "$USE_WIN32" != 1; then
41163 wxUSE_UNICODE_MSLU
=no
41166 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41167 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41168 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41169 if test "${ac_cv_lib_unicows_main+set}" = set; then
41170 echo $ECHO_N "(cached) $ECHO_C" >&6
41172 ac_check_lib_save_LIBS
=$LIBS
41173 LIBS
="-lunicows $LIBS"
41174 cat >conftest.
$ac_ext <<_ACEOF
41177 cat confdefs.h
>>conftest.
$ac_ext
41178 cat >>conftest.
$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41190 rm -f conftest.
$ac_objext conftest
$ac_exeext
41191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41192 (eval $ac_link) 2>conftest.er1
41194 grep -v '^ *+' conftest.er1
>conftest.err
41196 cat conftest.err
>&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } &&
41199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201 (eval $ac_try) 2>&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); }; } &&
41205 { ac_try
='test -s conftest$ac_exeext'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; }; then
41211 ac_cv_lib_unicows_main
=yes
41213 echo "$as_me: failed program was:" >&5
41214 sed 's/^/| /' conftest.
$ac_ext >&5
41216 ac_cv_lib_unicows_main
=no
41218 rm -f conftest.err conftest.
$ac_objext \
41219 conftest
$ac_exeext conftest.
$ac_ext
41220 LIBS
=$ac_check_lib_save_LIBS
41222 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41223 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41224 if test $ac_cv_lib_unicows_main = yes; then
41226 cat >>confdefs.h
<<\_ACEOF
41227 #define wxUSE_UNICODE_MSLU 1
41233 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41234 Applications will only run on Windows NT/2000/XP!" >&5
41235 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41236 Applications will only run on Windows NT/2000/XP!" >&2;}
41237 wxUSE_UNICODE_MSLU
=no
41244 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41245 cat >>confdefs.h
<<\_ACEOF
41246 #define wxUSE_EXPERIMENTAL_PRINTF 1
41252 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41253 cat >>confdefs.h
<<\_ACEOF
41254 #define wxUSE_POSTSCRIPT 1
41259 cat >>confdefs.h
<<\_ACEOF
41260 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41264 cat >>confdefs.h
<<\_ACEOF
41265 #define wxUSE_NORMALIZED_PS_FONTS 1
41270 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41271 cat >>confdefs.h
<<\_ACEOF
41272 #define wxUSE_CONSTRAINTS 1
41275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41278 if test "$wxUSE_MDI" = "yes"; then
41279 cat >>confdefs.h
<<\_ACEOF
41280 #define wxUSE_MDI 1
41284 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41285 cat >>confdefs.h
<<\_ACEOF
41286 #define wxUSE_MDI_ARCHITECTURE 1
41289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41293 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41294 cat >>confdefs.h
<<\_ACEOF
41295 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41299 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41304 if test "$wxUSE_HELP" = "yes"; then
41305 cat >>confdefs.h
<<\_ACEOF
41306 #define wxUSE_HELP 1
41309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41311 if test "$wxUSE_MSW" = 1; then
41312 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41313 cat >>confdefs.h
<<\_ACEOF
41314 #define wxUSE_MS_HTML_HELP 1
41320 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41321 if test "$wxUSE_HTML" = "yes"; then
41322 cat >>confdefs.h
<<\_ACEOF
41323 #define wxUSE_WXHTML_HELP 1
41327 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41328 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41329 wxUSE_WXHTML_HELP
=no
41334 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41335 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41336 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41337 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41339 cat >>confdefs.h
<<\_ACEOF
41340 #define wxUSE_PRINTING_ARCHITECTURE 1
41344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41347 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41348 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41349 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41350 { (exit 1); exit 1; }; }
41354 if test "$wxUSE_METAFILE" = "yes"; then
41355 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41356 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41357 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41363 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41364 -o "$wxUSE_CLIPBOARD" = "yes" \
41365 -o "$wxUSE_OLE" = "yes" \
41366 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41368 for ac_header
in ole2.h
41370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41372 echo "$as_me:$LINENO: checking for $ac_header" >&5
41373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41380 # Is the header compilable?
41381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41383 cat >conftest.
$ac_ext <<_ACEOF
41386 cat confdefs.h
>>conftest.
$ac_ext
41387 cat >>conftest.
$ac_ext <<_ACEOF
41388 /* end confdefs.h. */
41389 $ac_includes_default
41390 #include <$ac_header>
41392 rm -f conftest.
$ac_objext
41393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41394 (eval $ac_compile) 2>conftest.er1
41396 grep -v '^ *+' conftest.er1
>conftest.err
41398 cat conftest.err
>&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } &&
41401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41403 (eval $ac_try) 2>&5
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); }; } &&
41407 { ac_try
='test -s conftest.$ac_objext'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; }; then
41413 ac_header_compiler
=yes
41415 echo "$as_me: failed program was:" >&5
41416 sed 's/^/| /' conftest.
$ac_ext >&5
41418 ac_header_compiler
=no
41420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41422 echo "${ECHO_T}$ac_header_compiler" >&6
41424 # Is the header present?
41425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41427 cat >conftest.
$ac_ext <<_ACEOF
41430 cat confdefs.h
>>conftest.
$ac_ext
41431 cat >>conftest.
$ac_ext <<_ACEOF
41432 /* end confdefs.h. */
41433 #include <$ac_header>
41435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41438 grep -v '^ *+' conftest.er1
>conftest.err
41440 cat conftest.err
>&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } >/dev
/null
; then
41443 if test -s conftest.err
; then
41444 ac_cpp_err
=$ac_c_preproc_warn_flag
41445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41452 if test -z "$ac_cpp_err"; then
41453 ac_header_preproc
=yes
41455 echo "$as_me: failed program was:" >&5
41456 sed 's/^/| /' conftest.
$ac_ext >&5
41458 ac_header_preproc
=no
41460 rm -f conftest.err conftest.
$ac_ext
41461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41462 echo "${ECHO_T}$ac_header_preproc" >&6
41464 # So? What about this header?
41465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41471 ac_header_preproc
=yes
41474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41488 ## ----------------------------------------- ##
41489 ## Report this to wx-dev@lists.wxwidgets.org ##
41490 ## ----------------------------------------- ##
41493 sed "s/^/$as_me: WARNING: /" >&2
41496 echo "$as_me:$LINENO: checking for $ac_header" >&5
41497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41499 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 eval "$as_ac_Header=\$ac_header_preproc"
41503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41508 cat >>confdefs.h
<<_ACEOF
41509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41517 if test "$ac_cv_header_ole2_h" = "yes" ; then
41518 if test "$GCC" = yes ; then
41522 ac_cpp
='$CXXCPP $CPPFLAGS'
41523 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41528 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41529 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41530 cat >conftest.
$ac_ext <<_ACEOF
41533 cat confdefs.h
>>conftest.
$ac_ext
41534 cat >>conftest.
$ac_ext <<_ACEOF
41535 /* end confdefs.h. */
41536 #include <windows.h>
41546 rm -f conftest.
$ac_objext
41547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41548 (eval $ac_compile) 2>conftest.er1
41550 grep -v '^ *+' conftest.er1
>conftest.err
41552 cat conftest.err
>&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } &&
41555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; } &&
41561 { ac_try
='test -s conftest.$ac_objext'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; }; then
41567 echo "$as_me:$LINENO: result: no" >&5
41568 echo "${ECHO_T}no" >&6
41570 echo "$as_me: failed program was:" >&5
41571 sed 's/^/| /' conftest.
$ac_ext >&5
41573 echo "$as_me:$LINENO: result: yes" >&5
41574 echo "${ECHO_T}yes" >&6
41575 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41579 ac_cpp
='$CPP $CPPFLAGS'
41580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41584 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41585 if test "$wxUSE_OLE" = "yes" ; then
41586 cat >>confdefs.h
<<\_ACEOF
41587 #define wxUSE_OLE 1
41590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41594 if test "$wxUSE_DATAOBJ" = "yes" ; then
41595 cat >>confdefs.h
<<\_ACEOF
41596 #define wxUSE_DATAOBJ 1
41601 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41602 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41605 wxUSE_DRAG_AND_DROP
=no
41610 if test "$wxUSE_METAFILE" = "yes"; then
41611 cat >>confdefs.h
<<\_ACEOF
41612 #define wxUSE_METAFILE 1
41616 cat >>confdefs.h
<<\_ACEOF
41617 #define wxUSE_ENH_METAFILE 1
41623 if test "$wxUSE_IPC" = "yes"; then
41624 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41625 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41626 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41630 if test "$wxUSE_IPC" = "yes"; then
41631 cat >>confdefs.h
<<\_ACEOF
41632 #define wxUSE_IPC 1
41635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41639 if test "$wxUSE_DATAOBJ" = "yes"; then
41640 if test "$wxUSE_MGL" = 1; then
41641 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41642 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41645 cat >>confdefs.h
<<\_ACEOF
41646 #define wxUSE_DATAOBJ 1
41651 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41652 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41654 wxUSE_DRAG_AND_DROP
=no
41657 if test "$wxUSE_CLIPBOARD" = "yes"; then
41658 if test "$wxUSE_MGL" = 1; then
41659 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41660 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41664 if test "$wxUSE_CLIPBOARD" = "yes"; then
41665 cat >>confdefs.h
<<\_ACEOF
41666 #define wxUSE_CLIPBOARD 1
41672 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41673 if test "$wxUSE_GTK" = 1; then
41674 if test "$WXGTK12" != 1; then
41675 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41676 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41677 wxUSE_DRAG_AND_DROP
=no
41681 if test "$wxUSE_MOTIF" = 1; then
41682 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41683 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41684 wxUSE_DRAG_AND_DROP
=no
41687 if test "$wxUSE_X11" = 1; then
41688 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41689 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41690 wxUSE_DRAG_AND_DROP
=no
41693 if test "$wxUSE_MGL" = 1; then
41694 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41695 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41696 wxUSE_DRAG_AND_DROP
=no
41699 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41700 cat >>confdefs.h
<<\_ACEOF
41701 #define wxUSE_DRAG_AND_DROP 1
41708 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41712 if test "$wxUSE_SPLINES" = "yes" ; then
41713 cat >>confdefs.h
<<\_ACEOF
41714 #define wxUSE_SPLINES 1
41719 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41720 cat >>confdefs.h
<<\_ACEOF
41721 #define wxUSE_MOUSEWHEEL 1
41728 if test "$wxUSE_CONTROLS" = "yes"; then
41732 if test "$wxUSE_ACCEL" = "yes"; then
41733 cat >>confdefs.h
<<\_ACEOF
41734 #define wxUSE_ACCEL 1
41740 if test "$wxUSE_BUTTON" = "yes"; then
41741 cat >>confdefs.h
<<\_ACEOF
41742 #define wxUSE_BUTTON 1
41748 if test "$wxUSE_BMPBUTTON" = "yes"; then
41749 cat >>confdefs.h
<<\_ACEOF
41750 #define wxUSE_BMPBUTTON 1
41756 if test "$wxUSE_CALCTRL" = "yes"; then
41757 cat >>confdefs.h
<<\_ACEOF
41758 #define wxUSE_CALENDARCTRL 1
41762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41765 if test "$wxUSE_CARET" = "yes"; then
41766 cat >>confdefs.h
<<\_ACEOF
41767 #define wxUSE_CARET 1
41771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41774 if test "$wxUSE_COMBOBOX" = "yes"; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define wxUSE_COMBOBOX 1
41782 if test "$wxUSE_CHOICE" = "yes"; then
41783 cat >>confdefs.h
<<\_ACEOF
41784 #define wxUSE_CHOICE 1
41790 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41791 cat >>confdefs.h
<<\_ACEOF
41792 #define wxUSE_CHOICEBOOK 1
41798 if test "$wxUSE_CHECKBOX" = "yes"; then
41799 cat >>confdefs.h
<<\_ACEOF
41800 #define wxUSE_CHECKBOX 1
41806 if test "$wxUSE_CHECKLST" = "yes"; then
41807 cat >>confdefs.h
<<\_ACEOF
41808 #define wxUSE_CHECKLISTBOX 1
41812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41815 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41816 cat >>confdefs.h
<<\_ACEOF
41817 #define wxUSE_DATEPICKCTRL 1
41823 if test "$wxUSE_DISPLAY" = "yes"; then
41824 cat >>confdefs.h
<<\_ACEOF
41825 #define wxUSE_DISPLAY 1
41828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41831 if test "$wxUSE_GAUGE" = "yes"; then
41832 cat >>confdefs.h
<<\_ACEOF
41833 #define wxUSE_GAUGE 1
41839 if test "$wxUSE_GRID" = "yes"; then
41840 cat >>confdefs.h
<<\_ACEOF
41841 #define wxUSE_GRID 1
41845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41848 if test "$wxUSE_IMAGLIST" = "yes"; then
41849 cat >>confdefs.h
<<\_ACEOF
41850 #define wxUSE_IMAGLIST 1
41855 if test "$wxUSE_LISTBOOK" = "yes"; then
41856 cat >>confdefs.h
<<\_ACEOF
41857 #define wxUSE_LISTBOOK 1
41863 if test "$wxUSE_LISTBOX" = "yes"; then
41864 cat >>confdefs.h
<<\_ACEOF
41865 #define wxUSE_LISTBOX 1
41869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41872 if test "$wxUSE_LISTCTRL" = "yes"; then
41873 if test "$wxUSE_IMAGLIST" = "yes"; then
41874 cat >>confdefs.h
<<\_ACEOF
41875 #define wxUSE_LISTCTRL 1
41879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41881 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41882 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41886 if test "$wxUSE_NOTEBOOK" = "yes"; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_NOTEBOOK 1
41892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
41896 if test "$wxUSE_RADIOBOX" = "yes"; then
41897 cat >>confdefs.h
<<\_ACEOF
41898 #define wxUSE_RADIOBOX 1
41904 if test "$wxUSE_RADIOBTN" = "yes"; then
41905 cat >>confdefs.h
<<\_ACEOF
41906 #define wxUSE_RADIOBTN 1
41912 if test "$wxUSE_SASH" = "yes"; then
41913 cat >>confdefs.h
<<\_ACEOF
41914 #define wxUSE_SASH 1
41917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
41920 if test "$wxUSE_SCROLLBAR" = "yes"; then
41921 cat >>confdefs.h
<<\_ACEOF
41922 #define wxUSE_SCROLLBAR 1
41926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
41929 if test "$wxUSE_SLIDER" = "yes"; then
41930 cat >>confdefs.h
<<\_ACEOF
41931 #define wxUSE_SLIDER 1
41937 if test "$wxUSE_SPINBTN" = "yes"; then
41938 cat >>confdefs.h
<<\_ACEOF
41939 #define wxUSE_SPINBTN 1
41945 if test "$wxUSE_SPINCTRL" = "yes"; then
41946 cat >>confdefs.h
<<\_ACEOF
41947 #define wxUSE_SPINCTRL 1
41953 if test "$wxUSE_SPLITTER" = "yes"; then
41954 cat >>confdefs.h
<<\_ACEOF
41955 #define wxUSE_SPLITTER 1
41958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
41961 if test "$wxUSE_STATBMP" = "yes"; then
41962 cat >>confdefs.h
<<\_ACEOF
41963 #define wxUSE_STATBMP 1
41969 if test "$wxUSE_STATBOX" = "yes"; then
41970 cat >>confdefs.h
<<\_ACEOF
41971 #define wxUSE_STATBOX 1
41977 if test "$wxUSE_STATTEXT" = "yes"; then
41978 cat >>confdefs.h
<<\_ACEOF
41979 #define wxUSE_STATTEXT 1
41985 if test "$wxUSE_STATLINE" = "yes"; then
41986 cat >>confdefs.h
<<\_ACEOF
41987 #define wxUSE_STATLINE 1
41993 if test "$wxUSE_STATUSBAR" = "yes"; then
41994 cat >>confdefs.h
<<\_ACEOF
41995 #define wxUSE_NATIVE_STATUSBAR 1
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define wxUSE_STATUSBAR 1
42004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42007 if test "$wxUSE_TABDIALOG" = "yes"; then
42008 cat >>confdefs.h
<<\_ACEOF
42009 #define wxUSE_TAB_DIALOG 1
42014 if test "$wxUSE_TEXTCTRL" = "yes"; then
42015 cat >>confdefs.h
<<\_ACEOF
42016 #define wxUSE_TEXTCTRL 1
42020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42023 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42024 if test "$wxUSE_COCOA" = 1 ; then
42025 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42026 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42029 if test "$wxUSE_UNIVERSAL" = "yes"; then
42030 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42031 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42035 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42036 cat >>confdefs.h
<<\_ACEOF
42037 #define wxUSE_TOGGLEBTN 1
42044 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42045 cat >>confdefs.h
<<\_ACEOF
42046 #define wxUSE_TOOLBAR_SIMPLE 1
42049 wxUSE_TOOLBAR
="yes"
42053 if test "$wxUSE_TOOLBAR" = "yes"; then
42054 cat >>confdefs.h
<<\_ACEOF
42055 #define wxUSE_TOOLBAR 1
42060 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42061 wxUSE_TOOLBAR_NATIVE
="yes"
42064 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42065 cat >>confdefs.h
<<\_ACEOF
42066 #define wxUSE_TOOLBAR_NATIVE 1
42072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42075 if test "$wxUSE_TOOLTIPS" = "yes"; then
42076 if test "$wxUSE_MOTIF" = 1; then
42077 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42078 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42080 if test "$wxUSE_UNIVERSAL" = "yes"; then
42081 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42082 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_TOOLTIPS 1
42092 if test "$wxUSE_TREECTRL" = "yes"; then
42093 if test "$wxUSE_IMAGLIST" = "yes"; then
42094 cat >>confdefs.h
<<\_ACEOF
42095 #define wxUSE_TREECTRL 1
42099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42101 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42102 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42106 if test "$wxUSE_POPUPWIN" = "yes"; then
42107 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42108 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42109 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42111 if test "$wxUSE_PM" = 1; then
42112 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42113 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42115 cat >>confdefs.h
<<\_ACEOF
42116 #define wxUSE_POPUPWIN 1
42119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42126 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42127 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42128 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42129 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define wxUSE_DIALUP_MANAGER 1
42135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42139 if test "$wxUSE_TIPWINDOW" = "yes"; then
42140 if test "$wxUSE_PM" = 1; then
42141 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42142 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42144 cat >>confdefs.h
<<\_ACEOF
42145 #define wxUSE_TIPWINDOW 1
42151 if test "$USES_CONTROLS" = 1; then
42152 cat >>confdefs.h
<<\_ACEOF
42153 #define wxUSE_CONTROLS 1
42159 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42160 cat >>confdefs.h
<<\_ACEOF
42161 #define wxUSE_ACCESSIBILITY 1
42164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42167 if test "$wxUSE_DC_CACHEING" = "yes"; then
42168 cat >>confdefs.h
<<\_ACEOF
42169 #define wxUSE_DC_CACHEING 1
42174 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42175 cat >>confdefs.h
<<\_ACEOF
42176 #define wxUSE_DRAGIMAGE 1
42179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42182 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42183 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42184 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42185 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42187 cat >>confdefs.h
<<\_ACEOF
42188 #define wxUSE_EXCEPTIONS 1
42191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42196 if test "$wxUSE_HTML" = "yes"; then
42197 cat >>confdefs.h
<<\_ACEOF
42198 #define wxUSE_HTML 1
42202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42203 if test "$wxUSE_MAC" = 1; then
42204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42207 if test "$wxUSE_WEBKIT" = "yes"; then
42208 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42209 old_CPPFLAGS
="$CPPFLAGS"
42210 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42211 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42212 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42213 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42214 echo $ECHO_N "(cached) $ECHO_C" >&6
42216 cat >conftest.
$ac_ext <<_ACEOF
42219 cat confdefs.h
>>conftest.
$ac_ext
42220 cat >>conftest.
$ac_ext <<_ACEOF
42221 /* end confdefs.h. */
42222 #include <Carbon/Carbon.h>
42224 #include <WebKit/HIWebView.h>
42226 rm -f conftest.
$ac_objext
42227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42228 (eval $ac_compile) 2>conftest.er1
42230 grep -v '^ *+' conftest.er1
>conftest.err
42232 cat conftest.err
>&5
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); } &&
42235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42237 (eval $ac_try) 2>&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); }; } &&
42241 { ac_try
='test -s conftest.$ac_objext'
42242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243 (eval $ac_try) 2>&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); }; }; then
42247 ac_cv_header_WebKit_HIWebView_h
=yes
42249 echo "$as_me: failed program was:" >&5
42250 sed 's/^/| /' conftest.
$ac_ext >&5
42252 ac_cv_header_WebKit_HIWebView_h
=no
42254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42256 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42257 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42258 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42260 cat >>confdefs.h
<<\_ACEOF
42261 #define wxUSE_WEBKIT 1
42264 WEBKIT_LINK
="-framework WebKit"
42268 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42269 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42275 CPPFLAGS
="$old_CPPFLAGS"
42276 elif test "$wxUSE_COCOA" = 1; then
42277 cat >>confdefs.h
<<\_ACEOF
42278 #define wxUSE_WEBKIT 1
42287 if test "$wxUSE_XRC" = "yes"; then
42288 if test "$wxUSE_XML" != "yes"; then
42289 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42290 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42293 cat >>confdefs.h
<<\_ACEOF
42294 #define wxUSE_XRC 1
42298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42302 if test "$wxUSE_MENUS" = "yes"; then
42303 cat >>confdefs.h
<<\_ACEOF
42304 #define wxUSE_MENUS 1
42307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42310 if test "$wxUSE_METAFILE" = "yes"; then
42311 cat >>confdefs.h
<<\_ACEOF
42312 #define wxUSE_METAFILE 1
42317 if test "$wxUSE_MIMETYPE" = "yes"; then
42318 cat >>confdefs.h
<<\_ACEOF
42319 #define wxUSE_MIMETYPE 1
42324 if test "$wxUSE_MINIFRAME" = "yes"; then
42325 cat >>confdefs.h
<<\_ACEOF
42326 #define wxUSE_MINIFRAME 1
42329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42332 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42333 cat >>confdefs.h
<<\_ACEOF
42334 #define wxUSE_SYSTEM_OPTIONS 1
42337 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42338 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42344 if test "$wxUSE_VALIDATORS" = "yes"; then
42345 cat >>confdefs.h
<<\_ACEOF
42346 #define wxUSE_VALIDATORS 1
42349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42352 if test "$wxUSE_PALETTE" = "yes" ; then
42353 cat >>confdefs.h
<<\_ACEOF
42354 #define wxUSE_PALETTE 1
42359 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42360 LIBS
=" -lunicows $LIBS"
42364 if test "$wxUSE_IMAGE" = "yes" ; then
42365 cat >>confdefs.h
<<\_ACEOF
42366 #define wxUSE_IMAGE 1
42370 if test "$wxUSE_GIF" = "yes" ; then
42371 cat >>confdefs.h
<<\_ACEOF
42372 #define wxUSE_GIF 1
42377 if test "$wxUSE_PCX" = "yes" ; then
42378 cat >>confdefs.h
<<\_ACEOF
42379 #define wxUSE_PCX 1
42384 if test "$wxUSE_IFF" = "yes" ; then
42385 cat >>confdefs.h
<<\_ACEOF
42386 #define wxUSE_IFF 1
42391 if test "$wxUSE_PNM" = "yes" ; then
42392 cat >>confdefs.h
<<\_ACEOF
42393 #define wxUSE_PNM 1
42398 if test "$wxUSE_XPM" = "yes" ; then
42399 cat >>confdefs.h
<<\_ACEOF
42400 #define wxUSE_XPM 1
42405 if test "$wxUSE_ICO_CUR" = "yes" ; then
42406 cat >>confdefs.h
<<\_ACEOF
42407 #define wxUSE_ICO_CUR 1
42414 if test "$wxUSE_CHOICEDLG" = "yes"; then
42415 cat >>confdefs.h
<<\_ACEOF
42416 #define wxUSE_CHOICEDLG 1
42421 if test "$wxUSE_COLOURDLG" = "yes"; then
42422 cat >>confdefs.h
<<\_ACEOF
42423 #define wxUSE_COLOURDLG 1
42428 if test "$wxUSE_FILEDLG" = "yes"; then
42429 cat >>confdefs.h
<<\_ACEOF
42430 #define wxUSE_FILEDLG 1
42435 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42436 cat >>confdefs.h
<<\_ACEOF
42437 #define wxUSE_FINDREPLDLG 1
42442 if test "$wxUSE_FONTDLG" = "yes"; then
42443 cat >>confdefs.h
<<\_ACEOF
42444 #define wxUSE_FONTDLG 1
42449 if test "$wxUSE_DIRDLG" = "yes"; then
42450 if test "$wxUSE_TREECTRL" != "yes"; then
42451 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42452 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42454 cat >>confdefs.h
<<\_ACEOF
42455 #define wxUSE_DIRDLG 1
42461 if test "$wxUSE_MSGDLG" = "yes"; then
42462 cat >>confdefs.h
<<\_ACEOF
42463 #define wxUSE_MSGDLG 1
42468 if test "$wxUSE_NUMBERDLG" = "yes"; then
42469 cat >>confdefs.h
<<\_ACEOF
42470 #define wxUSE_NUMBERDLG 1
42475 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42476 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42477 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42478 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42480 cat >>confdefs.h
<<\_ACEOF
42481 #define wxUSE_PROGRESSDLG 1
42487 if test "$wxUSE_SPLASH" = "yes"; then
42488 cat >>confdefs.h
<<\_ACEOF
42489 #define wxUSE_SPLASH 1
42492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42495 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42496 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42497 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42498 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42500 cat >>confdefs.h
<<\_ACEOF
42501 #define wxUSE_STARTUP_TIPS 1
42507 if test "$wxUSE_TEXTDLG" = "yes"; then
42508 cat >>confdefs.h
<<\_ACEOF
42509 #define wxUSE_TEXTDLG 1
42514 if test "$wxUSE_WIZARDDLG" = "yes"; then
42515 cat >>confdefs.h
<<\_ACEOF
42516 #define wxUSE_WIZARDDLG 1
42519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42523 if test "$wxUSE_MEDIACTRL" = "yes"; then
42524 if test "$wxUSE_GTK" = 1; then
42525 wxUSE_GSTREAMER
="yes"
42530 if test -z "$PKG_CONFIG"; then
42531 # Extract the first word of "pkg-config", so it can be a program name with args.
42532 set dummy pkg
-config; ac_word
=$2
42533 echo "$as_me:$LINENO: checking for $ac_word" >&5
42534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42535 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42536 echo $ECHO_N "(cached) $ECHO_C" >&6
42538 case $PKG_CONFIG in
42540 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42544 for as_dir
in $PATH
42547 test -z "$as_dir" && as_dir
=.
42548 for ac_exec_ext
in '' $ac_executable_extensions; do
42549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42550 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42557 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42561 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42563 if test -n "$PKG_CONFIG"; then
42564 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42565 echo "${ECHO_T}$PKG_CONFIG" >&6
42567 echo "$as_me:$LINENO: result: no" >&5
42568 echo "${ECHO_T}no" >&6
42573 if test "$PKG_CONFIG" = "no" ; then
42574 echo "*** The pkg-config script could not be found. Make sure it is"
42575 echo "*** in your path, or set the PKG_CONFIG environment variable"
42576 echo "*** to the full path to pkg-config."
42577 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42579 PKG_CONFIG_MIN_VERSION
=0.9.0
42580 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42581 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42582 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42584 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42585 echo "$as_me:$LINENO: result: yes" >&5
42586 echo "${ECHO_T}yes" >&6
42589 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42590 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42591 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42592 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42593 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42595 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42596 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42597 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42598 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42599 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42601 GSTREAMER_CFLAGS
=""
42603 ## If we have a custom action on failure, don't print errors, but
42604 ## do set a variable so people can do so.
42605 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42612 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42613 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42617 if test $succeeded = yes; then
42619 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42620 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42624 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42625 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42626 wxUSE_GSTREAMER
="no"
42634 if test "x$GST_INSPECT" == "x"; then
42635 # Extract the first word of "gst-inspect", so it can be a program name with args.
42636 set dummy gst
-inspect; ac_word
=$2
42637 echo "$as_me:$LINENO: checking for $ac_word" >&5
42638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42639 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42642 if test -n "$GST_INSPECT"; then
42643 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42646 for as_dir
in $PATH
42649 test -z "$as_dir" && as_dir
=.
42650 for ac_exec_ext
in '' $ac_executable_extensions; do
42651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42652 ac_cv_prog_GST_INSPECT
="gst-inspect"
42653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42661 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42662 if test -n "$GST_INSPECT"; then
42663 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42664 echo "${ECHO_T}$GST_INSPECT" >&6
42666 echo "$as_me:$LINENO: result: no" >&5
42667 echo "${ECHO_T}no" >&6
42672 if test "x$GST_INSPECT" != "x"; then
42673 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42674 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42675 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42676 echo "$as_me:$LINENO: result: found." >&5
42677 echo "${ECHO_T}found." >&6
42680 echo "$as_me:$LINENO: result: not found." >&5
42681 echo "${ECHO_T}not found." >&6
42683 wxUSE_GSTREAMER
="no"
42684 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42685 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42691 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42692 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42693 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42694 echo $ECHO_N "(cached) $ECHO_C" >&6
42696 cat >conftest.
$ac_ext <<_ACEOF
42699 cat confdefs.h
>>conftest.
$ac_ext
42700 cat >>conftest.
$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42702 #include <gst/gst.h>
42704 #include <gst/xoverlay/xoverlay.h>
42706 rm -f conftest.
$ac_objext
42707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42708 (eval $ac_compile) 2>conftest.er1
42710 grep -v '^ *+' conftest.er1
>conftest.err
42712 cat conftest.err
>&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } &&
42715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717 (eval $ac_try) 2>&5
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; } &&
42721 { ac_try
='test -s conftest.$ac_objext'
42722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42723 (eval $ac_try) 2>&5
42725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42726 (exit $ac_status); }; }; then
42727 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.
$ac_ext >&5
42732 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42736 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42737 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42738 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42742 wxUSE_GSTREAMER
="no"
42743 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42744 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42750 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42751 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42754 for ac_dir
in $SEARCH_LIB;
42756 for ac_extension
in a so sl dylib dll.a
; do
42757 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42758 ac_find_libraries
=$ac_dir
42765 if test "$ac_find_libraries" = "" ; then
42766 echo "$as_me:$LINENO: result: no" >&5
42767 echo "${ECHO_T}no" >&6
42768 wxUSE_GSTREAMER
="no"
42770 echo "$as_me:$LINENO: result: yes" >&5
42771 echo "${ECHO_T}yes" >&6
42774 if test "$wxUSE_GSTREAMER" = "yes"; then
42775 cat >>confdefs.h
<<\_ACEOF
42776 #define wxUSE_GSTREAMER 1
42779 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42780 echo "${ECHO_T}GStreamer detection successful" >&6
42783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42784 cat >>confdefs.h
<<\_ACEOF
42785 #define wxUSE_MEDIACTRL 1
42791 if test "$cross_compiling" = "yes"; then
42794 OSINFO
=`uname -s -r -m`
42795 OSINFO
="\"$OSINFO\""
42798 cat >>confdefs.h
<<_ACEOF
42799 #define WXWIN_OS_DESCRIPTION $OSINFO
42804 if test "x$prefix" != "xNONE"; then
42807 wxPREFIX
=$ac_default_prefix
42810 cat >>confdefs.h
<<_ACEOF
42811 #define wxINSTALL_PREFIX "$wxPREFIX"
42817 CORE_BASE_LIBS
="net base"
42818 CORE_GUI_LIBS
="adv core"
42820 if test "$wxUSE_XML" = "yes" ; then
42821 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42823 if test "$wxUSE_ODBC" != "no" ; then
42824 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42825 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42827 if test "$wxUSE_HTML" = "yes" ; then
42828 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42830 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42831 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42833 if test "$wxUSE_XRC" = "yes" ; then
42834 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42837 if test "$wxUSE_GUI" != "yes"; then
42848 if test "$wxUSE_MAC" = 1 ; then
42849 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42850 if test "$USE_DARWIN" = 1; then
42851 LDFLAGS
="$LDFLAGS -framework QuickTime"
42853 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42856 if test "$USE_DARWIN" = 1; then
42857 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42859 LDFLAGS
="$LDFLAGS -lCarbonLib"
42862 if test "$wxUSE_COCOA" = 1 ; then
42863 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42864 if test "$wxUSE_MEDIACTRL" = "yes"; then
42865 LDFLAGS
="$LDFLAGS -framework QuickTime"
42868 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42869 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42873 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42881 echo "$as_me:$LINENO: checking for $ac_func" >&5
42882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42883 if eval "test \"\${$as_ac_var+set}\" = set"; then
42884 echo $ECHO_N "(cached) $ECHO_C" >&6
42886 cat >conftest.
$ac_ext <<_ACEOF
42889 cat confdefs.h
>>conftest.
$ac_ext
42890 cat >>conftest.
$ac_ext <<_ACEOF
42891 /* end confdefs.h. */
42892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42894 #define $ac_func innocuous_$ac_func
42896 /* System header to define __stub macros and hopefully few prototypes,
42897 which can conflict with char $ac_func (); below.
42898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42899 <limits.h> exists even on freestanding compilers. */
42902 # include <limits.h>
42904 # include <assert.h>
42909 /* Override any gcc2 internal prototype to avoid an error. */
42914 /* We use char because int might match the return type of a gcc2
42915 builtin and then its argument prototype would still apply. */
42917 /* The GNU C library defines this for functions which it implements
42918 to always fail with ENOSYS. Some functions are actually named
42919 something starting with __ and the normal name is an alias. */
42920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42923 char (*f) () = $ac_func;
42932 return f != $ac_func;
42937 rm -f conftest.
$ac_objext conftest
$ac_exeext
42938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42939 (eval $ac_link) 2>conftest.er1
42941 grep -v '^ *+' conftest.er1
>conftest.err
42943 cat conftest.err
>&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); } &&
42946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; } &&
42952 { ac_try
='test -s conftest$ac_exeext'
42953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42954 (eval $ac_try) 2>&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; }; then
42958 eval "$as_ac_var=yes"
42960 echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.
$ac_ext >&5
42963 eval "$as_ac_var=no"
42965 rm -f conftest.err conftest.
$ac_objext \
42966 conftest
$ac_exeext conftest.
$ac_ext
42968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42970 if test `eval echo '${'$as_ac_var'}'` = yes; then
42971 cat >>confdefs.h
<<_ACEOF
42972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42979 for ac_func
in floor
42981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42982 echo "$as_me:$LINENO: checking for $ac_func" >&5
42983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42984 if eval "test \"\${$as_ac_var+set}\" = set"; then
42985 echo $ECHO_N "(cached) $ECHO_C" >&6
42987 cat >conftest.
$ac_ext <<_ACEOF
42990 cat confdefs.h
>>conftest.
$ac_ext
42991 cat >>conftest.
$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42995 #define $ac_func innocuous_$ac_func
42997 /* System header to define __stub macros and hopefully few prototypes,
42998 which can conflict with char $ac_func (); below.
42999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43000 <limits.h> exists even on freestanding compilers. */
43003 # include <limits.h>
43005 # include <assert.h>
43010 /* Override any gcc2 internal prototype to avoid an error. */
43015 /* We use char because int might match the return type of a gcc2
43016 builtin and then its argument prototype would still apply. */
43018 /* The GNU C library defines this for functions which it implements
43019 to always fail with ENOSYS. Some functions are actually named
43020 something starting with __ and the normal name is an alias. */
43021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43024 char (*f) () = $ac_func;
43033 return f != $ac_func;
43038 rm -f conftest.
$ac_objext conftest
$ac_exeext
43039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43040 (eval $ac_link) 2>conftest.er1
43042 grep -v '^ *+' conftest.er1
>conftest.err
43044 cat conftest.err
>&5
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); } &&
43047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049 (eval $ac_try) 2>&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); }; } &&
43053 { ac_try
='test -s conftest$ac_exeext'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; }; then
43059 eval "$as_ac_var=yes"
43061 echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.
$ac_ext >&5
43064 eval "$as_ac_var=no"
43066 rm -f conftest.err conftest.
$ac_objext \
43067 conftest
$ac_exeext conftest.
$ac_ext
43069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43071 if test `eval echo '${'$as_ac_var'}'` = yes; then
43072 cat >>confdefs.h
<<_ACEOF
43073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43079 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43080 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43081 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43082 echo "$as_me:$LINENO: result: yes" >&5
43083 echo "${ECHO_T}yes" >&6
43085 echo "$as_me:$LINENO: result: no" >&5
43086 echo "${ECHO_T}no" >&6
43088 # use different functions to avoid configure caching
43094 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43095 echo "$as_me:$LINENO: checking for $ac_func" >&5
43096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43097 if eval "test \"\${$as_ac_var+set}\" = set"; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 cat >conftest.
$ac_ext <<_ACEOF
43103 cat confdefs.h
>>conftest.
$ac_ext
43104 cat >>conftest.
$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43108 #define $ac_func innocuous_$ac_func
43110 /* System header to define __stub macros and hopefully few prototypes,
43111 which can conflict with char $ac_func (); below.
43112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43113 <limits.h> exists even on freestanding compilers. */
43116 # include <limits.h>
43118 # include <assert.h>
43123 /* Override any gcc2 internal prototype to avoid an error. */
43128 /* We use char because int might match the return type of a gcc2
43129 builtin and then its argument prototype would still apply. */
43131 /* The GNU C library defines this for functions which it implements
43132 to always fail with ENOSYS. Some functions are actually named
43133 something starting with __ and the normal name is an alias. */
43134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43137 char (*f) () = $ac_func;
43146 return f != $ac_func;
43151 rm -f conftest.
$ac_objext conftest
$ac_exeext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43153 (eval $ac_link) 2>conftest.er1
43155 grep -v '^ *+' conftest.er1
>conftest.err
43157 cat conftest.err
>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
43166 { ac_try
='test -s conftest$ac_exeext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172 eval "$as_ac_var=yes"
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.
$ac_ext >&5
43177 eval "$as_ac_var=no"
43179 rm -f conftest.err conftest.
$ac_objext \
43180 conftest
$ac_exeext conftest.
$ac_ext
43182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43184 if test `eval echo '${'$as_ac_var'}'` = yes; then
43185 cat >>confdefs.h
<<_ACEOF
43186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43193 for ac_func
in ceil
43195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43196 echo "$as_me:$LINENO: checking for $ac_func" >&5
43197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43198 if eval "test \"\${$as_ac_var+set}\" = set"; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43201 cat >conftest.
$ac_ext <<_ACEOF
43204 cat confdefs.h
>>conftest.
$ac_ext
43205 cat >>conftest.
$ac_ext <<_ACEOF
43206 /* end confdefs.h. */
43207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43209 #define $ac_func innocuous_$ac_func
43211 /* System header to define __stub macros and hopefully few prototypes,
43212 which can conflict with char $ac_func (); below.
43213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43214 <limits.h> exists even on freestanding compilers. */
43217 # include <limits.h>
43219 # include <assert.h>
43224 /* Override any gcc2 internal prototype to avoid an error. */
43229 /* We use char because int might match the return type of a gcc2
43230 builtin and then its argument prototype would still apply. */
43232 /* The GNU C library defines this for functions which it implements
43233 to always fail with ENOSYS. Some functions are actually named
43234 something starting with __ and the normal name is an alias. */
43235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43238 char (*f) () = $ac_func;
43247 return f != $ac_func;
43252 rm -f conftest.
$ac_objext conftest
$ac_exeext
43253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43254 (eval $ac_link) 2>conftest.er1
43256 grep -v '^ *+' conftest.er1
>conftest.err
43258 cat conftest.err
>&5
43259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260 (exit $ac_status); } &&
43261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43263 (eval $ac_try) 2>&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; } &&
43267 { ac_try
='test -s conftest$ac_exeext'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; }; then
43273 eval "$as_ac_var=yes"
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.
$ac_ext >&5
43278 eval "$as_ac_var=no"
43280 rm -f conftest.err conftest.
$ac_objext \
43281 conftest
$ac_exeext conftest.
$ac_ext
43283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43285 if test `eval echo '${'$as_ac_var'}'` = yes; then
43286 cat >>confdefs.h
<<_ACEOF
43287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43293 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43294 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43295 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43296 echo "$as_me:$LINENO: result: yes" >&5
43297 echo "${ECHO_T}yes" >&6
43299 echo "$as_me:$LINENO: result: no" >&5
43300 echo "${ECHO_T}no" >&6
43301 # not sure we should warn the user, crash, etc.
43305 if test "$wxUSE_GUI" = "yes"; then
43308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43309 dynamic erase event exec font image minimal mobile \
43310 mobile/wxedit mobile/styles propsize render \
43311 richedit rotate shaped vscroll widgets"
43313 if test "$wxUSE_MONOLITHIC" != "yes"; then
43314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43316 if test "$TOOLKIT" = "MSW"; then
43317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43318 if test "$wxUSE_UNIVERSAL" != "yes"; then
43319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43322 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43326 SAMPLES_SUBDIRS
="console"
43330 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43331 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43333 if test "x$INTELCC" = "xyes" ; then
43334 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43335 elif test "$GCC" = yes ; then
43336 CWARNINGS
="-Wall -Wundef"
43339 if test "x$INTELCXX" = "xyes" ; then
43340 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43341 elif test "$GXX" = yes ; then
43342 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43345 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43347 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43348 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43349 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43351 if test "x$MWCC" = "xyes"; then
43353 CC
="$CC -cwd source -I-"
43354 CXX
="$CXX -cwd source -I-"
43359 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43360 EXTRALIBS_XML
="$EXPAT_LINK"
43361 EXTRALIBS_HTML
="$MSPACK_LINK"
43362 EXTRALIBS_ODBC
="$ODBC_LINK"
43363 if test "$wxUSE_GUI" = "yes"; then
43364 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43366 if test "$wxUSE_OPENGL" = "yes"; then
43367 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43370 LDFLAGS
="$LDFLAGS $PROFILE"
43372 if test "$wxUSE_GTK" = 1; then
43375 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
43378 WXCONFIG_EXTRALIBS
="$LIBS"
43380 if test "$wxUSE_REGEX" = "builtin" ; then
43381 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43383 if test "$wxUSE_EXPAT" = "builtin" ; then
43384 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43386 if test "$wxUSE_ODBC" = "builtin" ; then
43387 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43389 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43390 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43392 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43393 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43395 if test "$wxUSE_LIBPNG" = "builtin" ; then
43396 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43398 if test "$wxUSE_ZLIB" = "builtin" ; then
43399 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43402 for i
in $wxconfig_3rdparty ; do
43403 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43407 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43421 if test $wxUSE_MONOLITHIC = "yes" ; then
43427 if test $wxUSE_PLUGINS = "yes" ; then
43433 if test $wxUSE_ODBC != "no" ; then
43439 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43445 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43473 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43484 TOOLKIT_USER
="GTK+"
43485 if test "$WXGTK20" = 1; then
43486 TOOLKIT_USER
="$TOOLKIT_USER 2"
43491 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43495 if test "$wxUSE_WINE" = "yes"; then
43496 BAKEFILE_FORCE_PLATFORM
=win32
43502 if test "x$BAKEFILE_HOST" = "x"; then
43503 BAKEFILE_HOST
="${host}"
43506 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43508 if test -n "$ac_tool_prefix"; then
43509 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43510 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43511 echo "$as_me:$LINENO: checking for $ac_word" >&5
43512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43513 if test "${ac_cv_prog_RANLIB+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43516 if test -n "$RANLIB"; then
43517 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43520 for as_dir
in $PATH
43523 test -z "$as_dir" && as_dir
=.
43524 for ac_exec_ext
in '' $ac_executable_extensions; do
43525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43526 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43535 RANLIB
=$ac_cv_prog_RANLIB
43536 if test -n "$RANLIB"; then
43537 echo "$as_me:$LINENO: result: $RANLIB" >&5
43538 echo "${ECHO_T}$RANLIB" >&6
43540 echo "$as_me:$LINENO: result: no" >&5
43541 echo "${ECHO_T}no" >&6
43545 if test -z "$ac_cv_prog_RANLIB"; then
43546 ac_ct_RANLIB
=$RANLIB
43547 # Extract the first word of "ranlib", so it can be a program name with args.
43548 set dummy ranlib
; ac_word
=$2
43549 echo "$as_me:$LINENO: checking for $ac_word" >&5
43550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43551 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43554 if test -n "$ac_ct_RANLIB"; then
43555 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43558 for as_dir
in $PATH
43561 test -z "$as_dir" && as_dir
=.
43562 for ac_exec_ext
in '' $ac_executable_extensions; do
43563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43564 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43571 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43574 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43575 if test -n "$ac_ct_RANLIB"; then
43576 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43577 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43579 echo "$as_me:$LINENO: result: no" >&5
43580 echo "${ECHO_T}no" >&6
43583 RANLIB
=$ac_ct_RANLIB
43585 RANLIB
="$ac_cv_prog_RANLIB"
43588 # Find a good install program. We prefer a C program (faster),
43589 # so one script is as good as another. But avoid the broken or
43590 # incompatible versions:
43591 # SysV /etc/install, /usr/sbin/install
43592 # SunOS /usr/etc/install
43593 # IRIX /sbin/install
43595 # AmigaOS /C/install, which installs bootblocks on floppy discs
43596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43599 # OS/2's system install, which has a completely different semantic
43600 # ./install, which can be erroneously created by make from ./install.sh.
43601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43603 if test -z "$INSTALL"; then
43604 if test "${ac_cv_path_install+set}" = set; then
43605 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43608 for as_dir
in $PATH
43611 test -z "$as_dir" && as_dir
=.
43612 # Account for people who put trailing slashes in PATH elements.
43614 .
/ | .
// | /cC
/* | \
43615 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43616 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43619 # OSF1 and SCO ODT 3.0 have their own names for install.
43620 # Don't use installbsd from OSF since it installs stuff as root
43622 for ac_prog
in ginstall scoinst
install; do
43623 for ac_exec_ext
in '' $ac_executable_extensions; do
43624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43625 if test $ac_prog = install &&
43626 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43627 # AIX install. It has an incompatible calling convention.
43629 elif test $ac_prog = install &&
43630 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43631 # program-specific install script used by HP pwplus--don't use.
43634 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43646 if test "${ac_cv_path_install+set}" = set; then
43647 INSTALL
=$ac_cv_path_install
43649 # As a last resort, use the slow shell script. We don't cache a
43650 # path for INSTALL within a source directory, because that will
43651 # break other packages using the cache if that directory is
43652 # removed, or if the path is relative.
43653 INSTALL
=$ac_install_sh
43656 echo "$as_me:$LINENO: result: $INSTALL" >&5
43657 echo "${ECHO_T}$INSTALL" >&6
43659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43660 # It thinks the first close brace ends the variable substitution.
43661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43665 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43667 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43668 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43670 if test "$LN_S" = "ln -s"; then
43671 echo "$as_me:$LINENO: result: yes" >&5
43672 echo "${ECHO_T}yes" >&6
43674 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43675 echo "${ECHO_T}no, using $LN_S" >&6
43679 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43680 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43681 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43682 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43683 echo $ECHO_N "(cached) $ECHO_C" >&6
43685 cat >conftest.
make <<\_ACEOF
43687 @
echo 'ac_maketemp="$(MAKE)"'
43689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43690 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43691 if test -n "$ac_maketemp"; then
43692 eval ac_cv_prog_make_
${ac_make}_set
=yes
43694 eval ac_cv_prog_make_
${ac_make}_set
=no
43696 rm -f conftest.
make
43698 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43699 echo "$as_me:$LINENO: result: yes" >&5
43700 echo "${ECHO_T}yes" >&6
43703 echo "$as_me:$LINENO: result: no" >&5
43704 echo "${ECHO_T}no" >&6
43705 SET_MAKE
="MAKE=${MAKE-make}"
43710 if test -n "$ac_tool_prefix"; then
43711 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43712 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43713 echo "$as_me:$LINENO: checking for $ac_word" >&5
43714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43715 if test "${ac_cv_prog_AR+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43718 if test -n "$AR"; then
43719 ac_cv_prog_AR
="$AR" # Let the user override the test.
43721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43722 for as_dir
in $PATH
43725 test -z "$as_dir" && as_dir
=.
43726 for ac_exec_ext
in '' $ac_executable_extensions; do
43727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43728 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43738 if test -n "$AR"; then
43739 echo "$as_me:$LINENO: result: $AR" >&5
43740 echo "${ECHO_T}$AR" >&6
43742 echo "$as_me:$LINENO: result: no" >&5
43743 echo "${ECHO_T}no" >&6
43747 if test -z "$ac_cv_prog_AR"; then
43749 # Extract the first word of "ar", so it can be a program name with args.
43750 set dummy
ar; ac_word
=$2
43751 echo "$as_me:$LINENO: checking for $ac_word" >&5
43752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43753 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43756 if test -n "$ac_ct_AR"; then
43757 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43760 for as_dir
in $PATH
43763 test -z "$as_dir" && as_dir
=.
43764 for ac_exec_ext
in '' $ac_executable_extensions; do
43765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43766 ac_cv_prog_ac_ct_AR
="ar"
43767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43773 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43776 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43777 if test -n "$ac_ct_AR"; then
43778 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43779 echo "${ECHO_T}$ac_ct_AR" >&6
43781 echo "$as_me:$LINENO: result: no" >&5
43782 echo "${ECHO_T}no" >&6
43787 AR
="$ac_cv_prog_AR"
43790 if test -n "$ac_tool_prefix"; then
43791 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43792 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43793 echo "$as_me:$LINENO: checking for $ac_word" >&5
43794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43795 if test "${ac_cv_prog_STRIP+set}" = set; then
43796 echo $ECHO_N "(cached) $ECHO_C" >&6
43798 if test -n "$STRIP"; then
43799 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43802 for as_dir
in $PATH
43805 test -z "$as_dir" && as_dir
=.
43806 for ac_exec_ext
in '' $ac_executable_extensions; do
43807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43808 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43817 STRIP
=$ac_cv_prog_STRIP
43818 if test -n "$STRIP"; then
43819 echo "$as_me:$LINENO: result: $STRIP" >&5
43820 echo "${ECHO_T}$STRIP" >&6
43822 echo "$as_me:$LINENO: result: no" >&5
43823 echo "${ECHO_T}no" >&6
43827 if test -z "$ac_cv_prog_STRIP"; then
43829 # Extract the first word of "strip", so it can be a program name with args.
43830 set dummy strip
; ac_word
=$2
43831 echo "$as_me:$LINENO: checking for $ac_word" >&5
43832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43833 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43834 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 if test -n "$ac_ct_STRIP"; then
43837 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43840 for as_dir
in $PATH
43843 test -z "$as_dir" && as_dir
=.
43844 for ac_exec_ext
in '' $ac_executable_extensions; do
43845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43846 ac_cv_prog_ac_ct_STRIP
="strip"
43847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43853 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43856 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43857 if test -n "$ac_ct_STRIP"; then
43858 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43859 echo "${ECHO_T}$ac_ct_STRIP" >&6
43861 echo "$as_me:$LINENO: result: no" >&5
43862 echo "${ECHO_T}no" >&6
43867 STRIP
="$ac_cv_prog_STRIP"
43870 if test -n "$ac_tool_prefix"; then
43871 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43872 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43873 echo "$as_me:$LINENO: checking for $ac_word" >&5
43874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43875 if test "${ac_cv_prog_NM+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43878 if test -n "$NM"; then
43879 ac_cv_prog_NM
="$NM" # Let the user override the test.
43881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43882 for as_dir
in $PATH
43885 test -z "$as_dir" && as_dir
=.
43886 for ac_exec_ext
in '' $ac_executable_extensions; do
43887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43888 ac_cv_prog_NM
="${ac_tool_prefix}nm"
43889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43898 if test -n "$NM"; then
43899 echo "$as_me:$LINENO: result: $NM" >&5
43900 echo "${ECHO_T}$NM" >&6
43902 echo "$as_me:$LINENO: result: no" >&5
43903 echo "${ECHO_T}no" >&6
43907 if test -z "$ac_cv_prog_NM"; then
43909 # Extract the first word of "nm", so it can be a program name with args.
43910 set dummy nm
; ac_word
=$2
43911 echo "$as_me:$LINENO: checking for $ac_word" >&5
43912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43913 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43914 echo $ECHO_N "(cached) $ECHO_C" >&6
43916 if test -n "$ac_ct_NM"; then
43917 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
43919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43920 for as_dir
in $PATH
43923 test -z "$as_dir" && as_dir
=.
43924 for ac_exec_ext
in '' $ac_executable_extensions; do
43925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43926 ac_cv_prog_ac_ct_NM
="nm"
43927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43933 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
43936 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
43937 if test -n "$ac_ct_NM"; then
43938 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43939 echo "${ECHO_T}$ac_ct_NM" >&6
43941 echo "$as_me:$LINENO: result: no" >&5
43942 echo "${ECHO_T}no" >&6
43947 NM
="$ac_cv_prog_NM"
43951 case ${BAKEFILE_HOST} in
43953 INSTALL_DIR
="mkdir -p"
43955 *) INSTALL_DIR
="$INSTALL -d"
43961 case ${BAKEFILE_HOST} in
43962 *-*-cygwin* | *-*-mingw32* )
43963 LDFLAGS_GUI
="-mwindows"
43969 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43970 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43971 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43972 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
43976 egrep -s GNU
> /dev
/null
); then
43977 bakefile_cv_prog_makeisgnu
="yes"
43979 bakefile_cv_prog_makeisgnu
="no"
43983 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43984 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43986 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44003 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44004 case "${BAKEFILE_HOST}" in
44011 *-pc-os2_emx | *-pc-os2-emx )
44021 powerpc
-apple-macos* )
44030 case "$BAKEFILE_FORCE_PLATFORM" in
44051 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44052 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44053 { (exit 1); exit 1; }; }
44068 # Check whether --enable-omf or --disable-omf was given.
44069 if test "${enable_omf+set}" = set; then
44070 enableval
="$enable_omf"
44071 bk_os2_use_omf
="$enableval"
44074 case "${BAKEFILE_HOST}" in
44076 if test "x$GCC" = "xyes"; then
44077 CFLAGS
="$CFLAGS -fno-common"
44078 CXXFLAGS
="$CXXFLAGS -fno-common"
44080 if test "x$XLCC" = "xyes"; then
44081 CFLAGS
="$CFLAGS -qnocommon"
44082 CXXFLAGS
="$CXXFLAGS -qnocommon"
44086 *-pc-os2_emx | *-pc-os2-emx )
44087 if test "x$bk_os2_use_omf" = "xyes" ; then
44090 LDFLAGS
="-Zomf $LDFLAGS"
44091 CFLAGS
="-Zomf $CFLAGS"
44092 CXXFLAGS
="-Zomf $CXXFLAGS"
44100 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44106 SO_SUFFIX_MODULE
="so"
44111 DLLPREFIX_MODULE
=""
44115 case "${BAKEFILE_HOST}" in
44118 SO_SUFFIX_MODULE
="sl"
44122 SO_SUFFIX_MODULE
="a"
44126 SO_SUFFIX_MODULE
="dll"
44127 DLLIMP_SUFFIX
="dll.a"
44134 SO_SUFFIX_MODULE
="dll"
44135 DLLIMP_SUFFIX
="dll.a"
44145 *-pc-os2_emx | *-pc-os2-emx )
44147 SO_SUFFIX_MODULE
="dll"
44148 DLLIMP_SUFFIX
=$OS2_LIBEXT
44152 LIBEXT
=".$OS2_LIBEXT"
44157 SO_SUFFIX_MODULE
="bundle"
44161 if test "x$DLLIMP_SUFFIX" = "x" ; then
44162 DLLIMP_SUFFIX
="$SO_SUFFIX"
44177 if test "x$GCC" = "xyes"; then
44181 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44182 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44185 case "${BAKEFILE_HOST}" in
44187 if test "x$GCC" != "xyes"; then
44188 LDFLAGS
="$LDFLAGS -L/usr/lib"
44190 SHARED_LD_CC
="${CC} -b -o"
44191 SHARED_LD_CXX
="${CXX} -b -o"
44197 if test "x$GCC" != "xyes"; then
44198 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44199 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44200 if test "${bakefile_cv_prog_icc+set}" = set; then
44201 echo $ECHO_N "(cached) $ECHO_C" >&6
44204 cat >conftest.
$ac_ext <<_ACEOF
44207 cat confdefs.h
>>conftest.
$ac_ext
44208 cat >>conftest.
$ac_ext <<_ACEOF
44209 /* end confdefs.h. */
44215 #ifndef __INTEL_COMPILER
44223 rm -f conftest.
$ac_objext
44224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44225 (eval $ac_compile) 2>conftest.er1
44227 grep -v '^ *+' conftest.er1
>conftest.err
44229 cat conftest.err
>&5
44230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44231 (exit $ac_status); } &&
44232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44234 (eval $ac_try) 2>&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); }; } &&
44238 { ac_try
='test -s conftest.$ac_objext'
44239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240 (eval $ac_try) 2>&5
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; }; then
44244 bakefile_cv_prog_icc
=yes
44246 echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.
$ac_ext >&5
44249 bakefile_cv_prog_icc
=no
44252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44255 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44256 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44257 if test "$bakefile_cv_prog_icc" = "yes"; then
44264 if test "x$GCC" != xyes
; then
44265 SHARED_LD_CC
="${CC} -G -o"
44266 SHARED_LD_CXX
="${CXX} -G -o"
44273 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44274 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44275 if test "${bakefile_cv_gcc31+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44279 cat >conftest.
$ac_ext <<_ACEOF
44282 cat confdefs.h
>>conftest.
$ac_ext
44283 cat >>conftest.
$ac_ext <<_ACEOF
44284 /* end confdefs.h. */
44290 #if (__GNUC__ < 3) || \
44291 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44299 rm -f conftest.
$ac_objext
44300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44301 (eval $ac_compile) 2>conftest.er1
44303 grep -v '^ *+' conftest.er1
>conftest.err
44305 cat conftest.err
>&5
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); } &&
44308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44310 (eval $ac_try) 2>&5
44312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44313 (exit $ac_status); }; } &&
44314 { ac_try
='test -s conftest.$ac_objext'
44315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44316 (eval $ac_try) 2>&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; }; then
44321 bakefile_cv_gcc31
=yes
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.
$ac_ext >&5
44328 bakefile_cv_gcc31
=no
44332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44335 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44336 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44337 if test "$bakefile_cv_gcc31" = "no"; then
44340 cat <<EOF >shared-ld-sh
44342 #-----------------------------------------------------------------------------
44343 #-- Name: distrib/mac/shared-ld-sh
44344 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44345 #-- Author: Gilles Depeyrot
44346 #-- Copyright: (c) 2002 Gilles Depeyrot
44347 #-- Licence: any use permitted
44348 #-----------------------------------------------------------------------------
44353 linking_flag="-dynamiclib"
44354 ldargs="-r -keep_private_externs -nostdlib"
44356 while test ${D}# -gt 0; do
44363 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44364 # collect these options and values
44365 args="${D}{args} ${D}1 ${D}2"
44370 # collect these load args
44371 ldargs="${D}{ldargs} ${D}1"
44374 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44375 # collect these options
44376 args="${D}{args} ${D}1"
44379 -dynamiclib|-bundle)
44380 linking_flag="${D}1"
44384 echo "shared-ld: unhandled option '${D}1'"
44388 *.o | *.a | *.dylib)
44389 # collect object files
44390 objects="${D}{objects} ${D}1"
44394 echo "shared-ld: unhandled argument '${D}1'"
44405 # Link one module containing all the others
44407 if test ${D}{verbose} = 1; then
44408 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44410 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44414 # Link the shared library from the single module created, but only if the
44415 # previous command didn't fail:
44417 if test ${D}{status} = 0; then
44418 if test ${D}{verbose} = 1; then
44419 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44421 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44426 # Remove intermediate module
44428 rm -f master.${D}${D}.o
44433 chmod +x shared
-ld-sh
44435 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44436 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44437 SHARED_LD_CXX
="$SHARED_LD_CC"
44438 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44440 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44441 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
44442 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44443 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
44446 if test "x$GCC" == "xyes"; then
44447 PIC_FLAG
="-dynamic -fPIC"
44449 if test "x$XLCC" = "xyes"; then
44450 PIC_FLAG
="-dynamic -DPIC"
44455 if test "x$GCC" = "xyes"; then
44458 case "${BAKEFILE_HOST}" in
44460 LD_EXPFULL
="-Wl,-bexpfull"
44464 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44465 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44467 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44468 set dummy makeC
++SharedLib
; ac_word
=$2
44469 echo "$as_me:$LINENO: checking for $ac_word" >&5
44470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44471 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44474 if test -n "$AIX_CXX_LD"; then
44475 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44478 for as_dir
in $PATH
44481 test -z "$as_dir" && as_dir
=.
44482 for ac_exec_ext
in '' $ac_executable_extensions; do
44483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44484 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44491 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44494 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44495 if test -n "$AIX_CXX_LD"; then
44496 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44497 echo "${ECHO_T}$AIX_CXX_LD" >&6
44499 echo "$as_me:$LINENO: result: no" >&5
44500 echo "${ECHO_T}no" >&6
44503 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44504 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44509 SHARED_LD_CC
="${LD} -nostart -o"
44510 SHARED_LD_CXX
="${LD} -nostart -o"
44514 if test "x$GCC" != "xyes"; then
44519 *-*-cygwin* | *-*-mingw32* )
44521 SHARED_LD_CC
="\$(CC) -shared -o"
44522 SHARED_LD_CXX
="\$(CXX) -shared -o"
44526 *-pc-os2_emx | *-pc-os2-emx )
44527 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44528 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44532 cat <<EOF >dllar.sh
44535 # dllar - a tool to build both a .dll and an .a file
44536 # from a set of object (.o) files for EMX/OS2.
44538 # Written by Andrew Zabolotny, bit@freya.etu.ru
44539 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44541 # This script will accept a set of files on the command line.
44542 # All the public symbols from the .o files will be exported into
44543 # a .DEF file, then linker will be run (through gcc) against them to
44544 # build a shared library consisting of all given .o files. All libraries
44545 # (.a) will be first decompressed into component .o files then act as
44546 # described above. You can optionally give a description (-d "description")
44547 # which will be put into .DLL. To see the list of accepted options (as well
44548 # as command-line format) simply run this program without options. The .DLL
44549 # is built to be imported by name (there is no guarantee that new versions
44550 # of the library you build will have same ordinals for same symbols).
44552 # dllar is free software; you can redistribute it and/or modify
44553 # it under the terms of the GNU General Public License as published by
44554 # the Free Software Foundation; either version 2, or (at your option)
44555 # any later version.
44557 # dllar is distributed in the hope that it will be useful,
44558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44560 # GNU General Public License for more details.
44562 # You should have received a copy of the GNU General Public License
44563 # along with dllar; see the file COPYING. If not, write to the Free
44564 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44567 # To successfuly run this program you will need:
44568 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44569 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44571 # (used to build the .dll)
44573 # (used to create .def file from .o files)
44575 # (used to create .a file from .def file)
44576 # - GNU text utilites (cat, sort, uniq)
44577 # used to process emxexp output
44578 # - GNU file utilities (mv, rm)
44580 # - lxlite (optional, see flag below)
44581 # (used for general .dll cleanup)
44588 # basnam, variant of basename, which does _not_ remove the path, _iff_
44589 # second argument (suffix to remove) is given
44593 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44596 echo ${D}1 | sed 's/'${D}2'${D}//'
44599 echo "error in basnam ${D}*"
44605 # Cleanup temporary files and output
44608 for i in ${D}inputFiles ; do
44611 rm -rf \`basnam ${D}i !\`
44618 # Kill result in case of failure as there is just to many stupid make/nmake
44619 # things out there which doesn't do this.
44620 if [ ${D}# -eq 0 ]; then
44621 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44625 # Print usage and exit script with rc=1.
44627 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44628 echo ' [-name-mangler-script script.sh]'
44629 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44630 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44631 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44632 echo ' [*.o] [*.a]'
44633 echo '*> "output_file" should have no extension.'
44634 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44635 echo ' The import library name is derived from this and is set to "name".a,'
44636 echo ' unless overridden by -import'
44637 echo '*> "importlib_name" should have no extension.'
44638 echo ' If it has the .o, or .a extension, it is automatically removed.'
44639 echo ' This name is used as the import library name and may be longer and'
44640 echo ' more descriptive than the DLL name which has to follow the old '
44641 echo ' 8.3 convention of FAT.'
44642 echo '*> "script.sh may be given to override the output_file name by a'
44643 echo ' different name. It is mainly useful if the regular make process'
44644 echo ' of some package does not take into account OS/2 restriction of'
44645 echo ' DLL name lengths. It takes the importlib name as input and is'
44646 echo ' supposed to procude a shorter name as output. The script should'
44647 echo ' expect to get importlib_name without extension and should produce'
44648 echo ' a (max.) 8 letter name without extension.'
44649 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44650 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44651 echo ' These flags will be put at the start of GCC command line.'
44652 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44653 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44654 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44655 echo ' If the last character of a symbol is "*", all symbols beginning'
44656 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44657 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44658 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44659 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44660 echo ' C runtime DLLs.'
44661 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44662 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44663 echo ' unchanged to GCC at the end of command line.'
44664 echo '*> If you create a DLL from a library and you do not specify -o,'
44665 echo ' the basename for DLL and import library will be set to library name,'
44666 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44667 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44668 echo ' library will be renamed into gcc_s.a.'
44671 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44672 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44677 # Execute a command.
44678 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44679 # @Uses Whatever CleanUp() uses.
44685 if [ ${D}rcCmd -ne 0 ]; then
44686 echo "command failed, exit code="${D}rcCmd
44701 CFLAGS="-s -Zcrtdll"
44703 EXPORT_BY_ORDINALS=0
44708 case ${D}curDirS in
44712 curDirS=${D}{curDirS}"/"
44715 # Parse commandline
44718 while [ ${D}1 ]; do
44721 EXPORT_BY_ORDINALS=1;
44731 -name-mangler-script)
44752 exclude_symbols=${D}{exclude_symbols}${D}1" "
44756 library_flags=${D}{library_flags}${D}1" "
44775 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44779 if [ ${D}omfLinking -eq 1 ]; then
44780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44782 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44787 if [ ${D}libsToLink -ne 0 ]; then
44788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44790 for file in ${D}1 ; do
44791 if [ -f ${D}file ]; then
44792 inputFiles="${D}{inputFiles} ${D}file"
44796 if [ ${D}found -eq 0 ]; then
44797 echo "ERROR: No file(s) found: "${D}1
44804 done # iterate cmdline words
44807 if [ -z "${D}inputFiles" ]; then
44808 echo "dllar: no input files"
44812 # Now extract all .o files from .a files
44814 for file in ${D}inputFiles ; do
44825 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44830 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44832 if [ ${D}? -ne 0 ]; then
44833 echo "Failed to create subdirectory ./${D}dirname"
44837 # Append '!' to indicate archive
44838 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44839 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44842 for subfile in ${D}dirname/*.o* ; do
44843 if [ -f ${D}subfile ]; then
44845 if [ -s ${D}subfile ]; then
44846 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44847 newInputFiles="${D}newInputFiles ${D}subfile"
44851 if [ ${D}found -eq 0 ]; then
44852 echo "WARNING: there are no files in archive \\'${D}file\\'"
44856 newInputFiles="${D}{newInputFiles} ${D}file"
44860 inputFiles="${D}newInputFiles"
44862 # Output filename(s).
44864 if [ -z ${D}outFile ]; then
44866 set outFile ${D}inputFiles; outFile=${D}2
44869 # If it is an archive, remove the '!' and the '_%' suffixes
44870 case ${D}outFile in
44872 outFile=\`basnam ${D}outFile _%!\`
44877 case ${D}outFile in
44879 outFile=\`basnam ${D}outFile .dll\`
44882 outFile=\`basnam ${D}outFile .DLL\`
44885 outFile=\`basnam ${D}outFile .o\`
44888 outFile=\`basnam ${D}outFile .obj\`
44891 outFile=\`basnam ${D}outFile .a\`
44894 outFile=\`basnam ${D}outFile .lib\`
44899 case ${D}outimpFile in
44901 outimpFile=\`basnam ${D}outimpFile .a\`
44904 outimpFile=\`basnam ${D}outimpFile .lib\`
44909 if [ -z ${D}outimpFile ]; then
44910 outimpFile=${D}outFile
44912 defFile="${D}{outFile}.def"
44913 arcFile="${D}{outimpFile}.a"
44914 arcFile2="${D}{outimpFile}.lib"
44916 #create ${D}dllFile as something matching 8.3 restrictions,
44917 if [ -z ${D}renameScript ] ; then
44918 dllFile="${D}outFile"
44920 dllFile=\`${D}renameScript ${D}outimpFile\`
44923 if [ ${D}do_backup -ne 0 ] ; then
44924 if [ -f ${D}arcFile ] ; then
44925 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44927 if [ -f ${D}arcFile2 ] ; then
44928 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44932 # Extract public symbols from all the object files.
44933 tmpdefFile=${D}{defFile}_%
44934 rm -f ${D}tmpdefFile
44935 for file in ${D}inputFiles ; do
44940 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44945 # Create the def file.
44947 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44948 dllFile="${D}{dllFile}.dll"
44949 if [ ! -z ${D}description ]; then
44950 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44952 echo "EXPORTS" >> ${D}defFile
44954 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44955 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44957 # Checks if the export is ok or not.
44958 for word in ${D}exclude_symbols; do
44959 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44960 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44965 sed "=" < ${D}tmpdefFile | \\
44969 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44971 ' > ${D}{tmpdefFile}%
44972 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44974 rm -f ${D}{tmpdefFile}%
44976 cat ${D}tmpdefFile >> ${D}defFile
44977 rm -f ${D}tmpdefFile
44979 # Do linking, create implib, and apply lxlite.
44981 for file in ${D}inputFiles ; do
44986 gccCmdl="${D}gccCmdl ${D}file"
44990 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44991 touch "${D}{outFile}.dll"
44993 doCommand "emximp -o ${D}arcFile ${D}defFile"
44994 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44996 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44999 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45001 doCommand "emxomf -s -l ${D}arcFile"
45011 powerpc
-apple-macos* | \
45012 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45021 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45022 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45023 { (exit 1); exit 1; }; }
45026 if test "x$PIC_FLAG" != "x" ; then
45027 PIC_FLAG
="$PIC_FLAG -DPIC"
45030 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45031 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45033 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45034 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45053 case "${BAKEFILE_HOST}" in
45054 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45055 SONAME_FLAG
="-Wl,-soname,"
45089 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45090 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45093 if test "x$GCC" = "xyes"; then
45095 case "${BAKEFILE_HOST}" in
45097 DEPSFLAG
="-no-cpp-precomp -MMD"
45103 echo "$as_me:$LINENO: result: gcc" >&5
45104 echo "${ECHO_T}gcc" >&6
45105 elif test "x$MWCC" = "xyes"; then
45108 echo "$as_me:$LINENO: result: mwcc" >&5
45109 echo "${ECHO_T}mwcc" >&6
45110 elif test "x$SUNCC" = "xyes"; then
45113 echo "$as_me:$LINENO: result: Sun cc" >&5
45114 echo "${ECHO_T}Sun cc" >&6
45115 elif test "x$SGICC" = "xyes"; then
45118 echo "$as_me:$LINENO: result: SGI cc" >&5
45119 echo "${ECHO_T}SGI cc" >&6
45120 elif test "x$HPCC" = "xyes"; then
45123 echo "$as_me:$LINENO: result: HP cc" >&5
45124 echo "${ECHO_T}HP cc" >&6
45125 elif test "x$COMPAQCC" = "xyes"; then
45128 echo "$as_me:$LINENO: result: Compaq cc" >&5
45129 echo "${ECHO_T}Compaq cc" >&6
45132 echo "$as_me:$LINENO: result: none" >&5
45133 echo "${ECHO_T}none" >&6
45136 if test $DEPS_TRACKING = 1 ; then
45142 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45143 # script. It is used to track C/C++ files dependencies in portable way.
45145 # Permission is given to use this file in any way.
45147 DEPSMODE=${DEPSMODE}
45149 DEPSFLAG="${DEPSFLAG}"
45151 mkdir -p ${D}DEPSDIR
45153 if test ${D}DEPSMODE = gcc ; then
45154 ${D}* ${D}{DEPSFLAG}
45156 if test ${D}{status} != 0 ; then
45159 # move created file to the location we want it in:
45160 while test ${D}# -gt 0; do
45174 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45175 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45176 if test -f ${D}depfile ; then
45177 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45180 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45181 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45182 if test ! -f ${D}depfile ; then
45183 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45184 depfile="${D}objfile.d"
45186 if test -f ${D}depfile ; then
45187 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45192 elif test ${D}DEPSMODE = mwcc ; then
45193 ${D}* || exit ${D}?
45194 # Run mwcc again with -MM and redirect into the dep file we want
45195 # NOTE: We can't use shift here because we need ${D}* to be valid
45197 for arg in ${D}* ; do
45198 if test "${D}prevarg" = "-o"; then
45211 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45213 elif test ${D}DEPSMODE = unixcc; then
45214 ${D}* || exit ${D}?
45215 # Run compiler again with deps flag and redirect into the dep file.
45216 # It doesn't work if the '-o FILE' option is used, but without it the
45217 # dependency file will contain the wrong name for the object. So it is
45218 # removed from the command line, and the dep file is fixed with sed.
45220 while test ${D}# -gt 0; do
45227 eval arg${D}#=\\${D}1
45228 cmd="${D}cmd \\${D}arg${D}#"
45233 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45250 case ${BAKEFILE_HOST} in
45251 *-*-cygwin* | *-*-mingw32* )
45252 if test "$build" != "$host" ; then
45253 RESCOMP
=$host_alias-windres
45255 # Extract the first word of "windres", so it can be a program name with args.
45256 set dummy windres
; ac_word
=$2
45257 echo "$as_me:$LINENO: checking for $ac_word" >&5
45258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45259 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45260 echo $ECHO_N "(cached) $ECHO_C" >&6
45262 if test -n "$RESCOMP"; then
45263 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45266 for as_dir
in $PATH
45269 test -z "$as_dir" && as_dir
=.
45270 for ac_exec_ext
in '' $ac_executable_extensions; do
45271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45272 ac_cv_prog_RESCOMP
="windres"
45273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45279 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
45282 RESCOMP
=$ac_cv_prog_RESCOMP
45283 if test -n "$RESCOMP"; then
45284 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45285 echo "${ECHO_T}$RESCOMP" >&6
45287 echo "$as_me:$LINENO: result: no" >&5
45288 echo "${ECHO_T}no" >&6
45294 *-*-darwin* | powerpc
-apple-macos* )
45295 # Extract the first word of "Rez", so it can be a program name with args.
45296 set dummy Rez
; ac_word
=$2
45297 echo "$as_me:$LINENO: checking for $ac_word" >&5
45298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45299 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45300 echo $ECHO_N "(cached) $ECHO_C" >&6
45302 if test -n "$RESCOMP"; then
45303 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45306 for as_dir
in $PATH
45309 test -z "$as_dir" && as_dir
=.
45310 for ac_exec_ext
in '' $ac_executable_extensions; do
45311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45312 ac_cv_prog_RESCOMP
="Rez"
45313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45319 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
45322 RESCOMP
=$ac_cv_prog_RESCOMP
45323 if test -n "$RESCOMP"; then
45324 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45325 echo "${ECHO_T}$RESCOMP" >&6
45327 echo "$as_me:$LINENO: result: no" >&5
45328 echo "${ECHO_T}no" >&6
45331 # Extract the first word of "SetFile", so it can be a program name with args.
45332 set dummy SetFile
; ac_word
=$2
45333 echo "$as_me:$LINENO: checking for $ac_word" >&5
45334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45335 if test "${ac_cv_prog_SETFILE+set}" = set; then
45336 echo $ECHO_N "(cached) $ECHO_C" >&6
45338 if test -n "$SETFILE"; then
45339 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45342 for as_dir
in $PATH
45345 test -z "$as_dir" && as_dir
=.
45346 for ac_exec_ext
in '' $ac_executable_extensions; do
45347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45348 ac_cv_prog_SETFILE
="SetFile"
45349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45355 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45358 SETFILE
=$ac_cv_prog_SETFILE
45359 if test -n "$SETFILE"; then
45360 echo "$as_me:$LINENO: result: $SETFILE" >&5
45361 echo "${ECHO_T}$SETFILE" >&6
45363 echo "$as_me:$LINENO: result: no" >&5
45364 echo "${ECHO_T}no" >&6
45374 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45377 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45381 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45382 if test "${enable_precomp_headers+set}" = set; then
45383 enableval
="$enable_precomp_headers"
45384 bk_use_pch
="$enableval"
45389 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45390 if test "x$GCC" = "xyes"; then
45391 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45392 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45393 cat >conftest.
$ac_ext <<_ACEOF
45396 cat confdefs.h
>>conftest.
$ac_ext
45397 cat >>conftest.
$ac_ext <<_ACEOF
45398 /* end confdefs.h. */
45404 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45405 #error "no pch support"
45408 #error "no pch support"
45410 #if (__GNUC__ == 3) && \
45411 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45412 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45413 #error "no pch support"
45420 rm -f conftest.
$ac_objext
45421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45422 (eval $ac_compile) 2>conftest.er1
45424 grep -v '^ *+' conftest.er1
>conftest.err
45426 cat conftest.err
>&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); } &&
45429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45431 (eval $ac_try) 2>&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); }; } &&
45435 { ac_try
='test -s conftest.$ac_objext'
45436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45437 (eval $ac_try) 2>&5
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); }; }; then
45442 echo "$as_me:$LINENO: result: yes" >&5
45443 echo "${ECHO_T}yes" >&6
45447 echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.
$ac_ext >&5
45451 echo "$as_me:$LINENO: result: no" >&5
45452 echo "${ECHO_T}no" >&6
45455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45456 if test $GCC_PCH = 1 ; then
45459 cat <<EOF >bk-make-pch
45462 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45463 # script. It is used to generated precompiled headers.
45465 # Permission is given to use this file in any way.
45474 while test ${D}{#} -gt 0; do
45477 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45478 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45479 headerfile="${D}{incdir}/${D}{header}"
45483 compiler="${D}{compiler} ${D}{1}"
45487 if test "x${D}{headerfile}" = "x" ; then
45488 echo "error: can't find header ${D}{header} in include paths" >2
45490 if test -f ${D}{outfile} ; then
45491 rm -f ${D}{outfile}
45493 mkdir -p \`dirname ${D}{outfile}\`
45495 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45497 # can do this because gcc is >= 3.4:
45498 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45503 chmod +x bk
-make-pch
45510 COND_BUILD_DEBUG
="#"
45511 if test "x$BUILD" = "xdebug" ; then
45512 COND_BUILD_DEBUG
=""
45515 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
45516 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45517 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
45520 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
45521 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45522 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
45525 COND_BUILD_DEBUG_UNICODE_0
="#"
45526 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45527 COND_BUILD_DEBUG_UNICODE_0
=""
45530 COND_BUILD_DEBUG_UNICODE_1
="#"
45531 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45532 COND_BUILD_DEBUG_UNICODE_1
=""
45535 COND_BUILD_RELEASE
="#"
45536 if test "x$BUILD" = "xrelease" ; then
45537 COND_BUILD_RELEASE
=""
45540 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45541 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45542 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45545 COND_BUILD_RELEASE_UNICODE_0
="#"
45546 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45547 COND_BUILD_RELEASE_UNICODE_0
=""
45550 COND_BUILD_RELEASE_UNICODE_1
="#"
45551 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45552 COND_BUILD_RELEASE_UNICODE_1
=""
45555 COND_DEBUG_FLAG_1
="#"
45556 if test "x$DEBUG_FLAG" = "x1" ; then
45557 COND_DEBUG_FLAG_1
=""
45560 COND_DEBUG_INFO_0
="#"
45561 if test "x$DEBUG_INFO" = "x0" ; then
45562 COND_DEBUG_INFO_0
=""
45565 COND_DEBUG_INFO_1
="#"
45566 if test "x$DEBUG_INFO" = "x1" ; then
45567 COND_DEBUG_INFO_1
=""
45570 COND_DEPS_TRACKING_0
="#"
45571 if test "x$DEPS_TRACKING" = "x0" ; then
45572 COND_DEPS_TRACKING_0
=""
45575 COND_DEPS_TRACKING_1
="#"
45576 if test "x$DEPS_TRACKING" = "x1" ; then
45577 COND_DEPS_TRACKING_1
=""
45581 if test "x$GCC_PCH" = "x1" ; then
45585 COND_MONOLITHIC_0
="#"
45586 if test "x$MONOLITHIC" = "x0" ; then
45587 COND_MONOLITHIC_0
=""
45590 COND_MONOLITHIC_0_SHARED_0
="#"
45591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45592 COND_MONOLITHIC_0_SHARED_0
=""
45595 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45597 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45600 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45602 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45605 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45607 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45610 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45612 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45615 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45617 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45620 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45622 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45625 COND_MONOLITHIC_0_SHARED_1
="#"
45626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45627 COND_MONOLITHIC_0_SHARED_1
=""
45630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45637 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45640 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45647 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45650 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45652 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45655 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45657 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45660 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45661 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45662 COND_MONOLITHIC_0_USE_ODBC_1
=""
45665 COND_MONOLITHIC_1
="#"
45666 if test "x$MONOLITHIC" = "x1" ; then
45667 COND_MONOLITHIC_1
=""
45670 COND_MONOLITHIC_1_SHARED_0
="#"
45671 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45672 COND_MONOLITHIC_1_SHARED_0
=""
45675 COND_MONOLITHIC_1_SHARED_1
="#"
45676 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45677 COND_MONOLITHIC_1_SHARED_1
=""
45680 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45681 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45682 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45685 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45686 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45687 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45690 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45691 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45692 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45695 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45696 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45697 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45700 COND_PLATFORM_MACOSX_1
="#"
45701 if test "x$PLATFORM_MACOSX" = "x1" ; then
45702 COND_PLATFORM_MACOSX_1
=""
45705 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45707 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45710 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45712 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45715 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45717 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45720 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45722 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45725 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45727 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45730 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45732 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45735 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45737 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45740 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45742 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45745 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45747 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45750 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45751 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45752 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45755 COND_PLATFORM_MACOS_1
="#"
45756 if test "x$PLATFORM_MACOS" = "x1" ; then
45757 COND_PLATFORM_MACOS_1
=""
45760 COND_PLATFORM_MAC_1
="#"
45761 if test "x$PLATFORM_MAC" = "x1" ; then
45762 COND_PLATFORM_MAC_1
=""
45765 COND_PLATFORM_MSDOS_1
="#"
45766 if test "x$PLATFORM_MSDOS" = "x1" ; then
45767 COND_PLATFORM_MSDOS_1
=""
45770 COND_PLATFORM_OS2_1
="#"
45771 if test "x$PLATFORM_OS2" = "x1" ; then
45772 COND_PLATFORM_OS2_1
=""
45775 COND_PLATFORM_UNIX_0
="#"
45776 if test "x$PLATFORM_UNIX" = "x0" ; then
45777 COND_PLATFORM_UNIX_0
=""
45780 COND_PLATFORM_UNIX_1
="#"
45781 if test "x$PLATFORM_UNIX" = "x1" ; then
45782 COND_PLATFORM_UNIX_1
=""
45785 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45786 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45787 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45790 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45791 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45792 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45795 COND_PLATFORM_WIN32_0
="#"
45796 if test "x$PLATFORM_WIN32" = "x0" ; then
45797 COND_PLATFORM_WIN32_0
=""
45800 COND_PLATFORM_WIN32_1
="#"
45801 if test "x$PLATFORM_WIN32" = "x1" ; then
45802 COND_PLATFORM_WIN32_1
=""
45806 if test "x$SHARED" = "x0" ; then
45810 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45811 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45812 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45815 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45816 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45817 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45820 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45821 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45822 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45825 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45826 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45827 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45831 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45835 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45836 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45840 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45845 COND_SHARED_0_USE_XRC_1
="#"
45846 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45847 COND_SHARED_0_USE_XRC_1
=""
45850 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45851 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45852 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45855 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45856 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45857 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45860 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45861 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45862 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45865 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45866 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45867 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45871 if test "x$SHARED" = "x1" ; then
45875 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45876 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45877 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45880 COND_SHARED_1_USE_XRC_1
="#"
45881 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45882 COND_SHARED_1_USE_XRC_1
=""
45886 if test "x$TOOLKIT" = "x" ; then
45890 COND_TOOLKIT_COCOA
="#"
45891 if test "x$TOOLKIT" = "xCOCOA" ; then
45892 COND_TOOLKIT_COCOA
=""
45895 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
45896 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45897 COND_TOOLKIT_COCOA_USE_GUI_1
=""
45900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
45901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
45905 COND_TOOLKIT_GTK
="#"
45906 if test "x$TOOLKIT" = "xGTK" ; then
45907 COND_TOOLKIT_GTK
=""
45910 COND_TOOLKIT_GTK_USE_GUI_1
="#"
45911 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45912 COND_TOOLKIT_GTK_USE_GUI_1
=""
45915 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
45916 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45917 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
45920 COND_TOOLKIT_MAC
="#"
45921 if test "x$TOOLKIT" = "xMAC" ; then
45922 COND_TOOLKIT_MAC
=""
45925 COND_TOOLKIT_MAC_USE_GUI_1
="#"
45926 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45927 COND_TOOLKIT_MAC_USE_GUI_1
=""
45930 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45931 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45932 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45935 COND_TOOLKIT_MGL
="#"
45936 if test "x$TOOLKIT" = "xMGL" ; then
45937 COND_TOOLKIT_MGL
=""
45940 COND_TOOLKIT_MGL_USE_GUI_1
="#"
45941 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45942 COND_TOOLKIT_MGL_USE_GUI_1
=""
45945 COND_TOOLKIT_MOTIF
="#"
45946 if test "x$TOOLKIT" = "xMOTIF" ; then
45947 COND_TOOLKIT_MOTIF
=""
45950 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
45951 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45952 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
45955 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
45956 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45957 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
45960 COND_TOOLKIT_MSW
="#"
45961 if test "x$TOOLKIT" = "xMSW" ; then
45962 COND_TOOLKIT_MSW
=""
45965 COND_TOOLKIT_MSW_USE_GUI_1
="#"
45966 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45967 COND_TOOLKIT_MSW_USE_GUI_1
=""
45970 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
45971 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45972 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
45975 COND_TOOLKIT_MSW_WXUNIV_0
="#"
45976 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45977 COND_TOOLKIT_MSW_WXUNIV_0
=""
45980 COND_TOOLKIT_PM
="#"
45981 if test "x$TOOLKIT" = "xPM" ; then
45985 COND_TOOLKIT_PM_USE_GUI_1
="#"
45986 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45987 COND_TOOLKIT_PM_USE_GUI_1
=""
45990 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
45991 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45992 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
45995 COND_TOOLKIT_WINCE
="#"
45996 if test "x$TOOLKIT" = "xWINCE" ; then
45997 COND_TOOLKIT_WINCE
=""
46000 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46001 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46002 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46005 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46006 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46007 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46010 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46011 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46012 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46015 COND_TOOLKIT_X11
="#"
46016 if test "x$TOOLKIT" = "xX11" ; then
46017 COND_TOOLKIT_X11
=""
46020 COND_TOOLKIT_X11_USE_GUI_1
="#"
46021 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46022 COND_TOOLKIT_X11_USE_GUI_1
=""
46026 if test "x$UNICODE" = "x1" ; then
46030 COND_USE_EXCEPTIONS_0
="#"
46031 if test "x$USE_EXCEPTIONS" = "x0" ; then
46032 COND_USE_EXCEPTIONS_0
=""
46035 COND_USE_EXCEPTIONS_1
="#"
46036 if test "x$USE_EXCEPTIONS" = "x1" ; then
46037 COND_USE_EXCEPTIONS_1
=""
46041 if test "x$USE_GUI" = "x0" ; then
46046 if test "x$USE_GUI" = "x1" ; then
46050 COND_USE_GUI_1_WXUNIV_0
="#"
46051 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46052 COND_USE_GUI_1_WXUNIV_0
=""
46055 COND_USE_GUI_1_WXUNIV_1
="#"
46056 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46057 COND_USE_GUI_1_WXUNIV_1
=""
46060 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46061 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46062 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46065 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46066 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46067 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46070 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46071 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46072 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46075 COND_USE_ODBC_1
="#"
46076 if test "x$USE_ODBC" = "x1" ; then
46080 COND_USE_OPENGL_1
="#"
46081 if test "x$USE_OPENGL" = "x1" ; then
46082 COND_USE_OPENGL_1
=""
46085 COND_USE_PLUGINS_0
="#"
46086 if test "x$USE_PLUGINS" = "x0" ; then
46087 COND_USE_PLUGINS_0
=""
46090 COND_USE_RTTI_0
="#"
46091 if test "x$USE_RTTI" = "x0" ; then
46095 COND_USE_RTTI_1
="#"
46096 if test "x$USE_RTTI" = "x1" ; then
46100 COND_USE_SOSYMLINKS_1
="#"
46101 if test "x$USE_SOSYMLINKS" = "x1" ; then
46102 COND_USE_SOSYMLINKS_1
=""
46105 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46106 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46107 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46110 COND_USE_SOVERLINUX_1
="#"
46111 if test "x$USE_SOVERLINUX" = "x1" ; then
46112 COND_USE_SOVERLINUX_1
=""
46115 COND_USE_SOVERSION_0
="#"
46116 if test "x$USE_SOVERSION" = "x0" ; then
46117 COND_USE_SOVERSION_0
=""
46120 COND_USE_SOVERSOLARIS_1
="#"
46121 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46122 COND_USE_SOVERSOLARIS_1
=""
46125 COND_USE_THREADS_0
="#"
46126 if test "x$USE_THREADS" = "x0" ; then
46127 COND_USE_THREADS_0
=""
46130 COND_USE_THREADS_1
="#"
46131 if test "x$USE_THREADS" = "x1" ; then
46132 COND_USE_THREADS_1
=""
46136 if test "x$USE_XRC" = "x1" ; then
46140 COND_WINDOWS_IMPLIB_1
="#"
46141 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46142 COND_WINDOWS_IMPLIB_1
=""
46145 COND_WITH_PLUGIN_SDL_1
="#"
46146 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46147 COND_WITH_PLUGIN_SDL_1
=""
46151 if test "x$WXUNIV" = "x0" ; then
46156 if test "x$WXUNIV" = "x1" ; then
46160 COND_WXUSE_EXPAT_BUILTIN
="#"
46161 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46162 COND_WXUSE_EXPAT_BUILTIN
=""
46165 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46166 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46167 COND_WXUSE_LIBJPEG_BUILTIN
=""
46170 COND_WXUSE_LIBPNG_BUILTIN
="#"
46171 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46172 COND_WXUSE_LIBPNG_BUILTIN
=""
46175 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46176 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46177 COND_WXUSE_LIBTIFF_BUILTIN
=""
46180 COND_WXUSE_ODBC_BUILTIN
="#"
46181 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46182 COND_WXUSE_ODBC_BUILTIN
=""
46185 COND_WXUSE_REGEX_BUILTIN
="#"
46186 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46187 COND_WXUSE_REGEX_BUILTIN
=""
46190 COND_WXUSE_ZLIB_BUILTIN
="#"
46191 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46192 COND_WXUSE_ZLIB_BUILTIN
=""
46197 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46198 { { 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
46199 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;}
46200 { (exit 1); exit 1; }; }
46203 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46204 { { 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
46205 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;}
46206 { (exit 1); exit 1; }; }
46210 if test "$wxUSE_SHARED" = "yes"; then
46212 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46213 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46216 *-pc-os2_emx | *-pc-os2-emx )
46217 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46218 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46219 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46220 cp -p ${srcdir}/src
/os
2/dllar.sh .
46225 EXE_LINKER
="$CXX -o"
46228 if test "$wxUSE_OMF" = "yes"; then
46230 *-pc-os2_emx | *-pc-os2-emx )
46231 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46232 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46233 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46238 if test $GCC_PCH = 1 ; then
46239 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46243 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46307 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46308 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46309 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46310 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46311 echo $ECHO_N "(cached) $ECHO_C" >&6
46313 cat >conftest.
make <<\_ACEOF
46315 @
echo 'ac_maketemp="$(MAKE)"'
46317 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46318 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46319 if test -n "$ac_maketemp"; then
46320 eval ac_cv_prog_make_
${ac_make}_set
=yes
46322 eval ac_cv_prog_make_
${ac_make}_set
=no
46324 rm -f conftest.
make
46326 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46327 echo "$as_me:$LINENO: result: yes" >&5
46328 echo "${ECHO_T}yes" >&6
46331 echo "$as_me:$LINENO: result: no" >&5
46332 echo "${ECHO_T}no" >&6
46333 SET_MAKE
="MAKE=${MAKE-make}"
46338 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46341 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46344 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46347 ac_config_files
="$ac_config_files version-script Makefile"
46350 ac_config_commands
="$ac_config_commands wx-config
46355 if test "$wxWITH_SUBDIRS" != "no"; then
46356 if test "$wxUSE_GUI" = "yes"; then
46357 SUBDIRS
="samples demos utils contrib"
46358 else SUBDIRS
="samples utils"
46363 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46364 if test "${with_cppunit_prefix+set}" = set; then
46365 withval
="$with_cppunit_prefix"
46366 cppunit_config_prefix
="$withval"
46368 cppunit_config_prefix
=""
46371 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46372 if test "${with_cppunit_exec_prefix+set}" = set; then
46373 withval
="$with_cppunit_exec_prefix"
46374 cppunit_config_exec_prefix
="$withval"
46376 cppunit_config_exec_prefix
=""
46379 if test x
$cppunit_config_exec_prefix != x
; then
46380 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46381 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46382 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46385 if test x
$cppunit_config_prefix != x
; then
46386 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46387 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46388 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46392 # Extract the first word of "cppunit-config", so it can be a program name with args.
46393 set dummy cppunit
-config; ac_word
=$2
46394 echo "$as_me:$LINENO: checking for $ac_word" >&5
46395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46396 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46397 echo $ECHO_N "(cached) $ECHO_C" >&6
46399 case $CPPUNIT_CONFIG in
46401 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46405 for as_dir
in $PATH
46408 test -z "$as_dir" && as_dir
=.
46409 for ac_exec_ext
in '' $ac_executable_extensions; do
46410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46411 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46418 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46422 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46424 if test -n "$CPPUNIT_CONFIG"; then
46425 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46426 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46428 echo "$as_me:$LINENO: result: no" >&5
46429 echo "${ECHO_T}no" >&6
46432 cppunit_version_min
=1.8.0
46434 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46435 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46437 if test "$CPPUNIT_CONFIG" = "no" ; then
46440 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46441 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46442 cppunit_version
=`$CPPUNIT_CONFIG --version`
46444 cppunit_major_version
=`echo $cppunit_version | \
46445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46446 cppunit_minor_version
=`echo $cppunit_version | \
46447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46448 cppunit_micro_version
=`echo $cppunit_version | \
46449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46451 cppunit_major_min
=`echo $cppunit_version_min | \
46452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46453 cppunit_minor_min
=`echo $cppunit_version_min | \
46454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46455 cppunit_micro_min
=`echo $cppunit_version_min | \
46456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46458 cppunit_version_proper
=`expr \
46459 $cppunit_major_version \> $cppunit_major_min \| \
46460 $cppunit_major_version \= $cppunit_major_min \& \
46461 $cppunit_minor_version \> $cppunit_minor_min \| \
46462 $cppunit_major_version \= $cppunit_major_min \& \
46463 $cppunit_minor_version \= $cppunit_minor_min \& \
46464 $cppunit_micro_version \>= $cppunit_micro_min `
46466 if test "$cppunit_version_proper" = "1" ; then
46467 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46468 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46470 echo "$as_me:$LINENO: result: no" >&5
46471 echo "${ECHO_T}no" >&6
46476 if test "x$no_cppunit" = x
; then
46477 SUBDIRS
="$SUBDIRS tests"
46488 for subdir
in `echo $SUBDIRS`; do
46489 if test -d ${srcdir}/${subdir} ; then
46490 if test "$wxUSE_GUI" = "yes"; then
46491 if test ${subdir} = "samples"; then
46492 makefiles
="samples/Makefile.in $makefiles"
46493 for sample
in `echo $SAMPLES_SUBDIRS`; do
46494 if test -d $srcdir/samples
/$sample; then
46495 makefiles
="samples/$sample/Makefile.in $makefiles"
46499 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46500 eval "disabled=\$$disabled_var"
46501 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46502 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46504 else if test ${subdir} = "samples"; then
46505 makefiles
="samples/Makefile.in samples/console/Makefile.in"
46506 elif test ${subdir} = "utils"; then
46508 for util
in HelpGen tex2rtf
; do
46509 if test -d $srcdir/utils
/$util ; then
46510 makefiles
="utils/$util/Makefile.in \
46511 utils/$util/src/Makefile.in \
46515 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
46519 for mkin
in $makefiles ; do
46520 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46521 ac_config_files
="$ac_config_files $mk"
46527 cat >confcache
<<\_ACEOF
46528 # This file is a shell script that caches the results of configure
46529 # tests run on this system so they can be shared between configure
46530 # scripts and configure runs, see configure's option --config-cache.
46531 # It is not useful on other systems. If it contains results you don't
46532 # want to keep, you may remove or edit it.
46534 # config.status only pays attention to the cache file if you give it
46535 # the --recheck option to rerun configure.
46537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46539 # following values.
46543 # The following way of writing the cache mishandles newlines in values,
46544 # but we know of no workaround that is simple, portable, and efficient.
46545 # So, don't put newlines in cache variables' values.
46546 # Ultrix sh set writes to stderr and can't be redirected directly,
46547 # and sets the high bit in the cache file unless we assign to the vars.
46550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46552 # `set' does not quote correctly, so add quotes (double-quote
46553 # substitution turns \\\\ into \\, and sed turns \\ into \).
46556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46559 # `set' quotes correctly as required by POSIX, so do not add quotes.
46561 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46570 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46572 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46573 if test -w $cache_file; then
46574 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46575 cat confcache
>$cache_file
46577 echo "not updating unwritable cache $cache_file"
46582 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46583 # Let make expand exec_prefix.
46584 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46588 # trailing colons and then remove the whole line if VPATH becomes empty
46589 # (actually we leave an empty line to preserve line numbers).
46590 if test "x$srcdir" = x.
; then
46591 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46592 s/:*\$(srcdir):*/:/;
46593 s/:*\${srcdir}:*/:/;
46595 s/^\([^=]*=[ ]*\):*/\1/;
46601 DEFS
=-DHAVE_CONFIG_H
46605 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46606 # 1. Remove the extension, and $U if already installed.
46607 ac_i
=`echo "$ac_i" |
46608 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46610 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46611 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46613 LIBOBJS
=$ac_libobjs
46615 LTLIBOBJS
=$ac_ltlibobjs
46619 : ${CONFIG_STATUS=./config.status}
46620 ac_clean_files_save
=$ac_clean_files
46621 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46622 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46623 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46624 cat >$CONFIG_STATUS <<_ACEOF
46626 # Generated by $as_me.
46627 # Run this file to recreate the current configuration.
46628 # Compiler output produced by configure, useful for debugging
46629 # configure, is in config.log if it exists.
46632 ac_cs_recheck=false
46634 SHELL=\${CONFIG_SHELL-$SHELL}
46637 cat >>$CONFIG_STATUS <<\_ACEOF
46638 ## --------------------- ##
46639 ## M4sh Initialization. ##
46640 ## --------------------- ##
46642 # Be Bourne compatible
46643 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46646 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46647 # is contrary to our usage. Disable this feature.
46648 alias -g '${1+"$@"}'='"$@"'
46649 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46652 DUALCASE
=1; export DUALCASE
# for MKS sh
46654 # Support unset when possible.
46655 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46662 # Work around bugs in pre-3.0 UWIN ksh.
46663 $as_unset ENV MAIL MAILPATH
46670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46672 LC_TELEPHONE LC_TIME
46674 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46675 eval $as_var=C
; export $as_var
46681 # Required to use basename.
46682 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46688 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46689 as_basename
=basename
46695 # Name of the executable.
46696 as_me
=`$as_basename "$0" ||
46697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46698 X"$0" : 'X\(//\)$' \| \
46699 X"$0" : 'X\(/\)$' \| \
46700 . : '\(.\)' 2>/dev/null ||
46702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46703 /^X\/\(\/\/\)$/{ s//\1/; q; }
46704 /^X\/\(\/\).*/{ s//\1/; q; }
46708 # PATH needs CR, and LINENO needs CR and PATH.
46709 # Avoid depending upon Character Ranges.
46710 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46711 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46712 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46713 as_cr_digits
='0123456789'
46714 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46716 # The user is always right.
46717 if test "${PATH_SEPARATOR+set}" != set; then
46718 echo "#! /bin/sh" >conf$$.sh
46719 echo "exit 0" >>conf$$.sh
46721 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46730 as_lineno_1
=$LINENO
46731 as_lineno_2
=$LINENO
46732 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46733 test "x$as_lineno_1" != "x$as_lineno_2" &&
46734 test "x$as_lineno_3" = "x$as_lineno_2" || {
46735 # Find who we are. Look in the path if we contain no path at all
46738 *[\\/]* ) as_myself
=$0 ;;
46739 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46740 for as_dir
in $PATH
46743 test -z "$as_dir" && as_dir
=.
46744 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46749 # We did not find ourselves, most probably we were run as `sh COMMAND'
46750 # in which case we are not to be found in the path.
46751 if test "x$as_myself" = x
; then
46754 if test ! -f "$as_myself"; then
46755 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46756 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46757 { (exit 1); exit 1; }; }
46759 case $CONFIG_SHELL in
46761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46762 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46765 test -z "$as_dir" && as_dir
=.
46766 for as_base
in sh bash ksh sh5
; do
46769 if ("$as_dir/$as_base" -c '
46770 as_lineno_1=$LINENO
46771 as_lineno_2=$LINENO
46772 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46773 test "x$as_lineno_1" != "x$as_lineno_2" &&
46774 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46775 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46776 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46777 CONFIG_SHELL
=$as_dir/$as_base
46778 export CONFIG_SHELL
46779 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46788 # uniformly replaced by the line number. The first 'sed' inserts a
46789 # line-number line before each line; the second 'sed' does the real
46790 # work. The second script uses 'N' to pair each line-number line
46791 # with the numbered line, and appends trailing '-' during
46792 # substitution so that $LINENO is not a special case at line end.
46793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46794 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46795 sed '=' <$as_myself |
46800 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46803 s,^['$as_cr_digits']*\n,,
46804 ' >$as_me.lineno
&&
46805 chmod +x
$as_me.lineno
||
46806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46808 { (exit 1); exit 1; }; }
46810 # Don't try to exec as it changes $[0], causing all sort of problems
46811 # (the dirname of $[0] is not the place where we might find the
46812 # original and so on. Autoconf is especially sensible to this).
46814 # Exit status is that of the last command.
46819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46820 *c
*,-n*) ECHO_N
= ECHO_C
='
46822 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46823 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46826 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46832 rm -f conf$$ conf$$.exe conf$$.
file
46834 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46835 # We could just check for DJGPP; but this test a) works b) is more generic
46836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46837 if test -f conf$$.exe
; then
46838 # Don't use ln at all; we don't have any links
46843 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46848 rm -f conf$$ conf$$.exe conf$$.
file
46850 if mkdir -p .
2>/dev
/null
; then
46853 test -d .
/-p && rmdir .
/-p
46857 as_executable_p
="test -f"
46859 # Sed expression to map a string onto a valid CPP name.
46860 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46862 # Sed expression to map a string onto a valid variable name.
46863 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46867 # We need space, tab and new line, in precisely that order.
46877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46878 # report actual input values of CONFIG_FILES etc. instead of their
46879 # values after options handling. Logging --version etc. is OK.
46883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46884 ## Running $as_me. ##
46889 This file was extended by wxWidgets $as_me 2.7.0, which was
46890 generated by GNU Autoconf 2.59. Invocation command line was
46892 CONFIG_FILES = $CONFIG_FILES
46893 CONFIG_HEADERS = $CONFIG_HEADERS
46894 CONFIG_LINKS = $CONFIG_LINKS
46895 CONFIG_COMMANDS = $CONFIG_COMMANDS
46899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46903 # Files that config.status was made for.
46904 if test -n "$ac_config_files"; then
46905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46908 if test -n "$ac_config_headers"; then
46909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46912 if test -n "$ac_config_links"; then
46913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46916 if test -n "$ac_config_commands"; then
46917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46920 cat >>$CONFIG_STATUS <<\_ACEOF
46923 \`$as_me' instantiates files from templates according to the
46924 current configuration.
46926 Usage: $0 [OPTIONS] [FILE]...
46928 -h, --help print this help, then exit
46929 -V, --version print version number, then exit
46930 -q, --quiet do not print progress messages
46931 -d, --debug don't remove temporary files
46932 --recheck update $as_me by reconfiguring in the same conditions
46933 --file=FILE[:TEMPLATE]
46934 instantiate the configuration file FILE
46935 --header=FILE[:TEMPLATE]
46936 instantiate the configuration header FILE
46938 Configuration files:
46941 Configuration headers:
46944 Configuration commands:
46947 Report bugs to <bug-autoconf@gnu.org>."
46950 cat >>$CONFIG_STATUS <<_ACEOF
46952 wxWidgets config.status 2.7.0
46953 configured by $0, generated by GNU Autoconf 2.59,
46954 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46956 Copyright (C) 2003 Free Software Foundation, Inc.
46957 This config.status script is free software; the Free Software Foundation
46958 gives unlimited permission to copy, distribute and modify it."
46963 cat >>$CONFIG_STATUS <<\_ACEOF
46964 # If no file are specified by the user, then we need to provide default
46965 # value. By we need to know if files were specified by the user.
46971 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
46972 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
46980 *) # This is not an option, so the user has probably given explicit
46983 ac_need_defaults
=false
;;
46987 # Handling of the options.
46989 cat >>$CONFIG_STATUS <<\_ACEOF
46990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46992 --version | --vers* | -V )
46993 echo "$ac_cs_version"; exit 0 ;;
46995 # Conflict between --help and --header
46996 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46997 Try \`$0 --help' for more information." >&5
46998 echo "$as_me: error: ambiguous option: $1
46999 Try \`$0 --help' for more information." >&2;}
47000 { (exit 1); exit 1; }; };;
47001 --help | --hel | -h )
47002 echo "$ac_cs_usage"; exit 0 ;;
47003 --debug | --d* | -d )
47005 --file | --fil | --fi | --f )
47007 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47008 ac_need_defaults
=false
;;
47009 --header | --heade | --head | --hea )
47011 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47012 ac_need_defaults
=false
;;
47013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47014 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47017 # This is an error.
47018 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47019 Try \`$0 --help' for more information." >&5
47020 echo "$as_me: error: unrecognized option: $1
47021 Try \`$0 --help' for more information." >&2;}
47022 { (exit 1); exit 1; }; } ;;
47024 *) ac_config_targets
="$ac_config_targets $1" ;;
47030 ac_configure_extra_args
=
47032 if $ac_cs_silent; then
47034 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47038 cat >>$CONFIG_STATUS <<_ACEOF
47039 if \$ac_cs_recheck; then
47040 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47041 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47046 cat >>$CONFIG_STATUS <<_ACEOF
47048 # INIT-COMMANDS section.
47051 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47052 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47053 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47061 cat >>$CONFIG_STATUS <<\_ACEOF
47062 for ac_config_target
in $ac_config_targets
47064 case "$ac_config_target" in
47065 # Handling of arguments.
47066 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47067 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47068 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47069 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47070 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47071 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47075 { (exit 1); exit 1; }; };;
47079 # If the user did not use the arguments to specify the items to instantiate,
47080 # then the envvar interface is used. Set only those that are not.
47081 # We use the long form for the default assignment because of an extremely
47082 # bizarre bug on SunOS 4.1.3.
47083 if $ac_need_defaults; then
47084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47089 # Have a temporary directory for convenience. Make it in the build tree
47090 # simply because there is no reason to put it here, and in addition,
47091 # creating and moving files from /tmp can sometimes cause problems.
47092 # Create a temporary directory, and hook for its removal unless debugging.
47095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47096 trap '{ (exit 1); exit 1; }' 1 2 13 15
47099 # Create a (secure) tmp directory for tmp files.
47102 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47103 test -n "$tmp" && test -d "$tmp"
47106 tmp
=.
/confstat$$
-$RANDOM
47107 (umask 077 && mkdir $tmp)
47110 echo "$me: cannot create a temporary directory in ." >&2
47111 { (exit 1); exit 1; }
47116 cat >>$CONFIG_STATUS <<_ACEOF
47119 # CONFIG_FILES section.
47122 # No need to generate the scripts if there are no CONFIG_FILES.
47123 # This happens for instance when ./config.status config.h
47124 if test -n "\$CONFIG_FILES"; then
47125 # Protect against being on the right side of a sed subst in config.status.
47126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47128 s,@SHELL@,$SHELL,;t t
47129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47135 s,@exec_prefix@,$exec_prefix,;t t
47136 s,@prefix@,$prefix,;t t
47137 s,@program_transform_name@,$program_transform_name,;t t
47138 s,@bindir@,$bindir,;t t
47139 s,@sbindir@,$sbindir,;t t
47140 s,@libexecdir@,$libexecdir,;t t
47141 s,@datadir@,$datadir,;t t
47142 s,@sysconfdir@,$sysconfdir,;t t
47143 s,@sharedstatedir@,$sharedstatedir,;t t
47144 s,@localstatedir@,$localstatedir,;t t
47145 s,@libdir@,$libdir,;t t
47146 s,@includedir@,$includedir,;t t
47147 s,@oldincludedir@,$oldincludedir,;t t
47148 s,@infodir@,$infodir,;t t
47149 s,@mandir@,$mandir,;t t
47150 s,@build_alias@,$build_alias,;t t
47151 s,@host_alias@,$host_alias,;t t
47152 s,@target_alias@,$target_alias,;t t
47153 s,@DEFS@,$DEFS,;t t
47154 s,@ECHO_C@,$ECHO_C,;t t
47155 s,@ECHO_N@,$ECHO_N,;t t
47156 s,@ECHO_T@,$ECHO_T,;t t
47157 s,@LIBS@,$LIBS,;t t
47158 s,@build@,$build,;t t
47159 s,@build_cpu@,$build_cpu,;t t
47160 s,@build_vendor@,$build_vendor,;t t
47161 s,@build_os@,$build_os,;t t
47162 s,@host@,$host,;t t
47163 s,@host_cpu@,$host_cpu,;t t
47164 s,@host_vendor@,$host_vendor,;t t
47165 s,@host_os@,$host_os,;t t
47166 s,@target@,$target,;t t
47167 s,@target_cpu@,$target_cpu,;t t
47168 s,@target_vendor@,$target_vendor,;t t
47169 s,@target_os@,$target_os,;t t
47171 s,@CFLAGS@,$CFLAGS,;t t
47172 s,@LDFLAGS@,$LDFLAGS,;t t
47173 s,@CPPFLAGS@,$CPPFLAGS,;t t
47174 s,@ac_ct_CC@,$ac_ct_CC,;t t
47175 s,@EXEEXT@,$EXEEXT,;t t
47176 s,@OBJEXT@,$OBJEXT,;t t
47178 s,@EGREP@,$EGREP,;t t
47180 s,@CXXFLAGS@,$CXXFLAGS,;t t
47181 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47182 s,@RANLIB@,$RANLIB,;t t
47183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47185 s,@ac_ct_AR@,$ac_ct_AR,;t t
47186 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47187 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47188 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47189 s,@STRIP@,$STRIP,;t t
47190 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47191 s,@RESCOMP@,$RESCOMP,;t t
47192 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47193 s,@DLLTOOL@,$DLLTOOL,;t t
47194 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47195 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47196 s,@LN_S@,$LN_S,;t t
47197 s,@CXXCPP@,$CXXCPP,;t t
47198 s,@subdirs@,$subdirs,;t t
47199 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47200 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47201 s,@GTK_LIBS@,$GTK_LIBS,;t t
47202 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47203 s,@X_CFLAGS@,$X_CFLAGS,;t t
47204 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47205 s,@X_LIBS@,$X_LIBS,;t t
47206 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47207 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47208 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47209 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47210 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47211 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47212 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47213 s,@DEREZ@,$DEREZ,;t t
47214 s,@SETFILE@,$SETFILE,;t t
47215 s,@LIBICONV@,$LIBICONV,;t t
47216 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47217 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47218 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47219 s,@SDL_LIBS@,$SDL_LIBS,;t t
47220 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47221 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47222 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47223 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47224 s,@GST_INSPECT@,$GST_INSPECT,;t t
47225 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47226 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47227 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47228 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47229 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47230 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47231 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47232 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47233 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47234 s,@VENDOR@,$VENDOR,;t t
47235 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47236 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47237 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47238 s,@WXUNIV@,$WXUNIV,;t t
47239 s,@MONOLITHIC@,$MONOLITHIC,;t t
47240 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47241 s,@EXTRALIBS@,$EXTRALIBS,;t t
47242 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47243 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47244 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47245 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47246 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47247 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47248 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47249 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47250 s,@UNICODE@,$UNICODE,;t t
47251 s,@BUILD@,$BUILD,;t t
47252 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47253 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47254 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47255 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47256 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47257 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47258 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47259 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47260 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47261 s,@SET_MAKE@,$SET_MAKE,;t t
47262 s,@MAKE_SET@,$MAKE_SET,;t t
47264 s,@ac_ct_NM@,$ac_ct_NM,;t t
47265 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47266 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47267 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47268 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47269 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47270 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47271 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47272 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47273 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47274 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47275 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47276 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47277 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47278 s,@LIBPREFIX@,$LIBPREFIX,;t t
47279 s,@LIBEXT@,$LIBEXT,;t t
47280 s,@DLLPREFIX@,$DLLPREFIX,;t t
47281 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47282 s,@dlldir@,$dlldir,;t t
47283 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47284 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47285 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47286 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47287 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47288 s,@PIC_FLAG@,$PIC_FLAG,;t t
47289 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47290 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47291 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47292 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47293 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47294 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47295 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47296 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47297 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47298 s,@GCC_PCH@,$GCC_PCH,;t t
47299 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47300 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47301 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47302 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47303 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47304 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47305 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47306 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47307 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47308 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47309 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47310 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47311 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47312 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47313 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47314 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47315 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47316 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47317 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
47318 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
47319 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
47320 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47321 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47322 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47323 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47324 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
47325 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
47326 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
47327 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47328 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47329 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47330 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47331 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47332 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47333 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47334 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47335 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47336 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47337 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47338 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47339 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47340 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47341 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47342 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47343 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
47344 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47345 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47346 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47347 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47348 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47349 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47350 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47351 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47352 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47353 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47354 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47355 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47356 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47357 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47358 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47359 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47360 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47361 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47362 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47363 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47364 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47365 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47366 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47367 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47368 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47369 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47370 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47371 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47372 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47373 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47374 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47375 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47376 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47377 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47378 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47379 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47380 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47381 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47382 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47383 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47384 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47385 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47386 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47387 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47388 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47389 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47390 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47391 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47392 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47393 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47394 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47395 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47396 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47397 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47398 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47399 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47400 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47401 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47402 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47403 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47404 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47405 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47406 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47407 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47408 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47409 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47410 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47411 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47412 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47413 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47414 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47415 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47416 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47417 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47418 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47419 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47420 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47421 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47422 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47423 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47424 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47425 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47426 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47427 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47428 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47429 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47430 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47431 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47432 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47433 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47434 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47435 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47436 s,@SHARED@,$SHARED,;t t
47437 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47438 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47439 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47440 s,@USE_GUI@,$USE_GUI,;t t
47441 s,@AFMINSTALL@,$AFMINSTALL,;t t
47442 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47443 s,@TOOLKIT@,$TOOLKIT,;t t
47444 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47445 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47446 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47447 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47448 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47449 s,@cross_compiling@,$cross_compiling,;t t
47450 s,@WIDGET_SET@,$WIDGET_SET,;t t
47451 s,@WX_RELEASE@,$WX_RELEASE,;t t
47452 s,@WX_VERSION@,$WX_VERSION,;t t
47453 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47454 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47455 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47456 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47457 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47458 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47459 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47460 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47461 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47462 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47463 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47464 s,@EXE_LINKER@,$EXE_LINKER,;t t
47465 s,@GUIDIST@,$GUIDIST,;t t
47466 s,@DISTDIR@,$DISTDIR,;t t
47467 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47468 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47469 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47470 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47471 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47472 s,@RESFLAGS@,$RESFLAGS,;t t
47473 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47474 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47475 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47476 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47477 s,@MACRESCOMP@,$MACRESCOMP,;t t
47478 s,@MACSETFILE@,$MACSETFILE,;t t
47479 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47481 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47482 s,@LIBOBJS@,$LIBOBJS,;t t
47483 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47488 cat >>$CONFIG_STATUS <<\_ACEOF
47489 # Split the substitutions into bite-sized pieces for seds with
47490 # small command number limits, like on Digital OSF/1 and HP-UX.
47491 ac_max_sed_lines
=48
47492 ac_sed_frag
=1 # Number of current file.
47493 ac_beg
=1 # First line for current file.
47494 ac_end
=$ac_max_sed_lines # Line after last line for current file.
47497 while $ac_more_lines; do
47498 if test $ac_beg -gt 1; then
47499 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47501 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47503 if test ! -s $tmp/subs.frag
; then
47504 ac_more_lines
=false
47506 # The purpose of the label and of the branching condition is to
47507 # speed up the sed processing (if there are no `@' at all, there
47508 # is no need to browse any of the substitutions).
47509 # These are the two extra sed commands mentioned above.
47511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
47512 if test -z "$ac_sed_cmds"; then
47513 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
47515 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47517 ac_sed_frag
=`expr $ac_sed_frag + 1`
47519 ac_end
=`expr $ac_end + $ac_max_sed_lines`
47522 if test -z "$ac_sed_cmds"; then
47525 fi # test -n "$CONFIG_FILES"
47528 cat >>$CONFIG_STATUS <<\_ACEOF
47529 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47530 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47532 - | *:- | *:-:* ) # input from stdin
47534 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47535 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47536 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47537 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47538 * ) ac_file_in
=$ac_file.
in ;;
47541 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47542 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47543 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47544 X"$ac_file" : 'X\(//\)[^/]' \| \
47545 X"$ac_file" : 'X\(//\)$' \| \
47546 X"$ac_file" : 'X\(/\)' \| \
47547 . : '\(.\)' 2>/dev/null ||
47549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47550 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47551 /^X\(\/\/\)$/{ s//\1/; q; }
47552 /^X\(\/\).*/{ s//\1/; q; }
47554 { if $as_mkdir_p; then
47559 while test ! -d "$as_dir"; do
47560 as_dirs
="$as_dir $as_dirs"
47561 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47563 X"$as_dir" : 'X\(//\)[^/]' \| \
47564 X"$as_dir" : 'X\(//\)$' \| \
47565 X"$as_dir" : 'X\(/\)' \| \
47566 . : '\(.\)' 2>/dev/null ||
47568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47570 /^X\(\/\/\)$/{ s//\1/; q; }
47571 /^X\(\/\).*/{ s//\1/; q; }
47574 test ! -n "$as_dirs" || mkdir $as_dirs
47575 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47576 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47577 { (exit 1); exit 1; }; }; }
47581 if test "$ac_dir" != .
; then
47582 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47583 # A "../" for each directory in $ac_dir_suffix.
47584 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47586 ac_dir_suffix
= ac_top_builddir
=
47590 .
) # No --srcdir option. We are building in place.
47592 if test -z "$ac_top_builddir"; then
47595 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47597 [\\/]* | ?
:[\\/]* ) # Absolute path.
47598 ac_srcdir
=$srcdir$ac_dir_suffix;
47599 ac_top_srcdir
=$srcdir ;;
47600 *) # Relative path.
47601 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47602 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47605 # Do not use `cd foo && pwd` to compute absolute paths, because
47606 # the directories may not exist.
47608 .
) ac_abs_builddir
="$ac_dir";;
47611 .
) ac_abs_builddir
=`pwd`;;
47612 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47613 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47616 case $ac_abs_builddir in
47617 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47619 case ${ac_top_builddir}.
in
47620 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47621 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47622 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47625 case $ac_abs_builddir in
47626 .
) ac_abs_srcdir
=$ac_srcdir;;
47629 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47630 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47631 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47634 case $ac_abs_builddir in
47635 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47637 case $ac_top_srcdir in
47638 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47639 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47640 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47646 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47647 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47650 # Let's still pretend it is `configure' which instantiates (i.e., don't
47651 # use $as_me), people would be surprised to read:
47652 # /* config.h. Generated by config.status. */
47653 if test x
"$ac_file" = x
-; then
47656 configure_input
="$ac_file. "
47658 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47659 sed 's,.*/,,'` by configure."
47661 # First look for the input files in the build tree, otherwise in the
47663 ac_file_inputs
=`IFS=:
47664 for f in $ac_file_in; do
47666 -) echo $tmp/stdin ;;
47668 # Absolute (can't be DOS-style, as IFS=:)
47669 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47670 echo "$as_me: error: cannot find input file: $f" >&2;}
47671 { (exit 1); exit 1; }; }
47674 if test -f "$f"; then
47677 elif test -f "$srcdir/$f"; then
47682 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47683 echo "$as_me: error: cannot find input file: $f" >&2;}
47684 { (exit 1); exit 1; }; }
47687 done` || { (exit 1); exit 1; }
47689 if test x
"$ac_file" != x
-; then
47690 { echo "$as_me:$LINENO: creating $ac_file" >&5
47691 echo "$as_me: creating $ac_file" >&6;}
47695 cat >>$CONFIG_STATUS <<_ACEOF
47699 cat >>$CONFIG_STATUS <<\_ACEOF
47701 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47702 s
,@configure_input@
,$configure_input,;t t
47703 s
,@srcdir@
,$ac_srcdir,;t t
47704 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47705 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47706 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47707 s
,@builddir@
,$ac_builddir,;t t
47708 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47709 s
,@top_builddir@
,$ac_top_builddir,;t t
47710 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47711 s
,@INSTALL@
,$ac_INSTALL,;t t
47712 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47714 if test x"$ac_file" != x-; then
47715 mv $tmp/out $ac_file
47721 # Run the commands associated with the file.
47723 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47724 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47728 cat >>$CONFIG_STATUS <<\_ACEOF
47731 # CONFIG_HEADER section.
47734 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47735 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47737 # ac_d sets the value in "#define NAME VALUE" lines.
47738 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47739 ac_dB
='[ ].*$,\1#\2'
47742 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47743 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47744 ac_uB
='$,\1#\2define\3'
47748 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47749 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47751 - | *:- | *:-:* ) # input from stdin
47753 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47754 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47755 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47756 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47757 * ) ac_file_in
=$ac_file.
in ;;
47760 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47761 echo "$as_me: creating $ac_file" >&6;}
47763 # First look for the input files in the build tree, otherwise in the
47765 ac_file_inputs
=`IFS=:
47766 for f in $ac_file_in; do
47768 -) echo $tmp/stdin ;;
47770 # Absolute (can't be DOS-style, as IFS=:)
47771 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47772 echo "$as_me: error: cannot find input file: $f" >&2;}
47773 { (exit 1); exit 1; }; }
47774 # Do quote $f, to prevent DOS paths from being IFS'd.
47777 if test -f "$f"; then
47780 elif test -f "$srcdir/$f"; then
47785 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47786 echo "$as_me: error: cannot find input file: $f" >&2;}
47787 { (exit 1); exit 1; }; }
47790 done` || { (exit 1); exit 1; }
47791 # Remove the trailing spaces.
47792 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47796 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47797 # `conftest.undefs', that substitutes the proper values into
47798 # config.h.in to produce config.h. The first handles `#define'
47799 # templates, and the second `#undef' templates.
47800 # And first: Protect against being on the right side of a sed subst in
47801 # config.status. Protect against being in an unquoted here document
47802 # in config.status.
47803 rm -f conftest.defines conftest.undefs
47804 # Using a here document instead of a string reduces the quoting nightmare.
47805 # Putting comments in sed scripts is not portable.
47807 # `end' is used to avoid that the second main sed command (meant for
47808 # 0-ary CPP macros) applies to n-ary macro definitions.
47809 # See the Autoconf documentation for `clear'.
47810 cat >confdef2sed.
sed <<\_ACEOF
47815 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47817 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47820 # If some macros were called several times there might be several times
47821 # the same #defines, which is useless. Nevertheless, we may not want to
47822 # sort them, since we want the *last* AC-DEFINE to be honored.
47823 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47824 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47825 rm -f confdef2sed.sed
47827 # This sed command replaces #undef with comments. This is necessary, for
47828 # example, in the case of _POSIX_SOURCE, which is predefined and required
47829 # on some systems where configure will not decide to define it.
47830 cat >>conftest.undefs <<\_ACEOF
47831 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47834 # Break up conftest.defines because some shells have a limit on the size
47835 # of here documents, and old seds have small limits too (100 cmds).
47836 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47837 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47838 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47839 echo ' :' >>$CONFIG_STATUS
47840 rm -f conftest.tail
47841 while grep . conftest.defines >/dev/null
47843 # Write a limited-size here document to $tmp/defines.sed.
47844 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47845 # Speed up: don't consider the non `#define' lines.
47846 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47847 # Work around the forget-to-reset-the-flag bug.
47848 echo 't clr' >>$CONFIG_STATUS
47849 echo ': clr' >>$CONFIG_STATUS
47850 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47852 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47854 mv $tmp/out $tmp/in
47856 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47857 rm -f conftest.defines
47858 mv conftest.
tail conftest.defines
47860 rm -f conftest.defines
47861 echo ' fi # grep' >>$CONFIG_STATUS
47862 echo >>$CONFIG_STATUS
47864 # Break up conftest.undefs because some shells have a limit on the size
47865 # of here documents, and old seds have small limits too (100 cmds).
47866 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47867 rm -f conftest.
tail
47868 while grep . conftest.undefs
>/dev
/null
47870 # Write a limited-size here document to $tmp/undefs.sed.
47871 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47872 # Speed up: don't consider the non
`#undef'
47873 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47874 # Work around the forget-to-reset-the-flag bug.
47875 echo 't clr' >>$CONFIG_STATUS
47876 echo ': clr' >>$CONFIG_STATUS
47877 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47879 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47881 mv $tmp/out $tmp/in
47883 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47884 rm -f conftest.undefs
47885 mv conftest.tail conftest.undefs
47887 rm -f conftest.undefs
47889 cat >>$CONFIG_STATUS <<\_ACEOF
47890 # Let's still pretend it is `configure
' which instantiates (i.e., don't
47891 # use $as_me), people would be surprised to read:
47892 # /* config.h. Generated by config.status. */
47893 if test x
"$ac_file" = x
-; then
47894 echo "/* Generated by configure. */" >$tmp/config.h
47896 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47898 cat $tmp/in >>$tmp/config.h
47900 if test x
"$ac_file" != x
-; then
47901 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
47902 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47903 echo "$as_me: $ac_file is unchanged" >&6;}
47905 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47907 X"$ac_file" : 'X\(//\)[^/]' \| \
47908 X"$ac_file" : 'X\(//\)$' \| \
47909 X"$ac_file" : 'X\(/\)' \| \
47910 . : '\(.\)' 2>/dev/null ||
47912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47914 /^X\(\/\/\)$/{ s//\1/; q; }
47915 /^X\(\/\).*/{ s//\1/; q; }
47917 { if $as_mkdir_p; then
47922 while test ! -d "$as_dir"; do
47923 as_dirs
="$as_dir $as_dirs"
47924 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47926 X"$as_dir" : 'X\(//\)[^/]' \| \
47927 X"$as_dir" : 'X\(//\)$' \| \
47928 X"$as_dir" : 'X\(/\)' \| \
47929 . : '\(.\)' 2>/dev/null ||
47931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47933 /^X\(\/\/\)$/{ s//\1/; q; }
47934 /^X\(\/\).*/{ s//\1/; q; }
47937 test ! -n "$as_dirs" || mkdir $as_dirs
47938 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47939 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47940 { (exit 1); exit 1; }; }; }
47943 mv $tmp/config.h
$ac_file
47947 rm -f $tmp/config.h
47951 cat >>$CONFIG_STATUS <<\_ACEOF
47954 # CONFIG_COMMANDS section.
47956 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
47957 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
47958 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47959 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
47960 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47961 X"$ac_dest" : 'X\(//\)[^/]' \| \
47962 X"$ac_dest" : 'X\(//\)$' \| \
47963 X"$ac_dest" : 'X\(/\)' \| \
47964 . : '\(.\)' 2>/dev/null ||
47966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47968 /^X\(\/\/\)$/{ s//\1/; q; }
47969 /^X\(\/\).*/{ s//\1/; q; }
47971 { if $as_mkdir_p; then
47976 while test ! -d "$as_dir"; do
47977 as_dirs
="$as_dir $as_dirs"
47978 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47980 X"$as_dir" : 'X\(//\)[^/]' \| \
47981 X"$as_dir" : 'X\(//\)$' \| \
47982 X"$as_dir" : 'X\(/\)' \| \
47983 . : '\(.\)' 2>/dev/null ||
47985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47987 /^X\(\/\/\)$/{ s//\1/; q; }
47988 /^X\(\/\).*/{ s//\1/; q; }
47991 test ! -n "$as_dirs" || mkdir $as_dirs
47992 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47993 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47994 { (exit 1); exit 1; }; }; }
47998 if test "$ac_dir" != .
; then
47999 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48000 # A "../" for each directory in $ac_dir_suffix.
48001 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48003 ac_dir_suffix
= ac_top_builddir
=
48007 .
) # No --srcdir option. We are building in place.
48009 if test -z "$ac_top_builddir"; then
48012 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48014 [\\/]* | ?
:[\\/]* ) # Absolute path.
48015 ac_srcdir
=$srcdir$ac_dir_suffix;
48016 ac_top_srcdir
=$srcdir ;;
48017 *) # Relative path.
48018 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48019 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48022 # Do not use `cd foo && pwd` to compute absolute paths, because
48023 # the directories may not exist.
48025 .
) ac_abs_builddir
="$ac_dir";;
48028 .
) ac_abs_builddir
=`pwd`;;
48029 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48030 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48033 case $ac_abs_builddir in
48034 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48036 case ${ac_top_builddir}.
in
48037 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48038 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48039 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48042 case $ac_abs_builddir in
48043 .
) ac_abs_srcdir
=$ac_srcdir;;
48046 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48047 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48048 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48051 case $ac_abs_builddir in
48052 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48054 case $ac_top_srcdir in
48055 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48056 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48057 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48062 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48063 echo "$as_me: executing $ac_dest commands" >&6;}
48065 wx
-config ) rm -f wx
-config
48066 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48072 cat >>$CONFIG_STATUS <<\_ACEOF
48074 { (exit 0); exit 0; }
48076 chmod +x
$CONFIG_STATUS
48077 ac_clean_files
=$ac_clean_files_save
48080 # configure is writing to config.log, and then calls config.status.
48081 # config.status does its own redirection, appending to config.log.
48082 # Unfortunately, on DOS this fails, as config.log is still kept open
48083 # by configure, so config.status won't be able to write to it; its
48084 # output is simply discarded. So we exec the FD to /dev/null,
48085 # effectively closing config.log, so it can be properly (re)opened and
48086 # appended to by config.status. When coming back to configure, we
48087 # need to make the FD available again.
48088 if test "$no_create" != yes; then
48090 ac_config_status_args
=
48091 test "$silent" = yes &&
48092 ac_config_status_args
="$ac_config_status_args --quiet"
48094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48097 # would make configure fail if this is the last instruction.
48098 $ac_cs_success || { (exit 1); exit 1; }
48102 # CONFIG_SUBDIRS section.
48104 if test "$no_recursion" != yes; then
48106 # Remove --cache-file and --srcdir arguments so they do not pile up.
48107 ac_sub_configure_args
=
48109 for ac_arg
in $ac_configure_args; do
48110 if test -n "$ac_prev"; then
48115 -cache-file | --cache-file | --cache-fil | --cache-fi \
48116 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48117 ac_prev
=cache_file
;;
48118 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48119 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48122 --config-cache | -C)
48124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48132 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48136 # Always prepend --prefix to ensure using the same prefix
48137 # in subdir configurations.
48138 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48141 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48143 # Do not complain, so a configure script can configure whichever
48144 # parts of a large source tree are present.
48145 test -d $srcdir/$ac_dir || continue
48147 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48148 echo "$as_me: configuring in $ac_dir" >&6;}
48149 { if $as_mkdir_p; then
48154 while test ! -d "$as_dir"; do
48155 as_dirs
="$as_dir $as_dirs"
48156 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48158 X"$as_dir" : 'X\(//\)[^/]' \| \
48159 X"$as_dir" : 'X\(//\)$' \| \
48160 X"$as_dir" : 'X\(/\)' \| \
48161 . : '\(.\)' 2>/dev/null ||
48163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48165 /^X\(\/\/\)$/{ s//\1/; q; }
48166 /^X\(\/\).*/{ s//\1/; q; }
48169 test ! -n "$as_dirs" || mkdir $as_dirs
48170 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48172 { (exit 1); exit 1; }; }; }
48176 if test "$ac_dir" != .
; then
48177 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48178 # A "../" for each directory in $ac_dir_suffix.
48179 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48181 ac_dir_suffix
= ac_top_builddir
=
48185 .
) # No --srcdir option. We are building in place.
48187 if test -z "$ac_top_builddir"; then
48190 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48192 [\\/]* | ?
:[\\/]* ) # Absolute path.
48193 ac_srcdir
=$srcdir$ac_dir_suffix;
48194 ac_top_srcdir
=$srcdir ;;
48195 *) # Relative path.
48196 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48197 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48200 # Do not use `cd foo && pwd` to compute absolute paths, because
48201 # the directories may not exist.
48203 .
) ac_abs_builddir
="$ac_dir";;
48206 .
) ac_abs_builddir
=`pwd`;;
48207 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48208 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48211 case $ac_abs_builddir in
48212 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48214 case ${ac_top_builddir}.
in
48215 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48216 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48217 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48220 case $ac_abs_builddir in
48221 .
) ac_abs_srcdir
=$ac_srcdir;;
48224 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48225 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48226 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48229 case $ac_abs_builddir in
48230 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48232 case $ac_top_srcdir in
48233 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48234 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48235 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48242 # Check for guested configure; otherwise get Cygnus style configure.
48243 if test -f $ac_srcdir/configure.gnu
; then
48244 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48245 elif test -f $ac_srcdir/configure
; then
48246 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48247 elif test -f $ac_srcdir/configure.
in; then
48248 ac_sub_configure
=$ac_configure
48250 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48251 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48255 # The recursion is here.
48256 if test -n "$ac_sub_configure"; then
48257 # Make the cache file name correct relative to the subdirectory.
48258 case $cache_file in
48259 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48260 *) # Relative path.
48261 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48264 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48265 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48266 # The eval makes quoting arguments work.
48267 eval $ac_sub_configure $ac_sub_configure_args \
48268 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48269 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48270 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48271 { (exit 1); exit 1; }; }
48280 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48282 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48283 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48285 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48286 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48287 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48289 echo " What level of wxWidgets compatibility should be enabled?"
48290 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
48291 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
48293 echo " Which libraries should wxWidgets use?"
48294 echo " jpeg ${wxUSE_LIBJPEG-none}"
48295 echo " png ${wxUSE_LIBPNG-none}"
48296 echo " regex ${wxUSE_REGEX}"
48297 echo " tiff ${wxUSE_LIBTIFF-none}"
48298 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48299 echo " xpm ${wxUSE_LIBXPM-none}"
48301 echo " zlib ${wxUSE_ZLIB}"
48302 echo " odbc ${wxUSE_ODBC}"
48303 echo " expat ${wxUSE_EXPAT}"
48304 echo " libmspack ${wxUSE_LIBMSPACK}"
48305 echo " sdl ${wxUSE_LIBSDL}"
48306 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"